Re: How to call JSF method binding expressions from a java script.

2006-07-13 Thread Ricardo Tercero Lozano
AppFuse (v. 1.8.2) does this in table selections with displaytag. Use the _link_hidden_:script type=text/_javascript_ function doAction () { var f = document.forms['myForm']; f.elements['myForm:_link_hidden_'].value='myLink'; f.submit(); } /scriptRicardo.On 7/13/06, ved.gunjan [EMAIL

Re: How to call JSF method binding expressions from a java script.

2006-07-13 Thread Mike Kienenberger
to a form POST anyway... -Original Message- From: Andrew Robinson [mailto: [EMAIL PROTECTED] Sent: Thursday, 13 July 2006 7:53 AM To: MyFaces Discussion Subject: Re: How to call JSF method binding expressions from a java script. There is no built in way. You have to invoke an AJAX call

Re: How to call JSF method binding expressions from a java script.

2006-07-12 Thread Andrew Robinson
There is no built in way. You have to invoke an AJAX call to the server, setup the Faces context, possibly restore your view then evaluate the EL. There is a Remote set of APIs in JBoss-Seam that let you do things like this. There may be other frameworks that have similar functionality as well

Re: How to call JSF method binding expressions from a java script.

2006-07-12 Thread Andrew Robinson
I meant their and not there of course when mentioning shale On 7/12/06, Andrew Robinson [EMAIL PROTECTED] wrote: There is no built in way. You have to invoke an AJAX call to the server, setup the Faces context, possibly restore your view then evaluate the EL. There is a Remote set of APIs in

Re: How to call JSF method binding expressions from a java script.

2006-07-12 Thread Adam Brod
Here is the Shale Remoting documentation: http://struts.apache.org/struts-shale/shale-core/apidocs/org/apache/shale/remoting/package-summary.html I don't know why it isn't on the proper website as well. Adam Brod Product Development Team Andrew Robinson [EMAIL PROTECTED] 07/12/2006 05:52

RE: How to call JSF method binding expressions from a java script.

2006-07-12 Thread Dhananjay Prasanna
: Thursday, 13 July 2006 7:53 AM To: MyFaces Discussion Subject: Re: How to call JSF method binding expressions from a java script. There is no built in way. You have to invoke an AJAX call to the server, setup the Faces context, possibly restore your view then evaluate the EL. -Andrew On 7/12/06

RE: How to call JSF method binding expressions from a java script.

2006-07-12 Thread ved.gunjan
Hi Dhananjay, Thanks for the help...i know it is an evil idea but im having a requirement which is causing me a headache.Here's my requirment... I have 4 tabs andon clicking on any of the one tab...i have to show its content, pulled form server, below that tab. The content display area is