[richfaces-issues] [JBoss JIRA] Resolved: (RF-1839) dataTable + selectOneMenu in header facet valueBinding bogus (repeatable)
Sergey Halipov (JIRA)
jira-events at lists.jboss.org
Tue Feb 12 11:09:03 EST 2008
[ http://jira.jboss.com/jira/browse/RF-1839?page=all ]
Sergey Halipov resolved RF-1839.
--------------------------------
Resolution: Cannot Reproduce Bug
Could you attach your JSP and bean code? I've tested with very simple example and it works fine for me.
My code:
<data:dataTable id="master2" var="master" value="#{data.mounths}" >
<f:facet name="header">
<h:selectOneListbox value="#{bean.checked}">
<f:selectItem itemLabel="true" itemValue="true"/>
<f:selectItem itemLabel="false" itemValue="false"/>
</h:selectOneListbox>
</f:facet>
<h:column id="mounth" >
<h:outputText value="#{master.mounth}" />
</h:column>
</data:dataTable>
public boolean isChecked() {
System.out.println("Invoke get checked for mounth "+getMounth()+", checked:"+checked);
return this.checked;
}
public void setChecked(boolean checked) {
System.out.println("Invoke set checked for mounth "+getMounth()+", checked:"+checked);
this.checked = checked;
}
> dataTable + selectOneMenu in header facet valueBinding bogus (repeatable)
> -------------------------------------------------------------------------
>
> Key: RF-1839
> URL: http://jira.jboss.com/jira/browse/RF-1839
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.3
> Environment: jetty 6.1.7, jdk6, richfaces 3.1.3, + jsf RI 1.2_04-p02
> Reporter: walter mauritz
> Assigned To: Sergey Halipov
> Priority: Minor
> Fix For: 3.2.0
>
>
> rich:dataTable
> in header facet (th) is a
> h:selectOneMenu (dropdown)
> on submit, the value gets posted for EVERY ROW.
> see my log here. 10 rows (tr) in table. TH gets correct value, here "1".
> the log is in the SETTER().
> All subsequent calls (always equal to the number of rows) overwrite the correct value
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | 1, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> FATAL 12:20:07 TplPersonEditableList.setMyInteger(66) | null, UPDATE_MODEL_VALUES 4
> rich:dataTable + h:inputText in header facet works normally
> its only +h:selectOneMenu
--
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 richfaces-issues
mailing list