JSF implementation name/version: MyFaces 1.2.8 on facelets 1.1.11
Server name/version: JBOSS 4.0.5.GA
Problem:
If a p:dataTable is given attributes with scollable="true" and width="950px", a JavaScript error will occur in yui/utilities/utilities.js and all JavaScript functionality will fail, including the autoComplete.
Here's my code:
Code: Select all
<p:dataTable value="#{parentHandler.siblingPrimeElementsSorted}" var="relationship"
paginator="true" rows="10"
scrollable="true" width="950px"
selection="#{parentHandler.selectedObject}" selectionMode="single" >
<p:column>
<f:facet name="header">
<h:outputText value="Element ID" />
</f:facet>
<h:outputText value="#{relationship.element.elementId}" />
</p:column>
</p:dataTable>
<p:autoComplete id="route" value="#{parentHandler.currentRelationship.element.tisCode}" minQueryLength="2" completeMethod="#{menuHandler.getRouteNameList}" />
this._events is undefined
Source File: http://localhost:8080/puma/primefaces_r ... ilities.js
Line: 38
It is evident that the JavaScript in YUI is hitting an error and breaking because the autoComplete then fails to work at all.