<?xml version="1.0" encoding="UTF-8"?>




<rss version="2.0"> <channel> <title>Evernote Openbook: Apex tips</title>
<link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips</link>
<description>Notes from sstryker58&#039;s  Evernote Openbook: Apex tips</description> 

  
  <lastBuildDate>Tue, 27 Oct 2009 17:43:46 GMT</lastBuildDate>
 
  
  <item> <title>REST Now Supported in flex_ws_api and Other Good Stuff</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2900ae27-40d2-4491-97fc-19b276f15646</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2900ae27-40d2-4491-97fc-19b276f15646"><img align="right" src="http://www.evernote.com/shard/s1/thumb/2900ae27-40d2-4491-97fc-19b276f15646"/></a>
        <div class="ennote">
<div><div>

<div></div></div></div>
<div><div>


<a shape="rect" href="#main">skip to main </a> |
      <a shape="rect" href="#sidebar">skip to sidebar</a>

<div>
<div><div>
<div>
<div>

<a shape="rect" href="http://jastraub.blogspot.com/" target="_blank">Application Express Nuggets</a>

</div>
<div>
<p>(The views expressed here are my own and do not necessarily reflect the views of Oracle.)</p>
</div>
</div>
</div></div>
</div>
<div>
<div><p align="center">
</p><div></div>
</div>
<div>
<div><div>
<div>

Friday, October 23, 2009
<div>
<a shape="rect" name="8345988877547762316"></a>

<a shape="rect" href="http://jastraub.blogspot.com/2009/10/rest-now-supported-in-flexwsapi-and.html" target="_blank">REST Now Supported in flex_ws_api and Other Good Stuff</a>

<div></div>
<div>
<p>I have finally added support for consuming RESTful Web services in the <a shape="rect" href="http://jastraub.blogspot.com/2008/06/flexible-web-service-api.html" target="_blank">flex_ws_api API</a>. I have also added new globals in the API to keep track of cookies, HTTP headers and the response code returned from a service. There is also a global you can populate prior to calling any of the make_request procedure/functions that will send cookies along with the request to the Web service.<br clear="none"/></p><p>To demonstrate using the new features of the API, I will walk you through creating a new application that will call the RESTful version of <a shape="rect" href="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2432&amp;categoryID=19" target="_blank">Amazon's Product Advertising API</a>. You may recall <a shape="rect" href="http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html" target="_blank">from a previous post</a> that Amazon now requires that all requests to this API are signed with the developer's secret key. This example will assume that you have compiled the following in your schema: the new flex_ws_api, the java source hmacSHA256, the pl/sql function hmacSHA256, and finally the amazon_signature function.<br clear="none"/></p><p>First create a new application with one blank page called Product Search. Modify the application attributes and add the following substitutions:<br clear="none"/></p><ol><li>AWSACCESSKEY<br clear="none"/></li><li>ASSOCIATETAG<br clear="none"/></li><li>AWSSECRETKEY<br clear="none"/></li></ol><p>Enter the appropriate values with the values that match your AWS credentials. You will need to sign up for an <a shape="rect" href="http://aws.amazon.com/" target="_blank">AWS Access Key ID</a> which will also give you your secret code and you also should sign up to be an <a shape="rect" href="http://associates.amazon.com/exec/panama/associates/apply" target="_blank">associate</a> which will give you your associate tag.<br clear="none"/></p><p>Next create an HTML region called Product Search (if it was not already created by the create application wizard) and place the following items in that region:<br clear="none"/></p><ol><li>Name: P1_KEYWORDS, Display As: Text Field<br clear="none"/>   </li><li>Name: P1_SEARCHINDEX, Display As: Select List, List of Values – Display Extra Values: No, List of values definition: STATIC2:All;All,Apparel;Apparel,Automotive;Automotive,Baby;Baby,Beauty;Beauty,Books;Books,Classical;Classical,DigitalMusic;DigitalMu...</li></ol></div></div></div></div></div></div></div></div></div></div>
    
    ]]></description> <pubDate>Tue, 27 Oct 2009 17:43:46 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2900ae27-40d2-4491-97fc-19b276f15646</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/2900ae27-40d2-4491-97fc-19b276f15646"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>BUG / Interactive Report - Advanced Attributes - Page Items to Submit</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#8dba9f3f-c30a-4474-9ed2-dcdb63fbddf6</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<div>BUG / Interactive Report - Advanced Attributes - Page Items to Submit<br clear="none"/>Posted: Jul 15, 2009 7:52 AM</div>
<div> </div>
<div>Hi everyone,<br clear="none"/>
<br clear="none"/>
Yesterday, I had to use a nice feature of the interactive reports. But quickly, I faced a problem.<br clear="none"/>
<br clear="none"/>
Here's the situation<br clear="none"/>
<br clear="none"/>
1) The components (let's say we are on Page 1):<br clear="none"/>
- items:<br clear="none"/>
P1_FILTER_ACTIVITIES = Select List<br clear="none"/>
P1_FILTER_EMPLOYEES = Popup Key LOV (Displays description, returns key value) Important: the display value and the return value are not the same<br clear="none"/>
<br clear="none"/>
-region:<br clear="none"/>
1 Interactive Report using P1_FILTER_ACTIVITIES and P1_FILTER_EMPLOYEES in his Where Clause<br clear="none"/>
Advanced Attributes &gt; Page Items to Submit = P1_FILTER_ACTIVITIES,P1_FILTER_EMPLOYEES<br clear="none"/>
<br clear="none"/>
2) Refreshing the report<br clear="none"/>
When you refresh the report using his own search/refresh/go button, it calls a JavaScript function: gReport.search('SEARCH')<br clear="none"/>
The problem is that the value in the session state for item P1_FILTER_EMPLOYEES is not the return value of the Popup Key LOV, it's the display value... which doesn't make any sense in the interactive report's Where Clause<br clear="none"/>
<br clear="none"/>
3) My Workaround<br clear="none"/>
3.1) The components<br clear="none"/>
edit P1_FILTER_EMPLOYEES and put the following code<br clear="none"/>
Element &gt; HTML Form Element Attributes = onchange=&quot;$(this).updateSessionState({hidden:true});&quot;<br clear="none"/>
<br clear="none"/>
edit the interactive report<br clear="none"/>
Advanced Attributes &gt; Page Items to Submit = P1_FILTER_ACTIVITIES<br clear="none"/>
<br clear="none"/>
3.2) Required JavaScript Libraries<br clear="none"/>
- jQuery<br clear="none"/>
- <a href="http://apex.oracle.com/pls/otn/f?p=38200:1:0" shape="rect">jQuery Plug-In apex-session-0.0.3.js</a></div>
<p>Louis-Guillaume Carrier-Bédard<br clear="none"/>
blog: <a href="http://lgcarrier.blogspot.com/" shape="rect">lgcarrier</a><br clear="none"/>
site: <a href="http://www.apexquebec.com/" shape="rect">Apex Quebec</a><br clear="none"/>
<br clear="none"/>
Edited by: Louis-Guillaume on Jul 15, 2009 2:28 PM<br clear="none"/>
<br clear="none"/>
new version of apex-session-0.0.3.js</p>
</div>
    
    ]]></description> <pubDate>Tue, 01 Sep 2009 16:45:08 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#8dba9f3f-c30a-4474-9ed2-dcdb63fbddf6</guid> 
  
  </item>

  
  <item> <title>Google Visualization API : Organizational Chart</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#ca431bba-b47d-49d2-835f-e19dbcc057d9</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<div>
