Re: How to locate streamresponse of jasper in a page ?

2011-03-25 Thread ronizedsynch
it's really to locate StreamResponse object in one page -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-locate-streamresponse-of-jasper-in-a-page-with-screenshot-tp4258880p4265214.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: [ANN] Tapestry 5 in Action MEAP started

2011-03-25 Thread Alex Kotchnev
Just picked it up for myself today - sweet ! Thanks Igor ! Any chance of asking Manning to fix the font in the On Fri, Mar 25, 2011 at 7:21 PM, Alessio Gambi wrote: > +1 for me. Just bought it. > > -- Alessio > > On Mar 23, 2011, at 8:10 PM, Igor Drobiazko wrote: > > > Dear all, > > > > I'm ple

DateTimeField background

2011-03-25 Thread David Rees
I'm working on upgrading an application from T5.1 to T5.2 and of course to chenille-kit 1.3.2. I have found that the DateTimeField component always sets the input background to white and can't find a way to override it. Am I missing something or do I need to look at modifying the component? -Dav

Re: [ANN] Tapestry 5 in Action MEAP started

2011-03-25 Thread Alessio Gambi
+1 for me. Just bought it. -- Alessio On Mar 23, 2011, at 8:10 PM, Igor Drobiazko wrote: > Dear all, > > I'm pleased to announce that the long awaited Tapestry 5 in Action book is > available through MEAP now. > > For more details read here: > > http://blog.tapestry5.de/index.php/2011/03/23/t

Re: GZIP: Tapestry or Apache

2011-03-25 Thread David Rees
On Fri, Mar 25, 2011 at 9:25 AM, stephanos2k wrote: > Out of sheer interest: Assuming Apache is used in front of Tapestry, which of > the two would be the best place to GZIP resources? Why? > > PS: Considering  speed, CPU/memory usage & compatibility - not considering: > setup & maintenance Becau

Re: form for nested entity

2011-03-25 Thread Thiago H. de Paula Figueiredo
On Fri, 25 Mar 2011 18:15:18 -0300, Kalle Korhonen wrote: Using BeanEditForm? Customize the block for the corresponding Media property, there's an example at the end of the relevant documentation page: http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/compon

Re: form for nested entity

