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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to