jsf - 'TypeError: b is undefined' after upgrading to PrimeFaces 5.1 -


i'm having webapplication primefaces 4.0. want upgrade primefaces 5.1. changed jar , updated myfaces version 2.2.5. i'm deploying on apache tomcat 7.0.42. unfortunately i'm running error now: typeerror: b undefined (found firebug) occurs when selecting value selectonemenu updates selectonemenu on form within tabview component. doesn't appear if roll version 4.

here's code:

the selectonemenu selection made
<p:selectonemenu id="customersmenu" value="#{customerview.selectedcustomer}" style="float:right" converter="customerconverter" filter="true" filtermatchmode="contains"> <p:ajax event="change" update=":tabview" process="customersmenu"/> <f:selectitem itemlabel=" kunde auswählen" itemvalue="" /> <f:selectitems value="#{customerview.customers}" var="customer" itemlabel="#{customer.name}" itemvalue="#{customer}" /> </p:selectonemenu>

the tabview updated
<ui:composition template="/web-inf/template/template.xhtml"> <ui:define name="title">title</ui:define> <ui:define name="content"> <p:tabview id="tabview" activeindex="#{contenttabview.activetabindex}"> <p:ajax event="tabchange" listener="#{contenttabview.ontabchange}" update="@this" /> <p:tab id="_0" title="display"> <ui:include src="web-inf/pages/displaymodule.xhtml" /> </p:tab> <p:tab id="_1" title="sea"> <ui:include src="web-inf/pages/seamodule.xhtml" /> </p:tab> <p:tab id="_2" title="feedmanager"> <ui:include src="web-inf/pages/feedmanager.xhtml" /> </p:tab> </p:tabview> </ui:define> </ui:composition>

and here selectonemenu on displaymodule.xhtml , shall updated
<h:outputlabel for="displaycampaigns" value="kampagne: " style="vertical-align: middle" /> <p:selectonemenu id="displaycampaigns" value="#{displaymoduleview.selecteddisplaycampaign}" converter="displaycampaignconverter" filter="true" filtermatchmode="contains" style="vertical-align: middle"> <p:ajax event="change" update="@this, displaytablepanel" /> <f:selectitem itemlabel="kampagne auswählen" itemvalue="" /> <f:selectitems value="#{displaymoduleview.displaycampaigns}" var="displaycampaign" itemlabel="#{displaycampaign.name}" itemvalue="#{displaycampaign}" /> </p:selectonemenu>

the last menu not rendered , error message occurs.

i appreciate help, spend time trying find solution without success upgrade primefaces 5.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -