[jboss-jira] [JBoss JIRA] Commented: (JBSEAM-376) JSF invalid field "decorators"
Gavin King (JIRA)
jira-events at jboss.com
Sun Oct 1 14:04:41 EDT 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-376?page=comments#action_12344393 ]
Gavin King commented on JBSEAM-376:
-----------------------------------
<s:decorations styleClass="error">
<f:facet name="before">*</f:facet>
<table>
<tr><td>
first name: <h:inputText value="#{customer.firstName}" required="true"/>
</td></tr>
<tr><td>
initial: <h:inputText value="#{customer.initial}" required="true"/>
</td></tr>
<tr><td>
last name: <h:inputText value="#{customer.lastName}" required="true"/>
</td></tr>
</table>
<f:facet name="after">
<h:message/>
</f:facet>
</s:decorations>
> JSF invalid field "decorators"
> ------------------------------
>
> Key: JBSEAM-376
> URL: http://jira.jboss.com/jira/browse/JBSEAM-376
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: JSF
> Reporter: Gavin King
> Assigned To: Gavin King
> Fix For: 1.1
>
>
> Tapestry makes it really easy to "decorate" fields with validation failures. JSF does not really (apart from the message).
> Something like this:
> <s:decoration styleClass="error">
> <f:facet name="before">*</f:facet>
> <h:inputText value="#{customer.firstName}" required="true"/>
> <f:facet name="after">
> <h:message/>
> </f:facet>
> </s:decoration>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list