<a href="http://www.lgcarrier.com/2008/12/google-visualization-api-organizational.html" shape="rect">Google Visualization API : Organizational Chart</a>
<div>Posted on Friday, December 5, 2008 by Louis-Guillaume Carrier-Bédard</div>
<div></div>
<div>
<p>It's possible display the relationship of your company employees using the <a target="_blank" href="http://code.google.com/apis/visualization/documentation/gallery/orgchart.html" shape="rect">Google Visualization: Organizational Chart</a>.<br clear="none"/>
<br clear="none"/>
How it works:<br clear="none"/>
I use <a target="_blank" href="http://docs.jquery.com/Ajax/jQuery.ajax" shape="rect">jQuery AJAX</a> to call an application process called <a target="_blank" href="http://apex.oracle.com/pls/otn/f?p=987654321:39:0:APPLICATION_PROCESS=GET_EMPLOYEES_RELATIONSHIP" shape="rect">GET_EMPLOYEES_RELATIONSHIP</a>.<br clear="none"/>
The response is in JSON. I use jQuery to handle the JSON object.<br clear="none"/>
You need to store your chart data inside a &quot;google.visualization.DataTable()&quot; object.<br clear="none"/>
I use the same data table to feed the Table Chart and the Org. Chart.<br clear="none"/>
<br clear="none"/>
I created 2 examples.</p>
</div>
</div>
</div>
    
    ]]></description> <pubDate>Sat, 29 Aug 2009 15:34:57 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#ca431bba-b47d-49d2-835f-e19dbcc057d9</guid> 
  
  </item>

  
  <item> <title>Dan McGhan&#039;s Oracle Blog: Popup In Report</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#69f48b7d-8e4e-4d20-be55-031cd77f5ee0</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<div>
<a href="http://www.danielmcghan.us/2008/12/popup-in-report.html" shape="rect">Popup In Report</a>
<div></div>
<div>
<p>While recently <a href="http://forums.oracle.com/forums/thread.jspa?threadID=836067&amp;messageID=3168874" shape="rect">trying to help someone in the ApEx forum</a>, I decided a blog post was in order. If you have a report with limited real estate but need to allow the user to enter comments (requiring a textarea), what is the best strategy to employ? The person that posted the thread wanted to have something in the report that would allow the user to click it triggering a popup window to open allowing the user to edit the comments.</p>
<p>While that's possible, it doesn't involve jQuery which just isn't cool. So I thought of a way I could do it with jQuery ;) <a href="http://www.shellprompt.net/pls/apex/f?p=566:8" shape="rect">Click here to view the example.</a> One of my favorite jQuery plugins is Impromptu. Impromptu allows you to create custom popups with those slick background fades. You can learn more about Impromptu here:</p>
<ul><li><a href="http://trentrichardson.com/Impromptu/index.php" title="http://trentrichardson.com/Impromptu/index.php" shape="rect">http://trentrichardson.com/Impromptu/index.php</a></li></ul>
<p>I choose to show how this works with a canned tabular form as I figure that's what most people use. I almost always use custom tabular forms using the APEX_ITEM package but those of you doing that should be able to adjust this procedure to work in your implementation. Also it's important to note that a few things are lacking... The text displayed should indicate if a comment exists or not, the mouseover could indicate that a click would do something, and code could be added to remind the user to save changes if they made some and tried to navigate away from the page without doing so.</p>
</div>
</div>
</div>
    
    ]]></description> <pubDate>Fri, 28 Aug 2009 14:46:40 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#69f48b7d-8e4e-4d20-be55-031cd77f5ee0</guid> 
  
  </item>

  
  <item> <title>Oracle Application Express 3.2 – The Essentials and More</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#adb5fabb-ab03-4d6b-8fe1-4dc33d8886ad</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#adb5fabb-ab03-4d6b-8fe1-4dc33d8886ad"><img align="right" src="http://www.evernote.com/shard/s1/thumb/adb5fabb-ab03-4d6b-8fe1-4dc33d8886ad"/></a>
        <div class="ennote">


<div>Oracle Application Express 3.2 – The Essentials and More</div>
<div> </div>
<div><a href="http://www.packtpub.com/author_view_profile/id/371" shape="rect">Arie Geller</a>, <a href="http://www.packtpub.com/author_view_profile/id/372" shape="rect">Matthew Lyon</a></div>
<div> </div>
<a href="http://www.packtpub.com/oracle-application-express-3-2/book#" shape="rect"></a>
<div>Develop Oracle database-centric web applications quickly and easily with Oracle Application Express</div>
<div> </div>
<ul><li>Grasp the principles behind APEX to develop data-centric native web applications, for the Oracle environment</li><li>Gain better understanding the major principles and building blocks of APEX, like the IDE and its modules</li><li>Review APEX-related technologies like HTML and the DOM, CSS, and JavaScript, which will help you to develop better, richer, and more efficient APEX applications</li><li>Learn to Globalize APEX applications, including Right-To-Left support</li><li>This book covers APEX version 3.2, but the information is broadly applicable to all 3.x versions</li><li><a href="http://www.packtpub.com/oracle-application-express-3-2/book#indetail" shape="rect">In More Detail</a></li></ul>
<div> </div>
<div>Expected January 2010. Pre-order now!</div>
Cover price  $54.99 Packt Special Offer  $49.49 save 10% Multi-buy Discount  $45.09 save 18%order two or more itemsChange Currency  <a href="http://www.packtpub.com/oracle-application-express-3-2/book#" shape="rect">what is this?</a> <a href="http://www.packtpub.com/oracle-application-express-3-2/book#" shape="rect">Free shipping! US, UK, Europe &amp; selected Asian countries</a><br clear="none"/>
<a href="http://www.packtpub.com/oracle-application-express-3-2/book#" shape="rect">Pre-order offer terms</a><br clear="none"/>
<a href="http://www.packtpub.com/oracle-application-express-3-2/book#" shape="rect">Where else can I buy this book?</a><br clear="none"/>
<br clear="none"/>
Also available from: 

 

<div> </div>

<a name="ebook" shape="rect">eBook Version</a>
<div><a name="ebook" shape="rect"></a></div>
<div align="center"><a name="ebook" shape="rect"><br clear="none"/>
<br clear="none"/>
eBooks are non returnable and non refundable.<br clear="none"/></a><a href="http://www.packtpub.com/oracle-application-express-3-2/book#" shape="rect">Packt eBook Licence agreement</a></div>
<br clear="none"/>

<div>Adobe PDF eBook<br clear="none"/>
Oracle Application Express 3.2 – The Essentials and More [eBook]</div>
<div>Expected January 2010 - Pre-order now!</div>
<div>Packt eBooks are a low cost and immediate companion or alternative to print books. Packt eBooks can be printed and are now copy-paste enabled.<br clear="none"/>
<a href="http://www.packtpub.com/oracle-application-express-3-2/book#" shape="rect">Packt eBook User Guide</a><br clear="none"/>
<br clear="none"/>
Buy two or more eBooks and get 45% off</div>

 eBook only$43.99<br clear="none"/>
$30.79Save 30% off eBook  Book and eBook bundle$85.78<br clear="none"/>
$56.09 <br clear="none"/>
Save 10% off Book &amp; 85% off eBook



<div><a href="http://www.packtpub.com/free" shape="rect">Request a Review Copy</a><br clear="none"/>
<a href="http://www.packtpub.com/feedback/book/oracle-application-express-3-2" shape="rect">Send us feedback on this title</a><br clear="none"/>
<a href="http://www.packtpub.com/contact/book/oracle-application-express-3-2" shape="rect">Ask a question about this title<br clear="none"/></a>Book Details</div>

<div>Language English<br clear="none"/>
Paperback 520 pages [191mm x 235mm]<br clear="none"/>
Release date Expected January 2010<br clear="none"/>
ISBN 1847194524<br clear="none"/>
ISBN 13 978-1-847194-52-7<br clear="none"/>
Author(s) <a href="http://www.packtpub.com/author_view_profile/id/371" shape="rect">Arie Geller</a>, <a href="http://www.packtpub.com/author_view_profile/id/372" shape="rect">Matthew Lyon</a><br clear="none"/>
Topics and Technologies <a href="http://www.packtpub.com/books/topic/15" shape="rect">AJAX</a>, <a href="http://www.packtpub.com/books/topic/20" shape="rect">Web Development</a>, <a href="http://www.packtpub.com/books/topic/21" shape="rect">Oracle</a></div>





<p>Special eBook Discount Offer</p>

