Re: Have a Master Checkbox For T5 Grid Component

2009-11-20 Thread sandeepraj singh
ntrolled checkbox. >>> > There is an online demo (with source code of the demo) at >>> > >>> http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo >>> > >>> > Please go to http://lombok.demon.co.uk/tapestry5Demo/ for source code >&g

Re: Have a Master Checkbox For T5 Grid Component

2009-11-19 Thread Mario Udina
;> > http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo > >> > > >> > Please go to http://lombok.demon.co.uk/tapestry5Demo/ for source > code > >> of > >> > the components. > >> > > >> > > >>

Re: Have a Master Checkbox For T5 Grid Component

2009-11-19 Thread sandeepraj singh
whether the above will work in a Grid. >> > But it might worth a try. Use a ControlCB component as your master >> > checkbox (can't remember whether you can have a component in a >> header) >> > and add the mixin into other checkboxes in the column. >> > >&

Re: Have a Master Checkbox For T5 Grid Component

2009-11-16 Thread Mario Udina
n into other checkboxes in the column. > > > > > > Shing > > > > > > > > > > --- On Fri, 31/7/09, sandeepraj singh > > wrote: > > > >> From: sandeepraj singh > >> Subject: Have a Master Checkbox For T5 Grid Componen

Re: Have a Master Checkbox For T5 Grid Component

2009-07-31 Thread sandeepraj singh
mponent in a header) > and add the mixin into other checkboxes in the column. > > > Shing > > > > > --- On Fri, 31/7/09, sandeepraj singh > wrote: > >> From: sandeepraj singh >> Subject: Have a Master Checkbox For T5 Grid Component >> To:

Re: Have a Master Checkbox For T5 Grid Component

2009-07-31 Thread Inge Solvoll
gt; > > > --- On Fri, 31/7/09, sandeepraj singh > wrote: > > > From: sandeepraj singh > > Subject: Have a Master Checkbox For T5 Grid Component > > To: users@tapestry.apache.org > > Date: Friday, 31 July, 2009, 3:43 PM > > > > Hi Guys, > > I want

Re: Have a Master Checkbox For T5 Grid Component

2009-07-31 Thread Shing Hing Man
eader) and add the mixin into other checkboxes in the column. Shing --- On Fri, 31/7/09, sandeepraj singh wrote: > From: sandeepraj singh > Subject: Have a Master Checkbox For T5 Grid Component > To: users@tapestry.apache.org > Date: Friday, 31 July, 2009, 3:43 PM > >

Re: Have a Master Checkbox For T5 Grid Component

2009-07-31 Thread Robin K.
d > Component Source Code to MYOWNGRID and then making changes to GridColoumn > Component inside Grid Source Code that would be copied. > > Any Pointers would be of great help > > Thanks > Sandy > -- View this message in context: http://www.nabble.com/Have-a-Master-Che

Have a Master Checkbox For T5 Grid Component

2009-07-31 Thread sandeepraj singh
Code to MYOWNGRID and then making changes to GridColoumn Component inside Grid Source Code that would be copied. Any Pointers would be of great help Thanks Sandy -- View this message in context: http://www.nabble.com/Have-a-Master-Checkbox-For-T5-Grid-Component-tp24752416p24752416.html Sent

Re: T5: Grid component removing a field

2008-10-25 Thread Geoff Callender
http://202.177.217.122:8080/jumpstart/examples/tables/addandremovecolumns1 On 25/10/2008, at 12:00 AM, James Sherwood wrote: Hello, Let's say I have a grid component running off a source with objects such as: Id Fname Lname How do I remove Id from the grid? Remove="Id" in the h

Re: T5: Grid component removing a field

2008-10-24 Thread Andy Pahne
James Sherwood schrieb: Hello, Let's say I have a grid component running off a source with objects such as: Id Fname Lname How do I remove Id from the grid? Remove="Id" in the html of t:grid does not work. I think that "remove" has been renamed to "exclude". Try for example:

T5: Grid component removing a field

2008-10-24 Thread James Sherwood
Hello, Let's say I have a grid component running off a source with objects such as: Id Fname Lname How do I remove Id from the grid? Remove="Id" in the html of t:grid does not work. Thanks, --James

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Arve Klev
Hi Marcus, Thanks, thats easier. Arve 2007/11/16, Marcus <[EMAIL PROTECTED]>: > > Hi Arve, > > We're using an if, to display grid only when it has data. Like this: > > Test.java: > ... > public boolean getHasDataToGrid1() { return (_listGrd1.size() > 0); } > ... > > Test.tml > ... > > ...

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Marcus
Hi Arve, We're using an if, to display grid only when it has data. Like this: Test.java: ... public boolean getHasDataToGrid1() { return (_listGrd1.size() > 0); } ... Test.tml ...

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Marcus
Hi Arve, We're using an if to display grid only when it has data. Like this: test.java: ... On Nov 16, 2007 2:40 PM, adamh <[EMAIL PROTECTED]> wrote: > > Hi Arve, > > Yep, I got it to work as well - I should have been a bit more persistent > with my searching, still its little 'should be simp

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread adamh
Hi Arve, Yep, I got it to work as well - I should have been a bit more persistent with my searching, still its little 'should be simple' things like this that can trip you up if you are new to the T5 way. Its just a question of the docs getting updated, I thought I saw talk of a grid section/tuto

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Arve Klev
hi, as a novice in regards to Tapestry, I first thought it was a bug, but at last I tried to supply a beanmodel, and everything is fine (obvious to others, I think). I found the tip here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/beaneditform.html. @Inject private BeanMode

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Joshua Jackson
On 11/16/07, Arve Klev <[EMAIL PROTECTED]> wrote: > hi, > as a novice in regards to Tapestry, I first thought it was a bug, > but at last I tried to supply a beanmodel, and everything is fine (obvious > to others, I think). > I found the tip here: > http://tapestry.apache.org/tapestry5/tapestry-cor

