Re: [Wicket-user] repeating the same text in several places on one page
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, 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. 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 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 sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] repeating the same text in several places on one page
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 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. 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 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 sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- greetings from Berlin, RĂ¼diger Schulz www.2rue.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] repeating the same text in several places on one page
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. 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 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 sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] repeating the same text in several places on one page
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 sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] repeating the same text in several places on one page
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 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 sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user