I'm trying to use Seam validation with Trinidad inputText. I'd read the following
topic, so I'm avoiding using <s:validateAll />
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93038
However, when I use <s:validate />, I get the right error messages but
<s:decorate> is ignored:
<s:decorate>
| <f:facet name="beforeInvalidField">**</f:facet>
| <f:facet name="afterInvalidField">@@</f:facet>
| <f:facet name="aroundInvalidField"><s:span
styleClass="error"/></f:facet>
|
| <tr:inputText id="you" name="you"
value="#{orderQuantity.quantity}" simple="true"
required="true" requiredMessageDetail="Please enter a quantity">
| <s:validate />
| </tr:inputText>
| </s:decorate>
Have I done something wrong, or is this similar to <s:validateAll/> in that some of
the Trinidad component types do not inherit from UIInput and <s:decorate> relies on
that?
Cheers,
Chris.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4019949#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...