Re: Onclick method for DefaultDataTable cells

2009-07-30 Thread Igor Vaynberg
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

Onclick method for DefaultDataTable cells

2009-07-30 Thread Elad Katz
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

Localized sorting column in a DefaultDatatable

2009-07-07 Thread Olivier Bourgeois
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 :

Re: DefaultDataTable with date column

2009-05-11 Thread Edi
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

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Jeremy Thomerson
>> 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

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Jason Rosenberg
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

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Anton Veretennikov
>> wrote: >>> >>> If it matters, I forgot to mention, I'm using wicket 1.4-rc2 >>> >>> Jason >>> >>> >>> >>> Jason Rosenberg wrote: >>>> >>>> Hi, >>>> >>>> I h

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Jason Rosenberg
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

Re: DefaultDataTable loses pagination after filtering

2009-04-27 Thread Anton Veretennikov
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

Re: DefaultDataTable loses pagination after filtering

2009-04-27 Thread Jason Rosenberg
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

DefaultDataTable loses pagination after filtering

2009-04-27 Thread Jason Rosenberg
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

Re: DefaultDataTable: How to add a DDChoice to change rows per page

2009-04-27 Thread Vladimir K
>> 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

Re: DefaultDataTable: How to add a DDChoice to change rows per page

2009-04-26 Thread Vit Rozkovec
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

DefaultDataTable: How to add a DDChoice to change rows per page

2009-04-26 Thread Vladimir Kovalyuk
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

When should you use DefaultDataTable vs. ListView ?

2009-04-14 Thread Phillip Rhodes
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

Re: DefaultDataTable - how to get index of selected element

2009-02-14 Thread James Carman
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

DefaultDataTable - how to get index of selected element

2009-02-14 Thread Christoph Grün
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 couldn’t find a function for getting the index of the current element.

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Igor Vaynberg
#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'

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Philipp Daumke
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

Re: DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Uwe Schäfer
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

DefaultDataTable and AjaxEditableLabel

2009-01-22 Thread Philipp Daumke
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

Re: Wicket 1.4 Generics, DefaultDataTable and ChoiceFilteredPropertyColumn

2008-11-17 Thread Igor Vaynberg
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

Wicket 1.4 Generics, DefaultDataTable and ChoiceFilteredPropertyColumn

2008-11-17 Thread Dylan Schell
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

Re: Ajax update DefaultDataTable using textfield

2008-10-10 Thread taygolf
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

Re: Ajax update DefaultDataTable using textfield

2008-10-09 Thread Timo Rantalaiho
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.

Ajax update DefaultDataTable using textfield

2008-10-09 Thread taygolf
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

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread Igor Vaynberg
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

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread zaheers
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

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread Igor Vaynberg
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

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread zaheers
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

Re: Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread Igor Vaynberg
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

Error using DefaultDataTable in version 1.4-m3 WicketTester

2008-10-03 Thread zaheers
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

DefaultDataTable attached to a model in a form

2008-10-02 Thread Pablo S.
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

Re: DefaultDataTable with date column

2008-10-02 Thread Pablo S.
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

Re: DefaultDataTable with date column

2008-10-02 Thread Edgar Merino
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

Re: DefaultDataTable with date column

2008-10-01 Thread Jeremy Thomerson
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

Re: DefaultDataTable with date column

2008-10-01 Thread Phil Grimm
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 >

Re: DefaultDataTable with date column

2008-10-01 Thread Pablo S.
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

Re: DefaultDataTable with date column

2008-10-01 Thread Edgar Merino
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

DefaultDataTable with date column

2008-10-01 Thread Pablo S.
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

DefaultDataTable and

2008-08-26 Thread Uwe Schäfer
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

Re: DefaultDataTable

2008-08-17 Thread Uwe Schäfer
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

Re: DefaultDataTable

2008-08-17 Thread Jan Kriesten
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:

Re: DefaultDataTable

2008-08-17 Thread Uwe Schäfer
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

Re: DefaultDataTable

2008-08-17 Thread Timm Helbig
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

DefaultDataTable

2008-08-17 Thread Uwe Schäfer
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

Re: 1.4-m3 - DefaultDataTable IColumn

2008-08-13 Thread Jeremy Thomerson
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

1.4-m3 - DefaultDataTable IColumn

2008-08-13 Thread Jeremy Thomerson
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

DefaultDataTable Links and LazyInitializationException

2008-08-12 Thread Vijay Dharap
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

Re: Footer Toolbar for DefaultDataTable (wicket 1.3.2)

2008-08-12 Thread swapnil.wadagave
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

RE: DefaultDataTable not paging correctly

