| Author |
Error Messages Display in Order
|
anand vala
Greenhorn
Joined: Jun 12, 2006
Posts: 1
|
|
Hi, If I use <html: error/> It throughs bunch of all error messages in order. If I use <html:errors property="name"> it's giving messsage of that porperty. I am trying to display error messages dynamically based on preporty <% ActionErrors ae = (ActionErrors)pageContext.getAttribute(Action.ERROR_KEY, PageContext.REQUEST_SCOPE); if(ae!=null) { Iterator it=ae.properties(); while(it.hasNext()) { String strProp=(String)it.next(); %> <html:errors property='<%=strProp%>'> <%}%> My Problem is Error Messages not Displaying in order it's following own order defined by prperty, But when use <html: error> all messages displaying in order. Any once can help me to display error messages dynamically in Order. Because I need this requirement to Add acnhor tag hyper link to error messages. Regards, Andy [ June 12, 2006: Message edited by: anand vala ] [ June 13, 2006: Message edited by: anand vala ]
|
 |
 |
|
|
subject: Error Messages Display in Order
|
|
|