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: Editing of form

2007-10-20 Thread Jonathan Barker
It depends. In one case where there are a lot of things to fill out and I expect incremental saves, I have Save (that goes right back to the edit screen), and Save & Finish (that goes to the corresponding View page). > -Original Message- > From: Angelo Chen [mailto:[EMAIL PROTECTED] >

Re: Access validators from tapestry.valid

2007-10-20 Thread Rauan Maemirov
Hi, I have the same problem. I even cannot use UrlValidator. There are no samples on this class. Or does anybody know how to write pattern. I mean validators="validators:required,pattern=?" I tried to use regex, but it returns me exceptions. 'Cause my regex is not escaped. If i escape it, it doe

T5: Editing of form

2007-10-20 Thread Angelo Chen
Hi, This might not be Tapestry related, I'd like to know how other guys handles form editing, in the C/S app, I usually keep all the form field values in the screen after user click 'save', it will be erased only when user click 'New', should I do something similar in the web app? Thanks. A.C. -

Re: [T5] Connection between symbols and messages

2007-10-20 Thread Nick Westgate
The unification makes sense. But how would intentional overriding (as is usual for messages) versus unintentional collisions be handled? Conventions or some kind of extra scoping? Cheers, Nick. Howard Lewis Ship wrote: I don't see this as a problem, message catalog and symbols are very closely

Re: T5: Multiple forms in a page

2007-10-20 Thread Nick Westgate
Use "From" to specify which component you want events from. http://tapestry.apache.org/tapestry5/tapestry-core/guide/event.html Cheers, Nick. Angelo Chen wrote: Hi, I have two forms so far in one page, so there are two submit buttons. now how to detect which form fires those events like onVal

T5: Multiple forms in a page

2007-10-20 Thread Angelo Chen
Hi, I have two forms so far in one page, so there are two submit buttons. now how to detect which form fires those events like onValidate/success/submit? Thanks, A.C. -- View this message in context: http://www.nabble.com/T5%3A-Multiple-forms-in-a-page-tf4658089.html#a13310243 Sent from the Tap

Re: [T5] Connection between symbols and messages

2007-10-20 Thread Howard Lewis Ship
I don't see this as a problem, message catalog and symbols are very closely tied together. An interesting possibility would be for each component to have its own symbol source, derived from a related file, that tied into the global SymbolSource ... but that looks *exactly* (well almost, leave out