public class MyPanel extends Panel implements
IHeaderContributor {

       private static final long serialVersionUID = 1L;

       /**
        * @param id
        */
       public MyPanel(String id) {
               super(id);
       }


       public void renderHead(IHeaderResponse response)
       {
               response.renderOnDomReadyJavascript("your JavaScript here");
       }
}

Ernesto

On Sat, Nov 27, 2010 at 6:05 AM, Josh Kamau <[email protected]> wrote:
> Hi guys;
>
> I have a javascript function that i would like to call after loading a panel
> with ajax. What clientside event should trigger my function?
>
> regards.
> josh
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to