I don't think that there is a wicket way to do something like this, but you
can achieve the same behavior using javascript.

Alex. 


Oliver Lieven wrote:
> 
> Hi, 
> 
> I wonder if there's a way for a component to determine if it is embedded
> inside some specific HTML tag, e.g. determine if it is used inside a
> table.
> 
> What I would like to achieve is having a component/panel which, when not
> used inside a HTML table, would render itself with surrounding "table"
> tag.
> 
> Thanx for any hints and ideas,
> Oliver
> 

-- 
View this message in context: 
http://www.nabble.com/Can-a-component-determine-it%27s-surrounding-HTML-elements--tf4533713.html#a12938346
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to