ached.
> >
> >I also posted an extension to the tag on my web site which
> >highlights error fields.
> >
> >http://www.niallp.pwp.blueyonder.co.uk/#errortag
> >
> >Niall
> >
> >- Original Message -
> >From: "Erik Weber" <
OTECTED]>
Sent: Thursday, July 29, 2004 10:10 AM
Subject: Re: Retrieving specific form validation error messages
This is what I came up with:
. . . render the prompt for currentField, placing where necessary (this could be a css class or font
color, etc.) , , ,
I am doing this for ea
Tries, ActionError.properties () Erik? You may need to use a small scriptlet
-Original Message-
From: Erik Weber [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 29, 2004 2:40 PM
To: Struts Users Mailing List
Subject: Re: Retrieving specific form validation error messages
This is what I
http://www.niallp.pwp.blueyonder.co.uk/#errortag
Niall
- Original Message -
From: "Erik Weber" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, July 29, 2004 10:10 AM
Subject: Re: Retrieving specific form validation error mes
This is what I came up with:
. . . render the prompt for currentField, placing where necessary (this could be a css class or font
color, etc.) , , ,
I am doing this for each field. Please let me know if there is a better way.
Thanks,
Erik
Erik Weber wrote:
I see that the ActionErrors object
I see that the ActionErrors object is stored as a request attribute
under the key "org.apache.struts.action.ERROR".
I would like to set a different CSS class for each containing a
field that has a property that is keyed in the ActionErrors instance. In
pseudocode:
begin "username" field;
if (
In a JSP containing a form, what is the easiest way to see if a form
validation error message exists for a particular, say, html:text field,
when that page is processing after form validation has failed? For
example, what if you wanted to present the messages field by field
instead of all toget
7 matches
Mail list logo