0 Replies Latest reply on Jul 25, 2008 2:05 AM by vttanhua

    jsFunction not defined

    vttanhua

      hey,

      I'm trying to use jsFunction tag, but the intended javascript function is not generated(browser says that:'updateFilename is not defined'). I have a page like this:

      ..
      taglib definitions
      ...

      <f:loadBundle basename="bundle.messages" var="msg"/>







      <f:view >
      <a4j:form>
      <a4j:jsFunction name="updateFilename" reRender="controls">
      <a4j:actionparam name="filename" assignTo="#{FileUploadBean.uploadedFilename}" />
      </a4j:jsFunction>
      </a4j:form>


      ......





      thanks in advance for any help!