ion.
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Essl
Sent: Saturday, August 20, 2005 12:13 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider startIndex
problems
I am a bit of track now. Plea
TECTED] On Behalf Of
Christian Essl
Sent: Saturday, August 20, 2005 12:13 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider startIndex
problems
I am a bit of track now. Please help me getting back. My question is
who finds the real last page? The
EMAIL PROTECTED] On Behalf Of
Christian Essl
Sent: Saturday, August 20, 2005 12:13 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider startIndex problems
I am a bit of track now. Please help me getting back. My question is
who finds the real last page? The one wh
2005 12:33 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
Right, but from a error-prevention point of view, if I
provided a user with a link to "next page" and he clicks on
it and sees the same page a second time, that
currentpage=page;
> > }
> >
> > This handles the out of bounds quietly instead of always throwing an
> > exception.
> >
> > -Igor
> >
> >
> >
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAI
et-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
I am a bit of track now. Please help me getting back. My
question is who finds the real last page? The one who calls
setCurrentPage() (the
navigator) or the one who implements setCurrentPag
eforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
> I am a bit of track now. Please help me getting back. My
> question is who finds the real last page? The one who calls
> setCurrentPage() (the
> navigator) or the one who implements setCurre
On Behalf Of
Johan Compagner
Sent: Friday, August 19, 2005 2:29 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
>
>> Alternatively we should make an PageableOrderedRepeatingView.
>>
>
> I want to wait for the
pageable. So
>>> something like irangepageable { getrowsperpage() setrowsperpage()
>>> getmaxrows() }But that's just me.
>>>
>>> Btw whats getmaxrows() is that getrowcount()?
>>>
>>> I don't see why the listview cannot have setrowsperpage
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gili
> Sent: Saturday, August 20, 2005 10:37 AM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> I
nyways which
defaults to showing everything until used.
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 19, 2005 2:29 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
s
ults to showing everything until used.
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 19, 2005 2:29 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex proble
nt: Saturday, August 20, 2005 2:41 AM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
> Oh yes you are right. I did not think of that the currentPage
> does not get listed anymore. Maybe change the
> IPagea
:[EMAIL PROTECTED] On Behalf Of
Johan Compagner
Sent: Friday, August 19, 2005 2:29 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
>
>> Alternatively we should make an PageableOrderedRepeatingView.
>>
>
> I want
] On Behalf Of
Johan Compagner
Sent: Friday, August 19, 2005 2:29 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
>
>> Alternatively we should make an PageableOrderedRepeatingView.
>>
>
> I want to wait for the
y, August 19, 2005 2:29 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
>
>> Alternatively we should make an PageableOrderedRepeatingView.
>>
>
> I want to wait for the new navigation to be done so we
don't
2:29 AM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> >
> >> Alternatively we should make an PageableOrderedRepeatingView.
> >>
> >
> > I want to wait for the new navigat
Alternatively we should make an PageableOrderedRepeatingView.
I want to wait for the new navigation to be done so we don't need to have
the regular - pageable pairs.
I am currently inclined to keep this difference.
Because now i have
IPageable
{
getCurrentPage();
setCurre
> You are right. A lot is still poiler-plate code. Why not make
> a component out of it with a method populateDataItem(DataItem
> di, int col, int row), which calls di with null when there
> are no Objects in the model anymore or has an additional
> method with populateEmptyDataItem(DataItem d
ED] On Behalf Of
Igor Vaynberg
Sent: Wednesday, August 17, 2005 11:14 AM
To: wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
I would disagree with everything except 1.
(2) wont work because cells might create different
hierarchies of compo
ECTED] On Behalf Of Gili
Sent: Wednesday, August 17, 2005 10:41 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider startIndex
problems
Ok, I give up :(
I tried simplifying everything by creating a
GridDataView that is a
DataView that is exp
k you are trying to create a component that is very
> specific to
> > your needs as opposed to creating a more general one and
> adopting it.
> >
> > -Igor
> >
> >
> >
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>
I just checked in a very small example on how to build a simple grid. It is
in no way complete as it is not a component and it misses some basic
functionality such as adding a to the last row
if there arent enough items in the dataprovider.
But what it does demonstrate is that it is VERY EASY to
I just checked in a very small example on how to build a simple grid. It is
in no way complete as it is not a component and it misses some basic
functionality such as adding a to the last row
if there arent enough items in the dataprovider.
But what it does demonstrate is that it is VERY EASY to
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Wednesday, August 17, 2005 10:41 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
Ok, I give up :(
I tried simplifying everything by creating a
GridDataView that i
> Sent: Wednesday, August 17, 2005 11:14 AM
> To: wicket-user@lists.sourceforge.net
> Subject: RE: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
> I would disagree with everything except 1.
>
> (2) wont work because cells might create different
> hi
; [mailto:[EMAIL PROTECTED] On Behalf Of Gili
> Sent: Wednesday, August 17, 2005 10:41 AM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> Ok, I give up :(
>
> I tried simplifying ever
e-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christian Essl
Sent: Wednesday, August 17, 2005 1:34 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
> In fact the add() function in the dataview should pro
Ok, I give up :(
I tried simplifying everything by creating a GridDataView that is a
DataView that is explicitly aware of columns and rows but this is taking
up way too much of my time and I'm getting stuck way too often.
Some points:
1) We need a component which consists o
t; To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
> > In fact the add() function in the dataview should probably throw an
> > unsupported operation exception.
>
> Or just add to the
In fact the add() function in the dataview should probably throw an
unsupported
operation exception.
Or just add to the current data-item if present.
Christian
___
Gesendet von Yahoo! Mail - Jetzt mi
e to the MyListView passed
> >>into the constructor. populateItem() will be passed a
> >>DataItem for both row and column.
> >>
> >> See what I mean? It's very flexible in that you can
> >>nested multiple layers but at the same time the overall state
>
gt; Igor Vaynberg
> Sent: Tuesday, August 16, 2005 11:41 PM
> To: wicket-user@lists.sourceforge.net
> Subject: RE: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
> There is no magic in add(). imageRow.add(imageCell) wont work
> because it needs to be added to the
rom: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gili
> Sent: Tuesday, August 16, 2005 11:25 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> I've almost got my prototy
i
Sent: Tuesday, August 16, 2005 10:36 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
I said I disliked the idea of outputting HTML
from Java code because this is very much like plain servlets
or JSP, both of which are noto
at you want.
Why don't you try it and tell us if it works.
-Igor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gili
> Sent: Tuesday, August 16, 2005 10:36 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wick
http://www.mail-archive.com/wicket-user@lists.sourceforge.net/msg04192.html
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Tuesday, August 16, 2005 10:10 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
s
uesday, August 16, 2005 10:10 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> Where do I find the renderer Java class?
>
> Gili
>
> Igor Vaynberg wrote:
> > This would be re
]
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Tuesday, August 16, 2005 10:02 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
Ok, turns out that using DataView is no good :(
The markup contains
16, 2005 10:02 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> Ok, turns out that using DataView is no good :(
>
> The markup contains:
>
>
Ok, turns out that using DataView is no good :(
The markup contains:
cell data
and I only want to issue a "imageRow" once every X columns. The
problem, I just realized, is that the imageRow tag wraps a single
imag
Right, I think I prefer this method now. I think what is really missing
in the end is the documentation aspect, not Javadoc but a full-fledged
Wiki example for how to use it to produce rows and columns.
Time-allowing, I'll try posting something to that effect in the near future.
In respons
> The benefit of this approach is extra flexibility so it is
> possible to implement tables where the first row contains one
> cell (i.e. the title) then the next couple of rows contain
> four cells (adding up some items) and then the final row
> contains two cells ("total=", "some value"). Thi
-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Tuesday, August 16, 2005 4:05 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
The current mechanism works, but it is not elegant. I
really don't und
eforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> The current mechanism works, but it is not elegant. I
> really don't understand what impedence mismatch you're
> talking about though. We take the flat list and
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Tuesday, August 16, 2005 3:47 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
Why can't we just do this?
cell
005 3:23 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
Looks bad :)
We should have external markup files (i.e. *.html)
instead of doing this the old servlet/JSP way of manually
writing out HTML.
Gili
Igor Vay
t; view.getResponse().write("");
> >>> }
> >>> beginCell(GridView view) {
> >>> view.getResponse().write("");
> >>> }
> >>> ...
> >>>}
> >>>
> >>>Mmm
Behalf Of Gili
Sent: Tuesday, August 16, 2005 3:23 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
Looks bad :)
We should have external markup files (i.e. *.html)
instead of doing this the old servlet/JSP way of manual
rom: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gili
> Sent: Tuesday, August 16, 2005 3:23 PM
> To: wicket-user@lists.sourceforge.net
> Subject: Re: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> Looks bad :)
>
>
an have an excelrenderer or a csvrenderer,
etc.. Almost like an exporter.
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Tuesday, August 16, 2005 2:36 PM
To: wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user] Re:
r,
etc.. Almost like an exporter.
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gili
Sent: Tuesday, August 16, 2005 2:36 PM
To: wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
rom: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Igor Vaynberg
Sent: Tuesday, August 16, 2005 2:00 PM
To: wicket-user@lists.sourceforge.net
Subject: RE: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
How about this idea:
We have a gridview extends dataview. A gridview tak
st 16, 2005 2:36 PM
> To: wicket-user@lists.sourceforge.net
> Subject: RE: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
>
> Looks ok I think although I'm not too familiar with
> this whole concept of a seperate renderer. I'd have to try it
Looks ok I think although I'm not too familiar with this whole concept
of a seperate renderer. I'd have to try it to see what I think :)
Gili
How about this idea:
We have a gridview extends dataview. A gridview takes a render interface
that it uses to render the grid (instead of body markup
> -Igor
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Gili
> > Sent: Tuesday, August 16, 2005 1:40 PM
> > To: wicket-user@lists.sourceforge.net
> > Subject: RE: [Wicket-user] Re: ColumnedDataP
> To: wicket-user@lists.sourceforge.net
> Subject: RE: [Wicket-user] Re: ColumnedDataProvider
> startIndex problems
>
> > I told you I didn't like it :) The whole process should
> be smoother,
> > why cant the internal view simply get the iterator from the
> external
&
taview you should use setfirstindex().
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Phil Kulak
Sent: Tuesday, August 16, 2005 11:32 AM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
Are we e
I told you I didn't like it :) The whole process should be smoother, why
cant the internal view simply get the iterator from the external view and
use that. Why have a whole other wrapper/provider to implement.
What is this offset? When using pageddataview you should use the page number
to offs
ffset, when using a normal dataview you should use setfirstindex().
-Igor
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Phil Kulak
> Sent: Tuesday, August 16, 2005 11:32 AM
> To: wicket-user@lists.sourceforge.net
> Sub
Are we even sure we want this functionality in the dataprovider? I
wrote that class to get people's reactions to the concept, but I don't
think I got any feedback. I'm not sure that's where the functionality
belongs, but you can't just subclass the whole heirarchy either.
On 8/16/05, Gili <[EMAIL
61 matches
Mail list logo