You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Anupama Dande <da...@gmail.com> on 2007/06/01 18:40:10 UTC

Problem with Binding in tr:table

Hi All,

    I am trying to figure out solution for the following problem since 2
days.

Problem:

    Whenever I use a binding in the

    <tr:table ....
            binding="#{testObj.testListTable}" >

    it is giving me an error as follows.


SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
javax.faces.el.PropertyNotFoundException: /common/xhtml/test.xhtml @61,34
binding="#{testObj.testListTable": Target Unreachable, identifier 'testObj'
resolved to null


Any help is highly appreciated.

Thanks,
Anu

Re: Problem with Binding in tr:table

Posted by Anupama Dande <da...@gmail.com>.
Andrew,

It worked... WOW....

I was struggling for days to solve this issue... n it works now...

Thanks to all you guys. You guys r gr8

I had to replace the
org.apache.myfaces.webapp.StartupServletContextListener  of myfaces with
com.sun.faces.config.ConfigureListener in web.xml, and remove both
myfaces-api-1.1.5.jar and myfaces-impl-1.1.5.jar libraries.

Thanks again,
>>Anu


On 6/1/07, Andrew Robinson <an...@gmail.com> wrote:
>
> You don't want jsf-impl.jar and myfaces-impl*.jar at the same time.
> They implement the same classes and may cause component and renderer
> conflicts.
>
> So if you want to use myfaces use
> myfaces-impl-1.1.x.jar and myfaces-api-1.1.x.jar (use x as the same
> version. 1.1.5 is the most JSF 1.1 compatible)
>
> and if you want to use the Sun RI:
> jsf-api.jar and jsf-impl.jar
>
> They are configured differently too (hence why the exception for the
> missing MyFaces class that you got).
>
> On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > if i remove myfaces-impl-1.1.4.jar it gives me this error
> >
> > SEVERE: Error configuring application listener of class
> > org.apache.myfaces.webapp.StartupServletContextListener
> > java.lang.ClassNotFoundException :
> > org.apache.myfaces.webapp.StartupServletContextListener
> >
> > So right now.. my application is working with
> >
> >      jsf-api.jar
> >      jsf-impl.jar
> >      myfaces-impl-1.1.4.jar
> >
> > Thanks Andrew and I just hope this intermittent problem doesn't arise
> again
> >
> >
> > >>Anu
> >
> >
> >
> > On 6/1/07, Andrew Robinson <an...@gmail.com> wrote:
> > > choose:
> > >
> > > jsf-api.jar
> > > jsf-impl.jar
> > >
> > > -or-
> > >
> > > myfaces-api-1.1.5.jar
> > > myfaces-impl-1.1.5.jar
> > >
> > > (don't mix 1.1.5 & 1.1.4 -- don't think that works)
> > >
> > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > Hi Andrew,
> > > >
> > > >     Went through the Jars list
> > > >
> > > > jsf-api.jar
> > > > jsf-facelets.jar
> > > > jsf-impl-messages.jar
> > > > jsf-impl.jar
> > > > jstl.jar
> > > > myfaces-api-1.1.5.jar
> > > > myfaces-impl-1.1.4.jar
> > > > tagHandlers-0.9.jar
> > > > tomahawk-1.1.3.jar
> > > > trinidad-api-incubator-m1-SNAPSHOT.jar
> > > > trinidad-impl-incubator-m1-SNAPSHOT.jar
> > > >
> > > > I was thinking maybe the jsf-api and myfaces-api-1.1.5 are the same
> > > > implementations.. and maybe you can help me out with others.
> > > >     And I don't have any exceptions during application deployment &
> > startup.
> > > >
> > > >
> > > > Thanks,
> > > > Anu
> > > >
> > > > On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com> wrote:
> > > > > What impl are you using RI or MyFaces? What impl version (i.e.
> 1.1.5)?
> > > > >
> > > > > If MyFaces, do you have the following listener registered in your
> > web.xml :
> > > > >
> > org.apache.myfaces.webapp.StartupServletContextListener
> > > > >
> > > > > Make sure you have only one JSF API/impl set of Jars in your WAR.
> > > > >
> > > > > Were there any exceptions during application deployment & startup?
> > > > >
> > > > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > > > Hi Andrew,
> > > > > >
> > > > > >       testObj is Managed Bean and is defined in the
> faces-config.xml
> > as
> > > > > >
> > > > > >   <managed-bean>
> > > > > >      <description>My Manager</description>
> > > > > >      <managed-bean-name>testObj</managed-bean-name>
> > > > > >      <managed-bean-class>myPackage.testObjMgr</managed-bean-class>
> > > > > >
> > <managed-bean-scope>request</managed-bean-scope>
> > > > > >   </managed-bean>
> > > > > >
> > > > > >     and testListTable is UIXTable.
> > > > > >
> > > > > >     And I am using Trinidad, Facelets, Tomahawk.
> > > > > >
> > > > > > Thanks,
> > > > > > Anu
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com >
> wrote:
> > > > > > > Pretty self explanitory, #{testObj} is null. What is testObj,
> > where is
> > > > > > > it defined?
> > > > > > >
> > > > > > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > > > > > Hi All,
> > > > > > > >
> > > > > > > >     I am trying to figure out solution for the following
> problem
> > > > since 2
> > > > > > > > days.
> > > > > > > >
> > > > > > > > Problem:
> > > > > > > >
> > > > > > > >     Whenever I use a binding in the
> > > > > > > >
> > > > > > > >     <tr:table ....
> > > > > > > >             binding="#{ testObj.testListTable }" >
> > > > > > > >
> > > > > > > >     it is giving me an error as follows.
> > > > > > > >
> > > > > > > >
> > > > > > > > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > > > > > > > javax.faces.el.PropertyNotFoundException:
> > > > > > > > /common/xhtml/test.xhtml @61,34 binding="#{
> > testObj.testListTable":
> > > > > > Target
> > > > > > > > Unreachable, identifier 'testObj' resolved to null
> > > > > > > >
> > > > > > > >
> > > > > > > > Any help is highly appreciated.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Anu
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

