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

walter mauritz (JIRA) jira-events at lists.jboss.org
Thu Feb 14 11:57:26 EST 2008


    [ http://jira.jboss.com/jira/browse/RF-1839?page=comments#action_12399476 ] 
            
walter mauritz commented on RF-1839:
------------------------------------

simplified example

    <rich:column> 
        <f:facet name="header"> 
				<h:selectOneMenu id="search_obeStrang" value="#{obavSchienenEditableList.searchDto.obeStrang}" 
				readonly="false" required="false" styleClass="">
					<f:selectItem itemValue="" itemLabel="#{text['listen.bitte_waehlen']}"/>
					<f:selectItems value="#{domains.strang}" id="s_obeStrang_selects"/>
				</h:selectOneMenu>
        </f:facet>
	<h:selectOneMenu id="obeStrang" value="#{row.obeStrang}" 
	readonly="false" required="false" styleClass="">
		<f:selectItem itemValue="" itemLabel="#{text['listen.bitte_waehlen']}"/>
		<f:selectItems value="#{domains.strang}" id="obeStrang_selects"/>
	</h:selectOneMenu>
    </rich:column> 

> 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
>
>         Attachments: ObavSchienenEditableList.java, obavSchienens.xhtml, ObavSchienenSearchDto.java
>
>
> 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