Say I have something like this :
font color=red Red /font
span wicket:id=Label[Wicket Contents]/span
a wicket:id=wicketLink Click here /a
I want to chane this to:
font color=blue Blue /font
a wicket:id=wicketLink Click here /a
font color=red Red /font
Shams Mahmood schreef:
Say I have something like this :
font color=red Red /font
span wicket:id=Label[Wicket Contents]/span
a wicket:id=wicketLink Click here /a
I want to chane this to:
font color=blue
Oops, too quick.
font wicket:id=colorcomp Red /font
Label l = new Label(colorcomp, Blue)
add(l);
l.add(new SimpleAttribyteModifier(color, blue));
Erik.
Shams Mahmood schreef:
Say I have something like this :
font color=red Red /font
span
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik van
Oosten
Sent: Thursday, November 02, 2006 4:13 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html
Oops, too quick.
font wicket:id
van
Oosten
Sent: Thursday, November 02, 2006 4:13 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html
Oops, too quick.
font wicket:id=colorcomp Red /font
Label l = new Label(colorcomp, Blue)
add(l);
l.add(new
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html
Ah, I see.
I think you'll have to create a panel (or a fragment) for each variation
and then add the appropriate panel (fragment).
Does that make sense?
Erik.
Shams Mahmood schreef:
Well I
Hmm. I remember that more people asked for generated templates. Don't
remember an answer though.
Perhaps you can investigate the class
WebMarkupContainerWithAssociatedMarkup or its super classes to see how
Wicket loads the templates.
Good luck,
Erik.
Shams Mahmood schreef:
I actually
Thanx
I check it out and post here if I get any ideas.
Shams
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Erik van
Oosten
Sent: Thursday, November 02, 2006 4:43 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html
Hmm. I remember that more people asked for generated templates. Don't
remember an answer though.
Perhaps you can investigate the class
WebMarkupContainerWithAssociatedMarkup or its super
: Thursday, November 02, 2006 4:43 PM
To: wicket-user@lists.sourceforge.net
Subject: Re: [Wicket-user] Programmatically/Dynamically change html
Hmm. I remember that more people asked for generated templates. Don't
remember an answer though.
Perhaps you can investigate the class
10 matches
Mail list logo