Re: How to make wicket text in a td bold?

2009-02-17 Thread John Krasnay
  td width=20% wicket:id=personname class=personnamePerson Name/td

...somewhere in your CSS...

  td.personname { font-weight: bold; }

jk

On Tue, Feb 17, 2009 at 07:54:36AM -0800, Edwin Ansicodd wrote:
 
 have info in a table, want to make the text from wicket bold.  How do I do
 this?
 
   td width=20% wicket:id=personnamePerson Name/td
 
 The above doesn't work.  It's not bold with wicket.  How do I make it bold?
 
 
 -- 
 View this message in context: 
 http://www.nabble.com/How-to-make-wicket-text-in-a-td-bold--tp22060100p22060100.html
 Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to make wicket text in a td bold?

2009-02-17 Thread James Carman
It's not supposed to be bold.  In no way did you tell it to be bold.
What you can do is add a class attribute to the td element (using
AttributeAppender behavior) to set a css class and then you use a
stylesheet to style your text as bold.

On Tue, Feb 17, 2009 at 10:54 AM, Edwin Ansicodd
erik.g.hau...@gmail.com wrote:

 have info in a table, want to make the text from wicket bold.  How do I do
 this?

td width=20% wicket:id=personnamePerson Name/td

 The above doesn't work.  It's not bold with wicket.  How do I make it bold?


 --
 View this message in context: 
 http://www.nabble.com/How-to-make-wicket-text-in-a-td-bold--tp22060100p22060100.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to make wicket text in a td bold?

2009-02-17 Thread James Carman
Styling the markup in-line is frowned upon, though.  It's better to
use stylesheets for this.  However, for a quick and dirty solution,
this will work quite well! :)


On Tue, Feb 17, 2009 at 11:01 AM, Jonas barney...@gmail.com wrote:
 or like this:

 [td width=20%][b wicket:id=personname]Person Name[/b][/td]

 with '' and '' instead of the '[' and ']' of course...

 On Tue, Feb 17, 2009 at 4:54 PM, Edwin Ansicodd erik.g.hau...@gmail.com 
 wrote:

 have info in a table, want to make the text from wicket bold.  How do I do
 this?

td width=20% wicket:id=personnamePerson Name/td

 The above doesn't work.  It's not bold with wicket.  How do I make it bold?


 --
 View this message in context: 
 http://www.nabble.com/How-to-make-wicket-text-in-a-td-bold--tp22060100p22060100.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org