[richfaces-issues] [JBoss JIRA] Reopened: (RF-4190) inplaseSelect: in case using rich:componentControl for call setValue() JS API [object Object] appears

Tatyana Romanovich (JIRA) jira-events at lists.jboss.org
Thu Dec 4 10:39:36 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-4190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tatyana Romanovich reopened RF-4190:
------------------------------------

      Assignee: Anton Belevich  (was: Tatyana Romanovich)


setValue using componentControl and f:param calling works fine now.
There are some problems with calling setValue function in short form:
1. inplaceInput: setValue(e, {value:'someString'}) works fine, but that function should work in case with one argument setValue('someString')

2. inplaceSelect: setValue(e, {itemValue:'someValue', itemLabel:'someLabel'}) works fine, but that function should work in case with short form of arguments setValue('someValue','someLabel').

> inplaseSelect: in case using rich:componentControl for call setValue() JS API [object Object] appears
> -----------------------------------------------------------------------------------------------------
>
>                 Key: RF-4190
>                 URL: https://jira.jboss.org/jira/browse/RF-4190
>             Project: RichFaces
>          Issue Type: Bug
>          Components: docs updated
>    Affects Versions: 3.2.2
>         Environment: IE6, 7
> FF3
> Safari
> Opera
> RF-3.2.2.BETA4 
>            Reporter: Tatyana Romanovich
>            Assignee: Anton Belevich
>             Fix For: 3.3.0
>
>         Attachments: objectObject.gif
>
>
> 1. Add link called "setValue()" on the page with inplaceSelect component:
>                <a href="#" id="setValueID">setValue('passeds','passeds')</a>
> 2. Bind this link & inplaceSelect component following way:
>    <rich:componentControl attachTo="setValueID" event="onclick"
> 		for="inplaceSelectID" operation="setValue">
> 		<f:param name="value" value="passeds"/>
> 		<f:param name="label" value="passeds"/>
> </rich:componentControl>
> 3. Navigate to the test application, select InplaceSelect component.
> 4. Click on inplaceSelect('passed','passed') link
> 5. Verify inplaceSelect value.
> FAILURE: [object Object] displays in the inplaceSelect component

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list