what is that have to do with dataprovider? i think you are doing
something very strange. maybe you should subclass the dataview instead
of dataprovider

-igor


On Thu, Apr 3, 2008 at 5:22 PM, i ii <[EMAIL PROTECTED]> wrote:
>
>  i need update method to know how many items updated out of how many items 
> shown on page
>
>  > Date: Thu, 3 Apr 2008 10:02:18 -0700
>  > From: [EMAIL PROTECTED]
>
>
> > To: [email protected]
>  > Subject: Re: should DataView.setItemsPerPage(int items) be in 
> IDataProvider?
>  >
>  > whats the usecase there?
>  >
>  > -igor
>  >
>  > On Thu, Apr 3, 2008 at 6:29 AM, i ii <[EMAIL PROTECTED]> wrote:
>  > >
>  > >  but what if items per page is needed not in iterator?
>  > >
>  > >  > Date: Thu, 3 Apr 2008 15:08:27 +0200
>  > >  > From: [EMAIL PROTECTED]
>  > >  > To: [email protected]
>  > >  > Subject: Re: should DataView.setItemsPerPage(int items) be in 
> IDataProvider?
>  > >
>  > >
>  > > >
>  > >  > iterator(int start, int count)
>  > >  >
>  > >  > the count parameter is the items per page.
>  > >  >
>  > >  > Martijn
>  > >  >
>  > >  > On 4/3/08, i ii <[EMAIL PROTECTED]> wrote:
>  > >  > >
>  > >  > >  when i need to get items per page in data provider i cannot unless 
> i have data view. should this method be in data provider and not data view? 
> the data provider is providing data and items per page is data, no?
>  > >  > >
>  > >  >
>  > >  >
>  > >  > --
>  > >  > Buy Wicket in Action: http://manning.com/dashorst
>  > >  > Apache Wicket 1.3.2 is released
>  > >  > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.2
>  > >  >
>  > >  > ---------------------------------------------------------------------
>  > >  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > >  > For additional commands, e-mail: [EMAIL PROTECTED]
>  > >  >
>  > >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: [EMAIL PROTECTED]
>  > For additional commands, e-mail: [EMAIL PROTECTED]
>  >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to