Re: FacesException: Could not get property rows of component...

2005-08-19 Thread Martin Marinschek
at > jsfDataTable looks quite nice, getJsfDataTable.getRows() returns a value, > everything looks OK. And after that I receive exception. > > Maybe I do not know something. So could you explain me how to bind datatable > object to backing bean properly? > > PK > > -

RE: FacesException: Could not get property rows of component...

2005-08-19 Thread Kołoszko Paweł
-Original Message- From: Kołoszko Paweł Sent: Friday, August 19, 2005 10:14 AM To: 'MyFaces Discussion' Subject: RE: FacesException: Could not get property rows of component... There is an example in "JavaServer in Action" where binding HtmlDataTable is shown and I can

RE : FacesException: Could not get property rows of component...

2005-08-19 Thread Clément Maignien
d see what happend in this case. Hope this will help. Regards, Clément -Message d'origine- De : Koloszko Pawel [mailto:[EMAIL PROTECTED] Envoyé : vendredi 19 août 2005 10:14 À : 'MyFaces Discussion' Objet : RE: FacesException: Could not get property rows of component...

RE: FacesException: Could not get property rows of component...

2005-08-19 Thread Kołoszko Paweł
:[EMAIL PROTECTED] Sent: Thursday, August 18, 2005 4:22 PM To: MyFaces Discussion Subject: Re: FacesException: Could not get property rows of component... next question: do you ever call 'new HtmlDataTable()'? it is your responsibility to initialize the components you use for value b

Re: FacesException: Could not get property rows of component...

2005-08-18 Thread Martin Marinschek
t mean? > > Ps. My backing bean is session scoped. > > PK > > -Original Message- > From: Martin Marinschek [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 18, 2005 3:34 PM > To: MyFaces Discussion > Subject: Re: FacesException: Could not get property

RE: FacesException: Could not get property rows of component...

2005-08-18 Thread Kołoszko Paweł
No, with new HtmlDataTable() I do not get NPE. So what does it mean? Ps. My backing bean is session scoped. PK -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Thursday, August 18, 2005 3:34 PM To: MyFaces Discussion Subject: Re: FacesException: Could not get

Re: FacesException: Could not get property rows of component...

2005-08-18 Thread Martin Marinschek
What happens if in your getJsfDataTable function you call new HtmlDataTable() each time? do you still get this NPE? regards, Martin On 8/18/05, Kołoszko Paweł <[EMAIL PROTECTED]> wrote: > One more thing. When binding="#{listRodzajePism.jsfDataTable}" is removed > from x:datatable tag, everyhing

RE: FacesException: Could not get property rows of component...

2005-08-18 Thread Kołoszko Paweł
One more thing. When binding="#{listRodzajePism.jsfDataTable}" is removed from x:datatable tag, everyhing works just fine. PK -Original Message- From: Kołoszko Paweł Sent: Thursday, August 18, 2005 11:20 AM To: users@myfaces.apache.org Subject: FacesException: Could not get property rows