Re: How I can read managed property value from faces-config file in class constructor?

2006-02-05 Thread Yogesh Chaudhari
Hi Dennis, Laurie thanks for the prompt reply. I found following code on jsffaq.com, I will try it work for me. FacesContext fc = FacesContext.getCurrentInstance(); String userName = (String)fc.getApplication().createValueBinding("#{Person.userName}").getValue(fc); Person demo

Re: How I can read managed property value from faces-config file in class constructor?

2006-02-04 Thread Laurie Harper
Yogesh Chaudhari wrote: Hi, I would like to read "show" managed property value in InvoiceBean class constructor so I can populate different resultset in "invoices" arraylist to display on page. Thanks, Yogesh public class InvoiceBean { private String show; ArrayList invoices;

Re: How I can read managed property value from faces-config file in class constructor?

2006-02-04 Thread Dennis Byrne
nal Message- >From: Yogesh Chaudhari [mailto:[EMAIL PROTECTED] >Sent: Saturday, February 4, 2006 05:08 PM >To: 'MyFaces Discussion' >Subject: How I can read managed property value from faces-config file in class >constructor? > >Hi, > >I would like to read &quo

How I can read managed property value from faces-config file in class constructor?

2006-02-04 Thread Yogesh Chaudhari
Hi, I would like to read "show" managed property value in InvoiceBean class constructor so I can populate different resultset in "invoices" arraylist to display on page. Thanks, Yogesh public class InvoiceBean { private String show; ArrayList invoices; public InvoiceBean