<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8781032233765235291</id><updated>2024-09-28T05:59:44.221+02:00</updated><title type='text'>Oracle Apex - Hints &amp;amp; Tips</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oahat.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8781032233765235291/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://oahat.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bjarke Kringelhede</name><uri>http://www.blogger.com/profile/01022122851524927911</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8781032233765235291.post-8216068161655550774</id><published>2012-03-12T12:17:00.002+01:00</published><updated>2012-03-12T12:17:21.832+01:00</updated><title type='text'>Css class of label and element on a form page</title><content type='html'>It doesnt seem possible to change the actual HTML above the &amp;lt;label&amp;gt; element of a label in a form page in APEX. And because of that I have created a little script which will update directly in the apex tables. This script should be used with caution since it is not safe to change the data in these tables manually.&lt;br /&gt;
&lt;br /&gt;
What the script does, corresponds to going through all items manually making sure the 
attributes: &quot;HTML Table Cell Attributes&quot; of the label and &quot;HTML Table 
Cell Attributes&quot; of the element are set. The script will add the text : 
&quot;class=&quot;html_table_cell_attr_label&quot;&quot; ,and the text: &quot;class=&quot;html_table_cell_attr_element&quot;&quot; to all fields where it is missing. 
It will NOT replace the text in the field.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
update apex_040100.wwv_flow_step_items set&lt;br /&gt;&amp;nbsp; cattributes = cattributes || &#39; class=&quot;html_table_cell_attr_label&quot;&#39;&lt;br /&gt;where flow_id = 100&lt;br /&gt;and cattributes not like &#39;% class=&quot;html_table_cell_attr_label&quot;%&#39;&lt;br /&gt;;&lt;br /&gt;&lt;br /&gt;update apex_040100.wwv_flow_step_items set&lt;br /&gt;&amp;nbsp; cattributes_element = cattributes_element || &#39; class=&quot;html_table_cell_attr_element&quot;&#39;&lt;br /&gt;where flow_id = 100&lt;br /&gt;and cattributes_element not like &#39;% class=&quot;html_table_cell_attr_element&quot;%&#39;&lt;br /&gt;;&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://oahat.blogspot.com/feeds/8216068161655550774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oahat.blogspot.com/2012/03/css-class-of-label-and-element-on-form.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8781032233765235291/posts/default/8216068161655550774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8781032233765235291/posts/default/8216068161655550774'/><link rel='alternate' type='text/html' href='http://oahat.blogspot.com/2012/03/css-class-of-label-and-element-on-form.html' title='Css class of label and element on a form page'/><author><name>Bjarke Kringelhede</name><uri>http://www.blogger.com/profile/01022122851524927911</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8781032233765235291.post-2263982360991602902</id><published>2012-01-18T12:21:00.000+01:00</published><updated>2012-01-19T10:46:08.216+01:00</updated><title type='text'>Is this an error in Apex 4.1?</title><content type='html'>I have recently added a topic on the oracle apex forums which noone has answered (yet). I would like to hear others opinions on this.&lt;br /&gt;
&lt;br /&gt;
Here is the link to the topic: &lt;a href=&quot;https://forums.oracle.com/forums/message.jspa?messageID=10088724#10088724&quot;&gt;https://forums.oracle.com/forums/message.jspa?messageID=10088724#10088724&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The problem is that when you set a value of a page item on another page in a region button and the value has a space in it, the value on the receiving page replaces the space with %20.&lt;br /&gt;
&lt;br /&gt;
To recreate you can do the following on a demo app at apex.oracle.com

&lt;br /&gt;
&lt;blockquote&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Go to page 4 and create a display only item called P4_VAL&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Go to page 3 and create a button redirects to page 4 and set the value of &quot;P4_VAL&quot; to: &quot;VAL WITH SPACE&quot;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
Run the app and see the value displayed on page 4 as: &quot;VAL%20WITH%20SPACE&quot;

Also see the url:
http://apex.oracle.com/pls/apex/f?p=60043:4:1914750686915384::NO::P4_VAL:VAL%2520WITH%2520SPACE

Instead of just %20 as it would normally say, now it says %2520.&lt;br /&gt;
&lt;br /&gt;
This must be an error??&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
Also, if I change the url to:
http://apex.oracle.com/pls/apex/f?p=60043:4:1914750686915384::NO::P4_VAL:VAL%20WITH%20SPACE
It works correctly.&lt;br /&gt;
&lt;br /&gt;
So it seems that where it goes wrong is in the javascript redirect code of the button (link generation)&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
This has been filed as a bug&amp;nbsp;and is tracked with Oracle bug #12971989. It will be fixed in the first patchset for apex 4.1.&lt;br /&gt;
Thanks to Anthony Rayner for answering me.</content><link rel='replies' type='application/atom+xml' href='http://oahat.blogspot.com/feeds/2263982360991602902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oahat.blogspot.com/2012/01/is-this-error-in-apex-41.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8781032233765235291/posts/default/2263982360991602902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8781032233765235291/posts/default/2263982360991602902'/><link rel='alternate' type='text/html' href='http://oahat.blogspot.com/2012/01/is-this-error-in-apex-41.html' title='Is this an error in Apex 4.1?'/><author><name>Bjarke Kringelhede</name><uri>http://www.blogger.com/profile/01022122851524927911</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8781032233765235291.post-8284162567670599333</id><published>2012-01-16T12:49:00.000+01:00</published><updated>2012-01-16T12:53:34.689+01:00</updated><title type='text'>Tabular Forms - No Data Found error</title><content type='html'>I recently got the error &quot;No data found&quot; in my tabular form when trying to delete an item. I couldnt really find out why and searched it on google :)&lt;br /&gt;&lt;br /&gt;Here I found http://oraclequirks.blogspot.com/2011/07/ora-20001-error-in-multi-row-delete.html&lt;br /&gt;&lt;br /&gt;Which describes how you should be carefull with changing the order of items in a tabular form and it got me thinking. The tabular form must use some kind of javascript to find the checked items and from that find the primary key values. I was right it turns out. In my case I had a report on page 0, with a hidden item. That hidden item got the name f01 and id f01_0001, and as soon as I deleted this the tabular form started working.&lt;br /&gt;&lt;br /&gt;So beware of having hidden items on page 0 with name f01 :)</content><link rel='replies' type='application/atom+xml' href='http://oahat.blogspot.com/feeds/8284162567670599333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oahat.blogspot.com/2012/01/tabular-forms-no-data-found-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8781032233765235291/posts/default/8284162567670599333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8781032233765235291/posts/default/8284162567670599333'/><link rel='alternate' type='text/html' href='http://oahat.blogspot.com/2012/01/tabular-forms-no-data-found-error.html' title='Tabular Forms - No Data Found error'/><author><name>Bjarke Kringelhede</name><uri>http://www.blogger.com/profile/01022122851524927911</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>