If this is specific to a particular form you could use A formcompoment visitor to iterate over each child and call setOutputMarkupId
On Sunday, March 27, 2011, Bruno Borges <[email protected]> wrote: > I was looking for a better way (optimized too) to achieve this, considering > that I'm using Scala. > > I admit I'm not an expert on Scala though. :-) > > > > > Bruno Borges > www.brunoborges.com.br > +55 21 76727099 > > "The glory of great men should always be > measured by the means they have used to > acquire it." > - Francois de La Rochefoucauld > > > > On Sun, Mar 27, 2011 at 9:56 PM, James Carman > <[email protected]>wrote: > >> A quick way to set it by default would be to use a >> IComponentInitializationListener. >> >> On Sun, Mar 27, 2011 at 8:52 PM, Bruno Borges <[email protected]> >> wrote: >> > I'm developing a project with Scala + Wicket and I wanted to set that all >> > form components have their markup id output automatically >> > (setOutputMarkupId(true)). >> > >> > Any idea? >> > >> > Cheers, >> > >> > >> > Bruno Borges >> > www.brunoborges.com.br >> > +55 21 76727099 >> > >> > "The glory of great men should always be >> > measured by the means they have used to >> > acquire it." >> > - Francois de La Rochefoucauld >> > >> >> --------------------------------------------------------------------- >> 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]
