<?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/"
	>

<channel>
	<title>get along with Oracle and APEX &#187; Tipps &amp; Tricks</title>
	<atom:link href="http://www.oracle-and-apex.com/category/tipps-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oracle-and-apex.com</link>
	<description>by Peter Raganitsch</description>
	<lastBuildDate>Mon, 23 Aug 2010 08:26:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Oracle APEX 4.0 Workshop in Wien</title>
		<link>http://www.oracle-and-apex.com/oracle-apex-4-0-workshop-in-wien/</link>
		<comments>http://www.oracle-and-apex.com/oracle-apex-4-0-workshop-in-wien/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 07:28:16 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[APEX 4.0]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=353</guid>
		<description><![CDATA[This posting deals with a Workshop in Vienna, Austria, and is in german only.

Von 13.-18. September 2010 veranstalten wir eine Workshop-Reihe zur neuen Oracle APEX Release 4.0 . Diese Reihe  besteht aus 6 einzelnen und individuell buchbaren Tagen,  jeder mit einem eigenen Thema und in sich abgeschlossen.
Nützen Sie diese seltene Gelegenheit und lernen [...]]]></description>
			<content:encoded><![CDATA[<p>This posting deals with a Workshop in Vienna, Austria, and is in german only.</p>
<div>
<p>Von <strong>13.-18. September 2010</strong> veranstalten <a href="http://www.click-click.at" target="_blank">wir</a> eine Workshop-Reihe zur neuen Oracle APEX Release 4.0 . Diese Reihe  besteht aus 6 einzelnen und <strong>individuell buchbaren Tagen</strong>,  jeder mit einem eigenen Thema und in sich abgeschlossen.</p>
<p>Nützen Sie diese seltene Gelegenheit und lernen Sie in <strong>kürzester  Zeit</strong> alles Wissenswerte zu Oracle Application Express 4.0 von  zwei langjährigen Experten:<span id="more-353"></span></p>
<ul>
<li><a href="../../" target="_blank">Peter  Raganitsch</a>, seit 15 Jahren aktiv in der Oracle  Applikationsentwicklung, davon die letzten Jahre ausschließlich mit  Oracle APEX. Mitentwickler des legendären <a href="http://apexlib.oracleapex.info/" target="_blank">ApexLib Frameworks</a> und Mitglied des <em><a href="http://www.oracleapex.at/" target="_blank">Austrian  Competence Center for Oracle APEX</a></em>.</li>
<li>Christian Neumüller (DI), langjähriger Entwicklungsleiter eines  Oracle Forms-basierten ERP-Systems, erfahrener PL/SQL Hacker und  begeisterter APEX-Entwickler.</li>
</ul>
<p>Sie können aus unserem Angebot die für Sie interessanten Tage  auswählen und so einen individuellen Workshop zu einem <strong><a href="http://click-click.at/apex-4-0-workshops/kosten" target="_self">unschlagbaren  Preis</a></strong> zusammenstellen.</p>
<h2>Das Programm:</h2>
<ul>
<li><a title="Tag 1 - Einstieg" href="http://click-click.at/apex-4-0-workshops/tag-1-einstieg">Tag 1 –  13.09.2010 – Einstieg</a></li>
<li><a href="http://click-click.at/apex-4-0-workshops/tag-2-applikationen-erstellen-basic" target="_self">Tag 2 – 14.09.2010 – Applikationen erstellen Basic</a></li>
<li><a href="http://click-click.at/apex-4-0-workshops/tag-3-applikationen-erstellen-advanced" target="_self">Tag 3 – 15.09.2010 – Applikationen erstellen Advanced</a></li>
<li><a href="http://click-click.at/apex-4-0-workshops/tag-4-reports-charts-und-kalender" target="_self">Tag 4 – 16.09.2010 – Reports, Charts und Kalender</a></li>
<li><a href="http://click-click.at/apex-4-0-workshops/tag-5-interaktive-applikationen" target="_self">Tag 5 – 17.09.2010 – Interaktive Applikationen</a></li>
<li><a href="http://click-click.at/apex-4-0-workshops/tag-6-plugins-selbst-programmieren" target="_self">Tag 6 – 18.09.2010 – Hacker’s Weekend: Plugins selbst  programmieren, APEX erweitern</a></li>
</ul>
<p>Pro Tag gibt es nur eine begrenzte Anzahl an Plätzen, sodaß eine  ideale Lernatmosphäre geschaffen wird.</p>
<p>Die Workshops beginnen jeweils um <strong>09:00</strong> und enden  gegen <strong>17:00</strong>, dazwischen eine stärkende Mittagspause (im  Preis inbegriffen).</p>
<p>Ab <strong>18:00</strong> gibt es dann <strong>eine Stunde</strong> lang für alle Teilnehmer die Möglichkeit ihre aktuellen Probleme und  Herausforderungen im APEX Umfeld mit den <strong>vortragenden Experten</strong> zu besprechen, oder einfach nur den Tag in einer interessanten Runde  ausklingen zu lassen.</p>
<p>Der Austragungsort wird noch rechtzeitig bekanntgegeben, aber auf  alle Fälle im inneren Stadtgebiet Wien sein, gut erreichbar mit  öffentlichen Verkehrsmitteln und jedenfalls auch per Auto.</p>
<h1 style="text-align: center;"><a href="http://click-click.at/apex-4-0-workshops/workshop-bestellung"><strong>Zur  Bestellung</strong></a></h1>
</div>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=353&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/oracle-apex-4-0-workshop-in-wien/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Known Bugs in Oracle APEX 4.0</title>
		<link>http://www.oracle-and-apex.com/known-bugs-in-oracle-apex-4-0/</link>
		<comments>http://www.oracle-and-apex.com/known-bugs-in-oracle-apex-4-0/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 08:56:59 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[APEX 4.0]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=346</guid>
		<description><![CDATA[Everybody in the Software Industrie knows there is nothing like a bug free software, which is alright if you deal with it in a reasonable manner.
Talk about it, inform your customers, prepare workarounds for the nasty ones and bugfixes/patches for everything else.
Oracle knows all this and provides a list of known bugs/issues with Oracle APEX [...]]]></description>
			<content:encoded><![CDATA[<p>Everybody in the Software Industrie knows there is nothing like a bug free software, which is alright if you deal with it in a reasonable manner.</p>
<p>Talk about it, inform your customers, prepare workarounds for the nasty ones and bugfixes/patches for everything else.</p>
<p><span id="more-346"></span>Oracle knows all this and provides a <a href="http://www.oracle.com/technetwork/developer-tools/apex/40-known-issues-159870.html" target="_blank">list of known bugs/issues</a> with Oracle APEX 4.0.</p>
<p>If you encounter a bug which is not listed there, please <a href="http://forums.oracle.com/forums/forum.jspa?forumID=137" target="_blank">report it in the forum</a> (maybe using &#8220;Bug&#8221; or &#8220;Bugreport&#8221; in the Subject).</p>
<p>Don&#8217;t be shy, even if it turns out not to be a bug, you&#8217;ll definitely learn something :-)</p>
<p><span style="text-decoration: underline;">Update</span>:<br />
Look at <a href="http://forums.oracle.com/forums/thread.jspa?threadID=1097941&amp;tstart=15" target="_blank">a very good example</a> of how fast a bug can be solved as soon as it is reported.</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=346&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/known-bugs-in-oracle-apex-4-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APEX URL Format</title>
		<link>http://www.oracle-and-apex.com/apex-url-format/</link>
		<comments>http://www.oracle-and-apex.com/apex-url-format/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 12:31:26 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[APEX]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[Tipps]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=273</guid>
		<description><![CDATA[Pretty basic and easy, but still i have a sticky note at my monitor  which reminds me of what is what.
A typical APEX URL looks like this:
http://tryapexnow.com/apex/f?p=2500:1:1016153158259880
That means:
open Application 2500 on Page 1 using Session 1016153158259880
But there can be much more&#8230;
Most of this stuff here is described very well in the Oracle Application Express [...]]]></description>
			<content:encoded><![CDATA[<p>Pretty basic and easy, but still i have a sticky note at my monitor  which reminds me of what is what.</p>
<p>A typical APEX URL looks like this:</p>
<p>http://tryapexnow.com/apex/f?p=2500:1:1016153158259880</p>
<p>That means:<br />
open Application 2500 on Page 1 using Session 1016153158259880</p>
<p>But there can be much more&#8230;<span id="more-273"></span></p>
<p><img title="More..." src="http://www.oracle-and-apex.com/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" />Most of this stuff here is described very well in the <a href="http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/toc.htm" target="_blank">Oracle Application Express Application Builder Users&#8217;s  Guide</a>, Chapter &#8220;<a href="http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm#BEIFCDGF" target="_blank">Understanding URL Syntax</a>&#8220;, nonetheless i try to  explain it using my own words.</p>
<p>The complete APEX URL Syntax looks like this:</p>
<pre>http://apex.oracle.com/pls/apex/f?p=AppId:PageId:Session:Request:Debug:ClearCache:Params:ParamValues:PrinterFriendly</pre>
<p>Let&#8217;s take a closer look:</p>
<ul>
<li><strong>http://</strong> &#8211; the protocol, can be http or https</li>
<li><strong>apex.oracle.com</strong> &#8211; your domain/host/server, whatever you want  to call it. Can also be localhost.</li>
<li><strong>/pls</strong> &#8211; indicates that  you are using Oracle HTTP Server with mod_plsql. If you are using APEX  Listener or Embedded PL/SQL Gateway this part is obsolete/missing.</li>
<li><strong>/apex</strong> &#8211; the entry from your dads.conf file (this a file on  your application-server or EPG where the target database is configured) &#8211;  in case of EPG its just one entry pointing to localhost, in case of an  OAS you can have multiple entries, each pointing to an other database</li>
<li><strong>/f?p=</strong> &#8211; procedure &#8220;f&#8221; is called and parameter &#8220;p&#8221; is set to  the complete rest of the string. Remember: APEX uses mod_plsql. &#8220;f&#8221; is a  public procedure, this is the main entrypoint for APEX. Or you could  say: &#8220;f&#8221; is APEX.</li>
<li><strong>AppId</strong> &#8211; the number or the Alias of the Application</li>
<li><strong>:PageId</strong> &#8211; the number or the Alias of the Page</li>
<li><strong>:Session</strong> &#8211; unique Session ID, can be 0 for Public Pages or  empty (then APEX creates a new Session)</li>
<li><strong>:Request</strong> &#8211; a Request Keyword. This is basically free text,  just a string you can specify to react in a process or region condition  on. e.g. you could pass the keyword &#8220;CREATE&#8221; and have a condition on the  delete button of your page saying &#8220;dont&#8217;t display this button if  request is CREATE&#8221;.<br />
In other words: use the REQUEST to control the  behaviour of your page.<br />
When pressing a button, the button sets the  REQUEST to the button-value (e.g. SAVE), so that you can control the  processes in the page processing (Submit) phase.</li>
<li><strong>:Debug</strong> &#8211; set to YES (uppercase!) switches on the Debug-Mode  which renders debug-messages and timestamps in your Browser window. This  helps to detect wrong behaviour of your page or performance issues and  everything else. Every other value then YES turns the Debug-Mode off</li>
<li><strong>:ClearCache</strong> &#8211; you can put a page id or a list of page ids here (comma-separated) to clear the cache for these pages (set session state to null, &#8230;). But there is more: RP resets the pagination of reports on the page(s), a collection name deletes the collection, APP clears all pages and application-items, SESSION does the same as APP but for all applications the session-id has been used in.</li>
<li><strong>:Parameters</strong> &#8211; comma seperated list of page-item names. Good practice is to set only those page-items which are on the page you are going to. Accepts page-items as well as application-items.</li>
<li><strong>:ParamValues</strong> &#8211; comma separated list of values. Each value  is assigned to the corresponding Parameter provided in ParamNameList  (first value assigned to first parameter, second value assigned to  second parameter, and so on&#8230;).<br />
The trick here is not having values which contain either a comma &#8220;,&#8221; or a  colon &#8220;:&#8221;. Both would lead to side-effects and errors, as APEX gets  confused when parsing the URL. Using a comma works, if enclosed by slashes: e.g. /123,89/.</li>
<li><strong>:PrinterFriendly</strong> &#8211; set to YES (uppercase!) switches the page into PrinterFriendly-Mode, uses the Printerfriendly template to render the Page. You can also hide regions or other elements in PrinterFriendly-Mode using the PRINTER_FRIENDLY variable in a condition.</li>
</ul>
<p>There are also some more Blogs dealing with URL Syntax, take a look  at some of them: <a href="http://www.mattsbits.co.uk/item-11.html" target="_blank">MattsBits</a>,  <a href="http://www.oraclenerd.com/2009/06/apex-url-syntax.html" target="_blank">Oraclenerd</a>, <a href="http://www.dba-oracle.com/htmldb/t_html_db_url_contents.htm" target="_blank">Burleson</a> .</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=273&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/apex-url-format/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Question: How to refresh an APEX SQL Report from JavaScript</title>
		<link>http://www.oracle-and-apex.com/question-how-to-refresh-an-apex-sql-report-from-javascript/</link>
		<comments>http://www.oracle-and-apex.com/question-how-to-refresh-an-apex-sql-report-from-javascript/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 06:52:24 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[Questions]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=223</guid>
		<description><![CDATA[Nowadays everything should be interactive and Web2.0 and AJAX, and again the Oracle Application Express Development Team has prepared something for us, that makes it easy to give our APEX Applications that interactive touch.
Imagine a SQL Report Region (&#8220;Classic Report&#8221;) and a button next to it. In front of the computer is a nervous user [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays everything should be interactive and Web2.0 and AJAX, and again the Oracle Application Express Development Team has prepared something for us, that makes it easy to give our APEX Applications that interactive touch.</p>
<p><span id="more-223"></span>Imagine a SQL Report Region (&#8220;Classic Report&#8221;) and a button next to it. In front of the computer is a nervous user who waits for a certain record to appear in his Report (e.g. this months salary in his bank statement).</p>
<p>So what is he doing? The nervous finger. Clicking the refresh button every 10 seconds. And everytime he clicks the button, the page is submitted and loads the new data. But this Page submitting and reloading takes some time and flickers, which makes our user even more nervous.</p>
<p>Better and faster would be refreshing the report without submitting the Page, looks smooth and totally Web 2.0.</p>
<p>APEX has a JavaScript function <strong>$a_report(pId,pMin,pMax,pFetched,pSort)</strong> which reloads the reports data and displays it without resubmitting the whole page.<br />
pId is the ID of your Report, pMin and pMax are the RowIds to display, pFetched the number of Rows and pSort can hold some sort clause.</p>
<p>e.g. javascript:$a_report(&#8216;15520013154312712&#8242;,&#8217;1&#8242;,&#8217;10&#8242;,&#8217;10&#8242;);</p>
<p>Now all you have to do is put this javascript call into your Buttons Target</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_ajrep_button.png"><img class="alignnone size-full wp-image-244" title="oaa_ajrep_button" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_ajrep_button.png" alt="" width="489" height="270" /></a></p>
<p>And make sure that your Report is set to &#8220;Enable Partial Page Refresh&#8221;, this is needed to make sure that $a_report knows what to do.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_ajrep_report.png"><img class="alignnone size-full wp-image-245" title="oaa_ajrep_report" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_ajrep_report.png" alt="" width="388" height="249" /></a></p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=223&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/question-how-to-refresh-an-apex-sql-report-from-javascript/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Eat more fruit or an apple a day&#8230;</title>
		<link>http://www.oracle-and-apex.com/eat-more-fruit-or-an-apple-a-day/</link>
		<comments>http://www.oracle-and-apex.com/eat-more-fruit-or-an-apple-a-day/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 08:11:18 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mac]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=249</guid>
		<description><![CDATA[Fruit is healthy and my MacBook Pro is great !
Recently i switched from my old WinXP Notebook to a MacBook Pro and finally managed to set it up for all my working projects and my needs.
When working on ApexLib i often need different Versions of APEX to check the new features, which means multiple databases [...]]]></description>
			<content:encoded><![CDATA[<p>Fruit is healthy and my MacBook Pro is great !</p>
<p>Recently i switched from my old WinXP Notebook to a MacBook Pro and finally managed to set it up for all my working projects and my needs.</p>
<p>When working on <a href="http://apexlib.oracleapex.info" target="_blank">ApexLib</a> i often need different Versions of APEX to check the new features, which means multiple databases with each a different APEX Version on it.<span id="more-249"></span></p>
<p>My Requirement was to have multiple Virtual Machines, each of them with Oracle XE and APEX installed. The System Requirements shouldn&#8217;t be too high, so i decided to go for Linux in my VM&#8217;s and use <a href="http://www.parallels.com/eu/products/desktop/" target="_blank">Parallels Desktop</a> as Virtualization Software.</p>
<p>On Parallels Homepage i found a <a href="http://www.parallels.com/ptn/download/va/?va_id=169" target="_blank">ready prepared VM</a> containing a stripped down linux (without desktop GUI, console only) with a basic Oracle XE installation on it. After downloading it all you have to do is start it.</p>
<p>Another important Requirement was that i needed fixed IP&#8217;s for my VM&#8217;s and my Mac, regardless which network i am currently connected to. Parallels has a networking option called NAT/Shared Networking for this kind of requirement, to set it up you open the Parallels Preferences and switch networking type to Shared and check the box saying &#8220;show in system preferences&#8221; and set the DHCP Range to a startpoint of 10.211.55.100.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_parallels_preference.png"><img class="alignnone size-full wp-image-253" title="oaa_vm_parallels_preference" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_parallels_preference.png" alt="" width="481" height="304" /></a></p>
<p>In the System Preferences under Networking you choose the Parallels Networking Adapter and set its IP address to 10.211.55.101 (or whatever you want, this doesn&#8217;t make any difference).</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_network_options.png"><img class="alignnone size-full wp-image-254" title="oaa_vm_network_options" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_network_options.png" alt="" width="613" height="389" /></a></p>
<p>Now open the Configuration of your Virtual Machine, go to Hardware -&gt; Networking Adapter and set this to Shared Networking too.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_vm_config.png"><img class="alignnone size-full wp-image-255" title="oaa_vm_vm_config" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_vm_config.png" alt="" width="424" height="333" /></a></p>
<p>For the last part start the Virtual Machine, press Alt+F2 to get to the login prompt and log in with root. On the console type &#8220;netconfig&#8221; and give your Virtual Machine a fixed IP-Address from the free Range before .100 which is your Gateway/DNS.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_vm_netconfig.png"><img class="alignnone size-full wp-image-256" title="oaa_vm_vm_netconfig" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_vm_netconfig.png" alt="" width="513" height="313" /></a></p>
<p>I chose 10.211.55.<strong>32</strong> for APEX 3.2, 10.211.55.<strong>31</strong> for APEX 3.1 and so on.<br />
In the file /etc/hosts i added an entry for my Host Mac, so that i don&#8217;t need to remember the IP Addresses.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_vm_hosts.png"><img class="alignnone size-full wp-image-257" title="oaa_vm_vm_hosts" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_vm_hosts.png" alt="" width="540" height="49" /></a></p>
<p>Finally edit the /etc/hosts file on my Mac and add host names for all your Virtual Machines.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_mac_hosts.png"><img class="alignnone size-full wp-image-258" title="oaa_vm_mac_hosts" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_mac_hosts.png" alt="" width="411" height="169" /></a></p>
<p>Now reboot everything (i know, this isn&#8217;t needed but i&#8217;m a long time windows user&#8230;.) and enjoy your little network, to open APEX on a certain machine simply use the before specified host-names, e.g. http://xeapex32:8080/apex</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_xeapex32.png"><img class="alignnone size-full wp-image-259" title="oaa_vm_xeapex32" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/oaa_vm_xeapex32.png" alt="" width="536" height="327" /></a></p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=249&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/eat-more-fruit-or-an-apple-a-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avoid Problems with APEX Error Page Hack</title>
		<link>http://www.oracle-and-apex.com/avoid-problems-with-apex-error-page-hack/</link>
		<comments>http://www.oracle-and-apex.com/avoid-problems-with-apex-error-page-hack/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 17:41:50 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[APEX]]></category>
		<category><![CDATA[ApexLib]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[Error Page]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=195</guid>
		<description><![CDATA[ApexLib comes with a better Error Display Solution, which sometimes can cause troubling behaviour.
When displaying error messages in the notification area the rest of the page is shifted downwards a little. This is no problem most of the time, except in this case:


you have a form with required fields
you enter some of the fields and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://apexlib.oracleapex.info" target="_blank">ApexLib</a> comes with a better <a href="http://www.inside-oracle-apex.com/hacking-apex-error-page/" target="_blank">Error Display Solution</a>, which sometimes can cause troubling behaviour.</p>
<p>When displaying error messages in the notification area the rest of the page is shifted downwards a little. This is no problem most of the time, except in this case:</p>
<p><span id="more-195"></span></p>
<ol>
<li><!--more-->you have a form with required fields</li>
<li>you enter some of the fields and then realize you don&#8217;t want to enter more but leave the form</li>
<li>so you press the &#8220;Cancel&#8221; Button while your cursor is still in an empty required field</li>
<li>before the Cancel Button is processed the field validation displays the &#8220;Field is required&#8221; Message</li>
<li>displaying the Error shifts the button downwards, the mouse cursor isn&#8217;t hovering above the button anymore</li>
<li>the browser decides, that you clicked into empty space and discards Button processing</li>
</ol>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/standard_notification.png"><img class="alignnone size-full wp-image-200" title="standard_notification" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/standard_notification.png" alt="" width="614" height="321" /></a></p>
<p>Long story short, you have to press the button a second time if an error message is displayed in the notification area when pressing the button.</p>
<p>I haven&#8217;t found any satisfying solution to avoid this problem in a programmatically way, so this leaves us with few options:</p>
<ol>
<li>ignore it and let your users click a second time</li>
<li>have a fixed size notification area (this is kind of complicated, since you never know how many error messages you need to display)</li>
<li>my favorite: let the notification area hover above the rest of your form</li>
</ol>
<p>Solution 3 can look like this, depending on your layout or used theme you&#8217;ll have to implement it in a different way.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/modal_notification1.png"><img class="alignnone size-full wp-image-199" title="modal_notification" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/modal_notification1.png" alt="" width="614" height="321" /></a></p>
<p>See a working solution online in the <a href="http://apex.oracle.com/pls/otn/f?p=21516:40" target="_blank">Demo-Application</a>.</p>
<p>All I had to do, was modifying the CSS Settings for the notification area:</p>
<pre class="brush: css">.t7notification {
 background:none repeat scroll 0 50% #FFFFCC;
 border:1px solid #FFD700;
 color:#333333;
 font-size:11px;
 font-weight:bold;
 left:25%;
 margin:4px auto;
 opacity:0.8;
 filter:alpha(opacity=80);
 padding:2px;
 position:absolute;
 text-align:center;
 width:50%;
}
</pre>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=195&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/avoid-problems-with-apex-error-page-hack/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Enhancing Oracle Application Express Login Page</title>
		<link>http://www.oracle-and-apex.com/enhancing-oracle-application-express-login-page/</link>
		<comments>http://www.oracle-and-apex.com/enhancing-oracle-application-express-login-page/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 19:32:06 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[APEX]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=137</guid>
		<description><![CDATA[Working on many different Projects leads to a vast number of workspaces and applications over time.
Looking for a certain application can be time consuming if you don&#8217;t remember what the workspace this application belongs to is called.
At this point you could either check the repository using a SELECT
SELECT *
  FROM APEX_APPLICATIONS
 WHERE APPLICATION_NAME LIKE [...]]]></description>
			<content:encoded><![CDATA[<p>Working on many different Projects leads to a vast number of workspaces and applications over time.</p>
<p>Looking for a certain application can be time consuming if you don&#8217;t remember what the workspace this application belongs to is called.</p>
<p><span id="more-137"></span>At this point you could either check the repository using a SELECT</p>
<pre>SELECT *
  FROM APEX_APPLICATIONS
 WHERE APPLICATION_NAME LIKE '%XY%';</pre>
<p>Or you could login into the administration section (workspace INTERNAL) and look there.</p>
<p>Way easier is having a listing of all applications right below the login fields:</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/apex_login_with_listing.png"><img class="alignnone size-full wp-image-142" title="apex_login_with_listing" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/apex_login_with_listing.png" alt="apex_login_with_listing" width="505" height="454" /></a></p>
<p>This makes finding the right workspace faster and easier, having the listing of all applications in your database is like a directory listing of all your files you are working on.</p>
<p><strong>Warning</strong>: Displaying information about your applications is a potential security risk, you should use this on internal development systems only, never on a public system!</p>
<p><strong>How does it work?</strong></p>
<p>As you may know, Oracle APEX is written in Oracle APEX. An APEX Builder page is just like any other page you  may design for your application. That means you easily can add a reports region to the login page.</p>
<p>The only downside here is that you can&#8217;t edit internal applications with the APEX Builder, you just can&#8217;t login to the INTERNAL workspace in edit mode.</p>
<p>But no need for that, we just use the same API that&#8217;s used in the Application export files.</p>
<p>Check out the <a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/add_application_list_to_apex_login_page.sql" target="_blank">script</a> over <a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/add_application_list_to_apex_login_page.sql" target="_blank">here</a>. It basically adds a reports region to the (english) login page, thats all.</p>
<p><strong>Disclaimer:</strong> Enhancing/changing the internal applications may not be intended by Oracle, so there is no warranty at all. Whatever you do is own your own risk.<br />
Go for it :-)</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=137&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/enhancing-oracle-application-express-login-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to calculate size of a CLOB in Bytes?</title>
		<link>http://www.oracle-and-apex.com/how-to-calculate-size-of-a-clob-in-bytes/</link>
		<comments>http://www.oracle-and-apex.com/how-to-calculate-size-of-a-clob-in-bytes/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 07:36:33 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[CLOB]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=122</guid>
		<description><![CDATA[Recently i was dealing with a translation problem regarding multibyte characters (cyrillic). They were stored in a NCLOB and were later on moved to a VARCHAR2.
Before moving the data i had to ensure, that there will be enough space in the VARCHAR2 columns which were defined as VARCHAR2(255 BYTE).
That&#8217;s where my travel started, i had [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i was dealing with a translation problem regarding multibyte characters (cyrillic). They were stored in a NCLOB and were later on moved to a VARCHAR2.</p>
<p>Before moving the data i had to ensure, that there will be enough space in the VARCHAR2 columns which were defined as VARCHAR2(255 BYTE).</p>
<p><span id="more-122"></span>That&#8217;s where my travel started, i had to figure out how many bytes a CLOB-Value would consume when storing in a VARCHAR2 column.</p>
<p><em>LENGTH(&lt;clob-column&gt;)</em> fails, because it returns the number of characters</p>
<p><em>DBMS_LOB.getLength(&lt;clob-column&gt;)</em> fails as well, because it returns number of characters</p>
<p><em>LENGTHB</em> doesn&#8217;t work on CLOBs, so i thought: implicit type conversion, so i came up with this</p>
<p><em>LENGTHB(DBMS_LOB.SUBSTR(&lt;clob-column&gt;,1,2000))</em> this one looked promising, but it failed at the end because it would return the number of bytes this string uses in the CLOB Characterset (which is AL16UTF16)</p>
<p><span style="text-decoration: underline;">The winner is:</span> <strong><em>LENGTHB(TO_CHAR(SUBSTR(&lt;clob-column&gt;,1,4000)))</em></strong> this one really returns the size in bytes the string would consume when stored in a VARCHAR2 column.</p>
<p>Thanks to explicit type conversion!</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=122&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/how-to-calculate-size-of-a-clob-in-bytes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
