Does anyone have any good ideas for determining the presence of field or
action errors using only JSTL?
<c:if test="${fieldErrors != null}">
Doesn't work, because a new HashMap is created on the fly.
<c:if test="${fieldErrors.size > 0}">
Doesn't work, because it would expect a getSize() function on the Map,
when the function is size().
So, I have to resort to something like this?
Action Base Class:
public boolean getFieldErrorsPresent() {
return hasFieldErrors();
}
<c:if test="${fieldErrorsPresent}">
If that is the case, perhaps these can be added to ActionSupport in
Xwork.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork