http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage
-igor
On Thu, Jul 30, 2009 at 11:14 AM, Elad Katz wrote:
> Hi, I have a DefaultDataTable with 5 columns, I want to be able to register
> to an onclick method that fires wh
Hi, I have a DefaultDataTable with 5 columns, I want to be able to register
to an onclick method that fires when the user will click a specific row\cell
in the table.
In other words, I need to be able to open an edit screen when the user
clicks the row he wants to edit, and for that I need the row
Hi,
I'm trying to implement a simple sortable datatable with Wicket, and I'm
struggling with an issue I can't find a way to solve : how to build a
sortable column when the data to be sorted is also to be translated and
comes from the property files (not from the model directly) ?
I've done this :
uot;Edgar Merino"
> Sent: Thursday, October 02, 2008 5:19 AM
> To:
> Subject: Re: DefaultDataTable with date column
>
>> Or simply use an AbstractColumn for that, you can even create a reusable
>> DateColumn:
>>
>> public class DateColumn extends Abstrac
>> wrote:
>>>
>>> If it matters, I forgot to mention, I'm using wicket 1.4-rc2
>>>
>>> Jason
>>>
>>>
>>>
>>> Jason Rosenberg wrote:
>>>>
>>>> Hi,
>>>>
>>>> I have an issue with
Anton,
Thanks, this works for me, and the bug is indeed fixed
Jason
I use 1.4-SNAPSHOT and
wicket-snaps
http://wicketstuff.org/maven/repository
--
View this message in context:
http://www.nabble.com/DefaultDataTable-loses-pagination
>> wrote:
>>>
>>> If it matters, I forgot to mention, I'm using wicket 1.4-rc2
>>>
>>> Jason
>>>
>>>
>>>
>>> Jason Rosenberg wrote:
>>>>
>>>> Hi,
>>>>
>>>> I h
8, 2009 at 8:25 AM, Jason Rosenberg
> wrote:
>>
>> If it matters, I forgot to mention, I'm using wicket 1.4-rc2
>>
>> Jason
>>
>>
>>
>> Jason Rosenberg wrote:
>>>
>>> Hi,
>>>
>>> I have an issue with the Default
t;
>> Hi,
>>
>> I have an issue with the DefaultDataTable, and I'm wondering if this is
>> something that I should expect to be supported, or not.
>>
>> (I've found the same problem with the AjaxFallbackDefaultDataTable)
>>
>> I implemented
If it matters, I forgot to mention, I'm using wicket 1.4-rc2
Jason
Jason Rosenberg wrote:
>
> Hi,
>
> I have an issue with the DefaultDataTable, and I'm wondering if this is
> something that I should expect to be supported, or not.
>
> (I
Hi,
I have an issue with the DefaultDataTable, and I'm wondering if this is
something that I should expect to be supported, or not.
(I've found the same problem with the AjaxFallbackDefaultDataTable)
I implemented filtering, with the FilterToolbar, and made a few of the
c
>> 2) extends NavigationToolbar to add extra panel right to PagingNavigator
>>
>> Althought it is possible to completely override PagingNavigator component
>> it
>> is not so straightforward as I expected.
>>
>> Please improve DefaultDataTable so it will be capab
ys: 1) extend NavigationToolbar or PagingNavigator
2) extends NavigationToolbar to add extra panel right to PagingNavigator
Althought it is possible to completely override PagingNavigator component it
is not so straightforward as I expected.
Please improve DefaultDataTable so it will be capable to c
it is possible to completely override PagingNavigator component it
is not so straightforward as I expected.
Please improve DefaultDataTable so it will be capable to change rows per
page.
I also suggest creating child components in all the non-final components via
createXXX methods instead of new keywo
I am writing an application and have used both the DefaultDataTable and
ListView to display paged data.
Besides the feature that DefaultDataTable allows you to sort columns easily, is
there any reason to choose one over the other?
Thanks
You could put a link on each row
On Sat, Feb 14, 2009 at 12:19 PM, Christoph Grün wrote:
> Hi all,
>
>
>
> I have a datatable and following method that delivers the selected item in
> the table. How can I get the index of the selected element? There are
> methods for getting the current page inde
Hi all,
I have a datatable and following method that delivers the selected item in
the table. How can I get the index of the selected element? There are
methods for getting the current page index and all page rows, but I couldnt
find a function for getting the index of the current element.
#x27;attribute1'));
}
-igor
On Thu, Jan 22, 2009 at 4:59 AM, Philipp Daumke wrote:
> Dear all,
>
> I try to create an editable column using DefaultDataTable and
> AjaxEditableLabel. My current version is posted below but it's quite a hack
> and I wonder whether there'
Hi Uwe,
thanks for the link. I agree that my model passing is weird. Your link
to the example explains an editable TreeTable but I look for a DataTable
example. In that tree table example I cannot use the
tree.table.PropertyEditableColumn as as the DefaultDataTable I want to
use requires
Philipp Daumke schrieb:
I try to create an editable column using DefaultDataTable and
AjaxEditableLabel. My current version is posted below but it's quite a
hack and I wonder whether there's an official good solution for that
before I go on with my work.
i think the passing of y
Dear all,
I try to create an editable column using DefaultDataTable and
AjaxEditableLabel. My current version is posted below but it's quite a
hack and I wonder whether there's an official good solution for that
before I go on with my work.
Thanks al lot for your he
please open a jira issue.
-igor
On Mon, Nov 17, 2008 at 4:44 AM, Dylan Schell <[EMAIL PROTECTED]> wrote:
>
> When trying to use the DefaultDataTable in combination i'm running into what
> I think is a "bug" in the generification of ChoiceFilteredPropertyC
When trying to use the DefaultDataTable in combination i'm running into what I
think is a "bug" in the generification of ChoiceFilteredPropertyColumn,
DefaultDataTable is parameterized with type and the constructor expects
IColumn for it's column types. if I
I guess I just needed some time away from the computer to figure this one
out. After looking at it this morning I found my error. In the
AjaxFormComponentUpdatingBehavior I was setting the table equal to a new
DefaultDataTable when I should have been using table.replaceWith(new
DataTable
On Thu, 09 Oct 2008, taygolf wrote:
> Basically what I want to do is have a textfield on my page. when the user
> types a letter in the textfield I want to take that letter and update the
> query that I send to my dataprovider. The dataprovider will then update the
> DefaultDataTable.
Hey guys,
I am trying to update a DefaultDataTable using a textfield and ajax. I have
done it to a ListChoice before but for some reason I can not get it to work
with a DefaultDataTable.
Basically what I want to do is have a textfield on my page. when the user
types a letter in the textfield I
ware.petstore.application.search.SearchPanelTest.txt
> com.compuware.petstore.application.search.SearchPanelTest.txt
>
> Thanks,
>
>
>
> igor.vaynberg wrote:
>>
>> still dont see anything that uses dd/dl tags
>>
>> -igor
>>
>> On Fri, Oct 3, 200
dd/dl tags
>
> -igor
>
> On Fri, Oct 3, 2008 at 12:46 PM, zaheers <[EMAIL PROTECTED]>
> wrote:
>>
>> I am using a DefaultDatatable in the SearchPanel. The actual component
>> works
>> fine and the table is displayed correctly in the GUI.
>> The
still dont see anything that uses dd/dl tags
-igor
On Fri, Oct 3, 2008 at 12:46 PM, zaheers <[EMAIL PROTECTED]> wrote:
>
> I am using a DefaultDatatable in the SearchPanel. The actual component works
> fine and the table is displayed correctly in the GUI.
> The error is only
I am using a DefaultDatatable in the SearchPanel. The actual component works
fine and the table is displayed correctly in the GUI.
The error is only when I execute the Testcase. I have attached the generated
mark-up in my previous message. Attaching the test case and the panel java /
mark up
that uses a
> DefaultDatatable. Detailed error file is attached.
>
> Thanks for your input.
>
> Caused by: java.text.ParseException: Tag '' (line 103, column 32) has a
> mismatched close tag at '' (line 103, column 74)
>
>
> //start and render t
Getting the following exception when testing a Panel that uses a
DefaultDatatable. Detailed error file is attached.
Thanks for your input.
Caused by: java.text.ParseException: Tag '' (line 103, column 32) has a
mismatched close tag at '' (line 103, column 74)
//start
Hi, I have a form with some fields attached to some properties of a model,
so when I change the model all the fields also changes. Up to that
everything goes perfect, the problem I'm having is that I need to maintain a
DefaultDataTable in the form with the data of a list that the model h
Great!
this is just what I need
Thanks
Pablo
--
From: "Edgar Merino" <[EMAIL PROTECTED]>
Sent: Thursday, October 02, 2008 5:19 AM
To:
Subject: Re: DefaultDataTable with date column
Or simply use an AbstractColumn for that, you c
Or simply use an AbstractColumn for that, you can even create a reusable
DateColumn:
public class DateColumn extends AbstractColumn {
private String datePattern; //you can have a Pattern instead
//You can overload the constructor, to have default date patterns
for example
public Date
8 at 5:44 PM, Pablo S. <[EMAIL PROTECTED]> wrote:
>
> > Sorry, I have not explained more in detail.
> > I know how to format a date, but I'm using the DefaultDataTable component
> > so inside the component is filling the data taking the info from my model
> > obje
spect the DataTable is just calling "toString()" on the Date object.
Phil
On Wed, Oct 1, 2008 at 5:44 PM, Pablo S. <[EMAIL PROTECTED]> wrote:
> Sorry, I have not explained more in detail.
> I know how to format a date, but I'm using the DefaultDataTable component
>
Sorry, I have not explained more in detail.
I know how to format a date, but I'm using the DefaultDataTable component so
inside the component is filling the data taking the info from my model
object.
I have this code:
List> columns = new ArrayList>();
columns.add(new PropertyColum
Use java.text.DateFormat for that matter (take a look at
SimpleDateFormat in case you need more control over how you want your
date to be formatted).
Edgar Merino
Pablo S. escribió:
Hi, I would like to know how I can format a value from 1 column that
is a date. I've a sortable dataprovider t
Hi, I would like to know how I can format a value from 1 column that is a
date. I've a sortable dataprovider that contains my object, and one of the
fields is a date. The html table shows the digits of the hour of the date
(example: "00:00") instead of something like this "2000/02/03"
Thanks
hi
i got empty footers from DefaultDataTable the validators (tidy et al)
complain about.
is there a simple way to get them out if empty ?
cu uwe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Jan Kriesten schrieb:
using DefaultDataTable, how to best apply css to the columns (in order
to size them, etc)
by using an IColumn implementing IStyledColumn: getCssClass()
ouch. thx!
-
To unsubscribe, e-mail: [EMAIL
hi uwe,
> using DefaultDataTable, how to best apply css to the columns (in order
> to size them, etc)
by using an IColumn implementing IStyledColumn: getCssClass()
best regards, --- jan.
-
To unsubscribe, e-mail:
Timm Helbig schrieb:
I put each DefaultTable in a separate div and style the div container, that's
another possibility.
sure, that´ll do. thx.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
g, 17. August 2008 19:13:12 schrieb Uwe Schäfer:
> hi.
>
> using DefaultDataTable, how to best apply css to the columns (in order
> to size them, etc)
>
> cu uwe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
hi.
using DefaultDataTable, how to best apply css to the columns (in order
to size them, etc)
cu uwe
--
THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T + 49 761 3 85 59 0
F + 49 761 3 85 59 550
E [EMAIL PROTECTED]
www.thomas-daily.de
Geschäftsführer/Managing Directors
Nevermind - got too bogged down in fixing generics warnings and didn't
notice my obvious mistake. For those who may come across this later:
The columns should be declared PropertyColumn if the table is
DefaultDataTable
JT
On Wed, Aug 13, 2008 at 7:03 PM, Jeremy Thomerson <[EMAIL P
I'm just converting one of my applications from 1.4-m2 to 1.4-m3. I have a
question regarding DefaultDataTable. The current constructor signature is;
public DefaultDataTable(String id, final IColumn[] columns,
ISortableDataProvider dataProvider, int rowsPerPage)
I don't understa
Hello,
I wanted to have links inside the DefaultDataTable cells and I followed
advice provided in following link:
http://cwiki.apache.org/WICKET/adding-links-in-a-defaultdatatable.html
I could successfully get the links to new pages in the data table.
But now if I click these links to open other
hi Sanjeev,
I think you can able to do it using this code,
extend parent class as DataTable,dont use DefaultDataTable :
code:
DatatTable datatable=new DataTable("entries",column,provider,3)
{
protected Item newRowItem(String id,int index,IModel model)
{
return new OddEvenItem(id,i
t; the following iterator() call sticks at first = 0.
>
> Any insight is greatly appreciated.
>
>
>
>
--
View this message in context:
http://www.nabble.com/DefaultDataTable-not-paging-correctly-tp16180335p18619633.html
Se
s = new ArrayList();
>>>
>>>columns.add(new PropertyColumn(new Model("CUSIP"), "cusip",
>>> "cusip"));
>>>columns.add(new PropertyColumn(new Model("Description"),
>>> "
gt;> "cusip"));
>>columns.add(new PropertyColumn(new Model("Description"),
>> "description", "description"));
>>
>>PropertyColumn aPropertyColumn = new PropertyColumn(new
>> Model("Override"), "override
l("Description"),
> "description", "description"));
>
>PropertyColumn aPropertyColumn = new PropertyColumn(new
> Model("Override"), "overridePrice", "overridePrice")
>{
>public void populateItem(Item item, Stri
rridePrice")
{
public void populateItem(Item item, String componentId, IModel
model)
{
TextField aTextField = new TextField(componentId);
item.add(aTextField );
}
};
columns.add(aPropertyCo
wrap the textfield in a fragment or a panel
-igor
On Wed, Jun 11, 2008 at 3:39 PM, galbelli <[EMAIL PROTECTED]> wrote:
>
> I am creating a DefaultDataTable dynamically as I only know the number of
> columns at runtime. All is working nicely but I now need to have one of the
>
I am creating a DefaultDataTable dynamically as I only know the number of
columns at runtime. All is working nicely but I now need to have one of the
columns contain a TextField and not a Label. I am receiving the following
error:
WicketMessage: Component cell must be applied to a tag of type
On Thu, Jun 5, 2008 at 7:55 PM, Flavius <[EMAIL PROTECTED]> wrote:
>
> I'm using a DefaultDataTable and I want to get the index of the selected
> item. However the index always returns 0. Is this by design?
>
> new AbstractCo
I'm using a DefaultDataTable and I want to get the index of the selected
item. However the index always returns 0. Is this by design?
new AbstractColumn(new Model("Test Label"))
{
public void populateItem(Item item, Str
}
>
> /**
> * @see
> org.apache.wicket.markup.repeater.data.IDataProvider#model(java.lang.Object)
> */
> public IModel model(Object object)
> {
> return new DetachableUserModel((User)object);
> }
>
> }
>
--
View this me
Hi,
I am trying to implement CheckGroupSelector and CheckGroup( which will hold
all the Check(s) ) inside DefaultDataTable, so that each row that gets
displayed should also have checkbox and there should be checkbox on top
which allows to check/uncheck all checkboxes.
Can someone please post a
Thank you. I look into it.
Sanjeev
cblehman wrote:
>
> Look at the source of DefaultDataTableit's your perfect example.,
> just extend it and add another bottom toolbar.
>
> Clay Lehman
> Phone: (919) 882-2856
> [EMAIL PROTECTED]
>
> -Original Mess
Look at the source of DefaultDataTableit's your perfect example.,
just extend it and add another bottom toolbar.
Clay Lehman
Phone: (919) 882-2856
[EMAIL PROTECTED]
-Original Message-
From: standon [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 01, 2008 2:46 PM
To:
I'm using DefaultDataTable with sortable data provider in my project. All the
columns are sortable. This data table has few amount columns, which I need
to sum up and show as a last row (TotalRow) at the bottom of the table. This
last row (TotalRow) should not be part of sortable data pro
On Wed, Apr 9, 2008 at 5:05 PM, Ritz123 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to use DefaultDataTable - out of the box, the URLs generated for
> the header (sorting) and navigation look really weird. I have setup
> URLStrategy for the applicat
Hi,
I am trying to use DefaultDataTable - out of the box, the URLs generated for
the header (sorting) and navigation look really weird. I have setup
URLStrategy for the application and would like these DefaultDataTable URLs
to follow that stragegy. I have tried to enclose inside
but that didnt
eg Dunn-3 wrote:
>
> There is one glitch though, when I click a column header to resort, I'm
> only resorting the items that are in view on the current page, not the
> entire set. That doesn't seem right, can it be rectified?
>
--
View this message in context:
http://ww
riginal Message-
From: KennyS [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 10:52 AM
To: users@wicket.apache.org
Subject: RE: DefaultDataTable not paging correctly
In the constructor that takes the company id in
SortableUserDataProvider, you
are retrieving all users for the specified
in context:
http://www.nabble.com/DefaultDataTable-not-paging-correctly-tp16180335p16181887.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]
ct) {
return new DetachableUserModel((UserBean)object);
}
}
-Original Message-
From: KennyS [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 10:14 AM
To: users@wicket.apache.org
Subject: Re: DefaultDataTable not paging correctly
Could you provide the code
t:
http://www.nabble.com/DefaultDataTable-not-paging-correctly-tp16180335p16180973.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]
nyId"));
columns.add(new PropertyColumn(new Model("User Name"), "userNm",
"userNm"));
add(new DefaultDataTable("table", columns,
new SortableUserDataProvider(user.getCompanyId()), 10));
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
gt; >> {
> >>
> >> SortableDataProvider provider= new SortableDataProvider()
> >> {
> >> // Return how many rows there are
> >> public int size()
> >> {
> >>
();
>> }
>> // convert each row object as a model
>> public IModel model(Object object)
>> {
>> MCSSQuestion mcss=(MCSSQuestion)object;
>> return new Model((Serializable) mcss);
>>
gt;
>Since you probably want to not only show links, you'll have to go with a)
>
>Thomas
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>> Sent: Dienstag, 15. Januar 2008 07:56
>> To: users@wicket.apache.org
>>
uar 2008 07:56
> To: users@wicket.apache.org
> Subject: difference between ListView and DefaultDataTable
>
> Hello:
>
> When I use ListView with each row having an "Edit" link I use
> new Link() { callback handler), which is very handy.
> How to do the s
Hello:
When I use ListView with each row having an "Edit" link
I use new Link() { callback handler), which is very handy.
How to do the same in DefaultDataTable?
I tried to use
new AbstractDataColumn {
populateItem{
item.add(new Link(..) { callback}
but it would not w
Maybe there is a better way to do this and I can learn from the communito too.
>
> Stefan
>
> -Ursprüngliche Nachricht-
> Von: Karen Schaper [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 18. Dezember 2007 00:40
> An: users@wicket.apache.org
> Betreff: Format date c
sprüngliche Nachricht-
Von: Karen Schaper [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 18. Dezember 2007 00:40
An: users@wicket.apache.org
Betreff: Format date column in DefaultDataTable
Hi,
Another newbie question from me.
I have a table that has a date column in it and I am trying to format
below. The callReceived is a date object.
List columns = new ArrayList();
columns.add( new PropertyColumn( new Model( "Call Received" ),
"callReceived", "callReceived" ) );
.
.
.
add( new DefaultDataTable( "troubleCallTable", columns, _dataProvider,
bwahahahahaha. ahem. To each his own, I suppose.
On Nov 13, 2007 12:26 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> On Nov 12, 2007 6:33 PM, anita nichols <[EMAIL PROTECTED]> wrote:
> > Please unsubscribe
>
> Nah. Nick is a good guy. Let's keep him around ;-)
>
> Eelco
>
> --
On Nov 12, 2007 6:33 PM, anita nichols <[EMAIL PROTECTED]> wrote:
> Please unsubscribe
Nah. Nick is a good guy. Let's keep him around ;-)
Eelco
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Please unsubscribe
Found the problem - I had two FilterToolbars associated with the same
FilterForm. The second FilterToolbar was clobbering the value set by the
first. Removing the second FilterToolbar corrected the problem.
On Nov 12, 2007 7:34 PM, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> Since updating to W
Since updating to Wicket 1.3RC1 it appears that updates to the filter
columns aren't getting set. For instance, if enter a first name into a text
field filter column, the value I enter isn't passed through to the
DataProvider implementation.
Is anyone else seeing odd behavior in the DataTable/Dat
; >
> > > Igor,
> > >
> > > How would you suggest doing this refactor? The form really should go
> > > outside of the table, but that puts it outside the realm of
> > > DefatultDataTable since the wicket:id for it is on a tag. If
> > > De
orm really should go
> > outside of the table, but that puts it outside the realm of
> > DefatultDataTable since the wicket:id for it is on a tag. If
> > DefaultDataTable does add the form somehow, what about when you don't
> > want filtering? Then the table is wrappe
wrote:
>
> Igor,
>
> How would you suggest doing this refactor? The form really should go
> outside of the table, but that puts it outside the realm of
> DefatultDataTable since the wicket:id for it is on a tag. If
> DefaultDataTable does add the form somehow, what
Igor,
How would you suggest doing this refactor? The form really should go
outside of the table, but that puts it outside the realm of
DefatultDataTable since the wicket:id for it is on a tag. If
DefaultDataTable does add the form somehow, what about when you don't
want filtering? The
yes, i believe it is caused by invalid markup, maybe the form should be
factored out and put around the entire table.
-igor
On 8/14/07, Tauren Mills <[EMAIL PROTECTED]> wrote:
>
> For some reason when I do an ajax refresh of the DefaultDataTable in
> wicket-phonebook, th
For some reason when I do an ajax refresh of the DefaultDataTable in
wicket-phonebook, the FilterToolbar disappears. I see it in the Ajax
Debugger, but it doesn't display on the screen. This is only
happening in FF, not IE (only tested on WinXP).
I cannot see any difference between the
101 - 191 of 191 matches
Mail list logo