Re: Wicket 6-beta1 - How to call a javascript function after component render?

2012-04-26 Thread Jordi Deu-Pons
> component - both Ajax and non-Ajax. > > On Thu, Apr 26, 2012 at 4:46 PM, Jordi Deu-Pons wrote: >> Hi, >> >>  I'm developing a component that needs to call a javascript function >> after it's rendered (throw and AJAX update or a normal request). >>

Re: Wicket 6-beta1 - How to call a javascript function after component render?

2012-04-26 Thread Martin Grigorov
>  I'm developing a component that needs to call a javascript function > after it's rendered (throw and AJAX update or a normal request). > >  I get it running like this: > >    @Override >    protected void onBeforeRender() { >        super.onBeforeRender(); >        Aj

Wicket 6-beta1 - How to call a javascript function after component render?

2012-04-26 Thread Jordi Deu-Pons
Hi, I'm developing a component that needs to call a javascript function after it's rendered (throw and AJAX update or a normal request). I get it running like this: @Override protected void onBeforeRender() { super.onBeforeRender(); AjaxRequestTar

Re: call a javascript

2012-02-10 Thread Kayode Odeyemi
Try any of these steps as described in the wiki: https://cwiki.apache.org/WICKET/calling-wicket-from-javascript.html https://cwiki.apache.org/WICKET/adding-javascript-from-wicket.html https://cwiki.apache.org/WICKET/how-to-write-json-response.html Wicket javascript integration is built on Behavio

Re: call a javascript

2012-02-10 Thread kamiseq
check wicket.ajax and its method getAjax or something like that. if you use AjaxEventBehavior then the ajax callback (which uses that js getAjax method) is already coded for you. pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __

call a javascript

2012-02-09 Thread cosmindumy
Hello again, I want to call a javascript when a java event. Actually on method mymethod() from my button I want to set a javascript and the first time the button is rerendered to call it. How can I do this? Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/call

how to call a javascript function?

2007-11-15 Thread raybristol
Hi, I have a form in a page, after user fill some data in and press 'Save' I want to call/or not to call a javascript function, in my code I was try to do like: Form form = new Form("form", new CompoundPropertyModel(this)){ pro

RE: how to call a javascript function?

2007-11-15 Thread Clay Lehman
ache.org Subject: Re: how to call a javascript function? override the onComponentTag of the form object, hope this helps protected void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag); tag.put("onSubmit", " return yourValidateFunction();

Re: how to call a javascript function?

2007-11-15 Thread Dipu Seminlal
bristol <[EMAIL PROTECTED]> wrote: > > Hi, I have a form in a page, after user fill some data in and press 'Save' I > want to call/or not to call a javascript function, in my code I was try to > do like: > > Form form = new Form("form", new Compound