Re: Problem with Binding in tr:table

Posted by Andrew Robinson <an...@gmail.com>.
You don't want jsf-impl.jar and myfaces-impl*.jar at the same time.
They implement the same classes and may cause component and renderer
conflicts.

So if you want to use myfaces use
myfaces-impl-1.1.x.jar and myfaces-api-1.1.x.jar (use x as the same
version. 1.1.5 is the most JSF 1.1 compatible)

and if you want to use the Sun RI:
jsf-api.jar and jsf-impl.jar

They are configured differently too (hence why the exception for the
missing MyFaces class that you got).

On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> if i remove myfaces-impl-1.1.4.jar it gives me this error
>
> SEVERE: Error configuring application listener of class
> org.apache.myfaces.webapp.StartupServletContextListener
> java.lang.ClassNotFoundException :
> org.apache.myfaces.webapp.StartupServletContextListener
>
> So right now.. my application is working with
>
>      jsf-api.jar
>      jsf-impl.jar
>      myfaces-impl-1.1.4.jar
>
> Thanks Andrew and I just hope this intermittent problem doesn't arise again
>
>
> >>Anu
>
>
>
> On 6/1/07, Andrew Robinson <an...@gmail.com> wrote:
> > choose:
> >
> > jsf-api.jar
> > jsf-impl.jar
> >
> > -or-
> >
> > myfaces-api-1.1.5.jar
> > myfaces-impl-1.1.5.jar
> >
> > (don't mix 1.1.5 & 1.1.4 -- don't think that works)
> >
> > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > Hi Andrew,
> > >
> > >     Went through the Jars list
> > >
> > > jsf-api.jar
> > > jsf-facelets.jar
> > > jsf-impl-messages.jar
> > > jsf-impl.jar
> > > jstl.jar
> > > myfaces-api-1.1.5.jar
> > > myfaces-impl-1.1.4.jar
> > > tagHandlers-0.9.jar
> > > tomahawk-1.1.3.jar
> > > trinidad-api-incubator-m1-SNAPSHOT.jar
> > > trinidad-impl-incubator-m1-SNAPSHOT.jar
> > >
> > > I was thinking maybe the jsf-api and myfaces-api-1.1.5 are the same
> > > implementations.. and maybe you can help me out with others.
> > >     And I don't have any exceptions during application deployment &
> startup.
> > >
> > >
> > > Thanks,
> > > Anu
> > >
> > > On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com> wrote:
> > > > What impl are you using RI or MyFaces? What impl version (i.e. 1.1.5)?
> > > >
> > > > If MyFaces, do you have the following listener registered in your
> web.xml :
> > > >
> org.apache.myfaces.webapp.StartupServletContextListener
> > > >
> > > > Make sure you have only one JSF API/impl set of Jars in your WAR.
> > > >
> > > > Were there any exceptions during application deployment & startup?
> > > >
> > > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > > Hi Andrew,
> > > > >
> > > > >       testObj is Managed Bean and is defined in the faces-config.xml
> as
> > > > >
> > > > >   <managed-bean>
> > > > >      <description>My Manager</description>
> > > > >      <managed-bean-name>testObj</managed-bean-name>
> > > > >      <managed-bean-class>myPackage.testObjMgr </managed-bean-class>
> > > > >
> <managed-bean-scope>request</managed-bean-scope>
> > > > >   </managed-bean>
> > > > >
> > > > >     and testListTable is UIXTable.
> > > > >
> > > > >     And I am using Trinidad, Facelets, Tomahawk.
> > > > >
> > > > > Thanks,
> > > > > Anu
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com > wrote:
> > > > > > Pretty self explanitory, #{testObj} is null. What is testObj,
> where is
> > > > > > it defined?
> > > > > >
> > > > > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > > > > Hi All,
> > > > > > >
> > > > > > >     I am trying to figure out solution for the following problem
> > > since 2
> > > > > > > days.
> > > > > > >
> > > > > > > Problem:
> > > > > > >
> > > > > > >     Whenever I use a binding in the
> > > > > > >
> > > > > > >     <tr:table ....
> > > > > > >             binding="#{ testObj.testListTable }" >
> > > > > > >
> > > > > > >     it is giving me an error as follows.
> > > > > > >
> > > > > > >
> > > > > > > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > > > > > > javax.faces.el.PropertyNotFoundException:
> > > > > > > /common/xhtml/test.xhtml @61,34 binding="#{
> testObj.testListTable":
> > > > > Target
> > > > > > > Unreachable, identifier 'testObj' resolved to null
> > > > > > >
> > > > > > >
> > > > > > > Any help is highly appreciated.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Anu
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

