ok, I found the messagesPresent tag in the logic tags. I still have a
problem though:
What if I need the logic to display for two specific properties:
It would be nice if I could do something like this:
<logic:messagesPresent property="field1,field2">Some Logic
Here</logic:messagesPresent>
Any Suggestions?
Thanks
Dennis
On Tue, 2002-12-03 at 14:22, Dennis Muhlestein wrote:
> In addition to displaying errors by a specific field, i'd like to
> display some additional information.
>
> ie:
>
> <html:errors property="someField" /><br>
> <% if errors.size( "someField" ) > 0 { %>
> Some Additional Info ......
> <% } %>
>
> Problem is, I can't see a way to do that with any of the logic tags
> because there is no property that represents the number of errors for a
> specific field
>
> I'd like to do something like this:
>
> <logic:greaterThan name="errors" property="someField's Size??"
> value="0">
> Some Additional Info...
> </logic:greaterThan>
>
>
> That way I don't have to have the scriptlets in the jsp.
>
> Anyone have a way to do this without the scriptlets??
>
> TIA
> -Dennis
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>