users@woodstock.java.net

Re: invoke method(action) via ajax

From: Necromancer <mailtosmyk_at_gmail.com>
Date: Thu, 24 Jan 2008 04:56:41 -0800 (PST)

Necromancer wrote:
>
> how invoke some method by button via ajax and then rerender(refresh some
> fields)
> i know how refresh components:
> function refreshField() {
> var domNode = document.getElementById("form:field1"); // Get field
> return domNode.refresh("form:rb1"); // Asynchronously refresh
> while submitting radio button value
> }
> but how invoke some action by button click or thomething else.
> Also submit all form values to server?
>

task completed:
DynaFaces.fireAjaxTransaction(this,{execute: 'form1:a1,a1', render:
'customerid'}); return false;

-- 
View this message in context: http://www.nabble.com/invoke-method%28action%29-via-ajax-tp15041117p15063647.html
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.