2008-07-23 Thread LarryT
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

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-12 Thread Igor Vaynberg
s = new ArrayList(); >>> >>>columns.add(new PropertyColumn(new Model("CUSIP"), "cusip", >>> "cusip")); >>>columns.add(new PropertyColumn(new Model("Description"), >>> "

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-12 Thread galbelli
gt;> "cusip")); >>columns.add(new PropertyColumn(new Model("Description"), >> "description", "description")); >> >>PropertyColumn aPropertyColumn = new PropertyColumn(new >> Model("Override"), "override

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-12 Thread James Carman
l("Description"), > "description", "description")); > >PropertyColumn aPropertyColumn = new PropertyColumn(new > Model("Override"), "overridePrice", "overridePrice") >{ >public void populateItem(Item item, Stri

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-12 Thread galbelli
rridePrice") { public void populateItem(Item item, String componentId, IModel model) { TextField aTextField = new TextField(componentId); item.add(aTextField ); } }; columns.add(aPropertyCo

Re: How to add a TextField in a Dynamically created DefaultDataTable

2008-06-11 Thread Igor Vaynberg
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 >

How to add a TextField in a Dynamically created DefaultDataTable

2008-06-11 Thread galbelli
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

Re: Item.getIndex() on DefaultDataTable

2008-06-06 Thread Maurice Marrink
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

Item.getIndex() on DefaultDataTable

2008-06-05 Thread Flavius
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

RE: DefaultDataTable not paging correctly

2008-05-28 Thread LarryT
} > > /** > * @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

DefaultDataTable + CheckGroupSelector / CheckGroup

2008-05-09 Thread nanotech
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

RE: Footer Toolbar for DefaultDataTable (wicket 1.3.2)

2008-05-05 Thread standon
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

RE: Footer Toolbar for DefaultDataTable (wicket 1.3.2)

2008-05-01 Thread Clay Lehman
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:

Footer Toolbar for DefaultDataTable (wicket 1.3.2)

2008-05-01 Thread standon
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

Re: Navigation etc. URLs for DefaultDataTable - multiple issues

2008-04-09 Thread Igor Vaynberg
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

Navigation etc. URLs for DefaultDataTable - multiple issues

2008-04-09 Thread Ritz123
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

RE: DefaultDataTable not paging correctly

2008-03-20 Thread Kenny Stainback
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

RE: DefaultDataTable not paging correctly

2008-03-20 Thread Greg Dunn
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

RE: DefaultDataTable not paging correctly

2008-03-20 Thread KennyS
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]

RE: DefaultDataTable not paging correctly

2008-03-20 Thread Greg Dunn
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

Re: DefaultDataTable not paging correctly

2008-03-20 Thread KennyS
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]

DefaultDataTable not paging correctly

2008-03-20 Thread Greg Dunn
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]

Re: Problem to nest list within data DefaultDataTable which already have data provider

2008-02-14 Thread Igor Vaynberg
gt; >> { > >> > >> SortableDataProvider provider= new SortableDataProvider() > >> { > >> // Return how many rows there are > >> public int size() > >> { > >>

Re: Problem to nest list within data DefaultDataTable which already have data provider

2008-02-14 Thread wiki
(); >> } >> // convert each row object as a model >> public IModel model(Object object) >> { >> MCSSQuestion mcss=(MCSSQuestion)object; >> return new Model((Serializable) mcss); >>

RE: difference between ListView and DefaultDataTable

2008-01-15 Thread dvd
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 >>

RE: difference between ListView and DefaultDataTable

2008-01-15 Thread Maeder Thomas
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

difference between ListView and DefaultDataTable

2008-01-14 Thread dvd
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

Re: Format date column in DefaultDataTable

2007-12-17 Thread Jason Anderson
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

RE: Format date column in DefaultDataTable

2007-12-17 Thread Stefan Lindner
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

Format date column in DefaultDataTable

2007-12-17 Thread Karen Schaper
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,

Re: Problem with DefaultDataTable filtering?

2007-11-13 Thread Evan Chooly
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 > > --

Re: Problem with DefaultDataTable filtering?

2007-11-12 Thread Eelco Hillenius
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

Re: Problem with DefaultDataTable filtering?

2007-11-12 Thread anita nichols
Please unsubscribe

Re: Problem with DefaultDataTable filtering?

2007-11-12 Thread Nick Heudecker
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

Problem with DefaultDataTable filtering?

2007-11-12 Thread Nick Heudecker
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

Re: Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-16 Thread Igor Vaynberg
; > > > > 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

Re: Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-16 Thread Tauren Mills
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

Re: Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-16 Thread Igor Vaynberg
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

Re: Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-16 Thread Tauren Mills
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

Re: Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-15 Thread Igor Vaynberg
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

Ajax refresh of DefaultDataTable in wicket-phonebook

2007-08-14 Thread Tauren Mills
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

<    1   2