PickList based on RW questions

Juraj Húska jhuska at redhat.com
Tue Oct 29 05:14:47 EDT 2013


Hello guys,

I am in the process of reviewing the *pickList* component based on the *RW* buddy.

Couple of questions have risen, and I would like to ask you which ones are relevant, thus deserves an JIRA issue.

1. default value of attributes compatibility: Should default values of attributes be the same between RF5.Alpha1 and the new components? (*ordeable* attribute is different).

2. attribute *ordeable* is missing + at Attribute(defalutValue="true")+ in the AbstractPickList.java (https://github.com/richfaces/richfaces/blob/master/framework/src/main/java/org/richfaces/ui/select/pickList/AbstractPickList.java)


3. pickList.template.xml (https://github.com/richfaces/richfaces/blob/master/framework/src/main/java/org/richfaces/ui/select/pickList/pickList.template.xml#L152) - there are some TODOs, should they be completed ? or JIRA is just fine. I have not found any corresponding JIRA for them.


4. Could you please consider the order of the buttons in the stack ? 
IMHO it is weird (*not user friendly*) to have stack in this order: remove all, remove, as the first buttons. 
The old version of +pickList+ had it imho in a more reasonable order: Add all, add, remove, remove all

See: 
http://richwidgets.github.io/select/pickList.html 
vs 
http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=pickList&skin=blueSky

RichFaces 3 has the same order I am proposing.

Thanks
Juro



Posted by forums
Original post: https://community.jboss.org/message/843555#843555


More information about the richfaces-dev mailing list