<?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-1203978269412665428</id><updated>2024-09-13T20:57:47.692-07:00</updated><category term="adf table multi select"/><category term="adf table multi selection"/><category term="fetch multiple adf table rows selected"/><category term="fetch rows of adf table on multi select"/><category term="get multiple rows selected"/><category term="get multiple rows selected in adf table"/><category term="ADF Interview"/><category term="ADF Interview points"/><category term="ADF Key words"/><category term="ADF Taskflow refresh"/><category term="ADF browser"/><category term="ADF debug"/><category term="ADF key terms"/><category term="ADF must know"/><category term="ADF number display."/><category term="ADF points to remembers"/><category term="ADF terms"/><category term="AR Navigation Paths"/><category term="Add/Remove row from a table and subsequently Refresh a table"/><category term="Build View Criteria dynamically in ADF"/><category term="Build and change View Criteria programatically ADF"/><category term="Code to find the ADF log file programatically"/><category term="Customizing OAF page"/><category term="Customizing Oracle Self Service page"/><category term="Customizing Oracle web page"/><category term="Detect the browser type and version in ADF 11g. Detect the browser type and version in ADF"/><category term="Dirty data in ADF taskflow. uncommitted data in ADF taskflow."/><category term="Dynamically refresh ADF task flow"/><category term="Dynamically refresh taskflow"/><category term="Export To Excel in ADF11g. Export To Excel in ADF11g without using export collection action listener"/><category term="Export to excel in ADF."/><category term="Find the ADF component from the page source"/><category term="General Revenue Recognition Rules"/><category term="Generic Revenue Recognition Rules"/><category term="Get Handle to AM from Backing Bean"/><category term="JBO date to SQL date"/><category term="JBO date to Util date"/><category term="JDeveloper closes abruptly on trying to open"/><category term="JDeveloper closes unexpectedly"/><category term="OAF - Best way to extend VO"/><category term="OAF - Calling Database sequence"/><category term="OAF - Create VO on FLY."/><category term="OAF - Hiding a Function/Page based on responsibility"/><category term="OAF - How to add a new VO into a existing AM"/><category term="OAF - Remove Personalizations"/><category term="OAF - Submit a OAF Page using javascript"/><category term="OAF - Switch Apps  responsibility in OAF."/><category term="OAF - Table Events"/><category term="OAF Calling Database sequence"/><category term="OAF Pass parameters"/><category term="OAF String to SQL Date"/><category term="OAF setup. Oracle Self-Service Web Applications prerequisities."/><category term="OAM authentication setup in weblogic. ADF authentication using OAM/LDAP"/><category term="Oracle ADF Glossary"/><category term="Oracle AR"/><category term="Oracle Projects Navigation Path"/><category term="Oracle Projects Navigation Paths"/><category term="Oracle R12 AR Navigation path"/><category term="Oracle Self-Service Web Applications set up considerations"/><category term="Oracle receivables"/><category term="Passing Parameters to the Resource Bundle entires in ADF"/><category term="Profile Options that need to be enabled to perform Personalizations"/><category term="Programatically hide and show popup in ADF 11g"/><category term="Programatically hide popup in ADF"/><category term="Programatically show popup in adf11g"/><category term="R12 AR"/><category term="R12 AR Navigation Path"/><category term="Receivables Navigation Paths"/><category term="Reference scope variable in VO as bind parameter"/><category term="Reference scope variable in VO object. Declarative variable assignment in VO from a scope variable."/><category term="Refresh ADF page"/><category term="Refresh ADF page programatically"/><category term="Refresh ADF page using backing bean"/><category term="Reloading an ADF page. Re-rendering ADF page."/><category term="Revenue Recognition Rules."/><category term="Setting Up Oracle Self-Service Web Applications"/><category term="Sql date To Util Date"/><category term="Sql date to JBO date"/><category term="String to Date"/><category term="String to SQL Date"/><category term="Tips to refine ADF code."/><category term="Unable to create a server socket for listening on channel &quot;Default&quot;. Cannot assign requested address: JVM_Bind. Weblogic integrateddefaultserver issue. Weblogic server not starting on Jdeveloper."/><category term="Util date to JBO date. Java date conversion in ADF.Date conversion in ADF."/><category term="Util date to Sql date"/><category term="View Criteria in ADF"/><category term="calling DB sequence"/><category term="convert sting to jbo in adf"/><category term="convert string to jbo"/><category term="convert string to jbo date"/><category term="dynamically get logger root. find logger root dynamically. get looger root at runtime."/><category term="example of resource bundle"/><category term="get AM from client method"/><category term="get Handle to AM from Manage Bean"/><category term="hide and show popup in ADF 11g using javascript"/><category term="issue with jdeveloper opening"/><category term="know browser using ADF."/><category term="loading message using resource bundle in ADF page"/><category term="loading property file in ADF page"/><category term="negative numbers with bracket in ADF. Display negative numbers in another format in ADF"/><category term="passing parameters"/><category term="programatic refresh of ADF Taskflow"/><category term="property file"/><category term="reloading ADF page"/><category term="replacing OAF background color and logo"/><category term="replacing OAF logo"/><category term="replacing standard OAF logo"/><category term="storing parameters in OAF application"/><category term="trinidad config parameter for debug."/><title type='text'>Oracle Apps (ADF/OAF/iModules)</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1203978269412665428.post-623341006425530200</id><published>2014-02-26T22:52:00.001-08:00</published><updated>2014-02-26T22:53:47.467-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unable to create a server socket for listening on channel &quot;Default&quot;. Cannot assign requested address: JVM_Bind. Weblogic integrateddefaultserver issue. Weblogic server not starting on Jdeveloper."/><title type='text'>Jdeveloper integrated server issue: Unable to create a server socket for listening on channel &quot;Default&quot;. Cannot assign requested address: JVM_Bind</title><content type='html'>Unable to create a server socket for listening on channel &quot;Default&quot;. The address xxx.xx.xxx.xxx might be incorrect or another process is using port 7101: java.net.BindException: Cannot assign requested address: JVM_Bind.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Server failed. Reason: Server failed to bind to any usable port&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Solution to overcome this error is simple two step process.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step1:&lt;/b&gt; Rename the folder &lt;b&gt;JDeveloper&amp;nbsp; &lt;/b&gt;under &lt;drive&gt;:\Users\xyz\AppData\Roaming\ to something else.&amp;nbsp;&lt;/drive&gt;&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; &lt;b&gt;AppData &lt;/b&gt;folder is a hidden folder in windows.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2:&lt;/b&gt; Restart your JDeveloper and start the integrated server, this will prompt the user to create the DefaultDomain with new parameters. Users can enter the following parameters once again and configure the defaultDomain all over again.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Address &lt;/b&gt;: User will be provided with a drop down with following values&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a) 127.0.0.1&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b) localhost&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c) IP address&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Port&lt;/b&gt;: 7101, 7001 or any desirable port. &lt;br /&gt;
&lt;br /&gt;
These settings will let you re-configure the DefaultDomain or IntegratedDefaultDomain.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; This will create a new folder &lt;drive&gt;:\Users\xyz\AppData\Roaming\&lt;b&gt;JDeveloper.&lt;/b&gt;&lt;/drive&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/623341006425530200/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2014/02/jdeveloper-integrated-server-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/623341006425530200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/623341006425530200'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2014/02/jdeveloper-integrated-server-issue.html' title='Jdeveloper integrated server issue: Unable to create a server socket for listening on channel &quot;Default&quot;. Cannot assign requested address: JVM_Bind'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-3215852678468506825</id><published>2013-10-11T18:16:00.003-07:00</published><updated>2013-10-11T18:16:46.922-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="convert sting to jbo in adf"/><category scheme="http://www.blogger.com/atom/ns#" term="convert string to jbo"/><category scheme="http://www.blogger.com/atom/ns#" term="convert string to jbo date"/><title type='text'>Convert string to jbo date</title><content type='html'>Make sure the format of the date is set as per your requirement.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; formatter = new &lt;b&gt;SimpleDateFormat&lt;/b&gt;(&quot;EEE MMM d hh:mm:ss z yyyy&quot;); &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date = formatter.&lt;b&gt;parse&lt;/b&gt;(aDate);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.sql.Date sqlDate = new java.sql.Date(date.getTime());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oracle.jbo.domain.Date jboDate = new oracle.jbo.domain.Date(sqlDate);&lt;br /&gt;
&lt;br /&gt;
If you want the date to be locale specific, use the following&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; formatter = new &lt;b&gt;SimpleDateFormat&lt;/b&gt;(pattern, &lt;b&gt;currentLocale&lt;/b&gt;);&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
Here are some customized Date and Time formats (from Oracle Site)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot; summary=&quot;Customized Date and Time Formats&quot;&gt;&lt;caption&gt;Customized Date and Time Formats&lt;/caption&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th id=&quot;h1&quot;&gt;Pattern&lt;/th&gt;
&lt;th id=&quot;h2&quot;&gt;Output&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;dd.MM.yy&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;30.06.09&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;yyyy.MM.dd G &#39;at&#39; hh:mm:ss z&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;2009.06.30 AD at 08:29:36 PDT&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;EEE, MMM d, &#39;&#39;yy&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;Tue, Jun 30, &#39;09&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;h:mm a&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;8:29 PM&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;H:mm&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;8:29&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;H:mm:ss:SSS&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;8:28:36:249&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;K:mm a,z&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;8:29 AM,PDT&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td headers=&quot;h1&quot;&gt;yyyy.MMMMM.dd GGG hh:mm aaa&lt;/td&gt;
&lt;td headers=&quot;h2&quot;&gt;2009.June.30 AD 08:29 AM&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/3215852678468506825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/10/convert-string-to-jbo-date.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/3215852678468506825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/3215852678468506825'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/10/convert-string-to-jbo-date.html' title='Convert string to jbo date'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-4586949365698132236</id><published>2013-08-07T00:13:00.003-07:00</published><updated>2013-08-07T00:13:40.144-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OAM authentication setup in weblogic. ADF authentication using OAM/LDAP"/><title type='text'>Authentication/Authorization managed by OAM in Weblogic</title><content type='html'>&lt;strong&gt;Configuration from Weblogic Console&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Security Configuration&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
1. Login to weblogic console.&lt;br /&gt;
&lt;br /&gt;
2. Click on Security Realms -&amp;gt; myrealm -&amp;gt; Providers. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Click New. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Enter Name : WebLogic_IdentityAsserter &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Type: &quot;OAM Identity Asserter&quot; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Click OK. &lt;br /&gt;
&lt;br /&gt;
3. Once done, Click on WebLogic_IdentityAsserter. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Make the Control Flag to “SUFFICIENT”&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Add “OAM_REMOTE_USER” to chosen side of Active Types. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Save the changes. &lt;br /&gt;
&lt;br /&gt;
4. Go to the Provider Specific tab. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; And update the SSOHeadername to OAM_REMOTE_USER &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Save the changes. &lt;br /&gt;
&lt;br /&gt;
5. Go to Security Realms -&amp;gt; myrealm -&amp;gt; Providers. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Click New. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Name: DSX &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Type: OpenLDAPAuthenticator.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Click OK &lt;br /&gt;
&lt;br /&gt;
6. Go to provider page and click on DSX. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Mark the Control Flag as “OPTIONAL” &lt;br /&gt;
&lt;br /&gt;
7. Click on Provider Specific tab. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Update the following&amp;nbsp;details for LDAP configuration. &lt;br /&gt;
&lt;br /&gt;
Host :&lt;ldap hostname=&quot;hostname&quot;&gt; &lt;/ldap&gt;&lt;br /&gt;
Port 389 (Default port)&lt;br /&gt;
Principal &lt;username_to_connect_to_ldap&gt; &lt;/username_to_connect_to_ldap&gt;&lt;br /&gt;
Credentials &lt;password_of_user_used_in_principal&gt; &lt;/password_of_user_used_in_principal&gt;&lt;br /&gt;
Confirm Credentials &lt;password_of_user_used_in_principal&gt; &lt;/password_of_user_used_in_principal&gt;&lt;br /&gt;
User Base DN O=&amp;lt;&amp;gt;&lt;br /&gt;
User From Name Filter (&amp;amp;(uid=%u)(objectclass=person)) &lt;br /&gt;
User Name Attribute uid &lt;br /&gt;
User Object Class person &lt;br /&gt;
Use Retrieved User Name as Principal &lt;br /&gt;
Group Base DN ou=GROUPS,o=&amp;lt;&amp;gt; &lt;br /&gt;
Group From Name Filter (&amp;amp;(cn=%g)(objectclass=group)) &lt;br /&gt;
Static Group Name Attribute cn &lt;br /&gt;
Static Group Object Class group &lt;br /&gt;
Static Member DN Attribute member &lt;br /&gt;
Static Group DNs From Member DN Filter (&amp;amp;(member=%M)(objectclass=group)) &lt;br /&gt;
GUID Attribute objectGUID &lt;br /&gt;
&lt;br /&gt;
Save the changes. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Go to Security Realms -&amp;gt; myrealm -&amp;gt;Providers. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Click on DefaultAuthenticator &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Make the Control Flag as “OPTIONAL”. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Save the changes. &lt;br /&gt;
&lt;br /&gt;
9. Make sure Provider Specific setting is a below: &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Go to Security Realms -&amp;gt; myrealm -&amp;gt; Providers. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Select the check box for DefaultIdentityAsserter. &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Click Delete. &lt;br /&gt;
&lt;br /&gt;
10. Activate the changes &amp;amp;&amp;nbsp;Restart all servers. </content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/4586949365698132236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/08/authenticationauthorization-managed-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4586949365698132236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4586949365698132236'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/08/authenticationauthorization-managed-by.html' title='Authentication/Authorization managed by OAM in Weblogic'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-8228076404656977965</id><published>2013-07-30T12:13:00.001-07:00</published><updated>2013-07-30T12:13:29.234-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dirty data in ADF taskflow. uncommitted data in ADF taskflow."/><title type='text'>To Find Dirty data (uncommitted) in ADF task flow</title><content type='html'>ControllerContext cctx = ControllerContext.getInstance();&lt;br /&gt;
cctx.getCurrentViewPort().getTaskFlowContext().is DataDirty();&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
cctx.getCurrentViewPort().isDataDirty();&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
ViewPortContext.isDataDirty();</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/8228076404656977965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/07/to-find-dirty-data-uncommitted-in-adf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/8228076404656977965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/8228076404656977965'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/07/to-find-dirty-data-uncommitted-in-adf.html' title='To Find Dirty data (uncommitted) in ADF task flow'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-1983242435163013917</id><published>2013-06-30T20:01:00.001-07:00</published><updated>2013-06-30T20:01:18.147-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OAF Pass parameters"/><category scheme="http://www.blogger.com/atom/ns#" term="passing parameters"/><category scheme="http://www.blogger.com/atom/ns#" term="storing parameters in OAF application"/><title type='text'>OAF - Pass parameters between pages and session</title><content type='html'>OAPageContext (called from UI client) &lt;br /&gt;
putSessionValue( ) &lt;br /&gt;
removeSessionValue( ) &lt;br /&gt;
getSessionValue( ) &lt;br /&gt;
&lt;br /&gt;
OAPageContext (called from UI client for encryption) &lt;br /&gt;
PutEncryptedParameter( ) &lt;br /&gt;
GetDecryptedParameter( ) &lt;br /&gt;
&lt;br /&gt;
OAPageContext (called from UI client) &lt;br /&gt;
putTransactionValue( ) &lt;br /&gt;
getTransactionValue( ) &lt;br /&gt;
removeTransactionValue( ) &lt;br /&gt;
&lt;br /&gt;
OADBTransaction (called from server) &lt;br /&gt;
putValue( ) &lt;br /&gt;
getValue( ) &lt;br /&gt;
removeValue( )</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/1983242435163013917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/oaf-pass-parameters-between-pages-and.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/1983242435163013917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/1983242435163013917'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/oaf-pass-parameters-between-pages-and.html' title='OAF - Pass parameters between pages and session'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1203978269412665428.post-3985993200692899067</id><published>2013-06-30T19:59:00.002-07:00</published><updated>2013-06-30T19:59:58.050-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADF number display."/><category scheme="http://www.blogger.com/atom/ns#" term="negative numbers with bracket in ADF. Display negative numbers in another format in ADF"/><title type='text'>Format negative numbers with bracket in ADF screens.</title><content type='html'>In Financials, it is important that negative numbers are displayed/formatted within brackets or braces.&lt;br /&gt;
&lt;br /&gt;
Challenge comes in when the the column or UI attribute holds both positive and negative number. 
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution :&lt;/b&gt; On the UI Attribute, place &lt;af:convertnumber&gt; with pattern as &lt;b&gt;&quot;#,##,###.00;(##,##,###.00)&quot;&lt;/b&gt;

