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
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;
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
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
4 matches
Mail list logo