I have a LOG statement right at the begining of the DataProvider.iterator()
method
LOG.info("******* iterator first " + first + " count " + count);
No matter what page number I pass in - Note its bookmarkable page links for
the page navigation - the first is always 0.
Nick Heudecker wrote:
>
> Having the DT in the Panel shouldn't impact your paging. It's possible
> that
> your service object isn't doing what you think it is.
>
>
>
> On Wed, Apr 16, 2008 at 8:34 PM, Ritz123 <[EMAIL PROTECTED]> wrote:
>
>>
>> Thanks Nick for the response...
>>
>> Posted the code
>>
>> http://www.papernapkin.org/pastebin/view/511/
>>
>> Let me know if more explanation is needed.
>>
>>
>>
>> Nick Heudecker wrote:
>> >
>> > Can you post any code? Use a (Wicket powered!) pastebin if possible.
>> >
>> > http://www.papernapkin.org/pastebin/home
>> >
>> >
>> >
>> > On Wed, Apr 16, 2008 at 7:41 PM, Ritz123 <[EMAIL PROTECTED]>
>> wrote:
>> >
>> >>
>> >> Will appreciate a response or any pointers.
>> >>
>> >>
>> >> Ritz123 wrote:
>> >> >
>> >> > Hi,
>> >> >
>> >> > I have put DataTable in a panel instead of putting it on the pages
>> >> > directly as shown in the examples.
>> >> >
>> >> > As a result of this iterator() method of the DataProvider is not
>> >> getting
>> >> > called with first and count updated. I have created
>> >> bookmarkablepagelinks
>> >> > for the table navigation so its SEO friendly. Since DataTable is
>> >> actually
>> >> > added in the panel, panel is added in the page constructor and panel
>> >> > constructor updates rowsperpage and current page based on what is
>> >> passed
>> >> > in the bookmarkablelink pageparameters.
>> >> >
>> >> > This seems to suggest the model somewhere is NOT dynamic - not sure
>> >> what
>> >> > am I missing.
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/DataTable-and-Panel-issue-tp16734720p16736521.html
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > Nick Heudecker
>> > Professional Wicket Training & Consulting
>> > http://www.systemmobile.com
>> >
>> > Eventful - Intelligent Event Management
>> > http://www.eventfulhq.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/DataTable-and-Panel-issue-tp16734720p16737084.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Nick Heudecker
> Professional Wicket Training & Consulting
> http://www.systemmobile.com
>
> Eventful - Intelligent Event Management
> http://www.eventfulhq.com
>
>
--
View this message in context:
http://www.nabble.com/DataTable-and-Panel-issue-tp16734720p16737575.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]