[richfaces-issues] [JBoss JIRA] Updated: (RF-1839) dataTable + selectOneMenu in header facet valueBinding bogus (repeatable)

walter mauritz (JIRA) jira-events at lists.jboss.org
Mon Jan 7 06:59:43 EST 2008


     [ http://jira.jboss.com/jira/browse/RF-1839?page=all ]

walter mauritz updated RF-1839:
-------------------------------

    Description: 
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

  was:
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


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