p:scrollPanel widgetvar

UI Components for JSF
Post Reply
omarbr
Posts: 79
Joined: 04 Dec 2012, 17:08

26 Aug 2014, 18:11

I migrate my app from pf4 to pf5 and have this problem: p:scrollPanel with widgetvar not find!
Debug with firebug but not find p:scrollPanel nowhere.
pf4 work proprely and find p:scrollPanel with widgetvar.
PrimeFaces 5.3 | Payara | Mojarra 2.2.10
Firefox 38+

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

26 Aug 2014, 22:03

Cool... does this ring a bell?

And don't forget to read the migration guides

omarbr
Posts: 79
Joined: 04 Dec 2012, 17:08

27 Aug 2014, 09:33

migration guide report change reference to widget from widgetVarName.show() to PF('widgetVarName').show().
I have done this but the widget is not found, undefined.
other widgets are resolved, only the p: scrollpanel is resolved.

Code: Select all

 		<p:scrollPanel mode="native" id="basePanelID"
			widgetVar="basePanel"
			style="width: 99,5%;height: 113px;padding-left:5px;border:0px;">
 
javascript

Code: Select all

 var rowTable = PF('basePanel'); 
result unresolved
PrimeFaces 5.3 | Payara | Mojarra 2.2.10
Firefox 38+

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 33 guests