[Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Chris Colman
I have a wicket ID that displays a name. My wicket class adds a label component with the appropriate name. I use that name in the markup in the body and it works fine. I now wish to, additionally, use that name in the title tag so that the name appears in the caption of the browser but... wicket

Re: [Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Martijn Dashorst
On 7/11/07, Chris Colman [EMAIL PROTECTED] wrote: Does this mean that I can't use the same component value more than once within a single page/component? Yes, or you need to resort to RepeatingView, ListView and its descendants. Is there a way to turn off reporting of this as an error? Is it

Re: [Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Erik van Oosten
Note also that it /is/ possible to use a Model instance from more then 1 component. Erik. Martijn Dashorst wrote: On 7/11/07, Chris Colman [EMAIL PROTECTED] wrote: Does this mean that I can't use the same component value more than once within a single page/component? Yes, or you

Re: [Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Eelco Hillenius
Is there a way to turn off reporting of this as an error? Is it really an error to bind to a component more than once in a markup unit? Yes it is an error to bind a component *instance* more than once. Though you can turn that off (and is turned off in deployment mode):

Re: [Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Johan Compagner
i dont think you can, because we really depend on one to onw mapping currently, but i gues juergen knows more on that (for example markup index) On 7/11/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Is there a way to turn off reporting of this as an error? Is it really an error to bind to a

Re: [Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Eelco Hillenius
On 7/11/07, Johan Compagner [EMAIL PROTECTED] wrote: i dont think you can, because we really depend on one to onw mapping currently, but i gues juergen knows more on that (for example markup index) Yes you can. Index:

[Wicket-user] Using a component more than once on a wicket page

2007-07-11 Thread Chris Colman
On 7/11/07, Johan Compagner [EMAIL PROTECTED] wrote: i dont think you can, because we really depend on one to onw mapping currently, but i gues juergen knows more on that (for example markup index) Yes you can. body span wicket:id=mainNavigation/ span wicket:id=message