Re: [Wicket-user] repeating the same text in several places on one page

2007-05-15 Thread RĂ¼diger Schulz
If you're not displaying a list of users, but want to display the same username on several places on your page, there is no real idiom. Maybe call them according to where they are put, like userMenuBar, userSideBar, etc. .rue 2007/5/14, Lowell Kirsh <[EMAIL PROTECTED]>: > Is there an idiom for na

Re: [Wicket-user] repeating the same text in several places on one page

2007-05-15 Thread Johan Compagner
if you use a repeater then the labels have the same name because you have a repeating element (list item) that constantly have the same kind of labels johan On 5/14/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: Is there an idiom for naming these labels, or do people tend to call them user1, use

Re: [Wicket-user] repeating the same text in several places on one page

2007-05-14 Thread Lowell Kirsh
Is there an idiom for naming these labels, or do people tend to call them user1, user2, user3...? On 5/13/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you cannot reuse the same label more then once in markup. there are various > reasons for this that have to do with how wicket works internally.

Re: [Wicket-user] repeating the same text in several places on one page

2007-05-13 Thread Igor Vaynberg
you cannot reuse the same label more then once in markup. there are various reasons for this that have to do with how wicket works internally. what you can do is reuse the instance of model that drives the labels. -igor On 5/13/07, Lowell Kirsh <[EMAIL PROTECTED]> wrote: I'd like to repeat t

[Wicket-user] repeating the same text in several places on one page

2007-05-13 Thread Lowell Kirsh
I'd like to repeat the same thing in several spots on the same page. Does this mean that I have to create several labels? Or is there a way I could have them all reference the same label? Thanks, Lowell - This SF.net email is