Re: Problem with Binding in tr:table

Posted by Anupama Dande <da...@gmail.com>.
if i remove myfaces-impl-1.1.4.jar it gives me this error

SEVERE: Error configuring application listener of class
org.apache.myfaces.webapp.StartupServletContextListener
*java.lang.ClassNotFoundException*:
org.apache.myfaces.webapp.StartupServletContextListener

So right now.. my application is working with

     jsf-api.jar
     jsf-impl.jar
     myfaces-impl-1.1.4.jar

Thanks Andrew and I just hope this intermittent problem doesn't arise again

>>Anu



On 6/1/07, Andrew Robinson <an...@gmail.com> wrote:
>
> choose:
>
> jsf-api.jar
> jsf-impl.jar
>
> -or-
>
> myfaces-api-1.1.5.jar
> myfaces-impl-1.1.5.jar
>
> (don't mix 1.1.5 & 1.1.4 -- don't think that works)
>
> On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > Hi Andrew,
> >
> >     Went through the Jars list
> >
> > jsf-api.jar
> > jsf-facelets.jar
> > jsf-impl-messages.jar
> > jsf-impl.jar
> > jstl.jar
> > myfaces-api-1.1.5.jar
> > myfaces-impl-1.1.4.jar
> > tagHandlers-0.9.jar
> > tomahawk-1.1.3.jar
> > trinidad-api-incubator-m1-SNAPSHOT.jar
> > trinidad-impl-incubator-m1-SNAPSHOT.jar
> >
> > I was thinking maybe the jsf-api and myfaces-api-1.1.5 are the same
> > implementations.. and maybe you can help me out with others.
> >     And I don't have any exceptions during application deployment &
> startup.
> >
> >
> > Thanks,
> > Anu
> >
> > On 6/1/07, Andrew Robinson <an...@gmail.com> wrote:
> > > What impl are you using RI or MyFaces? What impl version (i.e. 1.1.5)?
> > >
> > > If MyFaces, do you have the following listener registered in your
> web.xml:
> > > org.apache.myfaces.webapp.StartupServletContextListener
> > >
> > > Make sure you have only one JSF API/impl set of Jars in your WAR.
> > >
> > > Were there any exceptions during application deployment & startup?
> > >
> > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > Hi Andrew,
> > > >
> > > >       testObj is Managed Bean and is defined in the faces-config.xmlas
> > > >
> > > >   <managed-bean>
> > > >      <description>My Manager</description>
> > > >      <managed-bean-name>testObj</managed-bean-name>
> > > >      <managed-bean-class>myPackage.testObjMgr </managed-bean-class>
> > > >      <managed-bean-scope>request</managed-bean-scope>
> > > >   </managed-bean>
> > > >
> > > >     and testListTable is UIXTable.
> > > >
> > > >     And I am using Trinidad, Facelets, Tomahawk.
> > > >
> > > > Thanks,
> > > > Anu
> > > >
> > > >
> > > >
> > > >
> > > > On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com > wrote:
> > > > > Pretty self explanitory, #{testObj} is null. What is testObj,
> where is
> > > > > it defined?
> > > > >
> > > > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > > > Hi All,
> > > > > >
> > > > > >     I am trying to figure out solution for the following problem
> > since 2
> > > > > > days.
> > > > > >
> > > > > > Problem:
> > > > > >
> > > > > >     Whenever I use a binding in the
> > > > > >
> > > > > >     <tr:table ....
> > > > > >             binding="#{ testObj.testListTable }" >
> > > > > >
> > > > > >     it is giving me an error as follows.
> > > > > >
> > > > > >
> > > > > > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > > > > > javax.faces.el.PropertyNotFoundException:
> > > > > > /common/xhtml/test.xhtml @61,34 binding="#{
> testObj.testListTable":
> > > > Target
> > > > > > Unreachable, identifier 'testObj' resolved to null
> > > > > >
> > > > > >
> > > > > > Any help is highly appreciated.
> > > > > >
> > > > > > Thanks,
> > > > > > Anu
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

