[
https://jira.jboss.org/jira/browse/RF-4190?page=com.atlassian.jira.plugin...
]
Tatyana Romanovich closed RF-4190.
----------------------------------
Verified for RF-3.3.0.BETA4
InplaceInput:
setValue('value') works fine
InplaceSelect:
examples:
1. <a4j:commandLink
onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue(event,{value:'passeds'})"
value="setValue(e,{params})"/>
2. <a4j:commandLink
onclick="$('formID:inplaceSelectSubviewID:inplaceSelectID').component.setValue('infos')"
value="setValue('infos')" />
3. <a href="#"
id="setValueID">setValue('warns')</a>
<rich:componentControl attachTo="setValueID" event="onclick"
for="inplaceSelectID" operation="setValue">
<f:param name="value" value="warns"/>
</rich:componentControl>
all examples work fine
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: planning_all
Affects Versions: 3.2.2
Environment: IE6, 7
FF3
Safari
Opera
RF-3.2.2.BETA4
Reporter: Tatyana Romanovich
Assignee: Tatyana Romanovich
Fix For: 3.3.0
Attachments: objectObject.gif
Original Estimate: 4 hours
Remaining Estimate: 4 hours
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