Hello,Answer to point 1:--You need to add your id in inList constraint here:
just get the String[] of all ids and add to inList
property.bean.addConstraint(
    new ConstrainedProperty("colors").inList(new String[] {"id1", "id2",
"id3"}));-- Then fetch the username and id both and prepare following
ListResoucreBundeletemplate.addResourceBundle(new ListResourceBundle() {
public Object[][] getContents()
{
    return new Object[][] {
        {"colors:id1", "username1"},
        {"colors:id2", "username1"},
        {"colors:id3", "username1"}
    };
}});After that with only this line in the template:<!--V
'FORM:SELECT:colors'/-->Your select box will be rendered.Regards

_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to