[Core/Tomahawk] Problem with UIData and DataScrollerList?

2009-07-21 Thread Curtiss Howard
Hi, I've been working on getting the full suite of Tomahawk examples working on the 2.0 branch. Most of the examples are working, and one that's currently failing is Data Scroller (dataScroller.jsp). It looks like the dataScroller bean (org.apache.myfaces.examples.listexample.DataScrollerList)

Re: [Core/Tomahawk] Problem with UIData and DataScrollerList?

2009-07-21 Thread Matthias Wessendorf
So, how should this be approached?  Fix DataScrollerList or change UIData.getRows() to be more tolerant (i.e., cast the result to Number and call .intValue())? .intValue() would be fine w/ me. TCK should be fine with that as well, I guess... Thanks, Curtiss Howard -- Matthias

Re: [Core/Tomahawk] Problem with UIData and DataScrollerList?

2009-07-21 Thread Curtiss Howard
On Tue, Jul 21, 2009 at 8:12 AM, Matthias Wessendorfmat...@apache.org wrote: So, how should this be approached?  Fix DataScrollerList or change UIData.getRows() to be more tolerant (i.e., cast the result to Number and call .intValue())? .intValue() would be fine w/ me. TCK should be fine with

Re: [Core/Tomahawk] Problem with UIData and DataScrollerList?

2009-07-21 Thread Matthias Wessendorf
On Tue, Jul 21, 2009 at 2:17 PM, Curtiss Howardcurtiss.how...@gmail.com wrote: On Tue, Jul 21, 2009 at 8:12 AM, Matthias Wessendorfmat...@apache.org wrote: So, how should this be approached?  Fix DataScrollerList or change UIData.getRows() to be more tolerant (i.e., cast the result to Number

Re: [Core/Tomahawk] Problem with UIData and DataScrollerList?

2009-07-21 Thread Curtiss Howard
yes, true. I switched my mind. I don't see any reason for long as well. Guess I should have checked JIRA first... looks like this issue _has_ been known about for two years ;) https://issues.apache.org/jira/browse/TOMAHAWK-1064 Curtiss Howard