Question 1: is it broken?

Are you sure that property exists on the class that is in your
classpath (double check that your
"org.apache.myfaces.component.html.ext.HtmlDataTable" has "public
String getVarDetailToggler()" that is on your classpath).

Perhaps you have an older tomahawk jar in your classpath that doesn't
have that property?

Question 2: does it work, but have the warning?

If this is the case, is "getVarDetailToggler" on a super class? I have
seen facelets print this warning for components that have the
functionality in a parent component. For example, I get the warning
all the time with "forceId=", since forceId is on a parent class in
tomahawk components usually.

I am including this to the facelets list to get feedback if the issue
is just #2. If it is #2, everything will work fine (forceId still
works despite the warnings I get).


-Andrew

On 4/21/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> On 4/21/06, Nahrwold, Helge <[EMAIL PROTECTED]> wrote:
> > i've a dataTable with param -> varDetailToggler="detailToggler"
> > After accessing the file I get the following message into the console:
> >
> > WARNING: /view/table.xhtml @37,42 varDetailToggler="detailToggler" Property
> > 'varDetailToggler' is not on type:
> > org.apache.myfaces.component.html.ext.HtmlDataTable
>
> Weird.
>
> org.apache.myfaces.component.html.ext.HtmlDataTable contains the
> accessors so facelets should be able to find them.   Can't think of
> any reason why this would be happening if you're using the latest
> MyFaces.   However, I'm not sure when these accessors were added so be
> sure you're using the latest build.    You might also try fowarding
> this message to the facelets user list.
>
>     public void setVarDetailToggler(String varDetailToggler)
>     {
>         _varDetailToggler = varDetailToggler;
>
>     }
>
>     public String getVarDetailToggler()
>     {
>         return _varDetailToggler;
>
>     }
>

Reply via email to