Re: T5: Two simple questions

2007-09-10 Thread Francois Armand
Marcus Schmidke wrote: But (1) I still don't understand. Where do I have to put this method? Tapestry convention specify the directory layer for your webapp : tapestryRoot |- base |- components |- mixins |- pages `- services Services should contains a AppModule class, where App is the name

T5: Two simple questions

2007-09-08 Thread Marcus Schmidke
Hello all, I'm sorry I am really having problems to find the documentation for the simplest things. Please forgive me having another two RTFM questions: 1. How can I register a ValueEncoderFactory application wide so that it is automatically used? In other words, how do I contribute a

Re: T5: Two simple questions

2007-09-08 Thread Filip S. Adamsen
1: public static void contributeValueEncoderSource( MappedConfigurationClass, ValueEncoderFactory configuration) { configuration.add(Your.class, new YourValueEncoderFactory()); } 2: onSelectedFromX if I recall correctly. -Filip Marcus Schmidke skrev: Hello all, I'm sorry I am really

Re: T5: Two simple questions

2007-09-08 Thread Marcus Schmidke
Filip, thank you - (2) is perfect. I would never had guessed that. I tried onAction... and onSubmit ... Did I miss some documentation, or is it simply not documented so far? But (1) I still don't understand. Where do I have to put this method? Marcus. 2007/9/8, Filip S. Adamsen [EMAIL

Re: T5: Two simple questions

2007-09-08 Thread Filip S. Adamsen
(2) is in the Component Reference at http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html: The submit responsible for the form submission will post a notification that allows the application to know that it was the responsible entity. The notification is named selected