1 Reply Latest reply on Mar 18, 2009 7:55 AM by Ilya Shaikovsky

    ajax4jsf and tomahawk

    Torsten Liermann Newbie

      Hi, (sorry, no english)

      I have a localeSelctor based on the localeSelector from the seam project. The switching of the language is done by a 'a4j:support'. Ajax4jsf rerender after the language switching the entire html body. The effect of language switching is as expected, all the resources come from the appropriate resource bundle.
      However, after the rerendering the
      menu navigation is no longer working. The tomahawk java script code caused an error in oamSubmitForm () with the message "form is undefined." Ajax4jsf apparently parses the Javascript code from 't:panelNavigation2' buggy.

      If such a problem known? Or am I doing something wrong?

      Thanks for a tip.

      My using ajax4jsf from richfaces 3.3.0, myfaces 1.2.6 and tomahawk12-1.1.8.


       <t:selectOneMenu id="localeSelector" value="#{localeSelector.localeString}"
       <f:selectItems value="#{localeSelector.supportedLocales}"/>
       <a4j:support event="onchange"
       actionListener="#{localeSelector.select}" reRender="trxBody"

       <display-name>Ajax4jsf Filter</display-name>