Re: form validation for async submission

2011-05-16 Thread Paul Stanton
doh!. i am blind sometimes. thanks. On 17/05/2011 3:52 PM, Taha Hafeez wrote: Hi To display error messages put anywhere inside your form regards Taha On Tue, May 17, 2011 at 10:56 AM, Paul Stanton wrote: Hi List, In the following example, where does the recordError message go and how do

Re: form validation for async submission

2011-05-16 Thread Taha Hafeez
Hi To display error messages put anywhere inside your form regards Taha On Tue, May 17, 2011 at 10:56 AM, Paul Stanton wrote: > Hi List, > > In the following example, where does the recordError message go and how do > I get the partial render to display the validation messages/recorded errors

form validation for async submission

2011-05-16 Thread Paul Stanton
Hi List, In the following example, where does the recordError message go and how do I get the partial render to display the validation messages/recorded errors? tml excerpt: java excerpt: @InjectComponent private Zone myZone; @InjectComponent private Form myForm;

Re: Logo asset path

2011-05-16 Thread David Rees
On Mon, May 16, 2011 at 5:46 PM, Greg Pagendam-Turner wrote: > Perhaps the examples at > http://tapestry.apache.org/tapestry5/guide/assets.html should be changed to > include ${} Latest docs are better than those old docs. http://tapestry.apache.org/assets.html -Dave --

Re: Logo asset path

2011-05-16 Thread Greg Pagendam-Turner
Thanks Dave, That works. Perhaps the examples at http://tapestry.apache.org/tapestry5/guide/assets.html should be changed to include ${} Regards, Greg. On 17/05/2011 10:43 AM, David Rees wrote: On Mon, May 16, 2011 at 5:32 PM, Greg Pagendam-Turner wrote: I'm trying to reference a logo

Re: Logo asset path

2011-05-16 Thread David Rees
On Mon, May 16, 2011 at 5:32 PM, Greg Pagendam-Turner wrote: > I'm trying to reference a logo in my Layout component. > > The logo is located in the project under > src/main/webapp/layout/images/logo.png > > After reading http://tapestry.apache.org/tapestry5/guide/assets.html I would > have though

Logo asset path

2011-05-16 Thread Greg Pagendam-Turner
Hi, I'm trying to reference a logo in my Layout component. The logo is located in the project under src/main/webapp/layout/images/logo.png After reading http://tapestry.apache.org/tapestry5/guide/assets.html I would have thought that the correct way to reference it from Layout.tml would be:

Re: chenillekit version for tap 5.1.0.5