Re: T5: Grid component, reorder and empty source

2007-11-16 Thread Arve Klev
yes, it works fine. 2007/11/16, Joshua Jackson <[EMAIL PROTECTED]>: > > On 11/16/07, Arve Klev <[EMAIL PROTECTED]> wrote: > > hi, > > as a novice in regards to Tapestry, I first thought it was a bug, > > but at last I tried to supply a beanmodel, and everything is fine > (obvious > > to others, I

Re: T5: Grid component, reorder and empty source

2007-11-13 Thread adamh
I'm seeing the same behaviour, if my source is empty and I use the 'remove' parameter I get the same exception: 'grid: xxx -- no source to determine list type from' Results.tml Removing the 'remove' param the page renders with the 'nothing to display' message. -- View this message in context

T5: Grid component calls prepare() and getRowValue() with incorrect values

2007-11-10 Thread Andy Huhn
All, I just entered a JIRA: https://issues.apache.org/jira/browse/TAPESTRY-1901 I'm posting the details here in case anyone monitoring the list has the same issue. I believe there's a workaround. I have a grid defined with rowsPerPage = 2. When there are 3 elements in the GridDataSource, the u

T5: Grid component, reorder and empty source

2007-11-10 Thread Arve Klev
hi, I am using the grid component to present the result from a search. When the data source is empty, returns "There is no data to display." as expected. but when I try to use the reorder parameter, an application exception occur: "...grid: xxx -- no source to determine list type from" Is it

Re: T5: Grid component with SQL-based paging/sorting

2007-10-21 Thread Andy Huhn
Thank you Howard, that's exactly what I needed! Andy On Sat, 2007-10-20 at 23:26 -0700, Howard Lewis Ship wrote: > It's interface GridDataSource. > > What you may be missing is that Tapestry convieniently coerces > java.util.List to GridDataSource for you. However if you connect the source > pa

Re: T5: Grid component with SQL-based paging/sorting

2007-10-20 Thread Howard Lewis Ship
It's interface GridDataSource. What you may be missing is that Tapestry convieniently coerces java.util.List to GridDataSource for you. However if you connect the source parameter of the Grid component to an actual GridDataSource, you can have fine control over sorting and otherwise efficiently p

T5: Grid component with SQL-based paging/sorting

2007-10-20 Thread Andy Huhn
Hello, I'm a newbie, trying to learn T5. I have a grid component, but I don't want Tapestry to do the work of sorting/paging data in the grid component; I'd like to push that off to the database. (The source of the data is a database accessed via Hibernate). How can I do this? I know that in T

Re: [T5] Grid component

2007-09-20 Thread Nick Westgate
an-Philippe Steinmetz wrote: Thanks for your reply. Hmmm... I tried this and nothing shows up. Am I missing something? Seems like an awful lot of work to add one column. Jean-Philippe -Original Message- From: Robin Helgelin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 20, 2007 1:40

RE: [T5] Grid component

2007-09-20 Thread Jean-Philippe Steinmetz
To: Tapestry users > Subject: Re: [T5] Grid component > > On 9/20/07, Robin Helgelin <[EMAIL PROTECTED]> wrote: > > userModel.add("action", new > > ActionPC()).label("Actions").sortable(false); > > Oops. > > class ActionPC im

Re: [T5] Grid component

2007-09-20 Thread Robin Helgelin
On 9/20/07, Robin Helgelin <[EMAIL PROTECTED]> wrote: > userModel.add("action", new > ActionPC()).label("Actions").sortable(false); Oops. class ActionPC implements PropertyConduit { public Object get(Object arg0) {return "";} public Class getPropertyType() {return String.class;}

Re: [T5] Grid component

2007-09-20 Thread Robin Helgelin
On 9/20/07, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote: > Is there a way to add extra parameters to a grid component without having to > modify the source class/bean itself? I am displaying a list of objects that > I want to add a column for Edit and Delete links for each item. These links >

[T5] Grid component

2007-09-20 Thread Jean-Philippe Steinmetz
Is there a way to add extra parameters to a grid component without having to modify the source class/bean itself? I am displaying a list of objects that I want to add a column for Edit and Delete links for each item. These links should not be part of the data structure since they are part of a fram

RE: [T5] Grid component failure with hibernate objects

2007-08-08 Thread Jonathan Barker
AIL PROTECTED] > Sent: Wednesday, August 08, 2007 11:56 AM > To: 'Tapestry users' > Subject: RE: [T5] Grid component failure with hibernate objects > > Howard: > > I'm currently using Tapestry 5.0.5, > > And as Jonathan suggests I tailored a specific b

RE: [T5] Grid component failure with hibernate objects

2007-08-08 Thread Andres Alvarez
riginal Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: Martes, 07 de Agosto de 2007 11:34 a.m. To: Tapestry users Subject: Re: [T5] Grid component failure with hibernate objects There's an issue with Tapestry and Hibernate duking it out w.r.t. class loaders. There was a

Re: [T5] Grid component failure with hibernate objects

2007-08-07 Thread Howard Lewis Ship
There's an issue with Tapestry and Hibernate duking it out w.r.t. class loaders. There was a similar bug fixed in 5.0.5. Are you using 5.0.5? On 8/6/07, Andres Alvarez <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm trying to display an object retrieved from hibernate, it has just one > relation

RE: [T5] Grid component failure with hibernate objects

2007-08-07 Thread Jonathan Barker
quot;).dataType("DataType"); But I haven't looked into what the options are there. I would be interested to hear back about what you do and find. Jonathan > -Original Message- > From: Andres Alvarez [mailto:[EMAIL PROTECTED] > Sent: Monday, August 06, 2007 11:

