Re: Best practice for content without encompassing tag

2010-12-13 Thread Martin Grigorov
Both are OK

On Mon, Dec 13, 2010 at 5:39 PM, Brown, Berlin [GCG-PFS] 
berlin.br...@primerica.com wrote:

 Should I use wicket:container for a section of html that I want to
 include on my page without having a particular tag rendered to the user.

 For example, if I just want to output the text Data without outputting
 'div' or 'span', should I use wicket:container.  Or could I use
 something like setRenderBodyOnly?

 wicket:container
   Data
 /wicket:container

 Output HTML:
 Data



 Berlin Brown



RE: Best practice for content without encompassing tag

2010-12-13 Thread Brown, Berlin [GCG-PFS]
MartinG said it is OK, I like it.

Also, I am blbrown on #freenode.wicket.  I may ask you about it later. 

-Original Message-
From: Martin Grigorov [mailto:mgrigo...@apache.org] 
Sent: Monday, December 13, 2010 11:43 AM
To: users@wicket.apache.org
Subject: Re: Best practice for content without encompassing tag

Both are OK

On Mon, Dec 13, 2010 at 5:39 PM, Brown, Berlin [GCG-PFS] 
berlin.br...@primerica.com wrote:

 Should I use wicket:container for a section of html that I want to 
 include on my page without having a particular tag rendered to the
user.

 For example, if I just want to output the text Data without outputting

 'div' or 'span', should I use wicket:container.  Or could I use 
 something like setRenderBodyOnly?

 wicket:container
   Data
 /wicket:container

 Output HTML:
 Data



 Berlin Brown



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