more than 1 tapestry.app-package

2008-08-24 Thread jimmy6
1)how to configure more than 1 tapestry.app-package? tapestry.app-package t5demo 2) how to change pages,components,model? -- View this message in context: http://www.nabble.com/more-than-1-tapestry.app-package-tp19138593p19138593.html Sent from the Tapestry - User mailing list archive

JMaki with Tapestry 5

2008-08-24 Thread Prashanth Gali
Good Morning group, I am trying to use JMaki with Tapestry 5 and was wondering if any brave soul tried to incorporate JMaki with Tapestry 5. Quick web search revealed that JMaki can be integrated with Tapestry 5, but I havent seen any example or posts about it. Please advice/guide me in the direct

Re: Return page from ajax request

2008-08-24 Thread Jun Tsai
Object onAction(){ JSONObject response = new JSONObject(); response.put("script", "self.location='me';"); response.put("content", "redirect ."); return response; }

Re: Return page from ajax request

2008-08-24 Thread Howard Lewis Ship
That won't work for an Ajax request. The interpretation of the event handler method return value is different for Ajax requests than for traditional requests. Really, for page instances & etc., the Ajax handler should send (in the JSON response) a special property to let the client redirect to th

Re: prototype 1.6.0.2

2008-08-24 Thread Howard Lewis Ship
If you add an issue to JIRA, we can look into upgrading to 1.6.0.2. Hopefully 1.6.0.2 addresses the issue we originally had with Safari support. On Sun, Aug 24, 2008 at 6:54 AM, Toby Hobson <[EMAIL PROTECTED]> wrote: > Hi Guys, > > Does anyone know what's happening with 1.6.0.2? I understand T5 us

prototype 1.6.0.2

2008-08-24 Thread Toby Hobson
Hi Guys, Does anyone know what's happening with 1.6.0.2? I understand T5 uses 1.6.0.1because there are some issues in 1.6.0.2 but I was hoping to use the prototip tooltip library which needs 1.6.0.2 Thanks Toby

Re: Return page from ajax request

2008-08-24 Thread Markus Joschko
@Sven, unfortunately this doesn't work but renders the page within the zone that is updated. On Sun, Aug 24, 2008 at 11:42 AM, Andrew Court <[EMAIL PROTECTED]> wrote: > > Hi Markus, > > Actually no. I couldn't find any way to make a conditional redirect from an > xhttp action method. > > My work

Re: Return page from ajax request

2008-08-24 Thread Andrew Court
Hi Markus, Actually no. I couldn't find any way to make a conditional redirect from an xhttp action method. My work around was to do the redirect on the client side based on the return value of the action method, but unfortunately this means two trips to the server. Let me know if you can find

Re: Assets caching and versions

2008-08-24 Thread Ivan Dubrov
Thank you! Exactly what I need! Josh Canfield wrote: Take a look at the TapestryModule.java. In contributeClasspathAssetAliasManager there is now a version added to all the classpath resources. You could do something similar with your app version. http://tapestry.apache.org/tapestry5/apidocs/s