<a href="http://www.packtpub.com/oracle-application-express-3-2/book" shape="rect"></a>+<a href="http://www.packtpub.com/oracle-application-express-forms-converter/book" shape="rect"></a>Buy this eBook with <a href="http://www.packtpub.com/oracle-application-express-forms-converter/book" shape="rect">Oracle Application Express Forms Converter</a> eBook and get 50% dis...</div>
    
    ]]></description> <pubDate>Sun, 23 Aug 2009 23:46:35 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#adb5fabb-ab03-4d6b-8fe1-4dc33d8886ad</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/adb5fabb-ab03-4d6b-8fe1-4dc33d8886ad"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Validations using Ajax</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#7d38246b-4841-49fa-9d95-ff4339b48564</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#7d38246b-4841-49fa-9d95-ff4339b48564"><img align="right" src="http://www.evernote.com/shard/s1/thumb/7d38246b-4841-49fa-9d95-ff4339b48564"/></a>
        <div class="ennote">
<div><div>

<div></div></div></div>
<div><div><div><div>
<div>
<div><div>
<div>
<div>

<a shape="rect" href="http://deneskubicek.blogspot.com/" target="_blank">Denes Kubicek ApEx BLOG</a>

</div>
<div>
<p>
</p>
</div>
</div>
</div></div>
<div><p align="center">
</p><div></div>
</div>
<div>
<div><div>
<div>

Friday, 21 August 2009
<div>
<a shape="rect" name="7203464350502805319"></a>

<a shape="rect" href="http://deneskubicek.blogspot.com/2009/08/validations-using-ajax.html" target="_blank">Validations using Ajax</a>

<div></div>
<div>
<p>I posted about this in October 2008 but in different context. <a shape="rect" href="http://apex.oracle.com/pls/otn/f?p=31517:217" target="new">This</a> example in my <a shape="rect" href="http://apex.oracle.com/pls/otn/f?p=31517:1" target="new">Demo Application</a> shows how to use Ajax for item validation. I use this method in some cases where I can't allow the page to be submited but have to inform the user before he hits the submit button. Also, if user enters something invalid, it will overwrite that with a previous valid value.<br clear="none"/><br clear="none"/><a shape="rect" href="http://3.bp.blogspot.com/_y49oG7ohpQE/So58TudYFLI/AAAAAAAAASM/F97PhCLpjr8/s1600-h/screenshot.6.png" target="_blank"></a><br clear="none"/></p><p/>
<div></div>
</div>
<div>
<p>
Posted by
Denes Kubicek


on
<a shape="rect" href="http://deneskubicek.blogspot.com/2009/08/validations-using-ajax.html" title="permanent link" target="_blank">8/21/2009 12:54:00 PM</a>





<a shape="rect" href="http://www.blogger.com/email-post.g?blogID=1561253375800464394&amp;postID=7203464350502805319" title="Email Post" target="_blank">
 
</a>


<a shape="rect" href="http://www.blogger.com/post-edit.g?blogID=1561253375800464394&amp;postID=7203464350502805319" title="Edit Post" target="_blank">

</a>


</p>
<p>

</p>
<p/>
</div>
</div>
<div>
<a shape="rect" name="comments"></a>


          1 Comments:
        


<a shape="rect" name="c833729053799556192"></a>
Anonymous
said...

<p>Nice!<br clear="none"/><br clear="none"/>Having logic built into APEX to raise &quot;Warning&quot; level messages would be a great enhancement.<br clear="none"/><br clear="none"/>Thanks!</p>


<a shape="rect" href="http://deneskubicek.blogspot.com/2009/08/validations-using-ajax.html?showComment=1250865190815#c833729053799556192" title="comment permalink" target="_blank">
21 August 2009 16:33
</a>

<a shape="rect" href="http://www.blogger.com/delete-comment.g?blogID=1561253375800464394&amp;postID=833729053799556192" title="Delete Comment" target="_blank">

</a>



<p>
<a shape="rect" href="https://www.blogger.com/comment.g?blogID=1561253375800464394&amp;postID=7203464350502805319&amp;isPopup=true" target="_blank">Post a Comment</a>
</p>
<div>
<div>
<a shape="rect" name="links"></a>

<p>
<a shape="rect" target="_blank">
</a>
</p>
</div>
</div>
</div>

</div>
<div>

<a shape="rect" href="http://deneskubicek.blogspot.com/2009/08/become-better-apex-developer.html" title="Older Post" target="_blank">Older Post</a>

<a shape="rect" href="http://deneskubicek.blogspot.com/" target="_blank">Home</a>
</div>
<div></div>
<div>
<div>
Subscribe to:
<a shape="rect" href="http://deneskubicek.blogspot.com/feeds/7203464350502805319/comments/default" target="_blank" type="application/atom+xml">Post Comments (Atom)</a>
</div>
</div>
</div></div>
</div>
<div>
<div><div>
About Me
<div>
Denes Kubicek
<a shape="rect" href="http://www.blogger.com/profile/01962373591521960882" target="_blank">View my complete profile</a>
<div></div>


<a shape="rect" href="http://www.blogger.com/rearrange?blogID=1561253375800464394&amp;widgetType=Profile&amp;widgetId=Profile1&amp;action=editWidget" target="configProfile1" title="Edit">

</a>


<div></div>
</div>
</div><div>
<div>

<br clear="none"/>
</div>
<div></div>


<a shape="rect" href="http://www.blogger.com/rearrange?blogID=1561253375800464394&amp;widgetType=Image&amp;widgetId=Image1&amp;action=editWidget" target="configImage1" title="Edit">

</a>


<div></div>
</div><div>
Learn ApEx
<div>
<a shape="rect" href="http://htmldb.oracle.com/pls/otn/f?p=31517:1" target="_new">My ApEx Demo Application</a>
<br clear="none"/>
<a shape="rect" href="http://www.opal-consulting.de/" target="_new">Apex Training</a>
<div>
<a shape="rect" href="http://www.opal-consulting.de/" target="_blank"></a>
</div>
</div>
<div></div>


<a shape="rect" href="http://www.blogger.com/rearrange?blogID=1561253375800464394&amp;widgetType=HTML&amp;widgetId=HTML1&amp;action=editWidget" target="configHTML1" title="Edit">

</a>


<div></div>
</div><div>
Blog Archive
<div>
<div>
<div>
<ul><li>
<a shape="rect" href="#">
▼ 
</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/search?updated-min=2009-01-01T00%3A00%3A00%2B01%3A00&amp;updated-max=2010-01-01T00%3A00%3A00%2B01%3A00&amp;max-results=19" target="_blank">2009</a>
(19)

<a shape="rect" href="#">
▼ 
</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2009_08_01_archive.html" target="_blank">August</a>
(3)
<a shape="rect" href="http://deneskubicek.blogspot.com/2009/08/validations-using-ajax.html" target="_blank">Validations using Ajax</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/08/become-better-apex-developer.html" target="_blank">Become a better Apex Developer</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/08/search-and-edit-form-with-report.html" target="_blank">Search and Edit Form with Report</a>


<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2009_06_01_archive.html" target="_blank">June</a>
(6)
<a shape="rect" href="http://deneskubicek.blogspot.com/2009/06/use-lightbox-2-in-apex.html" target="_blank">Use Lightbox 2 in Apex</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/06/tabular-forms-autofill.html" target="_blank">Tabular Forms - Autofill</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/06/how-to-debug-ajax-and-on-demand.html" target="_blank">How to Debug Ajax and On Demand Processes</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/06/magic-page-0.html" target="_blank">Magic Page 0</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/06/function-returning-links.html" target="_blank">Function Returning Links</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/06/applying-css-conditionally.html" target="_blank">Applying CSS Conditionally</a>


<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2009_05_01_archive.html" target="_blank">May</a>
(5)
<a shape="rect" href="http://deneskubicek.blogspot.com/2009/05/checking-authorization-scheme-within.html" target="_blank">Checking an Authorization Scheme within a PL/SQL B...</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/05/execute-javascript-throuhg-plsql.html" target="_blank">Execute Javascript through PL/SQL</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/05/switch-between-apex-versions.html" target="_blank">Switch between Apex Versions</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/05/one-million-pageclicks-per-year.html" target="_blank">One Million Pageviews per Year</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/05/new-training-september-2009.html" target="_blank">New Training - September 2009</a>


