Re: T5 - Cancelling a form

2007-03-24 Thread Bogdan Calmac
Thanks Howard, The CSS hack would problably work but I'd rather consider other options. I could for instance use some image buttons which have the same look and feel for both "Submit" and "Cancel". Does tapestry provide the equivalent of for form submission? Bogdan. On 3/24/07, Stephan Schwab

Empty Double TextField causes NPE

2007-03-24 Thread Bogdan Calmac
at org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.writeParameter(InternalComponentResourcesImpl.java:217) Thanks, Bogdan Calmac. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5 - Cancelling a form

2007-03-24 Thread Bogdan Calmac
survey.pages.SurveyDetail.onCancel() (at SurveyDetail.java:46). This type of event does not support return values from event handler methods. On the other hand, if I try do do it on the form events I don't know which button was pressed and I cannot bypass validation. Is there a straight

Loop inside a form

2007-03-22 Thread Bogdan Calmac
Hi all, I'm trying to understand how the Loop component works inside a form and I couldn't find too much info in the docs. My main curiosity is how do the right objects get updated when the form is submitted. I would guess it has something to do with the PrimaryKeyEncoder, but how does tapestry k

T5 - Property binding enhancements

2007-03-22 Thread Bogdan Calmac
thing like: list: "questions[5].text" map: "persons[jim].height" or even "persons.jim.height" if it is possible to determine that persons is a Map when building the conduit. Thanks, Bogdan Calmac. -

Re: T5 - ASO cannot be in the same package as the page?

2007-03-22 Thread Bogdan Calmac
ana Gopinath <[EMAIL PROTECTED]> wrote: I beleive you are supposed to put only your page classes in the page folder. Refer tapestry 5 tutorial, page 19. Anjana Gopinath On Mar 22, 2007, at 10:07 AM, Bogdan Calmac wrote: > After creating my own ASO object, I kept getting the >

T5 - ASO cannot be in the same package as the page?

2007-03-22 Thread Bogdan Calmac
SurveyQuestion getQuestion0() throws SQLException { return surveySession.questions.get(0); } Thanks, Bogdan Calmac. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Bogdan Calmac
contributeRequestHandler( MappedConfiguration configuration) { configuration.add("tapestry.supported-locales", "en"); } Thanks, Bogdan. On 3/21/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: The method name should now be contributeRequestHandler().

Re: T5 - Changing Locale

2007-03-21 Thread Bogdan Calmac
I've been doing some other things, when I get a chance to try it, I'll share the experience on the list. Bogdan. On 3/20/07, alexvs <[EMAIL PROTECTED]> wrote: Hi Bogdan, Were you ever able to change the locale? Thanks! Alex Bogdan Calmac-4 wrote: > > Is it pos

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Bogdan Calmac
One of the methods marked with @Contribute (see below) was a timing filter which would display in the console the duration of each request. After removing the @Contribute annotation (which is not available in 5.0.3) the filter is no longer called. So, is there another annotations to contribute ser

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Bogdan Calmac
So after removing the annotations what should we do with the two methods that were annotated: contributeApplicationDefaults() and contributeApplicationFilters? I would guess nobody will call them without the annotations. Thanks, Bogdan Calmac On 3/20/07, Robert Zeigler <[EMAIL PROTEC

T5 - radio input

2007-03-19 Thread Bogdan Calmac
Hi all, As far as the features available in T5 I thought it was mentioned that all form elements are already implemented, but today I needed a radio input and I realized it's not available yet. Howard, any ideea when the radio input will be available? Thank you, Bogdan C

T5 - Context parameters and style sheets links

2007-03-12 Thread Bogdan Calmac
is fits with the design of the framework. 2. Create something like an AssetLink component that takes care to prepend so context, so that: would generate; I would expect there were others who encountered the same quirk. How did you address it? Thank you, Bogdan Calmac. --

Re: T5 - Changing Locale

2007-03-09 Thread Bogdan Calmac
Thanks guys, I saw that, but there was no mention about the ability to change the locale at application level. So I can assume that for my use case I would inject a new service in my page and use it to change the locale programatically? Thanks, Bogdan Calmac. On 3/9/07, Hugo Palma <[EM

T5 - Changing Locale

2007-03-09 Thread Bogdan Calmac
Is it possible in Tapestry 5 to programatically change the locale for a sesison similar to IEngine.setLocale() from Tapestry 4? In my case I want to set the locale after the login into the application (locale is stored in the user profile) and not rely on the browser locale. Thank you, Bogdan

T5 - Adding modify/delete actions to a Grid

2007-03-08 Thread Bogdan Calmac
ssible to extend GridRow to add some columns which do not represent data (and among other things would not be sortable)? Another usage example would be to add selection checkboxes to all rows. Is there some enhancement that can be done to the Grid component that would make this typical DB table