[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1855) FacesMessages.instance().addToControl and Datatable do not work properly

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Aug 28 09:42:10 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-1855?page=all ]

Pete Muir updated JBSEAM-1855:
------------------------------

    Fix Version/s: 2.0.0.CR1
         Assignee: Pete Muir
         Priority: Minor  (was: Major)

> FacesMessages.instance().addToControl and Datatable do not work properly
> ------------------------------------------------------------------------
>
>                 Key: JBSEAM-1855
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1855
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 1.2.0.GA
>            Reporter: Andy Bosch
>         Assigned To: Pete Muir
>            Priority: Minor
>             Fix For: 2.0.0.CR1
>
>
> It is possible do add FacesMessages via the Seam functionality with FacesMessages.instance().addToControl. In the parameters you have to pass the component id. In the plain JSF way, you can add FacesMessages via FacesContext ... addMessage. In the JSF-way you have to pass the client-id.
> With normal input components you can use both ways. But when you work with datatables, you MUST work with the client-id, the Seam-way with using only the component-id does NOT work.
> Explanation: When using a datatable-tag, you only have one component. The renderer generates the various rows. In the component-tree there is yet only one component! If you want to add a FacesMessage to one row, you can only work with client-ids (because you have to include the row-index). 
> My wish: Please change FacesMessages.instance().addToControl. for using with client-ids.

-- 
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 seam-issues mailing list