<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2009_03_01_archive.html" target="_blank">March</a>
(1)
<a shape="rect" href="http://deneskubicek.blogspot.com/2009/03/using-oracle-text-with-table-data.html" target="_blank">Using Oracle Text with Table Data</a>


<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2009_01_01_archive.html" target="_blank">January</a>
(4)
<a shape="rect" href="http://deneskubicek.blogspot.com/2009/01/apex-stammtisch.html" target="_blank">Apex Stammtisch</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/01/custom-export-to-csv-again.html" target="_blank">Custom Export to CSV (again)</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/01/ajax-setting-item-session-state.html" target="_blank">Setting Item Session State using Ajax</a><a shape="rect" href="http://deneskubicek.blogspot.com/2009/01/apex-training.html" target="_blank">Apex Training</a>

</li></ul>
<ul><li>
<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/search?updated-min=2008-01-01T00%3A00%3A00%2B01%3A00&amp;updated-max=2009-01-01T00%3A00%3A00%2B01%3A00&amp;max-results=39" target="_blank">2008</a>
(39)

<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2008_10_01_archive.html" target="_blank">October</a>
(3)
<a shape="rect" href="http://deneskubicek.blogspot.com/2008/10/dynamic-charts.html" target="_blank">Dynamic Charts</a><a shape="rect" href="http://deneskubicek.blogspot.com/2008/10/tabular-form-checkbox-for-setting.html" target="_blank">Tabular Form - Checkbox for Setting values to 'Y' ...</a><a shape="rect" href="http://deneskubicek.blogspot.com/2008/10/validation-with-ajax.html" target="_blank">Validation with Ajax</a>


<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2008_09_01_archive.html" target="_blank">September</a>
(2)
<a shape="rect" href="http://deneskubicek.blogspot.com/2008/09/oow.html" target="_blank">OOW</a><a shape="rect" href="http://deneskubicek.blogspot.com/2008/09/oracle-forums-splash.html" target="_blank">Oracle Forums Splash</a>


<a shape="rect" href="#">


          ► 
        

</a>
<a shape="rect" href="http://deneskubicek.blogspot.com/2008_08_01_archive.html" target="_blank">August</a>
(7)
<a shape="rect" href="http://deneskubicek.blogspot.com/2008/08/whats-wrong-with-oracle-forum.html" target="_blank">What's wrong with the Oracle Forum?</a><a shape="rect" href="http://deneskubicek.blogspot.com/2008/08/oracle-text-in-five-short-steps.html" target="_blank">Oracle Text in Five...</a></li></ul></div></div></div></div></div></div></div></div></div></div></div></div>
    
    ]]></description> <pubDate>Sun, 23 Aug 2009 23:36:00 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#7d38246b-4841-49fa-9d95-ff4339b48564</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/7d38246b-4841-49fa-9d95-ff4339b48564"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Capturing Keystrokes in a Web Application</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2f30a39c-117a-4f96-8c80-074ceeca5e08</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2f30a39c-117a-4f96-8c80-074ceeca5e08"><img align="right" src="http://www.evernote.com/shard/s1/thumb/2f30a39c-117a-4f96-8c80-074ceeca5e08"/></a>
        <div class="ennote">
<a href="http://dgielis.blogspot.com/2009/08/using-keystrokes-in-web-application.html" shape="rect">Using Keystrokes in a Web Application</a>
Thursday, August 13, 2009
<p><a href="http://4.bp.blogspot.com/_tffIKLFlRlY/SoSR2HW9fuI/AAAAAAAAFQg/Cl6VYhd-4PQ/s1600-h/Picture+5.png" shape="rect"></a></p>
<p>There was an interesting question in the <a href="http://forums.oracle.com/forums/thread.jspa?messageID=3690007%EF%BF%BD" shape="rect">APEX Forum</a> of somebody wanting to use the keyboard to control the screen.<br clear="none"/>
<br clear="none"/>
Controlling your screen with the keyboard is a challenge when you are in a web environment as you can be on different platforms and have different browsers that are not always acting the same way.<br clear="none"/>
<br clear="none"/>
I created a quick <a href="http://examples.apex-evangelists.com/pls/apex/f?p=286:59:0" shape="rect">APEX page</a> and included some javascript to enable that page to know what keys are typed from the keyboard. During testing I thought about what would happen with a text item and you want to type something in there... you don't want that something happens then (e.g. submitting the page when you hit S). Luckily in javascript you can control that as well.</p>
<div><br clear="none"/><br clear="none"/>
<br clear="none"/>
&lt;script type=&quot;text/javascript&quot;&gt;<br clear="none"/>
function checkKeyPress(evt) {<br clear="none"/>
 // get events<br clear="none"/>
 var evt = (evt) ? evt : ((event) ? event : null);<br clear="none"/>
 if (!evt) return true;<br clear="none"/>
 // get where you are on the page<br clear="none"/>
 var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);<br clear="none"/>
 // if you are in a text item show this alert otherwise another<br clear="none"/>
 if (node.type == &quot;text&quot;)<br clear="none"/>
    alert('in item:' + evt.keyCode + ': ' + String.fromCharCode(evt.keyCode));<br clear="none"/>
 else<br clear="none"/>
    alert(evt.keyCode + ': ' + String.fromCharCode(evt.keyCode));<br clear="none"/>
}<br clear="none"/>
<br clear="none"/>
// on every Key Down, run the function to check which key was hit<br clear="none"/>
document.onkeydown = checkKeyPress;<br clear="none"/>
<br clear="none"/>
&lt;/script&gt;</div>
<p>Posted by Dimitri Gielis at <a href="http://dgielis.blogspot.com/2009/08/using-keystrokes-in-web-application.html" shape="rect">23:39</a> <a href="http://www.blogger.com/email-post.g?blogID=21122514&amp;postID=5296461619243271345" shape="rect"></a> <a href="http://www.addthis.com/bookmark.php?v=120&amp;winname=addthis&amp;pub=dgielis&amp;source=men-120&amp;lng=en-US&amp;s=&amp;url=http%3A%2F%2Fdgielis.blogspot.com%2F2009%2F08%2Fusing-keystrokes-in-web-application.html&amp;title=Using%20Keystrokes%20in%20a%20Web%20Application&amp;logo=&amp;logobg=&amp;logocolor=&amp;ate=AT-dgielis/-/0/825428e88f89f8/1/4a4e32913d23fbb9&amp;CXNID=2000001.5215456080540439074NXC&amp;pre=http%3A%2F%2Fdgielis.blogspot.com%2F2009%2F08%2Fusing-keystrokes-in-web-application.html" shape="rect"></a></p>
<p>Labels: <a href="http://dgielis.blogspot.com/search/label/keystrokes" shape="rect">keystrokes</a></p>
<div> </div>
<a name="comments" shape="rect">2 comments:</a>
<div><a name="c3781664008258301161" shape="rect"> Anonymous said...</a></div>

<p><a name="c3781664008258301161" shape="rect">This might come in handy. Especially in 4.0 if jquery will be encluded:<br clear="none"/>
<br clear="none"/>
http://code.google.com/p/js-hotkeys/</a></p>
<div><a href="http://dgielis.blogspot.com/2009/08/using-keystrokes-in-web-application.html?showComment=1250224938752#c3781664008258301161" shape="rect">8/14/2009 6:42 AM</a> <a href="http://www.blogger.com/delete-comment.g?blogID=21122514&amp;postID=3781664008258301161" shape="rect"></a></div>

<div><a name="c3712563094548574511" shape="rect"> </a><a href="http://www.blogger.com/profile/15629209362377395020" shape="rect">Byte64</a> said...</div>

