Re: GridDataSource, Nested Grid

2013-03-05 Thread antalk
That's pretty awesome ! -- View this message in context: http://tapestry.1045711.n5.nabble.com/GridDataSource-Nested-Grid-tp5720342p5720367.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscri

RE: RadioGroup disable bug(?)

2013-03-05 Thread Erik Östman
I opened a ticket here : https://issues.apache.org/jira/browse/TAP5-2078. Will see what I can do about test/patch tonight. /Erik -Original Message- From: Ville [mailto:ville.virta...@orientimport.fi] Sent: 5. maaliskuuta 2013 21:34 To: users@tapestry.apache.org Subject: Re: RadioGroup d

Re: RadioGroup disable bug(?)

2013-03-05 Thread Ville
Hi Eric, please open ticket here: https://issues.apache.org/jira/browse/TAP5 And please describe the anticipated behavior. Patch is a big plus and test is superb! Ville -- View this message in context: http://tapestry.1045711.n5.nabble.com/RadioGroup-disable-bug-tp5720328p5720363.html Sent f

Re: Best generic way to use zones

2013-03-05 Thread bhorvat
Ok that explains a bit better. Then I will proceed with my code. Thanks sody you have been very helpfully All the best Cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Best-generic-way-to-use-zones-tp5720333p5720362.html Sent from the Tapestry - User mailing list

Re: GridDataSource, Nested Grid

2013-03-05 Thread Lance Java
FYI, I just added a GridCollapse mixin + demo to tapestry-stitch http://tapestry-stitch.uklance.cloudbees.net/gridcollapsedemo -- View this message in context: http://tapestry.1045711.n5.nabble.com/GridDataSource-Nested-Grid-tp5720342p5720361.html Sent from the Tapestry - User mailing list arch

Re: actionliks and XHR response problem

2013-03-05 Thread snaplab
Hey Janko. I've exactly the same problem than you ... but you haven't any response about your problem. Have you any solution for this post? -- View this message in context: http://tapestry.1045711.n5.nabble.com/actionliks-and-XHR-response-problem-tp2430448p5720360.html Sent from the Tapestry

Re: Tapestry 5.3.6 and Debian/ppc

2013-03-05 Thread Chris Cureau
I wasn't sure how that worked, no...thanks for the pointer! On Tue, Mar 5, 2013 at 7:32 AM, Michael Gentry wrote: > Hi Chris, > > Apologies if you already know this, but you can set up an exclusion in the > tapestry-security section of your POM: > > > > org.apache.tapestry > tapestr

RE: tapestry5.3 and Twitter-bootstrap disabled inputs

2013-03-05 Thread Tony Nelson
> -Original Message- > From: Ivan Khalopik [mailto:ikhalo...@gmail.com] > Sent: Tuesday, March 05, 2013 3:34 AM > To: Tapestry users > Subject: Re: tapestry5.3 and Twitter-bootstrap disabled inputs > > You can use span element with .uneditable-input if you have some field that > should no

Re: Tapestry 5.3.6 and Debian/ppc

2013-03-05 Thread Michael Gentry
Hi Chris, Apologies if you already know this, but you can set up an exclusion in the tapestry-security section of your POM: org.apache.tapestry tapestry-ioc mrg On Mon, Mar 4, 2013 at 1:27 PM, Chris Cureau wrote: > Michael, > > On the nose! tapestry-security depended on 5.

Re: Currency Converter

2013-03-05 Thread Geoff Callender
I've had a crack at improving it, and ended up dropping regex because it's not well suited to multiple locales. I also dropped the currency symbol from the output because I found it made parsing of negatives really difficult in some locales. See what you think: http://jumpstart.double

Re: GridDataSource, Nested Grid

2013-03-05 Thread Lance Java
Actually on second thought, if you want to hide the column headings, write a custom mixin. The RowDecorator has a complexity of O(N) whereas removing the header should be complexity of O(1). The GridDecorator code shows you how to locate the tbody which I'm sure you could tweak to get the thead and

Re: GridDataSource, Nested Grid

2013-03-05 Thread Lance Java
In your example, the root table only has two columns. So it's not possible to have Land / City and Street as headers on the root table. So hiding the headers on the nested tables will actually lose header information. If you don't want to use CSS to hide the column headers, you could add a griddec

Re: GridDataSource, Nested Grid

2013-03-05 Thread Lance Java
With nested grids, I'm guessing that you need to specify fixed widths for every column so that everything lines up? With a collapsed grid, it might take a bit of effort but the end result would be that you don't need to specify fixed column widths. If I get time, I'll try to think through the coll

Re: GridDataSource, Nested Grid

2013-03-05 Thread willbro
next question! Do you know a way to hide headers(nested grid) without using css? thanks! -- View this message in context: http://tapestry.1045711.n5.nabble.com/GridDataSource-Nested-Grid-tp5720342p5720349.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: GridDataSource, Nested Grid

2013-03-05 Thread willbro
Thank you very much... it works! -- View this message in context: http://tapestry.1045711.n5.nabble.com/GridDataSource-Nested-Grid-tp5720342p5720348.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To u

Re: GridDataSource, Nested Grid

2013-03-05 Thread Lance Java
Ah, I see, you are trying to use nested grids. My suggestion was to use a single grid with colspan and rowspans. Nested grids can be done as follows: If you wanted to collapse this into a single table, you could add the GridDecorator mixin

Re: GridDataSource, Nested Grid

2013-03-05 Thread willbro
Hi Lance, maybe you missunderstood me. I tryed to make a grid in Cell and it seems to work. I also managed to hide headers of the nested grid. The main problem ist that the Cities to diplay depend on the id of the land and the streets on the id of the city. I can not figure out how to pass that id

Re: GridDataSource, Nested Grid

2013-03-05 Thread Lance Java
You might find you can do this with the GridDecorator mixin http://tapestry-stitch.uklance.cloudbees.net/griddecoratordemo First, use the grid to render everything in a single grid row Then, use a GridRowDecorator which inserts a new row after every row. It then moves some of the cells from the fi

Re: GridDataSource, Nested Grid

2013-03-05 Thread willbro
Thanks I will look at it... -- View this message in context: http://tapestry.1045711.n5.nabble.com/GridDataSource-Nested-Grid-tp5720342p5720344.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubs

Re: GridDataSource, Nested Grid

2013-03-05 Thread antalk
Yes it is possible, but not unless you do some heavy customization (or overwriting the grid component). Maybe have a look at a component library i wrote: https://github.com/intercommit/Weaves It contains a customized grid with a 'child' grid wrapped in it. Maybe this will give some clues as on

GridDataSource, Nested Grid

2013-03-05 Thread willbro
Hello, I would like to make some nested Grid, but I am not sure if it is possible. I have Entities like Land, City, and Street. I would like to display the Lands in a Grid like following. Land / City/ Street - / Land1

Re: The tml file is not being rendered properly

2013-03-05 Thread Steve Eynon
Erm... is this not a Velocity question rather than a Tapestry one? On 5 March 2013 16:07, harishpatarla wrote: > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/The-tml-file-is-not-being-rendered-properly-tp5720336p5720337.html > Sent from the Tapestry - User

Re: tapestry5.3 and Twitter-bootstrap disabled inputs

2013-03-05 Thread Ivan Khalopik
You can use span element with .uneditable-input if you have some field that should not be modified at all. Some value here If you need some client-side behaviour of enable/disable component use disabled attribute as mentioned earlier. Or: On Mon, Mar 4, 2013 at 3:33 PM, Lance Java wrote:

Re: RadioGroup disable bug(?)

2013-03-05 Thread Steve Eynon
Looking at the RadioGroup code I think you're right. It has a somewhat unused 'disabled' field and there is no code that prevents processSubmission() from being called. Steve. On 4 March 2013 20:45, Erik Östman wrote: > Hey, > > I have a problem with a RadioGroup where the setter is called (wit

Re: Best generic way to use zones

2013-03-05 Thread Ivan Khalopik
Tapestry generates ids for components using id allocation mechanism. E.g. ... In this case T5 will try to allocate "myZone" as id for zone. If this id is already allocated by some other component it will try "myZone_0", then "myZone_1"... This rule is broken inside ajax requests as page is popula

Re: The tml file is not being rendered properly

2013-03-05 Thread harishpatarla
-- View this message in context: http://tapestry.1045711.n5.nabble.com/The-tml-file-is-not-being-rendered-properly-tp5720336p5720337.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-m

The tml file is not being rendered properly

2013-03-05 Thread harishpatarla
Hi, Schedule Execution Notification Schedule *${schedule.name}* started executing at $date.format(' dd/MM/ HH:mm:ss',$execution.creationDate) for a duration of $date.format('mm:ss',$execution.duration) minutes resulting in /*#if(${schedule.passed})a pas