I'm displaying validate() ActionErrors in my JSP using the RT html:errors tag. But I can't seem to be able to successfully rewrite my snippet of Struts RT in EL.
This works:
<%@ page import="org.apache.struts.Globals"%> <%@ page import="org.apache.struts.action.ActionMessages"%> ... <logic-rt:present name="<%=Globals.ERROR_KEY%>"> <html-rt:errors property="<%=ActionMessages.GLOBAL_MESSAGE%>"/> </logic-rt:present>
But this doesn't work (using the logic & html EL taglibs):
<%@ page import="org.apache.struts.Globals"%> <%@ page import="org.apache.struts.action.ActionMessages"%> ... <logic:present name="org.apache.struts.Globals.ERROR_KEY"> <html:errors property="org.apache.struts.action.ActionMessages.GLOBAL_MESSAGE"/> </logic:present>
Can anyone help?
Thanks -- bOOyah
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]