<p>Hi Dimitri,<br clear="none"/>
initially i found the navigation with the Mac rather difficult, but then i read the <a href="http://www.456bereastreet.com/archive/200906/enabling_keyboard_navigation_in_mac_os_x_web_browsers" shape="rect">following article</a> and things got definitely better.<br clear="none"/>
<br clear="none"/>
Bye!<br clear="none"/>
Flavio</p>
<div><a href="http://dgielis.blogspot.com/2009/08/using-keystrokes-in-web-application.html?showComment=1250238072649#c3712563094548574511" shape="rect">8/14/2009 10:21 AM</a> <a href="http://www.blogger.com/delete-comment.g?blogID=21122514&amp;postID=3712563094548574511" shape="rect"></a></div>

<p><a href="https://www.blogger.com/comment.g?blogID=21122514&amp;postID=5296461619243271345" shape="rect">Post a Comment</a></p>
<div> </div>
<a name="links" shape="rect">Links to this post</a>
<p><a href="http://www.blogger.com/blog-this.g" target="_blank" shape="rect">Create a Link</a></p>
<div><a href="http://dgielis.blogspot.com/2009/08/new-animation-in-apex-charts.html" shape="rect">Older Post</a> <a href="http://dgielis.blogspot.com/" shape="rect">Home</a></div>
<div>Subscribe to: <a href="http://dgielis.blogspot.com/feeds/5296461619243271345/comments/default" target="_blank" shape="rect">Post Comments (Atom)</a></div>
About Me
<div><a href="http://www.blogger.com/profile/16295721159626839167" shape="rect"></a></div>
<div>Dimitri Gielis</div>

<div>Leuven, Belgium</div>
<div>The views expressed are my own. The views and opinions expressed by visitors to this blog are theirs and do...</div></div>
    
    ]]></description> <pubDate>Mon, 17 Aug 2009 11:38:57 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2f30a39c-117a-4f96-8c80-074ceeca5e08</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/2f30a39c-117a-4f96-8c80-074ceeca5e08"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Integrating jQuery into Apex</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#f8b999c9-487a-4171-94c5-3a7a78f8ea1e</link>
  <description><![CDATA[
    
    
    
        
        <div style="background-color:#ffffff;" class="ennote">
<div><a href="http://lgcarrier.blogspot.com/2008/11/integrating-jquery.html" shape="rect">Integrating jQuery</a></div>
<div>With my colleagues at <a href="http://www.insum.ca/" target="_blank" shape="rect">Insum Solutions</a>, we started a demo application of what can be done with <a href="http://jquery.com/" target="_blank" shape="rect">jQuery</a> a JavaScript Library. So far, I have been impressed by the simplicity of the tool.<br clear="none"/>
<br clear="none"/>
Our <a href="http://www.insum.ca/jquery" target="_blank" shape="rect">demo application of jQuery and APEX</a> is available right now! Give it a try, the url is: <a href="http://www.insum.ca/jquery" target="_blank" shape="rect">http://www.insum.ca/jquery</a>.<br clear="none"/>
<br clear="none"/>
We are waiting for your comments and suggestions.<br clear="none"/>
You can contact us at <a href="mailto:demo@insum.ca%3Fsubject=jQuery%20and%20APEX" shape="rect">demo@insum.ca</a>.</div>
</div>
    
    ]]></description> <pubDate>Sat, 15 Aug 2009 14:00:56 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#f8b999c9-487a-4171-94c5-3a7a78f8ea1e</guid> 
  
  </item>

  
  <item> <title>How to resolve %null% issue in APEX LOVs</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a9ade800-cc08-47d7-93cc-6aba3bdaaec5</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a9ade800-cc08-47d7-93cc-6aba3bdaaec5"><img align="right" src="http://www.evernote.com/shard/s1/thumb/a9ade800-cc08-47d7-93cc-6aba3bdaaec5"/></a>
        <div class="ennote">
<div>
<a href="http://apex-smb.blogspot.com/2009/07/how-to-resolve-null-issue-in-apex-lovs.html" shape="rect">How to resolve %null% issue in APEX LOVs</a>
<div></div>
<div><a href="http://www.inside-oracle-apex.com/" shape="rect">Patrick Wolf</a> mentioned this at <a href="http://www.odtugkaleidoscope.com/" shape="rect">ODTUG Kaleidoscope</a> this year.<br clear="none"/>
<br clear="none"/>
After you implement your first LOV in an APEX application you'll quickly learn about the %null% problem. APEX substitutes an empty string for Null return value as %null%.<br clear="none"/>
<br clear="none"/>
They're several workarounds, like using &quot;-1&quot; as the NULL value. Or modifying your query using &quot;'%' || 'null%'&quot;. For example:<br clear="none"/>
<br clear="none"/>
<div>
<div>
<div><a href="http://apex-smb.blogspot.com/2009/07/how-to-resolve-null-issue-in-apex-lovs.html#viewSource" title="view source" shape="rect">view source</a>
<div></div><a href="http://apex-smb.blogspot.com/2009/07/how-to-resolve-null-issue-in-apex-lovs.html#printSource" title="print" shape="rect">print</a><a href="http://apex-smb.blogspot.com/2009/07/how-to-resolve-null-issue-in-apex-lovs.html#about" title="?" shape="rect">?</a></div>
</div>
<div>
<div>1.SELECT ename,</div>
<div>2.       empno</div>
<div>3.  FROM emp</div>
<div>4. WHERE empno = DECODE (:p_empno, '%' || 'null%', empno, NULL, empno, :p_empno)</div>
</div>
</div>
<br clear="none"/>
<br clear="none"/>
Instead of using workarounds you can convert %null% to NULL (empty string) by creating the following application process:<br clear="none"/>
<br clear="none"/>
Application Process: AP_SET_LOV_NULLS<br clear="none"/>
Process Point: On Submit - Before Computations and Validations<br clear="none"/>
<div>
<div>
<div><a href="http://apex-smb.blogspot.com/2009/07/how-to-resolve-null-issue-in-apex-lovs.html#viewSource" title="view source" shape="rect">view source</a>
<div></div><a href="http://apex-smb.blogspot.com/2009/07/how-to-resolve-null-issue-in-apex-lovs.html#printSource" title="print" shape="rect">print</a><a href="http://apex-smb.blogspot.com/2009/07/how-to-resolve-null-issue-in-apex-lovs.html#about" title="?" shape="rect">?</a></div>
</div>
<div>
<div>01.BEGIN</div>
<div>02.  FOR x IN (SELECT *</div>
<div>03.              FROM (SELECT item_name</div>
<div>04.                      FROM apex_application_page_items aapi</div>
<div>05.                     WHERE aapi.application_id = :app_id</div>
<div>06.                       AND aapi.page_id = :app_page_id</div>
<div>07.                       AND LOWER (aapi.lov_display_null) = 'yes'</div>
<div>08.                       AND aapi.lov_definition IS NOT NULL</div>
<div>09.                       AND aapi.lov_null_value IS NULL</div>
<div>10.                       AND ROWNUM &gt; 0) x</div>
<div>11.             WHERE LOWER (v (x.item_name)) = '%' || 'null%') LOOP</div>
<div>12.    apex_util.set_session_state (x.item_name, NULL);</div>
<div>13.  END LOOP;</div>
<div>14.END;</div>
</div>
</div>
<div></div>
</div>
<div>
<div> <a name="HowtoresolvenullissueinAPEXLOVs" shape="rect"></a></div>
</div>
</div>
</div>
    
    ]]></description> <pubDate>Mon, 03 Aug 2009 19:21:46 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a9ade800-cc08-47d7-93cc-6aba3bdaaec5</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/a9ade800-cc08-47d7-93cc-6aba3bdaaec5"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>$x_disableItem function</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#711f24f6-3139-4871-ba56-e6d6dcf27a46</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#711f24f6-3139-4871-ba56-e6d6dcf27a46"><img align="right" src="http://www.evernote.com/shard/s1/thumb/711f24f6-3139-4871-ba56-e6d6dcf27a46"/></a>
        <div class="ennote">
