hello,
 
I have following bean:
 
public class CProduct {
 
    private Integer id;
 
    private String name
 
    public Integer getId() {return id;}
    puclic void setId(Integer id){
...
}
 
My form class contains a java.util.List of CProduct bean.
 
How can I display the List as select box? I want to use the id as value and the name 
as label of the select box.
 
For example:
 
<select name="ref">
    <option value="1">scanner</option>
    <option value="2">harddisk</option>
</select>
 
Has anyone an idea?
 
Regards,
 
Frank
 

Reply via email to