[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_12344394 ] 
            
Gavin King commented on JBSEAM-376:
-----------------------------------

<s:decorations styleClass="error">
   <f:facet name="before">*</f:facet>
   <f:facet name="after">
      <h:message/>
   </f:facet>
   
   <table>
   <tr><td>
      <s:decorate>first name: <h:inputText value="#{customer.firstName}" required="true"/></s:decorate>
   </td></tr>
   <tr><td>
      <s:decorate>initial: <h:inputText value="#{customer.initial}" required="true"/></s:decorate>
   </td></tr>
   <tr><td>
      <s:decorate>last name: <h:inputText value="#{customer.lastName}" required="true"/></s:decorate>
   </td></tr>
   </table>

</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