<div>
<a href="http://apex-smb.blogspot.com/2009/07/apex-xdisableitem.html" shape="rect">APEX: $x_disableItem</a>
<div></div>
<div>I had an issue where I disabled a radio button (after selecting a value) using the APEX JavaScript function (<a href="http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/javascript_api.htm#CHDDAHDJ" shape="rect">$x_disableItem</a>) but my selected value wasn't being saved.<br clear="none"/>
<br clear="none"/>
After some testing I noticed that if I selected a value, disabled the radio, then submitted the page item's value would be null (empty string).<br clear="none"/>
<br clear="none"/>
<a href="http://4.bp.blogspot.com/_33EF80fk9sM/SnDhTxFCoLI/AAAAAAAADp8/_zigDWvuY9E/s1600-h/disableItem_01.bmp" shape="rect"></a><br clear="none"/>
You can view an example of this here: <a href="http://apex.oracle.com/pls/otn/f?p=20195:2200" shape="rect">http://apex.oracle.com/pls/otn/f?p=20195:2200</a><br clear="none"/>
<br clear="none"/>
They're several ways to fix this problem. The easiest would be to &quot;undisable&quot; (i.e. re-enable) the item before the page is submitted. I know &quot;undisable&quot; is not a word but to re-enable a page item you need to call the disable function: $x_disableItem('PX',false);</div>
</div>
</div>
    
    ]]></description> <pubDate>Mon, 03 Aug 2009 19:19:53 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#711f24f6-3139-4871-ba56-e6d6dcf27a46</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/711f24f6-3139-4871-ba56-e6d6dcf27a46"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Podcast Available - Application Express 4.0</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#ddfb18da-1c9f-4be3-94c7-879a07f2459b</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
Podcast Available - Application Express 4.0 by Mike Hichwa
<p>One of the highlights of ODTUG Kaleidoscope 2009 was Mike Hichwa's look at Application Express 4.0.</p>
<p>Download this presentation to get a first hand look at all the latest and greatest features being added to Oracle Application Express 4.0. Learn about Websheets, a brand new tool designed specifically for business users. There are many new features such as improved tabular forms, dynamic actions, better error handling, etc., together with numerous enhancements specifically to make development easier.</p>
<p><a href="http://engdb.podhead.net/pod/pod_progalfa$programmer.QueryViewByKey?P_ID=6548&amp;Z_CHK=6104" shape="rect">Click here</a> to view the presentation or <a href="http://media.podhead.dk/media/podhead2/odtug/odtug_012.mp4" shape="rect">click here</a> to download.</p>

</div>
    
    ]]></description> <pubDate>Mon, 20 Jul 2009 10:58:53 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#ddfb18da-1c9f-4be3-94c7-879a07f2459b</guid> 
  
  </item>

  
  <item> <title>Function: APEX_APPLICATION.DO_SUBSTITUTIONS</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#20c721b3-08fb-4920-9dc2-e584bfb2bfde</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<div>
<a href="http://apex-smb.blogspot.com/2009/07/apexapplicationdosubstitutions.html" shape="rect">APEX_APPLICATION.DO_SUBSTITUTIONS</a>
<div></div>
<div>I've run into several instances where I needed to store HTML in a table. The problem is sometimes the HTML references APEX Items. For example if your HTML needs to reference a picture, odds are you'll need to reference &amp;APP_IMAGES. (or some image location item). In the past I've done manual REPLACE calls for known items, but it was fairly restrictive.<br clear="none"/>
<br clear="none"/>
APEX has a great function (not yet documented to my knowledge) called APEX_APPLICATION.DO_SUBSTITUTIONS. If you pass in a string, it will substitute any APEX values. Here's an example app: <a href="http://apex.oracle.com/pls/otn/f?p=20195:2000" shape="rect">http://apex.oracle.com/pls/otn/f?p=20195:2000</a></div>
</div>
</div>
    
    ]]></description> <pubDate>Fri, 17 Jul 2009 12:14:20 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#20c721b3-08fb-4920-9dc2-e584bfb2bfde</guid> 
  
  </item>

  
  <item> <title>One size doesn&#039;t fit all: Stress &amp; load testing web applications (even ADF &amp; Apex) using Apache JMeter</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#84624274-9bfb-4caa-bb2a-7a6cf07667dd</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<div>
<a href="http://one-size-doesnt-fit-all.blogspot.com/2009/06/stress-load-testing-web-applications.html" shape="rect">Stress &amp; load testing web applications (even ADF &amp; Apex) using Apache JMeter</a>
<div></div>
<div>
<p>A couple of years ago I presented <a href="http://www.sagecomputing.com.au/papers_presentations/takealoadoff.pdf" shape="rect">Take a load off! Load testing your Oracle Apex or JDeveloper</a> web applications at OOW and AUSOUG. I can't recommend enough the importance of stress testing your web applications, it's saved my bacon a number of times. Frequently as developers, we develop under a single user (developer) model where concurrency issues are easily avoided. When our programs hit production, with just 1 more user, suddenly our programs grind to a halt or fall over in bizarre places. Result, pie on developers' faces, users' faith in new technologies destroyed, and general gnashing of teeth all round. Some simple stress and load tests can head off problems way before they hit production.<br clear="none"/>
<br clear="none"/>
(For the remainder of this post I'll infer &quot;stress testing&quot; and &quot;load testing&quot; as the same thing, though strictly speaking one tests for your application falling over, and the other how fast it responds under load)<br clear="none"/>
<br clear="none"/>
So how to go about stress testing a web application?<br clear="none"/>
<br clear="none"/>
There are numerous tools available to stress test web applications, paid and free. This post will look at the setup and use of Apache's JMeter, my tool of choice, mainly because it is free! ... to undertake a very simple stress test. Apache JMeter is available <a href="http://jakarta.apache.org/jmeter/" shape="rect">here</a>, version 2.3.3 at time of writing.</p>
</div>
</div>
</div>
    
    ]]></description> <pubDate>Tue, 30 Jun 2009 17:39:19 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#84624274-9bfb-4caa-bb2a-7a6cf07667dd</guid> 
  
  </item>

  
  <item> <title>PL/PDF Version 2.1 supports templates, where you can save a PDF file with form fields identified into the database, when simply paste database query values into the fields to generate the output.</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#b6ae6f1e-fdb6-4705-8e6c-2c58d6628f59</link>
  <description><![CDATA[
    
    
    
        
        <div style="background-color:#ffffff;" class="ennote">
<div><a href="http://www.plpdf.com/" shape="rect">PL/PDF</a> Version 2.1 supports templates, where you can save a PDF file with form fields identified into the database, when simply paste database query values into the fields to generate the output.</div>
<div> </div>
<div>We bought a new license.  What would it take to upgrade to 2.1?  Next time we need to generate PDFs from Apex?</div>
</div>
    
    ]]></description> <pubDate>Wed, 01 Jul 2009 19:50:42 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#b6ae6f1e-fdb6-4705-8e6c-2c58d6628f59</guid> 
  
  </item>

  
  <item> <title>You Can&#039;t do THAT with a Browser v2.pdf</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#d0d0619a-f413-453f-8a7f-6e3d10c6725c</link>
  <description><![CDATA[
    
    
      <center>
         <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#d0d0619a-f413-453f-8a7f-6e3d10c6725c"><img src="http://www.evernote.com/shard/s1/thumb/d0d0619a-f413-453f-8a7f-6e3d10c6725c"/></a>
      </center>
    
    
    ]]></description> <pubDate>Mon, 29 Jun 2009 14:15:07 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#d0d0619a-f413-453f-8a7f-6e3d10c6725c</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/d0d0619a-f413-453f-8a7f-6e3d10c6725c"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Returning a Value from a Popup Page</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#b31f3091-ea55-4c73-a16d-6864d34091cc</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<a href="http://spendolini.blogspot.com/2009/04/returning-value-from-popup-page.html" shape="rect">Returning a Value from a Popup Page</a>
