How would I check to see if that specific error existed?
I would like to write the message after a break <BR> below the text box when the message is present, and have no break when it is not.


For example:
if (fieldSample${count}) then
    <br>print error message


Ryan



Ryan wrote:
Thanks, that worked.

Ryan

Slattery, Tim - BLS wrote:

When I try and set the html error attribute property using a jsp expression nothing shows up.




<html:errors property='<%= "fieldSample" + count %>'/>




Note: The variable count is just an integer that gets incremented each iteration of the loop.



An easy way out would be to use the html-el tags:


<html-el:errors property="fieldSample${count}" />

That said, I have no clue why your <html:errors...> tag won't work.


-- Tim Slattery [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to