<?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; Short Notes</title>
	<atom:link href="http://www.oracle-and-apex.com/category/short-notes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oracle-and-apex.com</link>
	<description>by Peter Raganitsch</description>
	<lastBuildDate>Wed, 18 Jan 2012 06:23:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Recover deleted Page with APEX and Firebug</title>
		<link>http://www.oracle-and-apex.com/recover-deleted-page-with-apex-and-firebug/</link>
		<comments>http://www.oracle-and-apex.com/recover-deleted-page-with-apex-and-firebug/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 14:57:33 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[APEX]]></category>
		<category><![CDATA[Short Notes]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[flashback]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[recover]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=693</guid>
		<description><![CDATA[Today a very important Page of an important APEX Application has accidentially been deleted. We didn&#8217;t want to step back to yesterdays backup, because right before the deletion many changes took place and we didn&#8217;t want to code that again. Oracle APEX includes the realy nice feature of exporting an Application &#8220;As of x minutes [...]]]></description>
			<content:encoded><![CDATA[<p>Today a very important Page of an important APEX Application has accidentially been deleted. We didn&#8217;t want to step back to yesterdays backup, because right before the deletion many changes took place and we didn&#8217;t want to code that again.</p>
<p><span id="more-693"></span>Oracle APEX includes the realy nice feature of exporting an Application &#8220;As of x minutes ago&#8221;.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/export_application_as_of.png"><img class="alignnone size-full wp-image-694" title="export_application_as_of" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/export_application_as_of.png" alt="" width="430" height="223" /></a></p>
<p>But there is also a dialog where you can export a single page, without the whole application overhead:</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/export_page_as_of.png"><img class="alignnone size-full wp-image-695" title="export_page_as_of" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/export_page_as_of.png" alt="" width="434" height="252" /></a></p>
<p>But this dialog lists only currently existing Pages and doesn&#8217;t include our deleted Page.</p>
<p>Firebug to the rescue we manipulate the HTML-Code of the Page-Select-List and add our deleted Page 99 which then exports easily &#8220;As of 30 minutes ago&#8221;.</p>
<p>1. Use Firebugs &#8220;Inspect Element&#8221; on the Page-Select-List</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/recover_page_inspect_element.png"><img class="alignnone size-full wp-image-696" title="recover_page_inspect_element" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/recover_page_inspect_element.png" alt="" width="504" height="480" /></a></p>
<p>2. Edit the HTML and insert a new &lt;option&gt;</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/recover_page_edit_html.png"><img class="alignnone size-full wp-image-697" title="recover_page_edit_html" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/recover_page_edit_html.png" alt="" width="500" height="222" /></a></p>
<p>3. pick the newly added entry from the select-list, enter 30 as number of minutes and press the export button</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/recover_page_export_dialog.png"><img class="alignnone size-full wp-image-701" title="recover_page_export_dialog" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/recover_page_export_dialog.png" alt="" width="437" height="219" /></a></p>
<p>4. go to the import menu and import the Page-Export File.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/import_recovered_page.png"><img class="alignnone size-full wp-image-699" title="import_recovered_page" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/import_recovered_page.png" alt="" width="540" height="340" /></a></p>
<p>That&#8217;s all.</p>
<p>Life can be sooo easy using the right tools :-)</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=693&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/recover-deleted-page-with-apex-and-firebug/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Static LOV&#8217;s can contain any characters</title>
		<link>http://www.oracle-and-apex.com/static-lovs-can-contain-any-characters/</link>
		<comments>http://www.oracle-and-apex.com/static-lovs-can-contain-any-characters/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 06:42:40 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[Short Notes]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[APEX]]></category>
		<category><![CDATA[LOV]]></category>
		<category><![CDATA[Static LOV]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=632</guid>
		<description><![CDATA[Yesterday i stumbled (for the umpteenth time) over the static LOV limitations in Oracle APEX. I tried to have a comma (&#8220;,&#8221;) in the Return Value which messed up my LOV, because a comma is a seperation character in the LOV definition. Luckily Patrick blogged about this a few years back and i want to [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday i stumbled (for the umpteenth time) over the static LOV limitations in Oracle APEX. I tried to have a comma (&#8220;,&#8221;) in the Return Value which messed up my LOV, because a comma is a seperation character in the LOV definition.</p>
<p><span id="more-632"></span>Luckily Patrick <a title="Seperation character option in static LOVs" href="http://www.inside-oracle-apex.com/undocumented-option-for-static-list-of-values-2/" target="_blank">blogged about this</a> a few years back and i want to bring this to attention again.</p>
<p>By Default static LOVs use &#8220;,&#8221; and &#8220;;&#8221; as seperation characters between Lov Display Value and Lov Return Value (and the next Lov Display Value&#8230;).</p>
<p>Example:</p>
<pre class="brush: sql">STATIC2:No Work;NOWORK,Holiday;HOLIDAY,Working Day;DEFAULT</pre>
<p>Now if you want to use &#8220;;&#8221; or &#8220;,&#8221; as Display or Return Value, you can tell the Static-LOV to use other seperation characters</p>
<pre class="brush: sql">STATIC2(~,*):No Work, Holiday*FREE~Working Day*DEFAULT</pre>
<p>This might not sound to glorious now, but when you need it you&#8217;ll be grateful ;-)</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=632&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/static-lovs-can-contain-any-characters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORA-01841 when create/edit User</title>
		<link>http://www.oracle-and-apex.com/ora-01841-when-create-edit-user/</link>
		<comments>http://www.oracle-and-apex.com/ora-01841-when-create-edit-user/#comments</comments>
		<pubDate>Mon, 21 Feb 2011 14:50:28 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[Short Notes]]></category>
		<category><![CDATA[Tipps]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=476</guid>
		<description><![CDATA[Ever got a &#8220;ORA-01841: (full) year must be between -4713 and +9999, and not be 0&#8243; Error when trying to edit an existing user in APEX Administration Panel (Manage Workspaces &#62; Manage Developers and Users) ? The reason to this error can be a too large value in Manage Instance &#62; Security &#62; Account Password [...]]]></description>
			<content:encoded><![CDATA[<p>Ever got a &#8220;ORA-01841: (full) year must be between -4713 and +9999, and not be 0&#8243; Error when trying to edit an existing user in APEX Administration Panel (Manage Workspaces &gt; Manage Developers and Users) ?</p>
<p><span id="more-476"></span>The reason to this error can be a too large value in Manage Instance &gt; Security &gt; Account Password Lifetime (days). For example you can store there a number of 999999 days which is saved without any problems, but when trying to edit an user you get the ORA-01841 error message.</p>
<p>This error occurs in APEX 4.0.2.*, reported <a href="http://forums.oracle.com/forums/thread.jspa?threadID=2179568" target="_blank">as Bug in APEX Forum</a>.</p>
<p>Thanks Pascal for showing this error to me.</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=476&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/ora-01841-when-create-edit-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expandable two column Form in APEX</title>
		<link>http://www.oracle-and-apex.com/expandable-two-column-form-in-apex/</link>
		<comments>http://www.oracle-and-apex.com/expandable-two-column-form-in-apex/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 09:57:48 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[Short Notes]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[APEX]]></category>
		<category><![CDATA[Layout]]></category>
		<category><![CDATA[Tipps]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=440</guid>
		<description><![CDATA[When you create a Form page with the APEX Wizard it puts all the fields in just one column which can create a very long page. This can reduce the use experience and usability a lot. Sometimes it is a better way to put the fields in two (maybe three) columns and present them all [...]]]></description>
			<content:encoded><![CDATA[<p>When you create a Form page with the APEX Wizard it puts all the fields in just one column which can create a very long page.</p>
<p>This can reduce the use experience and usability a lot.</p>
<p>Sometimes it is a better way to put the fields in two (maybe three) columns and present them all on one screen. This gives the user the benefit of seeing all the information at once.<span id="more-440"></span></p>
<p>The easiest way of getting a two column Form in APEX is creating the Form with the Wizard and setting the attribute &#8220;Begin On New Line&#8221; for every second item to &#8220;No&#8221;.</p>
<p>This gives you a Form like this:</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/2-column-form.png"><img class="alignnone size-medium wp-image-445" title="2-column form" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/2-column-form-400x114.png" alt="" width="400" height="114" /></a></p>
<p>As you can see the 2 columns are right next to each other, they don&#8217;t use the space on the right side at all.</p>
<p>It would be much nicer, if there would be some space in between those 2 columns, so that the first column is on the left side of the screen and the second one on the right side of the screen.<br />
If there is more space (larger screen/window) the space between the columns should expand, if a smaller window/screen is used the space between the columns should shrink until it disappears.</p>
<p><a href="http://www.oracle-and-apex.com/blog/wp-content/uploads/2-column-expandable-form-arrow.png"><img class="alignnone size-medium wp-image-447" title="2-column expandable form arrow" src="http://www.oracle-and-apex.com/blog/wp-content/uploads/2-column-expandable-form-arrow-400x118.png" alt="" width="400" height="118" /></a></p>
<p>If you want to try how this feels you can use this <a href="http://apex.oracle.com/pls/apex/f?p=TWOCOLFORM:1:0" target="_blank">demo-app</a> on apex.oracle.com.<br />
Pick any entry from the list, click the edit-icon and increase/decrease the size of your browser window.</p>
<h3>How does it work?</h3>
<p>Well, there may be many different solutions to solve this. One of them is the one i used: <strong>insert a blank table-column</strong>.</p>
<p>Huh?<br />
Ok, from the start: APEX uses HTML Tables to layout the screen.</p>
<ul>
<li>In a 1-column Form Layout there is a HTML Table with two columns. The First column holds the label, the second column holds the item itself.</li>
<li>In a 2-column Form Layout (as in the middle picture) there are four columns use. Columns one and three hold labels, columns two and four hold items.</li>
</ul>
<p>When we insert a new column on position 3 (where you can see the red arrows in picture 3) and give this column the command to use as much space as it gets, the layout will adapt as we want.</p>
<p>To insert the new column we simply add <strong>&lt;/td&gt;&lt;td width=&#8221;50%&#8221;&gt;&amp;nbsp;</strong> to the &#8220;Post Element Text&#8221; of the items in the first column.</p>
<p>That&#8217;s all, enjoy!</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=440&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/expandable-two-column-form-in-apex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EA 3.0 of SQL Developer AND Datamodeler is out</title>
		<link>http://www.oracle-and-apex.com/ea-3-0-of-sql-developer-and-datamodeler-is-out/</link>
		<comments>http://www.oracle-and-apex.com/ea-3-0-of-sql-developer-and-datamodeler-is-out/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 18:45:26 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Short Notes]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=419</guid>
		<description><![CDATA[Spread the word: SQL Developer 3.0 EA is out AND SQL Developer Datamodeler 3.0 EA is out. If you missed the latest new: Datamodeler is now FREE (as in &#8220;gratis&#8221;). Go get the tools! Read more about it on Kris Rice Blog]]></description>
			<content:encoded><![CDATA[<p>Spread the word: <a href="http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html" target="_blank">SQL Developer 3.0 EA</a> is out AND <a href="http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html" target="_blank">SQL Developer Datamodeler 3.0 EA</a> is out.</p>
<p>If you missed the latest new: Datamodeler is now FREE (as in &#8220;gratis&#8221;).</p>
<p>Go get the tools!</p>
<p>Read more about it on <a href="http://krisrice.blogspot.com/" target="_blank">Kris Rice Blog</a></p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=419&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/ea-3-0-of-sql-developer-and-datamodeler-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using APP_ID in Translations</title>
		<link>http://www.oracle-and-apex.com/using-app_id-in-translations/</link>
		<comments>http://www.oracle-and-apex.com/using-app_id-in-translations/#comments</comments>
		<pubDate>Wed, 04 Aug 2010 12:25:41 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[Short Notes]]></category>
		<category><![CDATA[Tipps]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=364</guid>
		<description><![CDATA[Just a quick note: When you are working with a multilingual/translated APEX Application you sometimes need to join LOV Values in your SELECT Statement. Given Example, you have a report which reads from some table and joins the values you have defined in a Static LOV SELECT SOME.A , SOME.B , LOV .DISPLAY_VALUE FROM SOME_TABLE [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note: When you are working with a multilingual/translated APEX Application you sometimes need to join LOV Values in your SELECT Statement.</p>
<p><span id="more-364"></span>Given Example, you have a report which reads from some table and joins the values you have defined in a Static LOV</p>
<pre>SELECT SOME.A
     , SOME.B
     , LOV .DISPLAY_VALUE
  FROM SOME_TABLE SOME
     , APEX_APPLICATION_LOV_ENTRIES LOV
 WHERE LOV.APPLICATION_ID      = <span style="color: #ff0000;">:APP_ID</span>
   AND LOV.LIST_OF_VALUES_NAME = 'MY_TRANSLATED_LOV'
   AND LOV.RETURN_VALUE        = SOME.C
</pre>
<p>This works fine, until you are in a multilingual environment where the LOV entries are translated to the respective target language. With the given SELECT you would display the LOV Entry as defined in the main application, not the translation.</p>
<p>To access the Translation you need to use :<strong>APP_TRANSLATION_ID</strong></p>
<pre>SELECT SOME.A
     , SOME.B
     , LOV .DISPLAY_VALUE
  FROM SOME_TABLE SOME
     , APEX_APPLICATION_LOV_ENTRIES LOV
 WHERE LOV.APPLICATION_ID      = <span style="color: #ff0000;">:APP_TRANSLATION_ID</span>
   AND LOV.LIST_OF_VALUES_NAME = 'MY_TRANSLATED_LOV'
   AND LOV.RETURN_VALUE        = SOME.C
</pre>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=364&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/using-app_id-in-translations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APEX 4.0 Feature List</title>
		<link>http://www.oracle-and-apex.com/apex-4-0-feature-list/</link>
		<comments>http://www.oracle-and-apex.com/apex-4-0-feature-list/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 12:51:22 +0000</pubDate>
		<dc:creator>Peter Raganitsch</dc:creator>
				<category><![CDATA[Short Notes]]></category>
		<category><![CDATA[APEX 4.0]]></category>

		<guid isPermaLink="false">http://www.oracle-and-apex.com/?p=225</guid>
		<description><![CDATA[APEX 4.0 comes with tons of new Features, a good summary can be found in the New Feature Description Application. Every time I try something in APEX 4.0 i find some cool new functions or features, for the moment my favourites are: Plugins, Plugins, Plugins new Debug Mode Tree View in Application Builder Check APEX [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://tryapexnow.com" target="_blank">APEX 4.0</a> comes with tons of new Features, a good summary can be found in the <a href="http://tryapexnow.com/apex/f?p=102:8" target="_blank">New Feature Description</a> Application.<span id="more-225"></span></p>
<p>Every time I try something in APEX 4.0 i find some cool new functions or features, for the moment my favourites are:</p>
<ul>
<li>Plugins, Plugins, Plugins</li>
<li>new Debug Mode</li>
<li>Tree View in Application Builder</li>
</ul>
<p>Check APEX out now and find your cant-live-without-it-features!</p>
<img src="http://www.oracle-and-apex.com/blog/?ak_action=api_record_view&id=225&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.oracle-and-apex.com/apex-4-0-feature-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

