Hi all,
 I'm trying to call a JSF application from a plain HTML form on a different
subdomain (and server).  Its a search so I only have 1 input field.  I have
include the code below.  I need to call the method "performSearch" on the
bean that's associated with my searchResults.jsf page.  It renders the page,
but never invokes the method.  What do I need in my form to do this?

<script type="text/javascript">
   function clearForm(textField) {
   textField.value = "";
   }
</script>

<div class="searcher">
<p>Search</p>
<form name="frmSearch" action="searchResults.jsf" method="post"
enctype="application/x-www-form-urlencoded">
   <input id="searchTerms" name="searchTerms" type="text" value="Search"
onclick="clearForm(this);" class="searchInput" onfocus="clearForm(this);" />
   <input id="performSearch" name="performSearch" type="image"
src="images/btn_go.jpg"  style="align:right;" class="go_btn" />

</form>
</div>

Reply via email to