This is probably an "evil" idea 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]
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

On 7/12/06, ved.gunjan <[EMAIL PROTECTED]> wrote:
>
> Hi Experts
> How to call JSF method binding expressions from a java script.
> For example i want to call ==>
action="#{authenticationBean.authenticate}"
> of a command link from java script.
>
> Waiting for the experts reply.
> Thanks
>
>
>  __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your system 
immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, if you 
are not the intended recipient.
Any opinions expressed in this message are those of the individual sender 
except where the sender expressly,
and with the authority, states them to be the opinions of the Department of 
Emergency Services, Queensland.

Reply via email to