No reason really. It's likely done the current way because that's the way I got it working at the time. I'm all for reducing the amount of code.
Matt On Thu, Jul 30, 2009 at 6:53 AM, tibi <t...@dds.nl> wrote: > > hi, > > messages set with: > addActionMessage("respons from reserving tickets: " + respons); > are not shown. > in the messaage.jsp there are parts for the fieldErrors and actionErrors > but not for the actionmessage. > so i added this: > <s:actionmessage /> > > and looking at message.jsp why is there this construction: > <s:if test="hasFieldErrors()"> > <div class="error" id="errorMessages"> > <s:iterator value="fieldErrors"> > <s:iterator value="value"> > <img src="<c:url value="/images/iconWarning.gif"/>" > alt="<fmt:message key="icon.warning"/>" class="icon" /> > <s:property/><br /> > </s:iterator> > </s:iterator> > </div> > </s:if> > > and not this: > > <s:actionerror /> > > thanks, > > tibi > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >