You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Frank Felix Debatin <ff...@gmx.net> on 2006/04/19 17:37:16 UTC

tableSelectMany and RowKeySet

Hi, 

this is from the implementation of RowKeySet and obviously
breaks for non-String    row keys. 

      private Object _next()
      {
        while(rowKeyIterator.hasNext())
        {
          String rowKey = (String) rowKeyIterator.next(); //
!? FFD
          if (!set.contains(rowKey))
            return rowKey;
        }
        return null;
      }

Regards
Frank Felix


Re: tableSelectMany and RowKeySet

Posted by Adam Winer <aw...@gmail.com>.
Hope so too. ;)

BTW, you can already file bugs against ADF Faces incubator - and please do!

https://issues.apache.org/jira/browse/ADFFACES

Thanks,
Adam


On 4/19/06, Frank Felix Debatin <ff...@gmx.net> wrote:
> >>>
> (This would break if you clicked "Select All", then deselected a row, and
> had a non-string row key).
> <<<
>
> Right, that's how we found it :-(
>
> Hopefully the ADF source infrastructure, including bug tracking and so on,
> will be available soon...
>
> Frank Felix
>
>

RE: tableSelectMany and RowKeySet

Posted by Frank Felix Debatin <ff...@gmx.net>.
>>>
(This would break if you clicked "Select All", then deselected a row, and
had a non-string row key).
<<<

Right, that's how we found it :-(

Hopefully the ADF source infrastructure, including bug tracking and so on,
will be available soon...

Frank Felix


Re: tableSelectMany and RowKeySet

Posted by Adam Winer <aw...@gmail.com>.
Yep, indeed.  Thanks for catching this.  (This would break if you
clicked "Select All", then deselected a row, and had a non-string row
key).

-- Adam


On 4/19/06, Frank Felix Debatin <ff...@gmx.net> wrote:
> Hi,
>
> this is from the implementation of RowKeySet and obviously
> breaks for non-String    row keys.
>
>       private Object _next()
>       {
>         while(rowKeyIterator.hasNext())
>         {
>           String rowKey = (String) rowKeyIterator.next(); //
> !? FFD
>           if (!set.contains(rowKey))
>             return rowKey;
>         }
>         return null;
>       }
>
> Regards
> Frank Felix
>
>