<div>[Stew: May not be available until Apex V3.2?]</div>
<div> </div>
<div>I just ran into a situation where I needed to pass back a value from a pop-up page to a tabular form item in the calling page. While I've done this in the past ny manually writing all of the JavaScript, I thought that I'd take a look at the new documented APEX JavaScript APIs.<br clear="none"/>
<br clear="none"/>
I came across this function in the APEX 3.2 API Reference Guide (Part #E13369-01):</div>
<div>$v_PopupReturn(pValue, pThat)</div>
<div>Sets the value of the item in the parent window (pThat), with (pValue) and then</div>
<div>closes the popup window.</div>
<div>Return Value</div>
<div>Not applicable.</div>
<div>Parameters</div>
<div>pValue (string)</div>
<div>pThat (DOM node | string ID)</div>
<div><br clear="none"/>
Looks perfect!  In addition to passing the value back, it will also close the pop-up page, even though that is not documented.<br clear="none"/>
<br clear="none"/>
On the pop-up page, I created a link with an Optional Redirect to URL, and put the following in the link:</div>
<div>javascript:$v_PopupReturn(#EMPNO#, '&amp;P3_NODE.')</div>
<div><br clear="none"/>
P3_NODE is the DOM ID of the tabular form item that I wanted to return the value to.  You'll need to make sure that it's formatted properly for this to work.  Thus, I am passing in a &quot;1&quot;, but returning &quot;f03_0001&quot;.  A simple computation can do the trick.<br clear="none"/>
<br clear="none"/>
Since we're using a built-in tabular form, we need to put the calling JavaScript in the Element Attributes of the item that we want the popup form to set.  I used this:</div>
<div>onclick=&quot;popUp2('f?p=' + $v('pFlowId') + ':3:'</div>
<div>+ $v('pInstance') + '::::P3_NODE:#ROWNUM#',250,600);&quot; readonly</div>
<div><br clear="none"/>
This will pop open a new window, based on page 3 of my application.  It will also grab the Application ID and Session ID from the DOM and use those in the link, so that we preserve our session state.  Finally, it will pass along the corresponding ROWNUM of the item that we clicked on to the item P3_NODE - where I will make the proper transformation with the computation on Page 3.  Lastly, the readonly option prevents users from making direct changes to the item.<br clear="none"/>
<br clear="none"/>
Point taken from this - have a look at the APEX API guide before you embark on writing your ow...</div></div>
    
    ]]></description> <pubDate>Sun, 28 Jun 2009 21:49:36 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#b31f3091-ea55-4c73-a16d-6864d34091cc</guid> 
  
  </item>

  
  <item> <title>Browser-Based debugging: The Power of Two</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#0b38e3b5-e54f-434f-a2b0-190527bacb72</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">

<div>The Power of Two<br clear="none"/>
By David Peake</div>
<p>Use Oracle SQL Developer to aid Oracle Application Express development.</p>
<p>Oracle Application Express and Oracle SQL Developer are no-cost tools that both work with Oracle Database versions 9.2 and above. Not only can Oracle SQL Developer help you develop database applications but it also lets you browse, export, import, deploy, and remotely debug your Oracle Application Express applications.</p>
<p>This column introduces the ways Oracle SQL Developer and Oracle Application Express work together to aid your development efforts. We'll see how to browse Oracle Application Express information from within Oracle SQL Developer. Then we'll walk through an example of remotely debugging a browser-based application's PL/SQL code from Oracle SQL Developer.</p>

</div>
    
    ]]></description> <pubDate>Sun, 28 Jun 2009 17:03:24 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#0b38e3b5-e54f-434f-a2b0-190527bacb72</guid> 
  
  </item>

  
  <item> <title>APEX Remote Debugging - Revisited</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#9054ceed-994b-4790-ab05-837cd91d179a</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
APEX Remote Debugging - RevisitedPosted by Doug Gault on 26-JUN-09
<p>I'm sure that by now most people are familiar with <a href="http://dpeake.blogspot.com/" shape="rect">David Peake's</a> article called <a href="http://www.oracle.com/technology/oramag/oracle/08-may/o38browser.html" shape="rect">The Power of Two</a>, in which he outlines how to remotely debug PL/SQL code that is executed by calling an APEX page. But I learned something new about remote debugging with APEX while at the ODTUG Kalaidoscope conference that I was not previously aware of.</p>
<p>David's article states that, with the correct grants, and by surrounding the code you want to debug with</p>
<p>dbms_debug_jdwp.connect_tcp('localhost',4000);<br clear="none"/>
...<br clear="none"/>
dbms_debug_jdwp.disconnect; </p>
<p>you can use <a href="http://www.oracle.com/technology/products/database/sql_developer/index.html" shape="rect">SQL-DEVELOPER</a> to remotely connect to the session and step through the code.</p>
<p>So, the thing I learned is that if you use the word &quot;REMOTE&quot; in the DEBUG position of the URL, APEX will automatically surround calls to stored PL/SQL code with the appropriate dmbs_debug_jdwp calls so that you don't have to alter your code.</p>
<p>This may be something that I just missed, but even after Googling it, I only came up with a couple hidden mentions. Either way, I figured it was worth posting just in case someone else had missed it too.</p>

</div>
    
    ]]></description> <pubDate>Sun, 28 Jun 2009 17:01:44 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#9054ceed-994b-4790-ab05-837cd91d179a</guid> 
  
  </item>

  
  <item> <title>MailTo Explained</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#76634aed-80a6-4063-a31f-a64a95f52ece</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<p>Explains features of Mailto web link, with examples</p>