2011-03-25 Thread Kalle Korhonen
Using BeanEditForm? Customize the block for the corresponding Media property, there's an example at the end of the relevant documentation page: http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/BeanEditForm.html. Also, Tynamo's tapestry-model (http://tyna

form for nested entity

2011-03-25 Thread sockmonster
Hi, I have a question about forms. I want to create a form for an entity class, however the entity class contains references to other entities. For example: class Item { long id; String name; String desc; Media media; ... } class Media { String filename; String type; ... } When I

T5: form validation with pre-existing errors

2011-03-25 Thread Adam Zimowski
I have a shopping cart. The cart is built with a single form, and a loop. The basic validation works, such as testing quantity for numeric input etc. However, I have an additional requirement to display errors on invalid line items which are part of the cart. An example of invalid cart item may be

RE: Dateformat

2011-03-25 Thread Jim O'Callaghan
Please ignore - I changed this to use the tapx datepicker instead and found the problem wasn’t the locale setup – I have a locale switcher in place and when the locale is changes to ex. ‘es’ the date format is correct for both the standard date field / date picker return value. The locales I am

Re: GSOC 2011 ideas for custom components

2011-03-25 Thread Norman Franke
I've made a more semi-generic HibernateDataSource that works based upon a SQL query. I seem to need to do that a lot, and using the Criteria API just doesn't cut it sometimes. I can post that If people are interested. It modifies the query to add "order by" based on the sort criteria, so it

Re: GZIP: Tapestry or Apache

2011-03-25 Thread Howard Lewis Ship
Provisio: If you have Apache running on a separate machine, not just a separate process, it may be more effective to let it GZIP the content since it will not have as much else to do. As with all performance questions, the answer is to test and compare. On Fri, Mar 25, 2011 at 11:25 AM, Howard Le

Re: GZIP: Tapestry or Apache

2011-03-25 Thread Howard Lewis Ship
As far as I know, Tapestry. This is to leverage the fact that for assets, Tapestry will cache the GZIPed assets, meaning that in the long run, much lower server load. Is anyone aware (translation: I'm too lazy to check) if Apache can cache the GZIPed stream as well? On Fri, Mar 25, 2011 at 9:25

Re: Runtime configurable Validators in T5... this was easy in T4

2011-03-25 Thread Thiago H. de Paula Figueiredo
On Fri, 25 Mar 2011 13:23:25 -0300, Chris Norris wrote: I have a loop which generates form components. Each one needs some very custom validation. I know I can create a validator that will take in a constraint, but the constraint in the template has to be static. This is not correct. The de

Runtime configurable Validators in T5... this was easy in T4

2011-03-25 Thread Chris Norris
In T4 we could new up a Validator, provide it with whatever information we wanted, and pass that directly to a form component for validation. I miss this. I have a loop which generates form components. Each one needs some very custom validation. I know I can create a validator that will take in a

GZIP: Tapestry or Apache

2011-03-25 Thread stephanos2k
Out of sheer interest: Assuming Apache is used in front of Tapestry, which of the two would be the best place to GZIP resources? Why? PS: Considering speed, CPU/memory usage & compatibility - not considering: setup & maintenance Cheers, Stephanos -- View this message in context: http://tapest

Re: Modalbox Integration Example

2011-03-25 Thread Taha Hafeez
also, you need to add this.event("onContentLoaded"); at the end of the loadContent method of Modalbox I am trying a few tricks, so that modalbox.js is not modified... taha On Fri, Mar 25, 2011 at 8:49 PM, Taha Hafeez wrote: > Hi Jim, > > This is the modified javascript to include zone update

Re: Modalbox Integration Example

2011-03-25 Thread Taha Hafeez
Hi Jim, This is the modified javascript to include zone updates ModalBoxInit = Class.create( { /* Initialize Function */ initialize : function(spec) { var options = spec.params; if (spec.type == "page") { Event.observe($(spec.id), spec.event, function() { M

Re: Dateformat

2011-03-25 Thread dragan.sahpas...@gmail.com
IDK of there is an easier way, but you can make new DisplayBlockContribution only for Date.class and format the date as you like. Cheers, Dragan Sahpaski On Fri, Mar 25, 2011 at 1:39 PM, Jim O'Callaghan wrote: > Can anyone advise on whether there is a global format setting that can be > applie

Re: GSOC 2011 ideas for custom components

2011-03-25 Thread dragan.sahpas...@gmail.com
I guess this could be done when tapestry creates the GridModel and GridDataSource from the List. Off course for smarter HibernateDataSource more work needs to be done by pushing the sort in the hibernate criteria. Maybe we could do this as a configuration symbol maybe. Cheers, Dragan Sahpaski

Dateformat

2011-03-25 Thread Jim O'Callaghan
Can anyone advise on whether there is a global format setting that can be applied for date fields throughout a tap application - I don't want to have to specify the format for every field - thanks. Regards, Jim.

RE: Modalbox Integration Example

2011-03-25 Thread Jim O'Callaghan
This looks very handy Taha thanks for sharing - I'm thinking of trying it in a page and was wondering if you had gotten around to posting the support for zone updates anywhere? Thanks. Regards, Jim. - To unsubscribe, e-mail: use

Re: GSOC 2011 ideas for custom components

2011-03-25 Thread Vangel V. Ajanovski
On 03/24/2011 09:10 PM, dragan.sahpas...@gmail.com wrote: 2. Grid enhacements: 1. better pager, 2. sorting params go in URL, 3. Better HibernateDataSource (more generic). 4.Changing column order and visibility and saving this in a db. +1 And if the philosophy of Tapestry is to fix things that g