This wiki page contains some informations about JavaScript and Faces [1]

HTH,
Matthias

[1] http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces

On 4/29/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
I was looking at the sample application in
http://www.jsftutorials.net/interface/jsf-popup.html.

In it, the author has this form:

<h:form id="placeList">
    <h:commandLink id="find" action="showPlace" value=""/>
</h:form>

He has some Javascript that essentially sets the value of the command
link equal to its id before submitting the form, also through
javascript:
  form['placeList:find'].value = 'placeList:find';

with a comment that states "This is an emulation of the action link
being clicked."

Where is this fact documented?  I tried looking for it in the spec but
couldn't find it.

thanks,
Hubert



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com

Reply via email to