&lt;/af:convertnumber&gt;&lt;br /&gt;
&lt;af:convertnumber&gt;Or

&lt;/af:convertnumber&gt;&lt;br /&gt;
&lt;af:convertnumber&gt;If the UI is based on a VO, edit the attribute properties and specify the below details as part of the Control Hints.&amp;nbsp;without the double quotes formattype as &quot;Number&quot; and format as &lt;b&gt;&quot;#,##,###.00;(##,##,###.00)&quot;
&lt;/b&gt;&lt;/af:convertnumber&gt;&lt;br /&gt;
&lt;af:convertnumber&gt;&lt;/af:convertnumber&gt;&lt;br /&gt;
&lt;af:convertnumber&gt;

The key here is semi-colon(;) seperating the value of the format, ADF internally recognizes that the second format value is for negative number. 

&lt;/af:convertnumber&gt;</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/3985993200692899067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/format-negative-numbers-with-bracket-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/3985993200692899067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/3985993200692899067'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/format-negative-numbers-with-bracket-in.html' title='Format negative numbers with bracket in ADF screens.'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-7957576864442375703</id><published>2013-06-30T19:47:00.001-07:00</published><updated>2014-02-26T23:08:20.687-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Reference scope variable in VO as bind parameter"/><category scheme="http://www.blogger.com/atom/ns#" term="Reference scope variable in VO object. Declarative variable assignment in VO from a scope variable."/><title type='text'>Reference scope variable in VO as bind parameter</title><content type='html'>&lt;span style=&quot;font-size: small;&quot;&gt;Reference scope variable in VO as&amp;nbsp;bind parameter. &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; Accessing scope variable in VO is violation of MVC but can be performed using below groovy experssion.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;adf.context.expressionEvaluator.evaluate(&#39;#{pageFlowScope.empNo}&#39;)&lt;/b&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/7957576864442375703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/reference-scope-variable-in-vo-as-bind.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/7957576864442375703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/7957576864442375703'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/reference-scope-variable-in-vo-as-bind.html' title='Reference scope variable in VO as bind parameter'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-7698733356569278932</id><published>2013-06-30T19:45:00.000-07:00</published><updated>2013-06-30T19:45:01.565-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code to find the ADF log file programatically"/><category scheme="http://www.blogger.com/atom/ns#" term="dynamically get logger root. find logger root dynamically. get looger root at runtime."/><title type='text'>get ADF Logger root directory at runtime</title><content type='html'>ADFLogger logger;&lt;br /&gt;
&lt;br /&gt;
logger = ADFLogger.createADFLogger(MyClass.class);&lt;br /&gt;
&lt;br /&gt;
InitialContext ctx = new InitialContext();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
MBeanServer server =&amp;nbsp;(MBeanServer)ctx.lookup(&quot;java:comp/env/jmx/runtime&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
ObjectName service =new ObjectName(&quot;com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.&lt;br /&gt;
runtime.RuntimeServiceMBean&quot;);&lt;br /&gt;
&lt;br /&gt;
ObjectName domain =(ObjectName)server.getAttribute(service, &quot;DomainConfiguration&quot;);&lt;br /&gt;
&lt;br /&gt;
rootDir = (String)server.getAttribute(domain, &quot;RootDirectory&quot;);&lt;br /&gt;
&lt;br /&gt;
logger.info(&quot;Root Dir : &quot; + rootDir);</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/7698733356569278932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/get-adf-logger-root-directory-at-runtime.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/7698733356569278932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/7698733356569278932'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/06/get-adf-logger-root-directory-at-runtime.html' title='get ADF Logger root directory at runtime'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-5977739672354696093</id><published>2013-05-22T12:28:00.001-07:00</published><updated>2013-05-22T12:28:58.948-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JBO date to SQL date"/><category scheme="http://www.blogger.com/atom/ns#" term="JBO date to Util date"/><category scheme="http://www.blogger.com/atom/ns#" term="Sql date to JBO date"/><category scheme="http://www.blogger.com/atom/ns#" term="Sql date To Util Date"/><category scheme="http://www.blogger.com/atom/ns#" term="Util date to JBO date. Java date conversion in ADF.Date conversion in ADF."/><category scheme="http://www.blogger.com/atom/ns#" term="Util date to Sql date"/><title type='text'>Essential Date functions for ADF</title><content type='html'>&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static java.util.Date convertSqlToUtilDate(java.sql.Date date) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date utilDate = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (date != null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; utilDate = new Date(date.getTime());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return utilDate;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static oracle.jbo.domain.Date convertSqlToJboDate(java.sql.Date date) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oracle.jbo.domain.Date jboDate = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (date != null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jboDate = new oracle.jbo.domain.Date(date);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return jboDate;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static java.sql.Date convertUtilToSQLDate(java.util.Date date) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.sql.Date sqlDate = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (date != null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlDate = new java.sql.Date(date.getTime());&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sqlDate;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static oracle.jbo.domain.Date convertUtilToJboDate(java.util.Date date) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oracle.jbo.domain.Date jboDate = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (date != null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jboDate = new oracle.jbo.domain.Date(convertUtilToSQLDate(date));&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return jboDate;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static java.sql.Date convertJboToSqlDate(oracle.jbo.domain.Date date) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.sql.Date sqlDate = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (date != null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlDate = (Date)date.getValue();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sqlDate;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static java.util.Date convertJboToUtlDate(oracle.jbo.domain.Date date) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.util.Date sqlDate = null;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (date != null) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlDate = (java.util.Date)date.getValue();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return sqlDate;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/5977739672354696093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/05/essential-date-functions-for-adf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/5977739672354696093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/5977739672354696093'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/05/essential-date-functions-for-adf.html' title='Essential Date functions for ADF'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-5705285932875898752</id><published>2013-05-10T12:28:00.001-07:00</published><updated>2013-05-10T12:28:19.806-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Oracle Projects Navigation Path"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle Projects Navigation Paths"/><title type='text'>Oracle Projects Navigation Paths</title><content type='html'>Accounting Calendar : Setup &amp;gt; Financials &amp;gt; Calendar &amp;gt; Periods&lt;br /&gt;&lt;br /&gt;Agreement : Billing &amp;gt; Agreements&lt;br /&gt;&lt;br /&gt;Agreement Template : Setup &amp;gt; Billing &amp;gt; Agreement Templates&lt;br /&gt;&lt;br /&gt;Agreement Types : Setup &amp;gt; Billing &amp;gt; Agreement Types&lt;br /&gt;&lt;br /&gt;AR Payment Terms : Setup &amp;gt; Billing &amp;gt; Payment Terms&lt;br /&gt;&lt;br /&gt;Assign AutoAccounting Rules : Setup &amp;gt; AutoAccounting &amp;gt; Assign Rules&lt;br /&gt;&lt;br /&gt;Assign Descriptive Security Rules : Setup &amp;gt; Flexfields &amp;gt; Descriptive &amp;gt; Security &amp;gt; Assign&lt;br /&gt;&lt;br /&gt;Assign Key Flexfield Security Rules : Setup &amp;gt; Flexfields &amp;gt; Key &amp;gt; Security &amp;gt; Assign&lt;br /&gt;&lt;br /&gt;AutoAccounting Lookup Sets : Setup &amp;gt; AutoAccounting &amp;gt; Lookup Sets&lt;br /&gt;&lt;br /&gt;AutoAccounting Rules : Setup &amp;gt; AutoAccounting &amp;gt; Rules&lt;br /&gt;&lt;br /&gt;Bill Rate Schedules : Setup &amp;gt; Billing &amp;gt; Bill Rate Schedules&lt;br /&gt;&lt;br /&gt;Billing Extensions : Setup &amp;gt; Billing Extensions&lt;br /&gt;&lt;br /&gt;Budget Change Reasons : Setup &amp;gt; Budgets &amp;gt; Change Reasons&lt;br /&gt;&lt;br /&gt;Budget Entry Methods : Setup &amp;gt; Budgets &amp;gt; Entry Methods&lt;br /&gt;&lt;br /&gt;Budget Types : Setup &amp;gt; Budgets &amp;gt; Budget Types&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Budgets Budgets&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Burden Cost Codes : Setup &amp;gt; Costing &amp;gt; Burden &amp;gt; Cost Codes&lt;br /&gt;&lt;br /&gt;Burden Schedules : Setup &amp;gt; Costing &amp;gt; Burden &amp;gt; Schedules&lt;br /&gt;&lt;br /&gt;Burden Structures : Setup &amp;gt; Costing &amp;gt; Burden &amp;gt; Structures&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Capital Projects&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Class Categories and Codes : Setup &amp;gt; Projects &amp;gt; Classifications&lt;br /&gt;&lt;br /&gt;Compensation Rules : Setup &amp;gt; Costing &amp;gt; Labor &amp;gt; Compensation Rules&lt;br /&gt;&lt;br /&gt;Contact Types : Setup &amp;gt; Project &amp;gt; Customers &amp;gt; Contact Types&lt;br /&gt;&lt;br /&gt;Control Actions : Setup &amp;gt; Activity Management Gateway &amp;gt; Control Actions&lt;br /&gt;&lt;br /&gt;Control Billing by Top Task : Billing &amp;gt; Control Billing by Top Task&lt;br /&gt;&lt;br /&gt;Cost Bases : Setup &amp;gt; Costing &amp;gt; Burden &amp;gt; Bases&lt;br /&gt;&lt;br /&gt;Credit Types : Setup &amp;gt; Billing &amp;gt; Credit Types&lt;br /&gt;&lt;br /&gt;Cross Validation Rules : Setup &amp;gt; Flexfields &amp;gt; Key &amp;gt; Rules&lt;br /&gt;&lt;br /&gt;Customers : Setup &amp;gt; Customers &amp;gt; Customer Entry&lt;br /&gt;&lt;br /&gt;Descriptive Flexfield Security Rules : Setup &amp;gt; Flexfields &amp;gt; Descriptive &amp;gt; Security &amp;gt; Define&lt;br /&gt;&lt;br /&gt;Descriptive Flexfield Segments : Setup &amp;gt; Flexfields &amp;gt; Descriptive &amp;gt; Segments&lt;br /&gt;&lt;br /&gt;Descriptive Flexfield Values : Setup &amp;gt; Flexfields &amp;gt; Descriptive &amp;gt; Values&lt;br /&gt;&lt;br /&gt;Dimensions : Setup &amp;gt; Collection Pack &amp;gt; Dimension&lt;br /&gt;&lt;br /&gt;Employee Cost Rates : Setup &amp;gt; Costing &amp;gt; Labor &amp;gt; Employee Cost Rates&lt;br /&gt;&lt;br /&gt;Enter Person : Setup &amp;gt; Human Resources &amp;gt; Employees&lt;br /&gt;&lt;br /&gt;Event Entry and Inquiry Windows : Billing &amp;gt; Events&lt;br /&gt;&lt;br /&gt;Event Types : Setup &amp;gt; Billing &amp;gt; Event Types&lt;br /&gt;&lt;br /&gt;Expenditure Batches : Expenditures &amp;gt; Pre-Approved Batches &amp;gt; Enter&lt;br /&gt;&lt;br /&gt;Expenditure Batches Summary : Expenditures &amp;gt; Pre-Approved Batches &amp;gt; Review&lt;br /&gt;&lt;br /&gt;Expenditure Categories : Setup &amp;gt; Expenditures &amp;gt; Expenditure Categories&lt;br /&gt;&lt;br /&gt;Expenditure Inquiry : Expenditures &amp;gt; Expenditure Inquiry Project&lt;br /&gt;&lt;br /&gt;Expenditure Inquiry Across Projects : Expenditures &amp;gt; Expenditure Inquiry All&lt;br /&gt;&lt;br /&gt;Expenditure Items : Expenditures &amp;gt; Expenditure Inquiry Project or All&lt;br /&gt;&lt;br /&gt;Expenditure Types : Setup &amp;gt; Expenditures &amp;gt; Expenditure Types&lt;br /&gt;&lt;br /&gt;Find Expenditure Batches : Expenditures &amp;gt; Pre-Approved Batches &amp;gt; Review&lt;br /&gt;&lt;br /&gt;Find Invoices : Billing &amp;gt; Invoice Review&lt;br /&gt;&lt;br /&gt;Flexfield Security Rules : Setup &amp;gt; Flexfields &amp;gt; Validation &amp;gt; Security &amp;gt; Define&lt;br /&gt;&lt;br /&gt;Flexfield Value Sets : Setup &amp;gt; Flexfields &amp;gt; Validation &amp;gt; Sets&lt;br /&gt;&lt;br /&gt;Flexfield Values : Setup &amp;gt; Flexfields &amp;gt; Validation &amp;gt; Values&lt;br /&gt;&lt;br /&gt;GL Accounts : Setup &amp;gt; Financials &amp;gt; Accounts&lt;br /&gt;&lt;br /&gt;Implementation Options : Setup &amp;gt; System &amp;gt; Implementation Options&lt;br /&gt;&lt;br /&gt;Invoice Formats : Setup &amp;gt; Billing &amp;gt; Invoice Formats&lt;br /&gt;&lt;br /&gt;Invoice Summary : Billing &amp;gt; Invoice Review&lt;br /&gt;&lt;br /&gt;Job : Setup &amp;gt; Human Resources &amp;gt; Jobs&lt;br /&gt;&lt;br /&gt;Key Flexfield Security Rules : Setup &amp;gt; Flexfields &amp;gt; Key &amp;gt; Security &amp;gt; Define&lt;br /&gt;&lt;br /&gt;Key Flexfield Segments : Setup &amp;gt; Flexfields &amp;gt; Key &amp;gt; Segments&lt;br /&gt;&lt;br /&gt;Labor Cost Multipliers : Setup &amp;gt; Costing &amp;gt; Labor &amp;gt; Cost Multipliers&lt;br /&gt;&lt;br /&gt;Location : Setup &amp;gt; Human Resources &amp;gt; Locations&lt;br /&gt;&lt;br /&gt;Maintain PA Period Statuses : Setup &amp;gt; System &amp;gt; PA Periods&lt;br /&gt;&lt;br /&gt;Mass Update Batches Project : Maintenance &amp;gt; Mass Update Batches&lt;br /&gt;&lt;br /&gt;Non-Labor Resources : Setup &amp;gt; Expenditures &amp;gt; Non-Labor Resources&lt;br /&gt;&lt;br /&gt;Organization : Setup &amp;gt; Human Resources &amp;gt; Organizations &amp;gt; Define&lt;br /&gt;&lt;br /&gt;Organization Hierarchies : Setup &amp;gt; Human Resources &amp;gt; Organizations &amp;gt; Hierarchies&lt;br /&gt;&lt;br /&gt;PA Periods : Setup &amp;gt; System &amp;gt; PA Periods&lt;br /&gt;&lt;br /&gt;Payment Terms : Setup &amp;gt; Billing &amp;gt; Payment Terms&lt;br /&gt;&lt;br /&gt;Percent Complete Project : Status &amp;gt; Percent Complete&lt;br /&gt;&lt;br /&gt;Period Types : Setup &amp;gt; Financials &amp;gt; Calendar &amp;gt; Types&lt;br /&gt;&lt;br /&gt;Personal Profile Values : Other &amp;gt; Profile&lt;br /&gt;&lt;br /&gt;Pre-Approved Expenditure Batch Review : Expenditures &amp;gt; Pre-Approved Batches &amp;gt; Review&lt;br /&gt;&lt;br /&gt;Pre-Approved Expenditure Entry : Expenditures &amp;gt; Pre-Approved Batches &amp;gt; Enter&lt;br /&gt;&lt;br /&gt;Project Customer Relationships : Setup &amp;gt; Projects &amp;gt; Customers &amp;gt; Relationships&lt;br /&gt;&lt;br /&gt;Project Funding Inquiry : Billing &amp;gt; Funding Inquiry&lt;br /&gt;&lt;br /&gt;Project Role Types : Setup &amp;gt; Projects &amp;gt; Role Types&lt;br /&gt;&lt;br /&gt;Project Status Inquiry : Project Status &amp;gt; Project Status Inquiry&lt;br /&gt;&lt;br /&gt;Project Status Inquiry Columns : Setup &amp;gt; Project Status Columns&lt;br /&gt;&lt;br /&gt;Project Statuses : Setup &amp;gt; Projects &amp;gt; Statuses&lt;br /&gt;&lt;br /&gt;Project Types : Setup &amp;gt; Projects &amp;gt; Project Types&lt;br /&gt;&lt;br /&gt;Projects Templates Summary : Setup &amp;gt; Projects &amp;gt; Project Templates&lt;br /&gt;&lt;br /&gt;PTE Employee Assignment to Operating Unit : Setup &amp;gt; Expenditures &amp;gt; PTE-Multiple Org&lt;br /&gt;&lt;br /&gt;QuickCodes : Setup &amp;gt; Human Resources &amp;gt; QuickCodes&lt;br /&gt;&lt;br /&gt;Request Set&amp;nbsp; : Other &amp;gt; Requests &amp;gt; Set&lt;br /&gt;&lt;br /&gt;Resource Lists : Setup &amp;gt; Budgets &amp;gt; Resource Lists&lt;br /&gt;&lt;br /&gt;Revenue Categories : Setup &amp;gt; Expenditures &amp;gt; Revenue Categories&lt;br /&gt;&lt;br /&gt;Revenue Review Windows : Billing &amp;gt; Revenue Review&lt;br /&gt;&lt;br /&gt;Review Online Time and Expense : Expenditures &amp;gt; Online Expenditure Review &amp;gt; Supervisor&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;Expenditures &amp;gt; Online Expenditure Review &amp;gt; All&lt;br /&gt;&lt;br /&gt;Review Transactions : Expenditures &amp;gt; Transaction Import &amp;gt; Review Transactions&lt;br /&gt;&lt;br /&gt;Role Types : Setup &amp;gt; Projects &amp;gt; Role Types&lt;br /&gt;&lt;br /&gt;Rollup Groups : Setup &amp;gt; Flexfields &amp;gt; Key &amp;gt; Groups&lt;br /&gt;&lt;br /&gt;Segment Values : Setup &amp;gt; Flexfields &amp;gt; Key &amp;gt; Values&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;Setup &amp;gt; Flexfields &amp;gt; Descriptive &amp;gt; Values&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;Setup &amp;gt; Flexfields &amp;gt; Validation &amp;gt; Values&lt;br /&gt;&lt;br /&gt;Service Types : Setup &amp;gt; Projects &amp;gt; Service Types&lt;br /&gt;&lt;br /&gt;Set of Books : Setup &amp;gt; Financials &amp;gt; Books&lt;br /&gt;&lt;br /&gt;Shorthand Aliases : Setup &amp;gt; Flexfields &amp;gt; Key &amp;gt; Aliases&lt;br /&gt;&lt;br /&gt;Source Products : Setup &amp;gt; Activity Management Gateway &amp;gt; Source Products&lt;br /&gt;&lt;br /&gt;Submit Requests : Other &amp;gt; Requests &amp;gt; Run&lt;br /&gt;&lt;br /&gt;System Options : Setup &amp;gt; Customers &amp;gt; System Options&lt;br /&gt;&lt;br /&gt;Transaction Controls Projects. Find the project for which you want to enter transaction controls. Choose Open. Select Transaction Controls from the Project Options.&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;Projects. Find the project. Choose Open. Select Tasks. Chose the task for which you want to enter transaction controls. Choose Options. Choose Transaction Controls from the Task Options.&lt;br /&gt;&lt;br /&gt;Transaction Sources : Setup &amp;gt; Expenditures &amp;gt; Transaction Sources&lt;br /&gt;&lt;br /&gt;Units : Setup &amp;gt; Expenditures &amp;gt; Units&lt;br /&gt;&lt;br /&gt;Value Sets : Setup &amp;gt; Flexfields &amp;gt; Validation Sets&lt;br /&gt;&lt;br /&gt;View Burdened Costs : Setup &amp;gt; Costing &amp;gt; Burden &amp;gt; View</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/5705285932875898752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/05/oracle-projects-navigation-paths.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/5705285932875898752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/5705285932875898752'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/05/oracle-projects-navigation-paths.html' title='Oracle Projects Navigation Paths'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-2595178438130243437</id><published>2013-03-04T18:59:00.000-08:00</published><updated>2014-02-26T23:08:59.466-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Add/Remove row from a table and subsequently Refresh a table"/><title type='text'>Add/Remove row from a table and subsequently Refresh a table</title><content type='html'>Add/Remove row from a table and subsequently Refresh a table. &lt;br /&gt;
&lt;br /&gt;
The button ID is referenced in the table&#39;s &quot;partialTrigger&quot; property so that clicking the button initiates a table refresh &lt;br /&gt;
&lt;br /&gt;
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();&lt;br /&gt;
OperationBinding operationBinding = bindings.getOperationBinding(&quot;Commit&quot;); &lt;br /&gt;
Object result = operationBinding.execute(); &lt;br /&gt;
if (!operationBinding.getErrors().isEmpty()) { &lt;br /&gt;
//handle errors if any //... return;&lt;br /&gt;
} &lt;br /&gt;
AdfFacesContext.getCurrentInstance().addPartialTarget( this.getDepartmentsTable()); &lt;br /&gt;
&lt;br /&gt;
---------------------------------- &lt;br /&gt;
1. Creating a binding for the table on which you want to delete the row. Binding creates setter method setMyTable(RichTable table) and getter method like getMyTable() returning RichTable. &lt;br /&gt;
&lt;br /&gt;
2. On a button click or on any other action delete the table row as below.&lt;br /&gt;
&lt;br /&gt;
DCIteratorBinding dciter = (DCIteratorBinding) bindings.get(&quot;MyVOIterator&quot;); &lt;br /&gt;
Row currentRow = dciter.getCurrentRow(); &lt;br /&gt;
dciter.removeCurrentRow(); &lt;br /&gt;
AdfFacesContext.getCurrentInstance().addPartialTarget( this.getMyTable());</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/2595178438130243437/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/03/addremove-row-from-table-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/2595178438130243437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/2595178438130243437'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/03/addremove-row-from-table-and.html' title='Add/Remove row from a table and subsequently Refresh a table'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-5695739452138942529</id><published>2013-02-20T01:03:00.003-08:00</published><updated>2013-02-20T01:03:49.155-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="issue with jdeveloper opening"/><category scheme="http://www.blogger.com/atom/ns#" term="JDeveloper closes abruptly on trying to open"/><category scheme="http://www.blogger.com/atom/ns#" term="JDeveloper closes unexpectedly"/><title type='text'>JDeveloper closes abruptly on trying to open</title><content type='html'>&lt;div class=&quot;viewitem-header&quot;&gt;




  
  
  &lt;a href=&quot;http://adfhowto.blogspot.com/2011/06/troubleshooting-jdeveloper-closes.html&quot; itemprop=&quot;url&quot; rel=&quot;bookmark&quot;&gt;



&lt;/a&gt;Sometimes its frustrating to see Jdev closing immediately on opening. We try restarting the machine, re-installing jdev...and nothing seems to be working.&lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
This is a sign that something got corrupted on Jdeveloper. &lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
Best way to get over this issue is to restore it back to the original setting (Ofcourse you loose all your settings, preferences, svn connection, DB settings, external tools, etc ..). &lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
The way you do this is by removing system11.1.1.* folder under jdeveloper. Yes, not the best soution, but better than re-installing jdeveloper. &lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
&lt;br /&gt;
On restarting&amp;nbsp;JDeveloper,&amp;nbsp;it creates a new&amp;nbsp;system11.1.1* directory. &lt;/div&gt;
&lt;div class=&quot;viewitem-header&quot;&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #660000;&quot;&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/5695739452138942529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2013/02/jdeveloper-closes-abruptly-on-trying-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/5695739452138942529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/5695739452138942529'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2013/02/jdeveloper-closes-abruptly-on-trying-to.html' title='JDeveloper closes abruptly on trying to open'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-4957189516474149292</id><published>2012-10-26T02:32:00.002-07:00</published><updated>2013-06-30T19:58:21.838-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADF browser"/><category scheme="http://www.blogger.com/atom/ns#" term="Detect the browser type and version in ADF 11g. Detect the browser type and version in ADF"/><category scheme="http://www.blogger.com/atom/ns#" term="know browser using ADF."/><title type='text'>Detect the browser type and version in ADF</title><content type='html'>&lt;strong&gt;How-to detect the browser type and version&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Trinidad RequestContext object provides access to the user browser type and browser version. using Expression Language as&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;#{requestContext.agent.agentName}&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;#{requestContext.agent.agentVersion}&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Trinidad RequestContext class is exposed through the AdfFacesContext class, which means that we can also use&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;#{adfFacesContext.agent.agentName}&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;#{adfFacesContext.agent.agentVersion}&lt;/strong&gt;</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/4957189516474149292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/10/detect-browser-type-and-version-in-adf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4957189516474149292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4957189516474149292'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/10/detect-browser-type-and-version-in-adf.html' title='Detect the browser type and version in ADF'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-1330676924649130202</id><published>2012-10-18T01:29:00.002-07:00</published><updated>2012-10-18T01:29:41.566-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="OAF setup. Oracle Self-Service Web Applications prerequisities."/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle Self-Service Web Applications set up considerations"/><category scheme="http://www.blogger.com/atom/ns#" term="Setting Up Oracle Self-Service Web Applications"/><title type='text'>OAF setup on server before running Oracle Self-Service Web Applications</title><content type='html'>Configure environment variables and servlet zone list, these are prerequisite before deploying the OAF code on to the server.&amp;nbsp; (Courtesy : &lt;em&gt;Oracle Documentation&lt;/em&gt;)&lt;br /&gt;
&lt;br /&gt;
1. Locate the file jserv.properties. &lt;br /&gt;
All environment variables are set in this file. It is important to get $CLASSPATH and $LD_LIBRARY_PATH correct here. You can look at APPLSYS.env and adovars.env under $APPL_TOP for these two variable settings. &lt;br /&gt;
&lt;br /&gt;
2. In jserv.properties, modify the following parameters: &lt;br /&gt;
wrapper.bin &lt;br /&gt;
The wrapper.bin property must contain the full path to the executable for the Java Virtual Machine. It sets which Java Virtual Machine interpreter to use here. For example: &lt;br /&gt;
wrapper.bin=/local/java/jdk1.1.6/bin/java &lt;br /&gt;
&lt;br /&gt;
wrapper.classpath &lt;br /&gt;
This property contains the CLASSPATH environment value passed to the JVM. The wrapper.classpath property must contain both the JSDK and the JServ jar file. It should probably also contain the JVM&#39;s classes.zip file and directives of servlet zones. &lt;br /&gt;
The syntax is: &lt;br /&gt;
wrapper.classpath=[path] &lt;br /&gt;
For example: &lt;br /&gt;
wrapper.classpath=/usr/local/ApacheJServ/jservlets &lt;br /&gt;
wrapper.classpath=/local/java/jdk1.1.6/lib/classes.zip &lt;br /&gt;
wrapper.classpath=/usr/local/ApacheJserv/src/java/ApacheJServ.jar &lt;br /&gt;
&lt;br /&gt;
wrapper.env &lt;br /&gt;
This property is an environment name whose value is passed to the JVM. &lt;br /&gt;
The syntax is: &lt;br /&gt;
wrapper.env=[name]=[value] &lt;br /&gt;
&lt;br /&gt;
You should set the $LD_LIBRARY_PATH variable here to the directory which contains the JDBC library file. For example: &lt;br /&gt;
wrapper.env=LD_LIBRARY_PATH=/oracle/db/8.1.6.1/lib &lt;br /&gt;
&lt;br /&gt;
NLS environment variables should also be set here for the JDBC to operate. For example: &lt;br /&gt;
wrapper.env=NLS_LANG=AMERICAN_AMERICA &lt;br /&gt;
wrapper.env=ORA_NLS33=/opt/tools/ocommon/nls/admin/data &lt;br /&gt;
wrapper.env=NLS_DATE_FORMAT=DD-MON-RR &lt;br /&gt;
&lt;br /&gt;
zones &lt;br /&gt;
This property lists the servlet zones that JServ manages. The syntax is: &lt;br /&gt;
zones=&lt;servlet zone=&quot;zone&quot;&gt;,&lt;servlet zone=&quot;zone&quot;&gt; &lt;br /&gt;For example: &lt;br /&gt;zones=jservlets &lt;br /&gt;&lt;br /&gt;You must specify the configuration file location for each servlet zone that is specified. For example: &lt;br /&gt;jservlets.properties=/usr/local/ApacheJServ/jservlets/ &lt;/servlet&gt;&lt;/servlet&gt;</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/1330676924649130202/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/10/oaf-setup-on-server-before-running.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/1330676924649130202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/1330676924649130202'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/10/oaf-setup-on-server-before-running.html' title='OAF setup on server before running Oracle Self-Service Web Applications'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-2929043267765868161</id><published>2012-10-15T01:20:00.004-07:00</published><updated>2012-10-15T01:54:08.731-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADF debug"/><category scheme="http://www.blogger.com/atom/ns#" term="Find the ADF component from the page source"/><category scheme="http://www.blogger.com/atom/ns#" term="trinidad config parameter for debug."/><title type='text'>Find the ADF component from the page source.</title><content type='html'>When the JSF page becomes bulkier,&amp;nbsp;the HTML view source of JSF pages is not very easily readable.&lt;br /&gt;

Setting the below flag in &lt;b&gt;trinidad-config.xml &lt;/b&gt;( under view controller -&gt; Web Content -&gt; &lt;b&gt;WEB-INF&lt;/b&gt;) will add comments showing which ADF component caused which HTML to be rendered.&lt;br /&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&amp;lt;debug-output&amp;gt;true &amp;lt;/debug-output&amp;gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;

Found it very handy and useful.</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/2929043267765868161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/10/find-adf-component-from-page-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/2929043267765868161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/2929043267765868161'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/10/find-adf-component-from-page-source.html' title='Find the ADF component from the page source.'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-6795926126943972082</id><published>2012-09-30T23:43:00.003-07:00</published><updated>2014-02-26T23:09:24.167-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Build and change View Criteria programatically ADF"/><category scheme="http://www.blogger.com/atom/ns#" term="Build View Criteria dynamically in ADF"/><category scheme="http://www.blogger.com/atom/ns#" term="View Criteria in ADF"/><title type='text'>Build and Manage View Criteria dynamically in ADF</title><content type='html'>&lt;b&gt;View Criteria :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Using Structured Where Clauses:&lt;/b&gt; View criteria are structured criteria that you can use to assemble a WHERE clause. Instead of changing WHERE clauses using string manipulation, you may find it more efficient to use view criteria to assemble complex WHERE clauses in conjunctive normal form. &lt;br /&gt;
&lt;b&gt;To use structured WHERE clauses: &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Instantiate the a ViewCriteria class by calling &lt;b&gt;createViewCriteria&lt;/b&gt;() on the view object instance. For example, to create view criteria for the view object instance myOrdVO , you could use the following code: &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ViewCriteria&lt;/b&gt; vc = myOrdVO.&lt;b&gt;createViewCriteria&lt;/b&gt;(); &lt;br /&gt;
&lt;br /&gt;
2. For each view criteria row you will need, create a view criteria row by calling &lt;b&gt;createViewCriteriaRow&lt;/b&gt;() on the ViewCriteria,&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Example&lt;/u&gt;&lt;/b&gt;: &lt;b&gt;ViewCriteriaRow&lt;/b&gt; cRow = vc.&lt;b&gt;createViewCriteriaRow&lt;/b&gt;();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Set the requirements for each view criteria row by calling &lt;b&gt;setAttribute&lt;/b&gt;() on the ViewCriteriaRow. Pass setAttribute() the name of the view object attribute and the SQL requirement to be applied to the attribute: &lt;br /&gt;
&lt;br /&gt;
cRow.&lt;b&gt;setAttribute&lt;/b&gt;(&quot;OrderTotal&quot;, &quot;&amp;gt; 500&quot;);&lt;br /&gt;
&lt;br /&gt;
cRow.&lt;b&gt;setAttribute&lt;/b&gt;(&quot;CreditLimit&quot;, &quot;&amp;gt; 2500&quot;);&lt;br /&gt;
&lt;br /&gt;
cRow.&lt;b&gt;setAttribute&lt;/b&gt;(&quot;PromotionId&quot;, &quot;IS NOT NULL&quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. Add the rows to the view criteria by passing them to &lt;b&gt;addElement&lt;/b&gt;() on the ViewCriteria: &lt;br /&gt;
&lt;b&gt;vc.addElement(cRow);&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Apply the view criteria to the view object instance by passing the ViewCriteria to &lt;b&gt;applyViewCriteria&lt;/b&gt;(): &lt;br /&gt;
&lt;b&gt;myOrdVO.applyViewCriteria(vc); &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
At any time, you can do any of the following: &lt;br /&gt;
&lt;br /&gt;
 Change the requirements in any row using &lt;b&gt;setAttribute&lt;/b&gt;() &lt;br /&gt;
&lt;br /&gt;
 Add further rows to the criteria using &lt;b&gt;addElement&lt;/b&gt;() &lt;br /&gt;
&lt;br /&gt;
 Remove rows from the criteria using &lt;b&gt;removeElement&lt;/b&gt;() &lt;br /&gt;
&lt;br /&gt;
 Construct and apply entirely different view criteria &lt;br /&gt;
&lt;br /&gt;
 Unapply view critera by passing &lt;b&gt;null&lt;/b&gt; to &lt;b&gt;applyViewCriteria&lt;/b&gt;() &lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/6795926126943972082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/build-and-manage-view-criteria.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/6795926126943972082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/6795926126943972082'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/build-and-manage-view-criteria.html' title='Build and Manage View Criteria dynamically in ADF'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-6100131893937865291</id><published>2012-09-19T23:01:00.000-07:00</published><updated>2013-03-04T18:54:26.799-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADF Taskflow refresh"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamically refresh ADF task flow"/><category scheme="http://www.blogger.com/atom/ns#" term="Dynamically refresh taskflow"/><category scheme="http://www.blogger.com/atom/ns#" term="programatic refresh of ADF Taskflow"/><title type='text'>ADF Taskflow programatic refresh</title><content type='html'>Refreshing a taskflow sometimes becomes very essential in scenarios where we have multiple pages/fragments in a task flow and the business process requires&amp;nbsp;multiple taskflows and each taskflows are interconnected. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;For example :&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Taskflow 1 has Pagefragment1, Pageframent2, Pagefragment3 and are executed in the same sequence based on your busines scenario. &lt;br /&gt;
&lt;br /&gt;
Taskflow 2 has Pagefragment3, Pageframent4, Pagefragment5&lt;br /&gt;
&lt;br /&gt;
Now on completion of Taskflow 1 (i.e Pagefragment 3), we call taskflow 2 and for any reason based on business logic we have to&amp;nbsp; go back to taskflow1. Surprisingly, taskflow1 starts at Pageframent 3 and NOT at Pageframent1, even though we set the default task for Taskflow1 as Pageframent1. &lt;br /&gt;
&lt;br /&gt;
In such a scenario, we need to refresh the task flow that we instead to call by getting handler to the taskflow binding and refresh the taskflow. Refresh of taskflow re-renders/re-executes the taskflow starting from the default selection in the task flow. Below is the code snippet to do the same.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;DCTaskFlowBinding&lt;/strong&gt; tf = (&lt;strong&gt;DCTaskFlowBinding&lt;/strong&gt;) JSFUtils.resolveExpression&lt;strong&gt;(&quot;#{binding.mytaskflow}&quot;);&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;//Refresh taskflow&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
tf.&lt;strong&gt;getRegionModel&lt;/strong&gt;().&lt;strong&gt;refreshh&lt;/strong&gt;(&lt;strong&gt;FacesContext&lt;/strong&gt;.&lt;strong&gt;getCurrentinstance&lt;/strong&gt;()); </content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/6100131893937865291/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/adf-taskflow-refresh.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/6100131893937865291'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/6100131893937865291'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/adf-taskflow-refresh.html' title='ADF Taskflow programatic refresh'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1203978269412665428.post-6353547636437954828</id><published>2012-09-19T03:00:00.003-07:00</published><updated>2012-09-19T03:00:26.148-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="General Revenue Recognition Rules"/><category scheme="http://www.blogger.com/atom/ns#" term="Generic Revenue Recognition Rules"/><category scheme="http://www.blogger.com/atom/ns#" term="Revenue Recognition Rules."/><title type='text'>Generic Revenue Recognition Rules</title><content type='html'>Revenue generally is earned and realized or realizable when all of the following criteria are met: &lt;br /&gt;
&lt;br /&gt;
• &lt;strong&gt;Persuasive evidence of an arrangement exists.&lt;/strong&gt; The requirement that persuasive evidence of an arrangement exists is intended to ensure that the understanding between the parties about the specific nature and terms of a transaction has been finalized. Determining the proper accounting treatment for a transaction depends on evidence of the final understanding between the parties, because a change in terms could lead to a different conclusion regarding the revenue recognition model to apply. &lt;br /&gt;
&lt;br /&gt;
• &lt;strong&gt;Delivery has occurred or services have been rendered&lt;/strong&gt;. Unless delivery has occurred or services have been rendered, the seller has not substantially completed its obligations under the terms of the arrangement, and revenue should not be recognized. Delivery is generally deemed to have occurred when the customer takes title and assumes the risks and rewards of ownership.&lt;br /&gt;
&lt;br /&gt;
• &lt;strong&gt;The seller’s price to the buyer is fixed or determinable&lt;/strong&gt;. Whether the price is fixed or determinable depends on many factors, including payment terms, discounts, and rebates, which can vary from arrangement to arrangement. In determining whether the price is fixed or determinable, entities should evaluate all elements of an arrangement to ensure that amounts recognized as revenue are not subject to refund or adjustment.&lt;br /&gt;
&lt;br /&gt;
• &lt;strong&gt;Collectibility is reasonably assured&lt;/strong&gt;. If the collection of fees in an arrangement is not reasonably assured, the general principle of being realized or realizable is not met, and revenue recognition is precluded until collection is reasonably assured.</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/6353547636437954828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/generic-revenue-recognition-rules.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/6353547636437954828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/6353547636437954828'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/generic-revenue-recognition-rules.html' title='Generic Revenue Recognition Rules'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-4361819733095455217</id><published>2012-09-10T00:06:00.001-07:00</published><updated>2014-02-26T23:09:40.160-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Export to excel in ADF."/><category scheme="http://www.blogger.com/atom/ns#" term="Export To Excel in ADF11g. Export To Excel in ADF11g without using export collection action listener"/><title type='text'>Export To Excel in ADF</title><content type='html'>ADF 11g has provided the feature of exporting to excel using export listener as follows&lt;br /&gt;
&lt;br /&gt;
&amp;lt;&lt;b&gt;af:exportCollectionActionListener&lt;/b&gt; exportedId=&quot;tableId&quot;&amp;nbsp;type=&quot;&lt;b&gt;excelHTML&lt;/b&gt;&quot; title=&quot;My Excel Document&quot; filename=&quot;testFile.xls&quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;This feature has couple of&amp;nbsp;limitation &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp;Export&amp;nbsp;can be based on a single&amp;nbsp;table. If multiple tables are given we get the following error. &lt;br /&gt;
&lt;i&gt;&lt;exportcollectionactionlistener&gt; &lt;processaction&gt; Exported collection with the ID of: t1 t2 was not found&lt;/processaction&gt;&lt;/exportcollectionactionlistener&gt;&lt;/i&gt;. with t1, t2 being table Ids.&lt;br /&gt;
&lt;br /&gt;
2. The current feature doesn&#39;t allow to export data based on page iterators. As there are many scenarios we base our export to excel on different data(iterators) in the real world. 
&amp;nbsp; 
A traditional approach of exporting data has addressed the above two problems. Below is the code...&lt;br /&gt;
&lt;br /&gt;
public String exporttoexcel_action() throws IOException {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String filename = &quot;testFile.xls&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FacesContext fc = FacesContext.getCurrentInstance();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry(); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;// get response object.&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;// Set the file name &lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response.setHeader(&quot;Content-disposition&quot;, &quot;attachment; filename=&quot; + filename);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;// Set MIME type to excel&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response.setContentType(&quot;application/vnd.ms-excel&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PrintWriter out = response.getWriter();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DCIteratorBinding theateriter = (DCIteratorBinding)bc.get(&quot;MyVO1Iterator&quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printtoexcel(theateriter,out);&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.println();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DCIteratorBinding areaiter = (DCIteratorBinding)bc.get(&quot;MyVO2Iterator&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;printtoexcel(theateriter,out);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.close();&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;fc.responseComplete();&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return null;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public void &lt;b&gt;printtoexcel&lt;/b&gt;(DCIteratorBinding iter, PrintWriter out) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowSetIterator rsi = iter.getRowSetIterator();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String[] attNames = rsi.getRowAtRangeIndex(0).getAttributeNames();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (int i = 0; i &amp;lt; attNames.length-1; i++) { &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (i &amp;gt; 0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.print(&quot;\t&quot;); // tab after each value&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;out.print(attNames[i]); &lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Alternate Appraoches : &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
1. Using Apache open source POI APIs.&lt;br /&gt;
2. Other way to overcome this limitation is to override the export collection action listener class. (Never tried).</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/4361819733095455217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/export-to-excel-in-adf.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4361819733095455217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4361819733095455217'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/export-to-excel-in-adf.html' title='Export To Excel in ADF'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1203978269412665428.post-456506956196112748</id><published>2012-09-07T00:39:00.002-07:00</published><updated>2014-02-26T23:10:16.681-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="hide and show popup in ADF 11g using javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Programatically hide and show popup in ADF 11g"/><category scheme="http://www.blogger.com/atom/ns#" term="Programatically hide popup in ADF"/><category scheme="http://www.blogger.com/atom/ns#" term="Programatically show popup in adf11g"/><title type='text'>Programatically hide and show popup in ADF 11g</title><content type='html'>&lt;b&gt;Programatically hide and show popup in ADF 11g&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;/**&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;* Show popup.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;*/&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
import org.apache.myfaces.trinidad.render.&lt;b&gt;ExtendedRenderKitService&lt;/b&gt;;&lt;br /&gt;
import org.apache.myfaces.trinidad.util.&lt;b&gt;Service&lt;/b&gt;;&lt;br /&gt;
&lt;br /&gt;
public static void showPopup(UIComponent pId) {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String popupId= (String )pId.getClientId(getFacesContext());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FacesContext context = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExtendedRenderKitService extRenderKitSrvc = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder script = new StringBuilder();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;context = FacesContext.getCurrentInstance();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;extRenderKitSrvc = Service.getRenderKitService(context, ExtendedRenderKitService.class);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;script.append(&quot;var popup = &lt;b&gt;AdfPage.PAGE.findComponent&lt;/b&gt;(&#39;&quot;).append(&lt;b&gt;popupId&lt;/b&gt;).append(&quot;&#39;); &quot;).append(&quot;popup.show();&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extRenderKitSrvc.addScript(context, script.toString());&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;/**&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;* Hide popup.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;*/&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
public static void hidePopup(UIComponent pId) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String popupId= (String )pId.getClientId(getFacesContext());&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FacesContext context = FacesContext.getCurrentInstance();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExtendedRenderKitService erkService = Service.getService(context.getRenderKit(),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExtendedRenderKitService.class);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; erkService.addScript(context,&quot;&lt;b&gt;AdfPage.PAGE.findComponent&lt;/b&gt;(&#39;&quot; + &lt;b&gt;popupId &lt;/b&gt;+ &quot;&#39;).hide();&quot;);&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/456506956196112748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/programatically-hide-and-show-popup-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/456506956196112748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/456506956196112748'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/programatically-hide-and-show-popup-in.html' title='Programatically hide and show popup in ADF 11g'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-1693615887361823000</id><published>2012-09-02T01:45:00.000-07:00</published><updated>2012-09-30T23:48:41.216-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reloading ADF page"/><category scheme="http://www.blogger.com/atom/ns#" term="Reloading an ADF page. Re-rendering ADF page."/><title type='text'>Reloading an ADF page in 11g</title><content type='html'>&lt;strong&gt;Programmatically reloading an ADF page.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
FacesContext fc = FacesContext.getCurrentInstance();&lt;br /&gt;
String viewId = fc.getViewRoot().getViewId();&lt;br /&gt;
String resourceUrl = fc.getApplication().getViewHandler().getActionURL(fc, viewId);&lt;br /&gt;
&lt;br /&gt;
try {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExternalContext ec= fc.getExternalContext();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ec.redirect(resourceUrl);&lt;br /&gt;
} catch (Exception e) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;e.printStackTrace();&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/1693615887361823000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/reloding-adf-page-in-11g.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/1693615887361823000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/1693615887361823000'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/09/reloding-adf-page-in-11g.html' title='Reloading an ADF page in 11g'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-4230292993953629746</id><published>2012-08-22T10:21:00.002-07:00</published><updated>2014-02-26T23:11:00.202-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="get AM from client method"/><category scheme="http://www.blogger.com/atom/ns#" term="Get Handle to AM from Backing Bean"/><category scheme="http://www.blogger.com/atom/ns#" term="get Handle to AM from Manage Bean"/><title type='text'>Different ways of getting Handle to AM from Backing Bean</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Method 1 :&lt;/b&gt; (&lt;b&gt;Note :&lt;/b&gt; &lt;b&gt;ValueBinding &lt;/b&gt;is deprecated in 11g)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 1. Create a value binding&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 2. Access the binding container&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 3. Find the data control using #data binding.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 4. Access the data control&#39;s application module data provider&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;ValueBinding&lt;/b&gt; vb=fctx.getApplication().createValueBinding(); &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;BindingContext&lt;/b&gt; bc = (BindingContext)vb.getValue(fctx); &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;DCDataControl&lt;/b&gt; dc =&amp;nbsp; bc.findDataControl&lt;b&gt;(&quot;#{data}&quot;); &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;ApplicationModule&lt;/b&gt; am =(ApplicationModule)dc.getDataProvider(); &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Method 2 : (Typically used in a managed bean)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Configuration.&lt;b&gt;createRootApplicationModule&lt;/b&gt;(MyAMDefn,AMConfig);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;Configuration.&lt;b&gt;releaseRootApplicationModule&lt;/b&gt;(&lt;am name=&quot;name&quot;&gt;,..);&lt;/am&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Method 3 : (Typically used in a backing bean based on page iterators)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 1. Access the binding container&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 2. Find a named iterator binding&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 3. Get the data control from the iterator binding&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 4. Access the data control&#39;s application module data provider&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;DCBindingContainer&lt;/b&gt; bc = (DCBindingContainer)getBindings();
&lt;b&gt;DCIteratorBinding&lt;/b&gt; iter = bc.findIteratorBinding(&quot;&lt;b&gt;MyVOIterator&lt;/b&gt;&quot;);
&lt;b&gt;DCDataControl&lt;/b&gt; dc  = iter.getDataControl();
&lt;b&gt;ApplicationModule&lt;/b&gt; am = (ApplicationModule)dc.getDataProvider();
&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;oac_no_warn&quot; xml:space=&quot;preserve&quot;&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Method 4 : (Typically used in a backing bean based on action binding)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 1. Access the binding container&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 2. Find a named action binding&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 3. Get the data control from the iterator binding (or method binding)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 4. Access the data control&#39;s application module data provider&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;DCBindingContainer&lt;/b&gt; bc = (DCBindingContainer)getBindings();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;JUCtrlActionBinding&lt;/b&gt; action = (JUCtrlActionBinding)bc.findCtrlBinding(&quot;&lt;b&gt;MyActionMethod&lt;/b&gt;&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;DCDataControl&lt;/b&gt; dc = action.getDataControl();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;ApplicationModule&lt;/b&gt; am = (ApplicationModule)dc.getDataProvider();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Method&amp;nbsp;5 : &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 1. Access the binding context&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 2. Find data control by name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;// 3. Access the data control&#39;s application module data provider&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;FacesContext&lt;/b&gt; fctx = FacesContext.getCurrentInstance();&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;BindingContext&lt;/b&gt; bindingContext = BindingContext.getCurrent();&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;DCDataControl&lt;/b&gt; dc = bindingContext.findDataControl(&quot;MyModuleDataControl&quot;);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;MyAMImpl&amp;nbsp;am = (MyAMImpl)dc.&lt;b&gt;getDataProvider&lt;/b&gt;();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Method 6 :&lt;/b&gt; &lt;br /&gt;
//Using &lt;b&gt;Value Expression&lt;/b&gt;. &lt;br /&gt;
&lt;b&gt;FacesContext&lt;/b&gt; fc = FacesContext.getCurrentInstance();&lt;br /&gt;
&lt;b&gt;Application&lt;/b&gt; app = fc.getApplication();&lt;br /&gt;
&lt;b&gt;ExpressionFactory&lt;/b&gt; elFactory = app.getExpressionFactory();&lt;br /&gt;
&lt;b&gt;ELContext&lt;/b&gt; elContext = fc.getELContext();&lt;br /&gt;
&lt;b&gt;ValueExpression&lt;/b&gt; valueExp =elFactory.createValueExpression(elContext, &quot;#{data.MyDataControl.dataProvider}&quot;,Object.class);&lt;br /&gt;
MyAMImpl am = (AmImpl)valueExp.&lt;b&gt;getValue&lt;/b&gt;(elContext);&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/4230292993953629746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/different-ways-of-getting-handle-to-am.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4230292993953629746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4230292993953629746'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/different-ways-of-getting-handle-to-am.html' title='Different ways of getting Handle to AM from Backing Bean'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-4782902526763760785</id><published>2012-08-18T19:40:00.001-07:00</published><updated>2012-12-16T15:22:52.854-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adf table multi select"/><category scheme="http://www.blogger.com/atom/ns#" term="adf table multi selection"/><category scheme="http://www.blogger.com/atom/ns#" term="fetch multiple adf table rows selected"/><category scheme="http://www.blogger.com/atom/ns#" term="fetch rows of adf table on multi select"/><category scheme="http://www.blogger.com/atom/ns#" term="get multiple rows selected"/><category scheme="http://www.blogger.com/atom/ns#" term="get multiple rows selected in adf table"/><title type='text'>Alternate approach for multiple row select on an ADF table</title><content type='html'>Earlier post&amp;nbsp;covered a similar topic of how to capture multiple row selection made in an ADF table. &lt;br /&gt;
&lt;br /&gt;
The problem with the earlier approach is that user have to select a row and in order to select the second row and subsequently from there on, they have to hold the ctrl key and click on the row to select additinal rows. &lt;br /&gt;
&lt;br /&gt;
Here in this post, I am going to detail on an alternate approach which would eventually provide access to the&amp;nbsp;selected row but with more user adaptablility. &lt;br /&gt;
&lt;br /&gt;
Select the VO (say &quot;MyVO&quot;)&amp;nbsp;that you plan to create a ADF table, add an additional column as &lt;strong&gt;&quot;selectMany&quot;&lt;/strong&gt; as an &lt;strong&gt;transient &lt;/strong&gt;variable. Make sure to check the attribute updatable &lt;strong&gt;always&lt;/strong&gt;. &lt;br /&gt;
&lt;br /&gt;
When we drag the VO to create an ADF table make sure to change the new transient variable type from outputtext to selectBoolenCheckBox. &lt;br /&gt;
&lt;strong&gt;(OR)&lt;/strong&gt;&lt;br /&gt;
Update the Edit Attribute : select Many control hints -&amp;gt; Control Type to Boolean. &lt;br /&gt;
&lt;br /&gt;
Make sure the value on the checkbox looks something like this &lt;strong&gt;value=&quot;#{row.bindings.selectMany.inputValue}&quot;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;FacesContext&lt;/strong&gt; facesContext = FacesContext.getCurrentInstance();&lt;br /&gt;
&lt;strong&gt;DCBindingContainer&lt;/strong&gt; bindings = (DCBindingContainer)getBindings();&lt;br /&gt;
&lt;strong&gt;DCIteratorBinding&lt;/strong&gt; iter = bindings.findIteratorBinding(&quot;MyVO&quot;);&lt;br /&gt;
&lt;strong&gt;RowSetIterator&lt;/strong&gt; rsi = iter.getViewObject().createRowSetIterator(null);&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Row&lt;/strong&gt; current;&lt;br /&gt;
while (rsi.hasNext()) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; current = rsi.next();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (true == current.getAttribute(&quot;selectMany&quot;)) {&lt;br /&gt;
&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// this is the row that is selected in the UI. &lt;/strong&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
} 
&amp;nbsp; 
</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/4782902526763760785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/alternate-approach-for-multiple-row.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4782902526763760785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/4782902526763760785'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/alternate-approach-for-multiple-row.html' title='Alternate approach for multiple row select on an ADF table'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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-1203978269412665428.post-2846372029938244140</id><published>2012-08-17T00:50:00.002-07:00</published><updated>2014-02-26T23:11:25.664-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adf table multi select"/><category scheme="http://www.blogger.com/atom/ns#" term="adf table multi selection"/><category scheme="http://www.blogger.com/atom/ns#" term="fetch multiple adf table rows selected"/><category scheme="http://www.blogger.com/atom/ns#" term="fetch rows of adf table on multi select"/><category scheme="http://www.blogger.com/atom/ns#" term="get multiple rows selected"/><category scheme="http://www.blogger.com/atom/ns#" term="get multiple rows selected in adf table"/><title type='text'>Fetch all the rows selected from a UI Table in ADF</title><content type='html'>&lt;b&gt;Following is an example to get all the rows selected from a UI table in ADF. &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;How do we enable multiple selections on a table ? &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
When you drag and drop a VO on to a page, user is presented with different options to represent the data from the VO. Choose the option of ADF table and select the&amp;nbsp;option of &lt;b&gt;&quot;multiple rows&quot;&lt;/b&gt; under &lt;b&gt;&quot;Row Selection&quot;&lt;/b&gt; (Other options available are None, Single row)&lt;br /&gt;
&lt;br /&gt;
If there is no backing bean or Managed bean enabled while creating the page then create binding for the table, how ?&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
Click on the table in the structure panel, Go to property inspector - &amp;gt; Advance -&amp;gt; Binding - &amp;gt; Choose Edit -&amp;gt; Create new managed bean &amp;amp; create new porperty as&amp;nbsp;&quot;table1&quot;.&lt;br /&gt;
&lt;br /&gt;
Above action creates a getter&amp;nbsp; and setter method for the &quot;table1&quot; as&amp;nbsp;below in the bean.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private RichTable table1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setTable1(RichTable table) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.table = table;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public RichTable getTable1() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return table;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Now on button action or row selection listener use the following code to get an handle to the selected row.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RichTable&lt;/b&gt; table = this.getTable1();&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;CollectionModel &lt;/b&gt;model = (CollectionModel) table.getValue();&lt;br /&gt;
&lt;b&gt;JUCtrlHierBinding&lt;/b&gt; treeBinding = (JUCtrlHierBinding) model.getWrappedData();&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;RowKeySet&lt;/b&gt; rowKeys = table.getSelectedRowKeys();&lt;br /&gt;
&lt;b&gt;Iterator&lt;/b&gt; iterator = rowKeys.iterator();&lt;br /&gt;
&lt;br /&gt;
while (iterator.hasNext()) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;List&lt;/b&gt; key = (List) iterator.next();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;JUCtrlHierNodeBinding&lt;/b&gt; nodeBinding = treeBinding.findNodeByKeyPath(key); &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;Row&lt;/b&gt; rw = nodeBinding.getRow();&lt;br /&gt;
}</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/2846372029938244140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/fetch-all-rows-selected-from-ui-table.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/2846372029938244140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/2846372029938244140'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/fetch-all-rows-selected-from-ui-table.html' title='Fetch all the rows selected from a UI Table in ADF'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1203978269412665428.post-7133649092552921671</id><published>2012-08-10T02:19:00.001-07:00</published><updated>2012-08-10T02:19:35.527-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Refresh ADF page"/><category scheme="http://www.blogger.com/atom/ns#" term="Refresh ADF page programatically"/><category scheme="http://www.blogger.com/atom/ns#" term="Refresh ADF page using backing bean"/><title type='text'>Refresh ADF page programmatically.</title><content type='html'>Several times, we might have the need to refresh the page programatically. Every page is internally given an ID and can be refreshed by this ID as follows in the backing bean. &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Refresh a page programmatically. &lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
String refreshPage = fctx.getViewRoot().getViewId(); &lt;br /&gt;
ViewHandler vh = fctx.getApplication().getViewHandler(); &lt;br /&gt;
UIViewRoot UVi = vh.createView(fctx,refreshPage); &lt;br /&gt;
UVi.setViewId(refreshPage); &lt;br /&gt;
fctx.setViewRoot(UVi);</content><link rel='replies' type='application/atom+xml' href='http://ioracle-erp.blogspot.com/feeds/7133649092552921671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/refresh-adf-page-programmatically.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/7133649092552921671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1203978269412665428/posts/default/7133649092552921671'/><link rel='alternate' type='text/html' href='http://ioracle-erp.blogspot.com/2012/08/refresh-adf-page-programmatically.html' title='Refresh ADF page programmatically.'/><author><name>ioracle</name><uri>http://www.blogger.com/profile/09775585849699759059</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>7</thr:total></entry></feed>