<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" > <channel> <title>primefaces | Muharrem Tığdemir</title> <atom:link href="/tag/primefaces/feed/" rel="self" type="application/rss+xml" /> <link></link> <description>Carpe Diem!!</description> <lastBuildDate>Sun, 22 Sep 2013 13:05:54 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod> hourly </sy:updatePeriod> <sy:updateFrequency> 1 </sy:updateFrequency> <generator>https://wordpress.org/?v=6.2.2</generator> <site xmlns="com-wordpress:feed-additions:1">120145533</site> <item> <title>Primefaces PF is not defined</title> <link>/primefaces-pf-is-not-defined/</link> <comments>/primefaces-pf-is-not-defined/#respond</comments> <dc:creator><![CDATA[Muharrem Tığdemir]]></dc:creator> <pubDate>Sun, 22 Sep 2013 13:02:31 +0000</pubDate> <category><![CDATA[Hatalar]]></category> <category><![CDATA[JSF]]></category> <category><![CDATA[jsf]]></category> <category><![CDATA[pf]]></category> <category><![CDATA[primefaces]]></category> <guid isPermaLink="false">https://muharremtigdemir.com/?p=60</guid> <description><![CDATA[<p>Merhaba arkadaşlar , Primefaces’ın 4.0 versiyonunda gelen PF shorcut’ı 3.xx kullandığım için “PF is not defined” hatası ile karşılaştım. Önceki versiyonlardan hatırlamayanlar için bu hatanın çözümü şu şekilde ;   <p:column style="width:4%" headerText="Show"> <p:commandButton id="selectButton" oncomplete="videoDialog.show()" icon="ui-icon-search" title="View"> <f:setPropertyActionListener value="#{video}" target="#{videoController.selectedVideo}" /> </p:commandButton> </p:column> Action’ı yani onComplete event’ını widgetVar’ın ismi ile değiştirirseniz hatayı düzeltebilirsiniz. Aşağıda […]</p> <p>The post <a href="/primefaces-pf-is-not-defined/">Primefaces PF is not defined</a> first appeared on <a href="">Muharrem Tığdemir</a>.</p>]]></description> <content:encoded><![CDATA[<p>Merhaba arkadaşlar ,</p> <p>Primefaces’ın 4.0 versiyonunda gelen PF shorcut’ı 3.xx kullandığım için “PF is not defined” hatası ile karşılaştım. Önceki versiyonlardan hatırlamayanlar için bu hatanın çözümü şu şekilde ;</p> <p> </p> <pre class="lang:xhtml decode:true"> <p:column style="width:4%" headerText="Show"> <p:commandButton id="selectButton" oncomplete="videoDialog.show()" icon="ui-icon-search" title="View"> <f:setPropertyActionListener value="#{video}" target="#{videoController.selectedVideo}" /> </p:commandButton> </p:column></pre> <p><span id="more-60"></span>Action’ı yani onComplete event’ını widgetVar’ın ismi ile değiştirirseniz hatayı düzeltebilirsiniz. Aşağıda widgetVar ismi “videoDialog”. 4.0 => “PF(‘videoDialog’).show()”</p> <p>3.xx => “videoDialog.show()”</p> <pre class="lang:xhtml decode:true"> <p:dialog header="Video Details" widgetVar="videoDialog" resizable="false" id="carDlg" showEffect="fade" hideEffect="fade" modal="true"> <h:panelGrid id="display" columns="2" cellpadding="4" style="margin:0 auto;"> <h:outputText value="Model:" /> <h:outputText value="BB#{videoController.selectedVideo}" style="font-weight:bold"/> </h:panelGrid> </p:dialog></pre> <p> </p><p>The post <a href="/primefaces-pf-is-not-defined/">Primefaces PF is not defined</a> first appeared on <a href="">Muharrem Tığdemir</a>.</p>]]></content:encoded> <wfw:commentRss>/primefaces-pf-is-not-defined/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <post-id xmlns="com-wordpress:feed-additions:1">60</post-id> </item> </channel> </rss>