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
, 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 need to
have the regular - pageable pairs.
I
, 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 need to
have the regular - pageable
: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
IPageable.setCurrentPage() to setWantedPage(). IMO
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 problems
Alternatively we should
.
-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 problems
Alternatively we should make
-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 disagree. If a user specifies
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 new navigation to be done so we
don't need
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 need to
have the regular - pageable pairs.
I am
] 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 setCurrentPage() (the
pageable component).
To me it currently
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
problems
Alternatively we should make
, 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 who calls
setCurrentPage() (the
navigator
@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 looks like a
bug to him (and to me too).
From
, 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 who calls setCurrentPage() (the
navigator) or the one who
: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 who calls setCurrentPage() (the
navigator) or the one who implements
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();
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 need to
have the regular - pageable pairs.
I am currently
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
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 td colspan=xnbsp;/td to the last row
if there arent enough items in the dataprovider.
But what it does demonstrate is
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 explicitly aware of columns and rows
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 explicitly aware of columns and rows but this is
taking up way too
[firstname]/span/td
/tr
/table
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
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 di,
Sent: Tuesday, August 16, 2005 10:36 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
sigh 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
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 prototype ready for testing but I'm
having a initialization
: 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 dataitem, that's what
populateItem
: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
sigh 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 notoriously ugly doing this. Well
anyway, if this component is fully theoretical, I guess I
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
@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 current data-item if present.
Christian
:[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
On second thought... Instead of me adding this functionality into
ColumnedDataProvider can we add a IDataProvider wrapper that provides
this functionality? So I'd have the original IDataProvider, wrapped by
the offset-producing-IDataProvider, then the ColumnedDataProvider.
Or is
, 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
Subject: Re: [Wicket-user] Re
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
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 even sure we want
@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
view and use that. Why have a whole other wrapper/provider
, August 16, 2005 1:40 PM
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
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
@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
to see what I think :)
Gili
How about this idea:
We have a gridview
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 takes a
render interface
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
Looks ok I think
,
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
Looks
it :)
-Igor
-Original Message-
From: [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 :)
We
implement it until I need it :)
-Igor
-Original Message-
From: [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
@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 Vaynberg wrote:
Basically a table renderer
] 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 :)
We should have external markup files (i.e. *.html)
instead of doing this the old servlet/JSP way
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?
table wicket:id=grid cellspacing=0 cellpadding=2
: [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 divide it
into columns and rows, much like we're already doing
] 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 understand what impedence mismatch you're
talking about though
Ok, turns out that using DataView is no good :(
The markup contains:
div wicket:id=imageRow class=floatfix
div class=imageColumn
cell data
/div
/div
and I only want to issue a imageRow once every X columns. The
:[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:
div
div class=floatfix/
/div
-Igor
-Original Message-
From: [EMAIL PROTECTED]
[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
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: [Wicket-user] Re: ColumnedDataProvider
startIndex problems
sigh I said I
52 matches
Mail list logo