Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 84627 invoked from network); 5 Nov 2007 21:40:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2007 21:40:39 -0000 Received: (qmail 59015 invoked by uid 500); 5 Nov 2007 21:40:24 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 58613 invoked by uid 500); 5 Nov 2007 21:40:22 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 58597 invoked by uid 99); 5 Nov 2007 21:40:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 13:40:22 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of danielccss2@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2007 21:40:26 +0000 Received: by ug-out-1314.google.com with SMTP id 30so1199433ugs for ; Mon, 05 Nov 2007 13:40:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=TxI0aSBN0XIsbIIg/L0C+rPBaUUqoo+nUy3dIQXzHT4=; b=KAtewk2Y6gh870+RGZ9/J3XOGbaNlMBgO7qnBRPgVWYfavce2JrtSOzCmQPxdK6GEptEuuxoAAqmM+6VjHt/wNVvGSQSgQi12/VZZsMIx+gRHznRtFOtkzbMJB+R6V0Oa8WeBGcOQESvcfNi962lCaeEn2LZfTq3fNuSpsWlD7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bvu/3LAvr0/xjprK5FvhRrXODFZDch+0oY1/3S1zcO+po78a+Aj4ic+uOYyMnyKxEbD5wMvUB0S6ttMlnyeK4rr0/BzoC+Cl5bNkyZ2aoRih0vmygH53qGPXltyj2gbOTn+d0fQPjGCNVE4n0iF60AINscaAsKwAZCngE7c0GTg= Received: by 10.78.180.18 with SMTP id c18mr4224938huf.1194298804558; Mon, 05 Nov 2007 13:40:04 -0800 (PST) Received: by 10.78.162.18 with HTTP; Mon, 5 Nov 2007 13:40:04 -0800 (PST) Message-ID: <2bd5ed640711051340g28c366e6xea85ea8032e0a432@mail.gmail.com> Date: Mon, 5 Nov 2007 15:40:04 -0600 From: "daniel ccss" To: "MyFaces Discussion" Subject: Re: Call Backing Bean Method in onload event In-Reply-To: <2bd5ed640711051324h2b99004co1f848f7049bd5efd@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_29257_18392601.1194298804551" References: <2bd5ed640711051324h2b99004co1f848f7049bd5efd@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_29257_18392601.1194298804551 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline In Google I find this solution: you can try body on~load calls a javascript method, then in the javascript method calls a commandbutton which is hidden. that commandbutton can then call a method in your backing bean. code: ------------------------------ function test(){ document.getElementById('formName:buttonId').click(); }