[richfaces-issues] [JBoss JIRA] Resolved: (RF-10739) Inplace select: defaultLabel doesn't work correctly when changed

Gleb Galkin (JIRA) jira-events at lists.jboss.org
Fri Mar 11 09:36:46 EST 2011


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

Gleb Galkin resolved RF-10739.
------------------------------

    Resolution: Rejected


It's not a bug, there is default select item in the list with the label set to empty string applied to inplaceSelect. 
My fix for Metamer: 
RichInplaceSelectBean, line 78, change default select item to the following one: capitalsOptions.add(new SelectItem("", "N/A"));

> Inplace select: defaultLabel doesn't work correctly when changed
> ----------------------------------------------------------------
>
>                 Key: RF-10739
>                 URL: https://issues.jboss.org/browse/RF-10739
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.0.0.CR1
>         Environment: RichFaces 4.0.0-SNAPSHOT r.22152
> Metamer 4.0.0-SNAPSHOT r.22155
> Mojarra 2.1.0-FCS
> GlassFish Server Open Source Edition 3.1-SNAPSHOT
> OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
> Chrome 10.0.648.127 @ Linux x86_64
>            Reporter: Pavol Pitonak
>            Assignee: Gleb Galkin
>             Fix For: 4.0.0.Final
>
>
> 1. deploy Metamer and open http://localhost:8080/metamer/faces/components/richInplaceSelect/simple.xhtml
> 2. set defaultLabel=xxx
> result:
> inplace select has an empty default label 

--
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