Re: [appfuse-user] ajax dojo

2007-09-19 Thread tibi
ok i now have dojo working fine. but the result of a dojo is not dojo! i have page A with a link like this: Zoek when i return (as a test) the same page with the same link and put that into a div i again get the link like above... but it is not useing ajax any more... any one get ajax on an

Re: [appfuse-user] ajax dojo

2007-09-13 Thread tibi
cool... i will post it to the list first... on the road again tibi Matt Raible wrote: > I'll look into this when I get back to my hotel later tonight - > probably 6-8 hours. > > Matt > > > On 9/13/07, tibi <[EMAIL PROTECTED]> wrote: > >> matt (or some one else) >> >> i'm not allowed to ed

Re: [appfuse-user] ajax dojo

2007-09-13 Thread Matt Raible
I'll look into this when I get back to my hotel later tonight - probably 6-8 hours. Matt On 9/13/07, tibi <[EMAIL PROTECTED]> wrote: > matt (or some one else) > > i'm not allowed to edit the page anymore. > i login with account tibi > and want to edit this page: > http://appfuse.org/display/APF/

Re: [appfuse-user] ajax dojo

2007-09-13 Thread tibi
matt (or some one else) i'm not allowed to edit the page anymore. i login with account tibi and want to edit this page: http://appfuse.org/display/APF/Ajax help tibi tibi wrote: > i got this question: > > - > > I'm trying to do ajax with the ajax tags

Re: [appfuse-user] ajax dojo

2007-09-13 Thread tibi
i got this question: - I'm trying to do ajax with the ajax tags of struts 2 (which I believe is just dojo in the end) and I'm finding almost the same problems as you did. I got stuck in this js error (Could not load 'struts.widget.Bind'; last tried '_

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
thanks i will try again... need to do more copy paste one more question: in this example: http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html the edit button is like this: Edit then there is an index.jsp page wich will handle the edit part: ... dojo.eve

Re: [appfuse-user] ajax dojo

2007-09-12 Thread arvinder
In your url you have decorator=false but your exclude pattern has decorate=false :) Arvinder tibi-3 wrote: > > i gues... the params are taken off before the decorator gets into action. > > tibi wrote: >> matt would you expect this to work: >> >> http://localhost:8080/ajax.html?decorator=false >

Re: [appfuse-user] ajax dojo

2007-09-12 Thread arvinder
Adding parameter ajax=true to your ajax action will solve the problem. decorators.xml excludes patterns with *ajax=true* Arvinder tibi-3 wrote: > > i now moved the part wich is made by > > > > --- > > // Dojo configuration > djConfig = { > baseRelativePath: "/

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
i gues... the params are taken off before the decorator gets into action. tibi wrote: > matt would you expect this to work: > > http://localhost:8080/ajax.html?decorator=false > > with a decorater file like this: > > > /*ajax=true* > /*decorate=false* > /struts/dojo/*

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
matt would you expect this to work: http://localhost:8080/ajax.html?decorator=false with a decorater file like this: /*ajax=true* /*decorate=false* /struts/dojo/* /resources/* /* i would expect it not to be decorated .. but it is

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
thanks the thing i did not get is that the pattern in the decorator is refering to the actions in the struts xml file. i now have this: /*ajaxReturn* in the exclude and this in struts.xml: /WEB-INF/pages/employee/ajaxTest.jsp /WEB-INF/pages

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
got it pfff i will try do make a nice howto dojo page in appfuse tibi tibi wrote: > how do you guy's do it > i can't get the decorator off. > it keeps on decorating my ajax return pages... > > the rest is working now but i don't need this decoration > > any help would be great >

Re: [appfuse-user] ajax dojo

2007-09-12 Thread Matt Raible
You need to figure out if there's anything special in the Ajax request - for example an ajax=true parameter. If there isn't, add one. Then modify decorators.xml to exclude URLs with this parameter. Matt On 9/12/07, tibi <[EMAIL PROTECTED]> wrote: > how do you guy's do it > i can't get the de

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
how do you guy's do it i can't get the decorator off. it keeps on decorating my ajax return pages... the rest is working now but i don't need this decoration any help would be great tibi tibi wrote: > i now moved the part wich is made by > > > > --- > > // Dojo con

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
i now moved the part wich is made by --- // Dojo configuration djConfig = { baseRelativePath: "/struts/dojo", isDebug: true, bindEncoding: "UTF-8", debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with the includ

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
1) i have copied all files from the dojo folder from the struts2-core-2.0.6.jar into src/main/webapp/scripts/dojo 2) a) i changed includes to excludes b) tried to remove it 3) added this to a page: but i have no succes tibi tibi wrote: > i search but i don't understand all. > 1)

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
i search but i don't understand all. 1) copy dojo files to scripts/dojo what dojo files can i copy from where?? 2)exclude scripts/dojo/* in staticFilter i have this in my web.xml staticFilter org.appfuse.webapp.filter.StaticFilter includes /scripts/d

Re: [appfuse-user] ajax dojo

2007-09-12 Thread tibi
ok so it is not a bug but a feature ;) tibi Matt Raible wrote: On 9/11/07, tibi <[EMAIL PROTECTED]> wrote: by googeleing i found this from matt: -- If you search through the mailing list archives, you'll find that solutio

Re: [appfuse-user] ajax dojo

2007-09-11 Thread Matt Raible
On 9/11/07, tibi <[EMAIL PROTECTED]> wrote: > by googeleing i found this from matt: > -- > If you search through the mailing list archives, you'll find that > solution. The solution is to copy Dojo's files to scripts/dojo and > exc

Re: [appfuse-user] ajax dojo

2007-09-11 Thread tibi
by googeleing i found this from matt: -- If you search through the mailing list archives, you'll find that solution. The solution is to copy Dojo's files to scripts/dojo and exclude scripts/dojo/* in the StaticFilter. Then you hav

Re: [appfuse-user] ajax dojo

2007-09-11 Thread tibi
when i minimize to this: <%@ include file="/common/taglibs.jsp"%> is still get the same error. i see that this is renderd into the html output (view source in firefox): ... // Dojo configuration djConfig = { baseRelativePath: "/struts/dojo", isDebug: true, bin

Re: [appfuse-user] ajax dojo

2007-09-11 Thread tibi
ok followed some other example but i keep getting this error: Error: Could not load 'struts.widget.Bind'; last tried '__package__.js' Source File: http://localhost:8080/struts/dojo/dojo.js Line: 94 what did i do: app 2.0m5 struts2, spring2, hibernate2 i have this jsp file: ---

Re: [appfuse-user] ajax dojo

2007-09-11 Thread tibi
is there no one who uses ajax in a nice way and can tell me about it?? thanks, tibi tibi wrote: wait is see an javascript error... which i don;t understand: Error: Could not load 'struts.widget.Bind'; last tried '__package__.js' Source File: http://localhost:8080/struts/dojo/dojo.js Line: 94

Re: [appfuse-user] ajax dojo

2007-09-10 Thread tibi
wait is see an javascript error... which i don;t understand: Error: Could not load 'struts.widget.Bind'; last tried '__package__.js' Source File: http://localhost:8080/struts/dojo/dojo.js Line: 94 tibi tibi wrote: after using ajax in a not so nice way (with getting full html as a result... )

[appfuse-user] ajax dojo

2007-09-10 Thread tibi
after using ajax in a not so nice way (with getting full html as a result... ) i'm trying to follow this example: http://cwiki.apache.org/S2WIKI/struts-2-spring-2-jpa-ajax.html if have made the following: but it works fine (it deletes) but not without refreshing the page. any help??? <%@ inc