A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
actionerrors get shortened in include files
Joined: Sep 17, 2010
Oct 28, 2011 02:27:13
When i use an include through the following code:
and in that include file i use :
<s:actionerror cssStyle="display:none;" theme="simple"/>
then, when there's long message as one of the actionerrors, i don't get the full message, only the first 48 characters are displayed.
When i use the same tag directly in my file (not in the include file) the full message is displayed.
Is there some way around this, because it means duplicate code?
I also tried iterating over the actionerrors and displaying them like that, but the result was exactly the same.
I agree. Here's the link:
subject: actionerrors get shortened in include files
validating inputs using struts
validation error messages
ActionErrors and error message from legacy system help needed
hi i'm doing struts1.3 validation for radio button please i want to display error msg on same jsp
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014