Re: MarkupComponentBorder and deprecation

2010-04-15 Thread Antoine van Wel
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 igor.vaynb...@gmail.comwrote:

 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
 antoine.van@gmail.com 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

2010-04-15 Thread Igor Vaynberg
sure, you just have to build the render process yourself.

-igor

On Thu, Apr 15, 2010 at 2:08 AM, Antoine van Wel
antoine.van@gmail.com 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 igor.vaynb...@gmail.comwrote:

 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
 antoine.van@gmail.com 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

2010-04-14 Thread Igor Vaynberg
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
antoine.van@gmail.com 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