<p> </p>
<p>While more than a little be clunky the mailto link can still be useful sometimes. The problem with mailto is that it is necessary to spam harden the email address that is being used. Generally speaking there are better ways to get your customers to contact you (such as a form) but if simply nothing else will do here is a guide to using the mailto functionality. Many people don't realize that mailto can actually do a lot more than send an email to one person. It is possible to specify multiple recipients and set a subject and body content.</p>
<p>Note: I've had to break some of the examples onto multiple lines. Each should be on a single line. I have split them such that it should make a difference when they are used.</p>
<p>The simplest usage is:</p>
<div><br clear="none"/>
&lt;a href=&quot;mailto:foo@example.com&quot;&gt;Mail Foo&lt;/a&gt;</div>
<p>Which opens a blank email to foo@example.com. If you want to include someone else in the mail it can be done like this:</p>
<div><br clear="none"/>
&lt;a href=&quot;mailto:foo@example.com,bar@example.com&quot;&gt;Mail Foo and Bar&lt;/a&gt;</div>
<p>To add a subject and body do this:</p>
<div><br clear="none"/>
&lt;a href=&quot;mailto:foo@example.com?subject=Subject</div>
<div><br clear="none"/>
&amp;body=body line 1&quot;&gt;Mail Foo&lt;/a&gt;</div>
<p>If you also wanted to cc in someone else to the above message you would do it like this (bcc is the same):</p>
<div><br clear="none"/>
&lt;a href=&quot;mailto:foo@example.com?cc=bar@example.com</div>
<div><br clear="none"/>
&amp;subject=Subject&amp;body=body line 1&quot;&gt;Mail Foo&lt;/a&gt;</div>
<p>Finally if you want to include a multi-line body you need to escape new line characters with %0A (percent zero A) or &amp;#11; as shown here:</p>
<div><br clear="none"/>
&lt;a href=&quot;mailto:foo@example.com?cc=bar@example.com</div>
<div><br clear="none"/>
&amp;subject=Subject&amp;body=body line 1%0Abody line 2&quot;&gt;Mail Foo&lt;/a&gt;</div>
</div>
    
    ]]></description> <pubDate>Fri, 26 Jun 2009 16:38:44 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#76634aed-80a6-4063-a31f-a64a95f52ece</guid> 
  
  </item>

  
  <item> <title>Interactive Report, disable a column heading from being interactive</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a3e3523a-42cf-4f60-b3d4-926d0639c387</link>
  <description><![CDATA[
    
    
    
        <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a3e3523a-42cf-4f60-b3d4-926d0639c387"><img align="right" src="http://www.evernote.com/shard/s1/thumb/a3e3523a-42cf-4f60-b3d4-926d0639c387"/></a>
        <div class="ennote">
<div>Interactive Report, disable a column heading from being interactive</div>
<div> </div>
<div><a href="http://forums.oracle.com/forums/profile.jspa?userID=515261" shape="rect">David Pulliam</a></div>
<div></div>
<div><br clear="none"/>
Posts: 423<br clear="none"/>
Registered: 06/14/06</div>
 <a name="3440298" shape="rect"> Interactive Report, disable a column heading from being interactive<br clear="none"/>
Posted: Apr 30, 2009 3:21 PM</a> 
 <a href="http://forums.oracle.com/forums/post!reply.jspa?messageID=3440298" shape="rect"></a><a href="http://forums.oracle.com/forums/post!reply.jspa?messageID=3440298" shape="rect">Reply</a>

I have an interactive report where I have a column that is nothing but a row selector I built using checkboxes and a select all checkbox in the header. I want to kill the Interactive Report functions when you click on column headers for this column. I went into the report and disallowed everthing under the column header but a text entry search box still pops up when I click the checkbox in the column header. I want to kill this behavior for this single column. Any suggestions?



<a href="http://forums.oracle.com/forums/profile.jspa?userID=503936" shape="rect">ATD</a>
<div><br clear="none"/>
Posts: 6,615<br clear="none"/>
Registered: 04/17/06</div>


 <a name="3441111" shape="rect"> Re: Interactive Report, disable a column heading from being interactive<br clear="none"/>
Posted: May 1, 2009 6:21 AM   </a><a href="http://forums.oracle.com/forums/message.jspa?messageID=3440298#3440298" shape="rect"></a> in response to: <a href="http://forums.oracle.com/forums/message.jspa?messageID=3440298#3440298" shape="rect">David Pulliam</a> 
<a href="http://forums.oracle.com/forums/abuse!default.jspa?messageID=3441111" shape="rect"></a> <a href="http://forums.oracle.com/forums/post!reply.jspa?messageID=3441111" shape="rect"></a><a href="http://forums.oracle.com/forums/post!reply.jspa?messageID=3441111" shape="rect">Reply</a>


<div>Hi David,<br clear="none"/>
<br clear="none"/>
Yes, you can do this by changing the Heading for the column. On a normal column, the IR functionality for a column is contained within a DIV tag that is automatically wrapped around the column heading you specify. Whilst you can stop this, you can close the DIV tag, add your heading and then open a new DIV tag that contains no functionality (Apex just adds a closing DIV tag after the heading, so we need to keep the HTML tags well-formed).<br clear="none"/>
<br clear="none"/>
So, instead of:</div>
<div><br clear="none"/>Check</div>
<div><br clear="none"/>
<br clear="none"/>
you could put:</div>
<div><br clear="none"/>&lt;/div&gt;Check&lt;div&gt;</div>
<div><br clear="none"/>
<br clear="none"/>
Andy</div>





<a href="http://forums.oracle.com/forums/profile.jspa?userID=287556" shape="rect">maceyah</a>
<div><br clear="none"/>
Posts: 74<br clear="none"/>
Registered: 11/16/99</div>


 <a name="3520848" shape="rect"> Re: Interactive Report, disable a column heading from being interactive<br clear="none"/>
Posted: Jun 5, 2009 6:01 PM   </a><a href="http://forums.oracle.com/forums/message.jspa?messageID=3441111#3441111" shape="rect"></a> in response to: <a href="http://forums.oracle.com/forums/message.jspa?messageID=3441111#3441111" shape="rect">ATD</a> 
 <a href="http://forums.oracle.com/forums/post!reply.jspa?messageID=3520848" shape="rect"></a><a href="http://forums.oracle.com/forums/post!reply.jspa?messageID=3520848" shape="rect">Reply</a>

very useful, thanks


</div>
    
    ]]></description> <pubDate>Sun, 23 Aug 2009 23:36:04 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a3e3523a-42cf-4f60-b3d4-926d0639c387</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/a3e3523a-42cf-4f60-b3d4-926d0639c387"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>Breadcrumb region - Firefox vs IE6</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#9bb12741-0174-41b0-9425-e28ee7b766d1</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<div>Stew: Tip to fix how breadcrumbs display in IE6 vs FireFox</div>
<div> </div>
<div>I'm stuck in an IE6-only shop at present, so unfortunately have the opportunity to try this out!<br clear="none"/>
<br clear="none"/>
Not 100% sure what's going on as I can't see how other browsers are handling it, but it appears that IE6 is having problems with a double float: .t13Breadcrumbs is floated left; .t13Customize is floated right. It looks like the DIVs inside .t13Breadcrumbs, as block elements, are getting a width of 100%, so they're being given the full width and IE has decided .t13Customize has nowhere to float to. (Other browsers might manifest something similar if there was content in .t13Customize?)<br clear="none"/>
<br clear="none"/>
2 fixes produce a single line layout in IE6, that you can try in the other browsers:<br clear="none"/>
<br clear="none"/>
1. Apply float: left to .t13HorizontalLinksList.<br clear="none"/>
<br clear="none"/>
2. In the template(s), move .t13Customize outside div.t13Breadcrumbs.<br clear="none"/>
<br clear="none"/>
(I'm not clear what's going on in the templates to produce the generated HTML. Looks slightly odd to me?)<br clear="none"/>
<br clear="none"/>
Edited by: fac586 on Jun 23, 2009 2:19 PM<br clear="none"/>
<br clear="none"/>
Punctuated explanation in a (probably futile) attempt at making it clearer...</div>
</div>
    
    ]]></description> <pubDate>Tue, 23 Jun 2009 14:43:00 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#9bb12741-0174-41b0-9425-e28ee7b766d1</guid> 
  
  </item>

  
  <item> <title>userfly — Web usability testing made easy.</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#e1dca8aa-6b53-49ac-9ec2-47284af4f502</link>
  <description><![CDATA[
    
    
    
        
        <div class="ennote">
<div>
Usability testing has never been this easy.
Watch videos of your real users.
See every mouse movement and click.
Install in seconds with one line of code.
Increase conversions on landing pages.
</div>
</div>
    
    ]]></description> <pubDate>Tue, 23 Jun 2009 12:30:51 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#e1dca8aa-6b53-49ac-9ec2-47284af4f502</guid> 
  
  </item>

  
  <item> <title>ODTUG presentation: APEX 4.0 preview</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#1be5612f-4948-4269-855d-36c012e56563</link>
  <description><![CDATA[
    
    
      <center>
         <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#1be5612f-4948-4269-855d-36c012e56563"><img src="http://www.evernote.com/shard/s1/thumb/1be5612f-4948-4269-855d-36c012e56563"/></a>
      </center>
    
    
    ]]></description> <pubDate>Tue, 23 Jun 2009 12:11:50 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#1be5612f-4948-4269-855d-36c012e56563</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/1be5612f-4948-4269-855d-36c012e56563"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>ODTUG presentation: APEX 4.0 preview</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2d2d0311-ce35-4894-9be5-5027209a0435</link>
  <description><![CDATA[
    
    
      <center>
         <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2d2d0311-ce35-4894-9be5-5027209a0435"><img src="http://www.evernote.com/shard/s1/thumb/2d2d0311-ce35-4894-9be5-5027209a0435"/></a>
      </center>
    
    
    ]]></description> <pubDate>Tue, 23 Jun 2009 12:11:50 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#2d2d0311-ce35-4894-9be5-5027209a0435</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/2d2d0311-ce35-4894-9be5-5027209a0435"
               length="0" type="image/jpeg"/>
  
  </item>

  
  <item> <title>ODTUG presentation: APEX 4.0 preview</title> <link>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a2991b2d-4d64-44d3-b4c0-494bd331045e</link>
  <description><![CDATA[
    
    
      <center>
         <a href="http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a2991b2d-4d64-44d3-b4c0-494bd331045e"><img src="http://www.evernote.com/shard/s1/thumb/a2991b2d-4d64-44d3-b4c0-494bd331045e"/></a>
      </center>
    
    
    ]]></description> <pubDate>Tue, 23 Jun 2009 12:11:50 GMT</pubDate> <guid>http://www.evernote.com/pub/sstryker58/Stews_Apex_tips#a2991b2d-4d64-44d3-b4c0-494bd331045e</guid> 
  
    <enclosure url="http://www.evernote.com/shard/s1/thumb/a2991b2d-4d64-44d3-b4c0-494bd331045e"
               length="0" type="image/jpeg"/>
  
  </item>
 </channel> </rss>