[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1911) s:link, s:button : Support propagation of selected DataModel row also for Trinidad tr:table

Wolfgang Schwendt (JIRA) jira-events at lists.jboss.org
Sun Sep 9 04:21:10 EDT 2007

    [ http://jira.jboss.com/jira/browse/JBSEAM-1911?page=comments#action_12376023 ] 
Wolfgang Schwendt commented on JBSEAM-1911:

While we are at it, it would be nice if there was a way to control whether a specific <s:link> should render a "dataModelSelection" request parameter or not.

When an <s:link> is placed into a DataTable, we often don't need the  "dataModelSelection" request parameter, and if we could omit it, we would get a cleaner URL.

> s:link, s:button :   Support propagation of selected DataModel row also for Trinidad tr:table
> ---------------------------------------------------------------------------------------------
>                 Key: JBSEAM-1911
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1911
>             Project: JBoss Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.BETA1
>         Environment: CVS based Seam as of 2007/Sep/07
>            Reporter: Wolfgang Schwendt
>         Assigned To: Pete Muir
>            Priority: Minor
>         Attachments: UISeamCommandBase.java, UISeamCommandBase.patch.txt
> The <s:button> and <s:link> controls propagate the selected row of a DataModel via a request parameter named "dataModelSelection".    In order to determine which row was selected, method getSelection() of org.jboss.seam.ui.component.UISeamCommandBase  tries to find an enclosing UIData component.     If the enclosing DataTable is a Trinidad <tr:table>, however,  it doesn't get found because the UIComponent class (org.apache.myfaces.trinidad.component.core.data.CoreTable ) does not extend javax.faces.component.UIData.    Consequently, when an <s:button> or <s:link> is placed within a <tr:table>, the DataModel selection is not propagated. 
> It would be nice if the <s:button> and <s:link> controls could also support the Trinidad <tr:table>, as far as propagation of the DataModel selection is concerned.

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