Can you be more specific as to why you don't want to inherit from
Border, Panel or Fragment?

Martijn

On 10/27/06, Petr Sakar <[EMAIL PROTECTED]> wrote:
Hi,
currently (wicket 1.2) if I want to make component with own markup, I must
extend Panel, or override some method to provide markup.
Can you use as well interfaces to give framework hint that the component
has its own markup in html template ?

For example if component would implement interface BodyMarkup, the html
template would be looked up. If it would implement interface
HeadContributor, you would know it is contributing to page head.

saki



--
<a href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote</a>
for <a href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket</a>
at the <a href="http://www.thebeststuffintheworld.com/";>Best Stuff in
the World!</a>

Reply via email to