The submitWithContext on wiki is out of date at lest in regards to 5.0.11 as the API changed somewhat since 5.0.4. processSubmission(String) is now the function to be implemented, so:
@Override protected void processSubmission(FormSupport formSupport, String elementName) needs to be refactored at the least. I'd suggest to either update the wiki or not use it as it won't work as detailed at the moment. Unfortunately, I currently do not have have to spare to update the wiki myself. The quickest way would to be to do radios instead of submits, or just create your own sumit with context, loosely modeling off of the wiki Francois suggested. -adam On Wed, Apr 2, 2008 at 5:19 AM, Francois Armand <[EMAIL PROTECTED]> wrote: > Adam Zimowski wrote: > > > I solved this by having a single form and generating dynamic radio > > buttons instead, and have a single submit at the bottom. > > > > As to your strategy, the problem is that submit component does not > > pass context to select event so it's hard to pass in additional > > information. > > > > > There is on the wiki a "submit with context" component : > http://wiki.apache.org/tapestry/Tapestry5SubmitContextComponent > > -- > Francois Armand > Etudes & Développements J2EE > Groupe Linagora - http://www.linagora.com > Tél.: +33 (0)1 58 18 68 28 > ----------- > InterLDAP - http://interldap.org FederID - http://www.federid.org/ > Open Source identities management and federation > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]