Re: Problem with Binding in tr:table

Posted by Andrew Robinson <an...@gmail.com>.
choose:

jsf-api.jar
jsf-impl.jar

-or-

myfaces-api-1.1.5.jar
myfaces-impl-1.1.5.jar

(don't mix 1.1.5 & 1.1.4 -- don't think that works)

On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> Hi Andrew,
>
>     Went through the Jars list
>
> jsf-api.jar
> jsf-facelets.jar
> jsf-impl-messages.jar
> jsf-impl.jar
> jstl.jar
> myfaces-api-1.1.5.jar
> myfaces-impl-1.1.4.jar
> tagHandlers-0.9.jar
> tomahawk-1.1.3.jar
> trinidad-api-incubator-m1-SNAPSHOT.jar
> trinidad-impl-incubator-m1-SNAPSHOT.jar
>
> I was thinking maybe the jsf-api and myfaces-api-1.1.5 are the same
> implementations.. and maybe you can help me out with others.
>     And I don't have any exceptions during application deployment & startup.
>
>
> Thanks,
> Anu
>
> On 6/1/07, Andrew Robinson <an...@gmail.com> wrote:
> > What impl are you using RI or MyFaces? What impl version (i.e. 1.1.5)?
> >
> > If MyFaces, do you have the following listener registered in your web.xml:
> > org.apache.myfaces.webapp.StartupServletContextListener
> >
> > Make sure you have only one JSF API/impl set of Jars in your WAR.
> >
> > Were there any exceptions during application deployment & startup?
> >
> > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > Hi Andrew,
> > >
> > >       testObj is Managed Bean and is defined in the faces-config.xml as
> > >
> > >   <managed-bean>
> > >      <description>My Manager</description>
> > >      <managed-bean-name>testObj</managed-bean-name>
> > >      <managed-bean-class>myPackage.testObjMgr </managed-bean-class>
> > >      <managed-bean-scope>request</managed-bean-scope>
> > >   </managed-bean>
> > >
> > >     and testListTable is UIXTable.
> > >
> > >     And I am using Trinidad, Facelets, Tomahawk.
> > >
> > > Thanks,
> > > Anu
> > >
> > >
> > >
> > >
> > > On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com > wrote:
> > > > Pretty self explanitory, #{testObj} is null. What is testObj, where is
> > > > it defined?
> > > >
> > > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > > Hi All,
> > > > >
> > > > >     I am trying to figure out solution for the following problem
> since 2
> > > > > days.
> > > > >
> > > > > Problem:
> > > > >
> > > > >     Whenever I use a binding in the
> > > > >
> > > > >     <tr:table ....
> > > > >             binding="#{ testObj.testListTable }" >
> > > > >
> > > > >     it is giving me an error as follows.
> > > > >
> > > > >
> > > > > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > > > > javax.faces.el.PropertyNotFoundException:
> > > > > /common/xhtml/test.xhtml @61,34 binding="#{ testObj.testListTable":
> > > Target
> > > > > Unreachable, identifier 'testObj' resolved to null
> > > > >
> > > > >
> > > > > Any help is highly appreciated.
> > > > >
> > > > > Thanks,
> > > > > Anu
> > > > >
> > > >
> > >
> > >
> >
>
>

