> I need to provide links to the individual fields in errors at the top.

It seems like a case for ValidationDecorator. You can add the <a
name="fieldid"/> tags for fields with errors. Take a look at the
source for AutofocusValidationDecorator and this old email

http://old.nabble.com/Example-of-overriding-the-default-ValidationDecorator-td26906669s302.html#a26906669


I don't see a way to grab all the Fields in the form, or even just the
fields in error, so you may have to gather that info manually.

Josh

On Fri, Apr 9, 2010 at 2:28 PM, JayeshU <jaye...@yahoo.com> wrote:
>
> I need to provide links to the individual fields in errors at the top.
>
> Tapestry4 had -> IFieldTracking field =
> IValidationDelegate.getFieldTracking();
>
> I couldn't find any equivalent in tapestry5.
> Tapestry 5 validator returns List<String> getErrors(); But then there is no
> way to link these error messages to the actual fields which are in error.
>
> I need to follow company's web standards which mandates to provide <anchor>
> links to errornous fields.
>
> Any help is appreciated.
> --
> View this message in context: 
> http://old.nabble.com/Need-anchor-link-to-the-fields-in-Tapestry5-ValidationTracker-tp28197743p28197743.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
--
http://www.bodylabgym.com - a private, by appointment only, one-on-one
health and fitness facility.
--
http://www.ectransition.com - Quality Electronic Cigarettes at a
reasonable price!
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to