2011-05-16 Thread Paul Stanton
never mind, my mistake :( On 17/05/2011 10:17 AM, Paul Stanton wrote: Ok i've gone with version 1.2.0 and figured out the confusing 'exclusions' required in the pom... is that the most up to date version compatible with T5.1.0.5 ? If so, where can I find the component documentation for this v

Re: chenillekit version for tap 5.1.0.5

2011-05-16 Thread Paul Stanton
Ok i've gone with version 1.2.0 and figured out the confusing 'exclusions' required in the pom... is that the most up to date version compatible with T5.1.0.5 ? If so, where can I find the component documentation for this version because I'm getting an exception: Parameter 'translate' of com

chenillekit version for tap 5.1.0.5

2011-05-16 Thread Paul Stanton
hi all, does chenillekit have documentation regarding version compatibility, and which version of chenillekit-tapestry should I use alongside tapestry 5.1.0.5 ? thanks, p. - To unsubscribe, e-mail: users-unsubscr...@tapestry

Re: submit context in loop

2011-05-16 Thread Paul Stanton
thanks guys, defer="false" works fine. josh, i do want the other form fields to save their values as part of this operation. cheers, p. On 17/05/2011 3:39 AM, Josh Canfield wrote: defer="true" This is the right place to look, but the wrong value. True is the default and tells the submit to

Re: More javscript zone events please ...

2011-05-16 Thread Joe Klecko
I thought it was weird I didn't T5.2 or T5.3 as version. My apologies, here is the new JIRA: https://issues.apache.org/jira/browse/TAP5-1525 thanks, J -- View this message in context: http://tapestry.1045711.n5.nabble.com/More-javscript-zone-events-please-tp4401005p4401678.html Sent from the T

Re: More javscript zone events please ...

2011-05-16 Thread Howard Lewis Ship
Tapestry 5 has its own seperate bug list (as of about two years ago): TAP5. https://issues.apache.org/jira/browse/TAP5 On Mon, May 16, 2011 at 12:21 PM, Joe Klecko wrote: > Nice! It sounds good Howard, I'm looking forward to T5.3! > > Here is the jira issue: https://issues.apache.org/jira/brows

Re: More javscript zone events please ...

2011-05-16 Thread Joe Klecko
Nice! It sounds good Howard, I'm looking forward to T5.3! Here is the jira issue: https://issues.apache.org/jira/browse/TAPESTRY-2778 cheers! -- View this message in context: http://tapestry.1045711.n5.nabble.com/More-javscript-zone-events-please-tp4401005p4401344.html Sent from the Tapestry -

Re: "t:if" dose no save its stage in ValidationTracker

2011-05-16 Thread Josh Canfield
> I have some problem with t:if I think your problem is really with the redirect-after-post paradigm. > Yes, I can use @Persist on "check" property, but I need a full page refresh > when pressing F5. Try @Persist("flash"). When you read the value it's removed from the session until you store it

Re: More javscript zone events please ...

2011-05-16 Thread Howard Lewis Ship
You'll like what's coming in 5.3 then ... I'm working on gradually replacing all the Manager client-side objects with a client-side publish/subscribe event bus. On Mon, May 16, 2011 at 10:41 AM, Thiago H. de Paula Figueiredo wrote: > On Mon, 16 May 2011 14:06:22 -0300, Joe Klecko wrote: > >> Hi

Re: "t:if" dose no save its stage in ValidationTracker

2011-05-16 Thread Howard Lewis Ship
If component does not have any interaction with an enclosing Form component, by design. Things become pathologically complicated if it does. 2011/5/15 Василий Жуков : > Hi everyone, > > I have some problem with t:if > > It's my form in Start.tml > > >     >     >     >        Hello >     >     >

Re: More javscript zone events please ...

2011-05-16 Thread Thiago H. de Paula Figueiredo
On Mon, 16 May 2011 14:06:22 -0300, Joe Klecko wrote: Hi all, Hi! I think this would cover most if not all use cases. I'd like to hear what Tapestry team and other people think about this idea/suggestion? (If its a valid suggestion/idea I would like to file a JIRA) Please post a JIRA

Re: submit context in loop

2011-05-16 Thread Josh Canfield
> defer="true" This is the right place to look, but the wrong value. True is the default and tells the submit to hold off notifying it's container about it's click until all of the rest of the form elements have been processed. In this case the submit components are getting their context from the

More javscript zone events please ...

2011-05-16 Thread Joe Klecko
Hi all, It seems that time and time again for each T5 project (6 out of 7 so far) I find I need to override tapesty.js methods to add additional support for zones. Currently there is only 1 event fired from a zone (Tapestry.ZONE_UPDATED_EVENT), I'd like to suggest/request there be at least 4 even

Re: Portlets and Tapestry-Javascript issues

2011-05-16 Thread Moritz Gmelin
Sorry for responding so late. I can reproduce the same problem with a very simple .tml without the portlet environment The error happens when adding the core.js script after the . Then the form validation is broken. Now in my Portal-Pages, the core.js script is added for every tapestry-portlet

Re: submit context in loop

2011-05-16 Thread Gerold Glaser
Hi Paul! Have a look on the defer param of the submit component. I think your submit component should look like: Best regards, Gerry 2011/5/16 Paul Stanton > Tapestry 5.1.0.5 > > Hi all, > > I'm having a problem with the following code: > > > t:encoder="locationEncoder"> > > t:context="$

Re: How to integrate tacos 4.1 in Tapestry 4.0

2011-05-16 Thread nazarhussain_s
Hi, Yep, My current project is using jdk 1.5,Tapestry 4.0 . So I have to restrict to 4.0 version of Tapestry -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-integrate-tacos-4-1-in-Tapestry-4-0-tp4392926p4399734.html Sent from the Tapestry - User mailing list ar