Re: [t5.3.6] Form's recordError(Field, String) behavior

2012-11-19 Thread Muhammad Gelbana
Thanks a lot Ivan for the extra info. On Mon, Nov 19, 2012 at 11:36 AM, Ivan Khalopik wrote: > When you use recordError(field, "Message") you have not only messages > listed by component but also this messages are connected to the > fileds and can be used later: > > 1. You can remove and use

Re: [t5.3.6] Form's recordError(Field, String) behavior

2012-11-19 Thread Ivan Khalopik
When you use recordError(field, "Message") you have not only messages listed by component but also this messages are connected to the fileds and can be used later: 1. You can remove and use component that will render error message for specified field, e.g. DUT 2. You can remove component

Re: [t5.3.6] Form's recordError(Field, String) behavior

2012-11-19 Thread Muhammad Gelbana
Have you got a spare gun and only one bullet ? You will have your gun back of course but not the bullet. Thank you :D On Mon, Nov 19, 2012 at 11:06 AM, Taha Siddiqi wrote: > These are two components t:error and t:errors. You have to use t:error. > t:errors doesn't have for component > > > On Nov

Re: [t5.3.6] Form's recordError(Field, String) behavior

2012-11-19 Thread Taha Siddiqi
These are two components t:error and t:errors. You have to use t:error. t:errors doesn't have for component On Nov 19, 2012, at 2:26 PM, Muhammad Gelbana wrote: > Thanks ! But unfortunately that didn't work either. All error components > list all error messages whether they are bound to it or o

Re: [t5.3.6] Form's recordError(Field, String) behavior

2012-11-19 Thread Muhammad Gelbana
Thanks ! But unfortunately that didn't work either. All error components list all error messages whether they are bound to it or or even if the error component isn't bound at all (i.e. )! I checked tapestry jumpstart for guidance and found that I was using @InjectComponent instead of @Component but

Re: [t5.3.6] Form's recordError(Field, String) behavior

2012-11-18 Thread Taha Siddiqi
Hi Checkout the "for" parameter in http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Error.html. You can specify a field there to retrieve error specific to that field regards Taha On Nov 19, 2012, at 2:10 AM, Muhammad Gelbana wrote: > I have a form that submi

[t5.3.6] Form's recordError(Field, String) behavior

2012-11-18 Thread Muhammad Gelbana
I have a form that submits by reloading the whole page. But my form's fields are in separate zones. Before submitting the form, these zones get changed (i.e. different fields are shown with each zone update) till the user is satisfied and then he submits the form in the manner mentioned. Now after