You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Bernd Müller <mu...@gmail.com> on 2006/01/19 17:39:17 UTC
cannot initialize managed bean property of type String[]
Hello,
I tried to initialize a managed bean property of type String[] but did not
succeed.
It works with JSF-RI.
Is it a bug?
<managed-property>
<description>Liste möglicher Farben</description>
<property-name>farben</property-name>
<property-class>String[]</property-class>
<list-entries>
<value>rot</value>
<value>gelb</value>
<value>grün</value>
<value>blau</value>
<value>schwarz</value>
</list-entries>
</managed-property>
private String[] farben;
public String[] getFarben() {
return farben;
}
public void setFarben(String[] farben) {
this.farben = farben;
}
regards
Bernd