Re: Problem with Binding in tr:table

Posted by Anupama Dande <da...@gmail.com>.
Hi Andrew,

    Went through the Jars list

jsf-api.jar
jsf-facelets.jar
jsf-impl-messages.jar
jsf-impl.jar
jstl.jar
myfaces-api-1.1.5.jar
myfaces-impl-1.1.4.jar
tagHandlers-0.9.jar
tomahawk-1.1.3.jar
trinidad-api-incubator-m1-SNAPSHOT.jar
trinidad-impl-incubator-m1-SNAPSHOT.jar

I was thinking maybe the jsf-api and myfaces-api-1.1.5 are the same
implementations.. and maybe you can help me out with others.

    And I don't have any exceptions during application deployment & startup.

Thanks,
Anu

On 6/1/07, Andrew Robinson <an...@gmail.com> wrote:
>
> What impl are you using RI or MyFaces? What impl version (i.e. 1.1.5)?
>
> If MyFaces, do you have the following listener registered in your web.xml:
> org.apache.myfaces.webapp.StartupServletContextListener
>
> Make sure you have only one JSF API/impl set of Jars in your WAR.
>
> Were there any exceptions during application deployment & startup?
>
> On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > Hi Andrew,
> >
> >       testObj is Managed Bean and is defined in the faces-config.xml as
> >
> >   <managed-bean>
> >      <description>My Manager</description>
> >      <managed-bean-name>testObj</managed-bean-name>
> >      <managed-bean-class>myPackage.testObjMgr</managed-bean-class>
> >      <managed-bean-scope>request</managed-bean-scope>
> >   </managed-bean>
> >
> >     and testListTable is UIXTable.
> >
> >     And I am using Trinidad, Facelets, Tomahawk.
> >
> > Thanks,
> > Anu
> >
> >
> >
> >
> > On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com > wrote:
> > > Pretty self explanitory, #{testObj} is null. What is testObj, where is
> > > it defined?
> > >
> > > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > > Hi All,
> > > >
> > > >     I am trying to figure out solution for the following problem
> since 2
> > > > days.
> > > >
> > > > Problem:
> > > >
> > > >     Whenever I use a binding in the
> > > >
> > > >     <tr:table ....
> > > >             binding="#{testObj.testListTable }" >
> > > >
> > > >     it is giving me an error as follows.
> > > >
> > > >
> > > > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > > > javax.faces.el.PropertyNotFoundException:
> > > > /common/xhtml/test.xhtml @61,34 binding="#{ testObj.testListTable":
> > Target
> > > > Unreachable, identifier 'testObj' resolved to null
> > > >
> > > >
> > > > Any help is highly appreciated.
> > > >
> > > > Thanks,
> > > > Anu
> > > >
> > >
> >
> >
>

Re: Problem with Binding in tr:table

