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

2006-07-13 Thread Mike Kienenberger
ea but can you not lookup what the page is > doing and submit the form with the proper parameters set? > > Afaik, the commandLink is going to convert hyperlink clicks to a form > POST anyway... > > -Original Message- > From: Andrew Robinson [mailto: [EMAIL PROTECTED]

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

2006-07-12 Thread Ricardo Tercero Lozano
AppFuse (v. 1.8.2) does this in table selections with displaytag. Use the _link_hidden_:
        function doAction () {
            var f = document.forms['myForm'];
            f.elements['myForm:_link_hidden_'].value='myLink';
            f.submit();
        }
    Ricardo.On 7/

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 and on clicking on any of the one tab...i have to show its content, pulled form server, below that tab. The content display area is

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

2006-07-12 Thread Dhananjay Prasanna
CTED] 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 to the server, setup the Faces context, possibly restore your view then evaluate the EL. -Andrew

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:

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 AP

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