[richfaces-issues] [JBoss JIRA] Created: (RF-10342) Client API: inplaceSelect value management issues
Ilya Shaikovsky (JIRA)
jira-events at lists.jboss.org
Fri Jan 28 04:08:03 EST 2011
Client API: inplaceSelect value management issues
-------------------------------------------------
Key: RF-10342
URL: https://issues.jboss.org/browse/RF-10342
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Milestone5
Reporter: Ilya Shaikovsky
Assignee: Pavel Yaschenko
Fix For: 4.0.0.CR1
Getting Value
1) inplaceSelect in defaultValue state works OK. getLabel returns default label and getValue - nothing.
2) inplaceSelect with value present:
getValue and getLabel returns the same thing - label. FAIL. should be item value using getValue.
setValue:
should work in next way. with:
<rich:inplaceSelect defaultLabel="Click here to edit"
openOnEdit="true">
<f:selectItem itemValue="0" itemLabel="Option 1" />
<f:selectItem itemValue="1" itemLabel="Option 2" />
I should call setValue('1') (pass item value) and Option 1 should appears and state should be "changed" with red mark.
Actually now nothing changes in label and after opening just '1' appears in the component.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list