<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to run Javascript code for a PPR Report?</title>
	<atom:link href="http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/</link>
	<description>Inside Oracle APEX - a blog that helps to get more out of Oracle Application Express (APEX) for your daily development work!</description>
	<lastBuildDate>Mon, 19 Dec 2011 12:04:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Sutherland</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-43440</link>
		<dc:creator>Sutherland</dc:creator>
		<pubDate>Wed, 23 Jun 2010 21:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-43440</guid>
		<description>Thanks Chris,

I&#039;m trying to implement row highlighting using jquery. It works fine when the report initially loads, but does not using ppr report navigation. I tried overloading the init_htmlPPRReport() function but it fires before the ppr is rendered, thus my js has no effect. 

I&#039;ll try and overload the $a_report() built-in function and see what happens. I&#039;m using apex 3.2.

Cheers,
Sutherland</description>
		<content:encoded><![CDATA[<p>Thanks Chris,</p>
<p>I&#8217;m trying to implement row highlighting using jquery. It works fine when the report initially loads, but does not using ppr report navigation. I tried overloading the init_htmlPPRReport() function but it fires before the ppr is rendered, thus my js has no effect. </p>
<p>I&#8217;ll try and overload the $a_report() built-in function and see what happens. I&#8217;m using apex 3.2.</p>
<p>Cheers,<br />
Sutherland</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-43375</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 23 Jun 2010 06:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-43375</guid>
		<description>Hi Sutherland,

The only way I could get additional javascript to fire before/after the PPR is to overload the $a_report() function on each page that I want non-standard functionality.

It is a litle clunky, but without modifying the seeded Apex JS there is very little else that can be done!

Cj</description>
		<content:encoded><![CDATA[<p>Hi Sutherland,</p>
<p>The only way I could get additional javascript to fire before/after the PPR is to overload the $a_report() function on each page that I want non-standard functionality.</p>
<p>It is a litle clunky, but without modifying the seeded Apex JS there is very little else that can be done!</p>
<p>Cj</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sutherland</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-43346</link>
		<dc:creator>Sutherland</dc:creator>
		<pubDate>Wed, 23 Jun 2010 00:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-43346</guid>
		<description>I think using the methods above will execute before the ppr is rendered. Is there a way to execute after the ppr is rendered???

Cheers,
Sutherland</description>
		<content:encoded><![CDATA[<p>I think using the methods above will execute before the ppr is rendered. Is there a way to execute after the ppr is rendered???</p>
<p>Cheers,<br />
Sutherland</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-27783</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Tue, 09 Mar 2010 13:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-27783</guid>
		<description>Hi Patrick.
Can this be done in an interactive report?
I&#039;m having an issue with a jquery library where the library setting is missing when the report pagination is used.
The best solution would be to set the library each time the report pagination is used. So I tried to use your solution (recommended by a colleague), but I can&#039;t make it work.

Best regards,
Max.</description>
		<content:encoded><![CDATA[<p>Hi Patrick.<br />
Can this be done in an interactive report?<br />
I&#8217;m having an issue with a jquery library where the library setting is missing when the report pagination is used.<br />
The best solution would be to set the library each time the report pagination is used. So I tried to use your solution (recommended by a colleague), but I can&#8217;t make it work.</p>
<p>Best regards,<br />
Max.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-25419</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 09 Feb 2010 13:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-25419</guid>
		<description>Hi again Patrick,

I think I may have answered my own question there. The issue seems to be because I am using Pagination Type - &quot;Search Engine&quot; as opposed to &quot;Rows X to Y&quot;

Please see an example on my ApEx page and the different way the 3 methods are being handled.

http://apex.oracle.com/pls/apex/f?p=41697:2

The First uses PPR by setting the attribute in the Report Attributes section. This is the method I want to work with.

The 2nd method uses the Search Engine, without the PPR attribute set in the Report attribute, this does not use Ajax calls and submits the page each time.

The 3rd method uses the Rows X to Y pagination and performs as per your example.

My quesstion then is how can I make additional javascript fire when using the &quot;Search Engine&quot; method and PPR?

I look forward to hearing any suggestions from you.

Kindest Regards,

Chris

Email: chris.brown@swiftwind.co.uk</description>
		<content:encoded><![CDATA[<p>Hi again Patrick,</p>
<p>I think I may have answered my own question there. The issue seems to be because I am using Pagination Type &#8211; &#8220;Search Engine&#8221; as opposed to &#8220;Rows X to Y&#8221;</p>
<p>Please see an example on my ApEx page and the different way the 3 methods are being handled.</p>
<p><a href="http://apex.oracle.com/pls/apex/f?p=41697:2" rel="nofollow" target="_blank" class="liexternal">http://apex.oracle.com/pls/apex/f?p=41697:2</a></p>
<p>The First uses PPR by setting the attribute in the Report Attributes section. This is the method I want to work with.</p>
<p>The 2nd method uses the Search Engine, without the PPR attribute set in the Report attribute, this does not use Ajax calls and submits the page each time.</p>
<p>The 3rd method uses the Rows X to Y pagination and performs as per your example.</p>
<p>My quesstion then is how can I make additional javascript fire when using the &#8220;Search Engine&#8221; method and PPR?</p>
<p>I look forward to hearing any suggestions from you.</p>
<p>Kindest Regards,</p>
<p>Chris</p>
<p>Email: <a href="mailto:chris.brown@swiftwind.co.uk" class="limailto">chris.brown@swiftwind.co.uk</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-25416</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 09 Feb 2010 13:14:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-25416</guid>
		<description>Hi Patrick,

Thank you very much for getting back to me.

I have tried to use your example in ApEx 3.1 with the &quot;Enable Partial Page Refresh&quot; set to &quot;Yes&quot;, and the modifications made to my Report region (added  etc and the call to the init_htmlPPRReport function.

The function is called, and an alert is shown when the page is first rendered, but when I click the pagination links (Using Scheme &quot;Search Engine&quot;) the report region is refreshed using PPR as expected, but the Javascript to generate the alert does not seem to be being fired.

Is this due to the Pagination Scheme that I am using, or is there something else that I may have overlooked with regards to $a_report?

I look forward to hearing from you regarding this.

Kindest Regards,

Chris</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>Thank you very much for getting back to me.</p>
<p>I have tried to use your example in ApEx 3.1 with the &#8220;Enable Partial Page Refresh&#8221; set to &#8220;Yes&#8221;, and the modifications made to my Report region (added  etc and the call to the init_htmlPPRReport function.</p>
<p>The function is called, and an alert is shown when the page is first rendered, but when I click the pagination links (Using Scheme &#8220;Search Engine&#8221;) the report region is refreshed using PPR as expected, but the Javascript to generate the alert does not seem to be being fired.</p>
<p>Is this due to the Pagination Scheme that I am using, or is there something else that I may have overlooked with regards to $a_report?</p>
<p>I look forward to hearing from you regarding this.</p>
<p>Kindest Regards,</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wolf</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-25398</link>
		<dc:creator>Patrick Wolf</dc:creator>
		<pubDate>Tue, 09 Feb 2010 10:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-25398</guid>
		<description>Hi Chris,

you can use the same for $a_report as well.

regards
Patrick</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>you can use the same for $a_report as well.</p>
<p>regards<br />
Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-25001</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 04 Feb 2010 14:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-25001</guid>
		<description>Hi Patrick,

I am using ApEx 3.1, and want to do something similar to this, but using the $a_report function.

Do you have any idea how this could be done as your example seems to only work for the &quot;old&quot; way of having PPR report templates, and not the &quot;Enable Partial Page Refresh&quot; option in the Report options.

I look forward to hearing from you.

Kind Regards,

Chris</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>I am using ApEx 3.1, and want to do something similar to this, but using the $a_report function.</p>
<p>Do you have any idea how this could be done as your example seems to only work for the &#8220;old&#8221; way of having PPR report templates, and not the &#8220;Enable Partial Page Refresh&#8221; option in the Report options.</p>
<p>I look forward to hearing from you.</p>
<p>Kind Regards,</p>
<p>Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Wolf</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-1029</link>
		<dc:creator>Patrick Wolf</dc:creator>
		<pubDate>Wed, 04 Jul 2007 06:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-1029</guid>
		<description>Great to hear, Carl! Looking forward to 3.1 :-)&lt;br/&gt;&lt;br/&gt;Patrick</description>
		<content:encoded><![CDATA[<p>Great to hear, Carl! Looking forward to 3.1 <img src='http://www.inside-oracle-apex.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Backstrom</title>
		<link>http://www.inside-oracle-apex.com/how-to-run-javascript-code-for-ppr-report/comment-page-1/#comment-1028</link>
		<dc:creator>Carl Backstrom</dc:creator>
		<pubDate>Wed, 04 Jul 2007 04:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.inside-oracle-apex.com/en/?p=148#comment-1028</guid>
		<description>Nice example.&lt;br/&gt;There is a couple places in the Builder we have to do similar things.&lt;br/&gt;&lt;br/&gt;It will be a bit easier in 3.1 as the PPR reports and other Report AJAX/DHTML functionality will be encapsulated in a javascript object.  Namespaced and everything ;)&lt;br/&gt;&lt;br/&gt;Carl</description>
		<content:encoded><![CDATA[<p>Nice example.<br />There is a couple places in the Builder we have to do similar things.</p>
<p>It will be a bit easier in 3.1 as the PPR reports and other Report AJAX/DHTML functionality will be encapsulated in a javascript object.  Namespaced and everything <img src='http://www.inside-oracle-apex.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Carl</p>
]]></content:encoded>
	</item>
</channel>
</rss>

