The problem is this code

   public int getNewspaperColumns() {
       return _newspaperColumns;
   }

needs to look more like this code:

   public String getRowOnDblClick()
   {
       if (_rowOnDblClick != null)
           return _rowOnDblClick;
       ValueBinding vb = getValueBinding("rowOnDblClick");
       return vb != null ? (String) vb.getValue(getFacesContext()) : null;
   }

and any references to _newspaperColumns need to be replaced with
getNewspaperColumns().

It should be a fairly easy patch for someone to implement.


On 3/16/07, Brummeline Braaten <[EMAIL PROTECTED]> wrote:
Dave <javaone9 <at> yahoo.com> writes:

>
>
> Can <t:dataTable> newspaperColumns be bound to a bean variable? For example,
    <t:dataTable newspaperColumns="#{bean.columns}" >     It was not working in
version 1.5.  Is it working in nightly builds? If not, could someone help to fix
it? It is a normal variable binding.     Thanks!  David
>
>
>
>  Get your own web address. Have a HUGE year through Yahoo! Small Business.
>

As far as I know, newspaperColumns can't be bound to a bean variable. I've tried
it myself, but I couldn't get it to work.

We have to cross our fingers that it will be fixed in the next version.




Reply via email to