Re: [Wicket-Contrib-Scriptaculous] Effects Examples

2007-10-17 Thread Nick Heudecker
Thanks.  That's what I was looking for.

On 10/16/07, Ryan Sonnek [EMAIL PROTECTED] wrote:

 I think this is what you're looking for:

 add(new AjaxLink(myLink) {
   protected void onClick(AjaxTarget target) {
 target.appendJavascript(new Effect.Fade(myPanel).toJavascript());
   }
 });

 On 10/16/07, Nick Heudecker [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I'm looking for some examples using wicket-contrib-scriptaculous
  Effects.  I
  looked around the examples project and didn't find
  anything.  Specifically,
  I'm looking to make a panel fade out when a link inside the panel is
  clicked.  Any help is appreciated.  Thanks.
 
  -Nick
 




-- 
Nick Heudecker
Professional Wicket Training  Consulting
http://www.systemmobile.com

Eventful - Intelligent Event Management
http://www.eventfulhq.com


Re: [Wicket-Contrib-Scriptaculous] Effects Examples

2007-10-16 Thread Ryan Sonnek
I think this is what you're looking for:

add(new AjaxLink(myLink) {
  protected void onClick(AjaxTarget target) {
target.appendJavascript(new Effect.Fade(myPanel).toJavascript());
  }
});

On 10/16/07, Nick Heudecker [EMAIL PROTECTED] wrote:

 Hi,

 I'm looking for some examples using wicket-contrib-scriptaculous
 Effects.  I
 looked around the examples project and didn't find
 anything.  Specifically,
 I'm looking to make a panel fade out when a link inside the panel is
 clicked.  Any help is appreciated.  Thanks.

 -Nick