Based on the discussions, I propose the following additional tag libraries then:

<html:span> and <html:div> that will output their respective HTML tags. These tags will be tied to a specified name/property, have their errorStyleXXX properties available, and an optional flag to skip the body if there is no error:

<html:span property="firstName" errorStyle="error">
 <label>First Name</label>
</html:span>

should output on an error:
<span class="error"><label>First Name</label></span>

But perhaps you want to output some prolog after the label on an error:
<label>First Name
<html:span property="firstName" errorStyle="error" errorSkip="true">(oops)</html:span>
</label>

This will only output "(oops)" inside the label if the firstName property is in error.

Is this acceptable? Feedback desired.

Paul


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

Reply via email to