Posted by Andrew Robinson <an...@gmail.com>.
What impl are you using RI or MyFaces? What impl version (i.e. 1.1.5)?

If MyFaces, do you have the following listener registered in your web.xml:
org.apache.myfaces.webapp.StartupServletContextListener

Make sure you have only one JSF API/impl set of Jars in your WAR.

Were there any exceptions during application deployment & startup?

On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> Hi Andrew,
>
>       testObj is Managed Bean and is defined in the faces-config.xml as
>
>   <managed-bean>
>      <description>My Manager</description>
>      <managed-bean-name>testObj</managed-bean-name>
>      <managed-bean-class>myPackage.testObjMgr</managed-bean-class>
>      <managed-bean-scope>request</managed-bean-scope>
>   </managed-bean>
>
>     and testListTable is UIXTable.
>
>     And I am using Trinidad, Facelets, Tomahawk.
>
> Thanks,
> Anu
>
>
>
>
> On 6/1/07, Andrew Robinson < andrew.rw.robinson@gmail.com > wrote:
> > Pretty self explanitory, #{testObj} is null. What is testObj, where is
> > it defined?
> >
> > On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > > Hi All,
> > >
> > >     I am trying to figure out solution for the following problem since 2
> > > days.
> > >
> > > Problem:
> > >
> > >     Whenever I use a binding in the
> > >
> > >     <tr:table ....
> > >             binding="#{testObj.testListTable }" >
> > >
> > >     it is giving me an error as follows.
> > >
> > >
> > > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > > javax.faces.el.PropertyNotFoundException:
> > > /common/xhtml/test.xhtml @61,34 binding="#{ testObj.testListTable":
> Target
> > > Unreachable, identifier 'testObj' resolved to null
> > >
> > >
> > > Any help is highly appreciated.
> > >
> > > Thanks,
> > > Anu
> > >
> >
>
>

Re: Problem with Binding in tr:table

Posted by Anupama Dande <da...@gmail.com>.
Hi Andrew,

      testObj is Managed Bean and is defined in the faces-config.xml as

  <managed-bean>
     <description>My Manager</description>
     <managed-bean-name>testObj</managed-bean-name>
     <managed-bean-class>myPackage.testObjMgr</managed-bean-class>
     <managed-bean-scope>request</managed-bean-scope>
  </managed-bean>

    and testListTable is UIXTable.

    And I am using Trinidad, Facelets, Tomahawk.

Thanks,
Anu



On 6/1/07, Andrew Robinson <andrew.rw.robinson@gmail.com > wrote:
>
> Pretty self explanitory, #{testObj} is null. What is testObj, where is
> it defined?
>
> On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> > Hi All,
> >
> >     I am trying to figure out solution for the following problem since 2
>
> > days.
> >
> > Problem:
> >
> >     Whenever I use a binding in the
> >
> >     <tr:table ....
> >             binding="#{testObj.testListTable }" >
> >
> >     it is giving me an error as follows.
> >
> >
> > SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> > javax.faces.el.PropertyNotFoundException:
> > /common/xhtml/test.xhtml @61,34 binding="#{ testObj.testListTable":
> Target
> > Unreachable, identifier 'testObj' resolved to null
> >
> >
> > Any help is highly appreciated.
> >
> > Thanks,
> > Anu
> >
>

Re: Problem with Binding in tr:table

Posted by Andrew Robinson <an...@gmail.com>.
Pretty self explanitory, #{testObj} is null. What is testObj, where is
it defined?

On 6/1/07, Anupama Dande <da...@gmail.com> wrote:
> Hi All,
>
>     I am trying to figure out solution for the following problem since 2
> days.
>
> Problem:
>
>     Whenever I use a binding in the
>
>     <tr:table ....
>             binding="#{testObj.testListTable }" >
>
>     it is giving me an error as follows.
>
>
> SEVERE: Error Rendering View[/common/xhtml/test.xhtml]
> javax.faces.el.PropertyNotFoundException:
> /common/xhtml/test.xhtml @61,34 binding="#{ testObj.testListTable": Target
> Unreachable, identifier 'testObj' resolved to null
>
>
> Any help is highly appreciated.
>
> Thanks,
> Anu
>