Re: Persistance

2008-11-28 Thread thermus
I'm interested in this as well. Specifically if a user has two page instances open, how can T5 persistence be used reliably? I found on Safari and Firefox (not sure about IE, but likely a problem there as well) that the persisted session properties are shared between page instances and each page

Re: T5: @Propery can not be an Interface? No default coercion?

2008-11-28 Thread Howard Lewis Ship
How to you convert the string "false" to an instance of whatever PageDelegate is? Tapestry doesn't know either. On Wed, Nov 26, 2008 at 3:41 AM, Maximilian Weißböck <[EMAIL PROTECTED]> wrote: > I have a component that has a delegate as parameter binding like this: > > > > @Parameter("false") >

Re: T5.0.17 actionlinks with zones do not degrade gracefully ?

2008-11-28 Thread Howard Lewis Ship
This is something that we have been struggling with; there are multiple conflicting requirements here. The driver for this was that slow loading pages would allow JS links to be clicked before client-side event handlers had been wired up, often resulting in incorrect behavior on the server side (wh

T5.0.17 actionlinks with zones do not degrade gracefully ?

2008-11-28 Thread Janko Muzykant
hi all, as I can see, something has changed in actionlinks since T5.0.14 and now all my actionlinks with zone parameter added appear without any arguments. they just point at correct address with appended /#. it works ok when javascript is enabled, but fails when js is switched off. regards, jm.

RE: [T5] LinkSumit no event captured

2008-11-28 Thread Henry Chen
I just created one. https://issues.apache.org/jira/browse/TAP5-389 -Original Message- From: Martijn Brinkers [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2008 8:30 AM To: [EMAIL PROTECTED] Cc: 'Howard Lewis Ship'; 'Tapestry users' Subject: RE: [T5] LinkSumit no event captured

Re: T5: disabling popup client-side validator alerts

2008-11-28 Thread Eric Ma
Read this thread: http://www.nabble.com/-Tapestry-5.0.15Hidding-client-side-validation-td20242061.html#a20242061 immutability wrote: > > So I guess there's no simple way? :-( > > Rado > > > > immutability wrote: >> >> Hey everyone, I'm sure this will (possibly) be a simple thing, but

Re: creating components with Tapestry 5

2008-11-28 Thread Howard Lewis Ship
On Fri, Nov 28, 2008 at 2:30 AM, mad <[EMAIL PROTECTED]> wrote: > > Thanks, Howard, that seems to have been the issue. I moved Layout.tml to > /src/main/resources/org/apache/tapestry5/tutorial/components, and now > everything works beautifully. Is this the right place? > > An annotation would

Re: [T5] - How to restore/re-attach to an ASO after user leave application?

2008-11-28 Thread Martijn Brinkers
Are you using IE? IE sometimes starts a new process for a new window. This process does not have access to the cookies in the other IE process. See for example: http://support.microsoft.com/kb/831678 On Fri, 2008-11-28 at 18:26 +0200, Ovidiu Hurducas wrote: > Thanks Andy, > > That's very strang

Re: [T5] - How to restore/re-attach to an ASO after user leave application?

2008-11-28 Thread Ovidiu Hurducas
Thanks Andy, That's very strange. I've tested this scenario (with cookies enabled and disabled) with a RequestFilter with http redirect as a re-entry point. In the service method when I'm calling: TAState state = stateManager.getIfExists(TAState.class); this allways retrun null no matter what.

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
I have the same problem, except that the string I want to pass contains a space character. Andy Angelo Chen schrieb: Hi, public Object onActivate(String email); if i activate it with: http://localhost/mypage/[EMAIL PROTECTED] I got an error: Input string '[EMAIL PROTECTED]' is not va

Re: [T5] - How to restore/re-attach to an ASO after user leave application?

2008-11-28 Thread Andy Pahne
The session reattachment part: as long as the session id is stored in the default place (cookie), it should work right out of the box. It does not matter if the browsing session is interrupted shortly, as long as the session does not time out or the user closes and reopens his browser. I don

[T5] - How to restore/re-attach to an ASO after user leave application?

2008-11-28 Thread Ovidiu Hurducas
Hi! I have a Tap 5 (5.0.15) application with the following scenario: User access a page and init ASO -> User than leave on a 3'rd party site (can save some params here) -> user come back on my site and wants to access the ASO again (saved params can be provided here) So the questions are: How do

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
Space = $0020 '@' = $0040 Tobias Wehrum schrieb: Sorry, my bad: I forgot to update with the project I tested it. Andy Pahne schrieb: Tobias Wehrum schrieb: Hi, URL encoding works fine for me: [EMAIL PROTECTED]: abc%40abc.com two words: two%20words - Tobias http://localhos

Re: T5: disabling popup client-side validator alerts

2008-11-28 Thread immutability
So I guess there's no simple way? :-( Rado immutability wrote: > > Hey everyone, I'm sure this will (possibly) be a simple thing, but I can't > seem to find a straightforward way to disable the fading popup client-side > validator alerts (the bubbles). I've searched through the forums, how-to

RE: [T5] LinkSumit no event captured

2008-11-28 Thread Martijn Brinkers
Did you file a JIRA entry for this? It seems I experience the same problem (form with Zone and no event from the LinkSubmit) Martijn On Wed, 2008-11-26 at 20:03 -0600, Henry Chen wrote: > I figured it out. If Form component specifies a 'zone' parameter, the > following part in linksubmit.js is no

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Tobias Wehrum
Sorry, my bad: I forgot to update with the project I tested it. Andy Pahne schrieb: Tobias Wehrum schrieb: Hi, URL encoding works fine for me: [EMAIL PROTECTED]: abc%40abc.com two words: two%20words - Tobias http://localhost:8080/oos/administration/task/list/type/two%20words Response:

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Martijn Brinkers
The 'URL' encoder has been changed in 5.0.16. Since 5.0.16 @ is for example encoded as $0040. Seach the mail archive for the rationale for this and how to solve this. Martijn On Fri, 2008-11-28 at 05:38 -0800, Angelo Chen wrote: > kind of strange, abc%40abc.com does not work for me. > > > Tobi

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
Tobias Wehrum schrieb: Hi, URL encoding works fine for me: [EMAIL PROTECTED]: abc%40abc.com two words: two%20words - Tobias http://localhost:8080/oos/administration/task/list/type/two%20words Response: But definetly not for me. I double checked that I use 5.0.17. * java.lang.Illegal

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Angelo Chen
kind of strange, abc%40abc.com does not work for me. Tobias Wehrum wrote: > > Hi, > > URL encoding works fine for me: > > [EMAIL PROTECTED]: abc%40abc.com > two words: two%20words > > - Tobias > > Andy Pahne schrieb: >> >> I have the same problem, except that my string contains a space >>

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Tobias Wehrum
Hi, URL encoding works fine for me: [EMAIL PROTECTED]: abc%40abc.com two words: two%20words - Tobias Andy Pahne schrieb: I have the same problem, except that my string contains a space character. Regular URL encoding does not seem to work. Andy Angelo Chen schrieb: Hi, public Object

Re: t5.0.17 how to pass an email address from url

2008-11-28 Thread Andy Pahne
I have the same problem, except that my string contains a space character. Regular URL encoding does not seem to work. Andy Angelo Chen schrieb: Hi, public Object onActivate(String email); if i activate it with: http://localhost/mypage/[EMAIL PROTECTED] I got an error: Input string '[E

t5.0.17 how to pass an email address from url

2008-11-28 Thread Angelo Chen
Hi, public Object onActivate(String email); if i activate it with: http://localhost/mypage/[EMAIL PROTECTED] I got an error: Input string '[EMAIL PROTECTED]' is not valid; the character '@' at position 4 is not valid. this used to work in 5.0.15, any idea? Thanks. -- View this message in c

Re: Antwort: [T5] Bug in HibernateModule?

2008-11-28 Thread Kristian Marinkovic
it looks like it was not merged yet i guess now, after the final release (5.0.17) Howard will probably merge them in the next couple of days in the meantime you could use the version from the 5.0 Branch Imants Firsts <[EMAIL PROTECTED]> 28.11.2008 10:38 Bitte antworten an "Tapestr

Re: creating components with Tapestry 5

2008-11-28 Thread mad7777
Thanks, Howard, that seems to have been the issue. I moved Layout.tml to /src/main/resources/org/apache/tapestry5/tutorial/components, and now everything works beautifully. Is this the right place? An annotation would be nice, but also might I suggest a less cryptic error message for components

Persistance

2008-11-28 Thread Peter Stavrinides
Hi, I have been thinking about persistence lately... and after moving all our apps from Tapestry 4 to Tapestry 5 this past year, I have noticed distinct patterns emerge in the way pages fit together and use persistence, and I have been searching all the while for best practices... here are some

Re: Antwort: [T5] Bug in HibernateModule?

2008-11-28 Thread Imants Firsts
I am using HEAD branch from SVN, could be that it is not merged in Tapestry 5.1? Quoting Kristian Marinkovic <[EMAIL PROTECTED]>: > hi, > > now i know what you mean, because i had the same > problem and reported it as > https://issues.apache.org/jira/browse/TAP5-230 > :) > > it is fixed in Ta

t5components 0.5.17 is now available for Tapestry 5.0.17

2008-11-28 Thread Sven Homburg
Hi there, t5components 0.5.17 is now available for Tapestry 5.0.17 project page http://tapestry5-components.googlecode.com -- with regards Sven Homburg http://www.chenillekit.org http://tapestry5-components.googlecode.com

Re: @Persist - default to session "by page"?

2008-11-28 Thread Kristian Marinkovic
you have to use the @ApplicationState annotations instead if you want to share the data between multiple pages g, kris Olexiy Prokhorenko <[EMAIL PROTECTED]> 28.11.2008 05:02 Bitte antworten an "Tapestry users" An users@tapestry.apache.org Kopie Thema @Persist - default to session "by pag

dojo 1.2.2 and tapestry integration

2008-11-28 Thread shaowei mao
Is there way i can replace current dojo packaged in tapestry jar with dojo 1.2.2 and add dijit? -- View this message in context: http://n2.nabble.com/dojo-1.2.2-and-tapestry-integration-tp1588280p1588280.html Sent from the Tapestry Users mailing list archive at Nabble.com.