One thing I forgot to mention that may or may not have a bearing on the
problem-- The error tags in question are located in a tag file, which is then
called from a jsp page that uses multiple tags to create a larger dynamic form.

So the heirarchy goes something like this:

[foo.jsp]
   <tag:bar entity="${actionBean.baz}">
   <tag:quux entity="${actionBean.ipsum}">

   etc...

[bar.tag]
   <s:label for="${baz}.name">Name</s:label>
   <s:text name="${baz}.name"/>
   <s:errors field="${baz}.name"/>

[quux.tag]
   <s:label for="${ipsum}.name">Name</s:label>
   <s:text name="${ipsum}.name"/>
   <s:errors field="${ipsum}.name"/>

So when I don't fill out a required field in the bar tag, let's say, the field
will highlight red, but no markup for the error message is generated. However,
the message is there if I use the <s:error/> tag in the foo.jsp displaying all
errors.

Hope that makes the problem more clear.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to