[nbj2ee] JSF showing values in
  • From: "karinh" < >
  • To:
  • Subject: [nbj2ee] JSF showing values in <h:selectOneMenu
  • Date: Sat, 29 Sep 2012 13:04:32 -0400

Thank you for your reply,

MyBean is the managed bean.

i had omitted some of the code


Code:

<managed-bean-name>myBean</managed-bean-name>
<managed-bean-class>beans.MyBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
    <property-name>animals</property-name>
    <list-entries>
        <value>Cat</value>
        <value>Dog</value>
    </list-entries>
</managed-property> 




it was a request to use the faces-config file.
I have used an example from a Java EE book, but it doesn't get the value for 
the managed property, it's like it is not initializing.
im quite sure im forgetting something but i do not know what.

thank you






[nbj2ee] JSF showing values in <h:selectOneMenu

karinh 09/28/2012

[nbj2ee] Re: JSF showing values in <h:selectOneMenu

Rick Fincher 09/29/2012

[nbj2ee] JSF showing values in <h:selectOneMenu

karinh 09/29/2012

[nbj2ee] Re: JSF showing values in <h:selectOneMenu

Rick Fincher 09/30/2012

[nbj2ee] Re: JSF showing values in <h:selectOneMenu

Antonio Varela 09/29/2012

[nbj2ee] Re: JSF showing values in <h:selectOneMenu

Antonio Varela 09/29/2012

[nbj2ee] JSF showing values in <h:selectOneMenu

karinh 09/29/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close