[T5] Grid component failure with hibernate objects

2007-08-06 Thread Andres Alvarez
Hi all, I'm trying to display an object retrieved from hibernate, it has just one relation to other object. When I try to render the page I get: 2007-08-05 15:58:40,843 [http-8080-Processor25] ERROR org.apache.tapestry.internal.services.InternalModule.RequestExceptionHandler - Processing of requ

Re: T5: Grid component - available properties

2007-07-30 Thread Daniel Jue
able. > > Regards, > Joost > > -Original Message----- > From: Thomas Beckmann [mailto:[EMAIL PROTECTED] > Sent: Friday, July 13, 2007 12:50 AM > To: Tapestry users > Subject: T5: Grid component - available properties > > Hi, > > I followed the discuss

RE: T5: Grid component - available properties

2007-07-18 Thread Joost Schouten
somethingPresentable} I build a component around myRow.yourUnknowBeanProperty to properly display it. In the same way I print dates in my table. Regards, Joost -Original Message- From: Thomas Beckmann [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 12:50 AM To: Tapestry use

T5: Grid component - available properties

2007-07-12 Thread Thomas Beckmann
Hi, I followed the discussion about Grid component and Date. I had the same problem and tryed to solve it by using t:parameter and t:output but it didn't work since my date column was not available. Only columns with supported types are available. Wouldn't it be better to just not render those t

Re: T5: Grid component / Date columns are not displayed

2007-07-11 Thread Howard Lewis Ship
no and yes :-) The underlying BeanModelSource is driven by extensible contributions, so it is quite possible to contribute in a mapping from java.util.Date to "date" and provide a block for displaying dates. When will this get fixed? In a perfect universe, I would be able to perfect (and docume

Re: T5: Grid component / Date columns are not displayed

2007-07-11 Thread elmeromero
Hey Howard, is there a timetable on the date-feature? Is there a workaround? Thanks in advance Jens Howard Lewis Ship wrote: > > On 7/9/07, CarstenM <[EMAIL PROTECTED]> wrote: >> >> Hey guys, >> >> I am new to tapestry and I know T5 is still alpha. >> But anyway, I have a class with a few Da

Re: T5: Grid component / Date columns are not displayed

2007-07-09 Thread Howard Lewis Ship
On 7/9/07, CarstenM <[EMAIL PROTECTED]> wrote: Hey guys, I am new to tapestry and I know T5 is still alpha. But anyway, I have a class with a few Date attributes. That's coming. This class should be displayed with a grid component but all the Date attributes are missing. Is there already a

T5: Grid component / Date columns are not displayed

2007-07-09 Thread CarstenM
Hey guys, I am new to tapestry and I know T5 is still alpha. But anyway, I have a class with a few Date attributes. This class should be displayed with a grid component but all the Date attributes are missing. Is there already a solution for Date columns in a Grid component? Additionally, how ca

Re: T5 Grid Component for composite entities

2007-06-07 Thread Bill Holloway
On workaround would be to write synthetic accessor methods in the User class for the Address properties you would like to see; e.g., pubic String getStreetAddress () { return this.address.getStreetAddress(); } On 6/7/07, Daniel Jue <[EMAIL PROTECTED]> wrote: Hi, I'm not sure if this kind of f

T5 Grid Component for composite entities

2007-06-07 Thread Daniel Jue
Hi, I'm not sure if this kind of functionality is available with the current grid component, but this is a simple example of what I want to do: Lets say I have a User class and an Address class. Lets say a User has an Address object in it. Now I have a list of Users that I want to pump into a G