Well, I was convinced you couldn't nest stripes:text tags inside
stripes:label tags because of the 
http://stripes.mc4j.org/jira/browse/STS-372 JIRA issue , yet it appears to
work perfectly as long as you provide a FOR attribute to the label.

So, this works:
<stripes:label for="email" class="required">
  <stripes:text id="email" name="email"/>
</stripes:label>
When in error:
<stripes:label for="email" class="required error">
  <stripes:text id="email" name="email" class="error"/>
</stripes:label>
I don't know if there are any gotcha's, but it works in both FF & IE, which
is good enough for me.  I still don't quite understand what was going on
with the nested stripes tag inside the "regular" HTML label tag, but as long
as this works I can't complain.

-- 
View this message in context: 
http://www.nabble.com/Validation-problems-with-Internet-Explorer-and-LABEL-tp18198549p18200279.html
Sent from the stripes-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to