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
Priority: Minor
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