Subject: Re: AW: html:errors
From: Eric Rizzo <[EMAIL PROTECTED]>
 ===
[EMAIL PROTECTED] wrote:
> Yes I know. Probably my question was wrong.
> Can I use the <html:errors/> tag with some 
> <html:present></html:present> tags?
> like
> 
> <html:present properties="errors">
>       Do Some stuff for errors.
> </html:present>

I use

<%@ page import="org.apache.struts.action.Action" %>
<logic:notPresent name="<%= Action.ERROR_KEY%>">
...
</logic:notPresent>

to render parts of the page that should not be shown if there are 
errors.  You could do the opposite with <logic:present>

HTH,
        Eric
-- 
Eric Rizzo
Software Developer
Jibe, Inc.
http://www.jibeinc.com


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

Reply via email to