Re: MarkupComponentBorder and deprecation
sure, you just have to build the render process yourself. -igor On Thu, Apr 15, 2010 at 2:08 AM, Antoine van Wel wrote: > hmm, interesting, that would be nice-to-have. > > now it would be even better if inside this behavior one could add other > markup just like labels which i is not possible with a > MarkupComponentBorder. is that somehow doable? > > > Antoine > > > On Wed, Apr 14, 2010 at 5:59 PM, Igor Vaynberg wrote: > >> no, you cant attach markup to behavior but you can create an >> equivalent of MarkupComponentBorder using a behavior. >> >> -igor >> >> On Wed, Apr 14, 2010 at 1:40 AM, Antoine van Wel >> wrote: >> > Hi, >> > >> > quick question: >> > >> > since IComponentBorder and Component.setComponentBorder are deprecated, >> how >> > should I use MarkupComponentBorder - or shouldn't I use that at all? >> > >> > You can't attach a markup file to a behavior, right? >> > >> > >> > Antoine >> > >> >> - >> 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: MarkupComponentBorder and deprecation
hmm, interesting, that would be nice-to-have. now it would be even better if inside this behavior one could add other markup just like labels which i is not possible with a MarkupComponentBorder. is that somehow doable? Antoine On Wed, Apr 14, 2010 at 5:59 PM, Igor Vaynberg wrote: > no, you cant attach markup to behavior but you can create an > equivalent of MarkupComponentBorder using a behavior. > > -igor > > On Wed, Apr 14, 2010 at 1:40 AM, Antoine van Wel > wrote: > > Hi, > > > > quick question: > > > > since IComponentBorder and Component.setComponentBorder are deprecated, > how > > should I use MarkupComponentBorder - or shouldn't I use that at all? > > > > You can't attach a markup file to a behavior, right? > > > > > > Antoine > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: MarkupComponentBorder and deprecation
no, you cant attach markup to behavior but you can create an equivalent of MarkupComponentBorder using a behavior. -igor On Wed, Apr 14, 2010 at 1:40 AM, Antoine van Wel wrote: > Hi, > > quick question: > > since IComponentBorder and Component.setComponentBorder are deprecated, how > should I use MarkupComponentBorder - or shouldn't I use that at all? > > You can't attach a markup file to a behavior, right? > > > Antoine > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
MarkupComponentBorder and deprecation
Hi, quick question: since IComponentBorder and Component.setComponentBorder are deprecated, how should I use MarkupComponentBorder - or shouldn't I use that at all? You can't attach a markup file to a behavior, right? Antoine