<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
   <title>Didier&apos;s Blog</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/" />
   <link rel="self" type="application/atom+xml" href="http://blogs.oracle.com/Didier/xml/rss.xml" />
   <id>tag:blogs.oracle.com,2009:/Didier//40</id>
   <updated>2009-09-21T09:39:30Z</updated>
   <subtitle>Didier Laurent - Sr Principal Support Engineer in the JDeveloper team</subtitle>
   <generator uri="http://www.sixapart.com/movabletype/">Movable Type Enterprise 4.23-en</generator>


<entry>
   <title>ClassNotFound: How To Find The Missing Library</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2009/09/classnotfound_how_to_find_the.html" />
   <id>tag:blogs.oracle.com,2009:/Didier//40.14513</id>
   
   <published>2009-09-21T09:14:57Z</published>
   <updated>2009-09-21T09:39:30Z</updated>
   
   <summary> There are numerous ADF libraries and it may cause you problems to resolve a ClassNotFound exception. To help you in finding the missing library, there is a small search utility in the &quot;Add Library&quot; and the &quot;Manage Libraries&quot; dialogs...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="IDE" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="idelibraries" label="IDE Libraries" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br />
There are numerous ADF libraries and it may cause you problems to resolve a <strong>ClassNotFound </strong>exception.<br />
To help you in finding the missing library, there is a small search utility in the "<strong>Add Library</strong>" and the "<strong>Manage Libraries</strong>" dialogs as shown in the next figure:</p>

<p><span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://blogs.oracle.com/Didier/assets_c/2009/09/ManageLibrariesSearchClassName-1229.html" onclick="window.open('http://blogs.oracle.com/Didier/assets_c/2009/09/ManageLibrariesSearchClassName-1229.html','popup','width=846,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://blogs.oracle.com/Didier/assets_c/2009/09/ManageLibrariesSearchClassName-thumb-846x500-1229.png" width="634" height="375" alt="ManageLibrariesSearchClassName.png" class="mt-image-none" style="" /></a></span></p>

<p><br />
You can reduce the number of libraries shown, or search for a library by entering a string. You can enter <ul><li>the exact class name,</li><li>a fully qualified name, </li><li>a partial class or package name, using * as a wildcard anywhere in the string</li><br />
</ul>.</p>]]>
      
   </content>
</entry>

<entry>
   <title>Encoding of ADF Faces Pages</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2009/09/encoding_of_adf_faces_pages.html" />
   <id>tag:blogs.oracle.com,2009:/Didier//40.14449</id>
   
   <published>2009-09-17T09:03:44Z</published>
   <updated>2009-09-21T09:40:59Z</updated>
   
   <summary> I got several issues this week that had the same root cause though the symptoms were completely different. The problem is related to the page encoding of the ADF Faces JSPX. ADF Faces supports &apos;utf-8&apos; only. However, by default,...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Faces" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="idefaces" label="IDE Faces" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br />
I got several issues this week that had the same root cause though the symptoms were completely different. </p>

<p>The problem is related to the page encoding of the ADF Faces JSPX. <br />
ADF Faces supports 'utf-8' <strong>only</strong>.<br />
However, by default, the editor creates the pages with the 'windows-1252' encoding:<br />
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><img alt="Windows1252.png" src="http://blogs.oracle.com/Didier/2009/09/17/Encoding/Windows1252.png" width="492" height="58" class="mt-image-none" style="" /></span></p>

<p>This leads to problems like:<br />
<ul><li>accented characters transformed to code representation during the Submit - see the discussion "<a href="http://forums.oracle.com/forums/thread.jspa?messageID=3151892">Character encoding problem in ADF 11 app</a>" in the OTN Forum  </li><li>Error: "The value is not a number" when using groupingUsed="true" with specific locale (French f.ex.)</li><li>...</li></ul></p>

<p>To avoid these issues, you can edit your pages and change 'windows-1252' by 'utf-8'. <br />
For the new pages, you can change the default to 'utf-8':<br />
<ol><li>select menu "<strong>Tools</strong>" -> "<strong>Preferences...</strong>"</li><li>click "<strong>Environment</strong>"</li><li>select "<strong>UTF-8</strong>" in the "<strong>Encoding</strong>" list.</li><br />
</ol><br />
<span class="mt-enclosure mt-enclosure-image" style="display: inline;"><a href="http://blogs.oracle.com/Didier/assets_c/2009/09/Encoding-1108.html" onclick="window.open('http://blogs.oracle.com/Didier/assets_c/2009/09/Encoding-1108.html','popup','width=700,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://blogs.oracle.com/Didier/assets_c/2009/09/Encoding-thumb-700x500-1108.png" width="525" height="375" alt="Encoding.png" class="mt-image-none" style="" /></a></span></p>

<p><br />
The new pages will be created correctly now.<br />
Note that as from JDeveloper 11.1.1.2.0 onwards, JDeveloper will use the encoding 'utf-8' (whatever the default encoding is) when ADF Faces technology is used.</p>]]>
      
   </content>
</entry>

<entry>
   <title><![CDATA[&quot;Oracle Java Development Community&quot; on &quot;My Oracle Support&quot;]]></title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2009/06/oracle_java_development_commun.html" />
   <id>tag:blogs.oracle.com,2009:/Didier//40.12733</id>
   
   <published>2009-06-04T03:26:33Z</published>
   <updated>2009-06-04T03:34:38Z</updated>
   
   <summary>The Oracle Java Development Community has been set up in &quot;My Oracle Support&quot;. In &quot;My Oracle Support&quot;, click &quot;Community&quot; to access &quot;My Oracle Support Community&quot;. The &quot;Java Development&quot; link is available under &quot;Middleware&quot;. We&apos;ll be glad to meet you there...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Support" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="support" label="Support" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p>The <strong>Oracle Java Development Community</strong> has been set up in "My Oracle Support".</p>

<p>In "<strong>My Oracle Support</strong>", click "<strong>Community</strong>" to access "My Oracle Support Community".<br />
The "<strong>Java Development</strong>" link is available under "<strong>Middleware</strong>".</p>

<p>We'll be glad to meet you there :)</p>]]>
      
   </content>
</entry>

<entry>
   <title><![CDATA[Warning &quot;Transient state added to StateManager.  State may not be serialized.&quot;]]></title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2009/05/warning_transient_state_added_1.html" />
   <id>tag:blogs.oracle.com,2009:/Didier//40.12570</id>
   
   <published>2009-05-27T10:16:47Z</published>
   <updated>2009-05-27T10:31:39Z</updated>
   
   <summary>We get a lot of questions about the following warnings displayed when running ADF Faces pages including a DVT graph component: 25-May-2009 3:22:02 PM oracle.adf.share.http.HttpSessionStateManagerImpl putState WARNING: Transient state added to StateManager. State may not be serialized. State id: data.view_graph1_pagePageDef.graph1__cubicDefinition...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Faces" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="dvtgraph" label="DVT Graph" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p>We get a lot of questions about the following warnings displayed when running ADF Faces pages including a DVT graph component:</p>

<p><code>25-May-2009 3:22:02 PM oracle.adf.share.http.HttpSessionStateManagerImpl  putState<br />
WARNING: Transient state added to StateManager.  State may not be serialized. <br />
 State id:  data.view_graph1_pagePageDef.graph1__cubicDefinition<br />
25-May-2009 3:22:03 PM oracle.adf.share.http.HttpSessionStateManagerImpl  putState<br />
WARNING: Transient state added to StateManager.  State may not be serialized. <br />
 State id:  data.view_graph1_pagePageDef.graph1__dataModel<br />
</code></p>

<p>We discussed the issue with our development team and here was their feedback:</p>

<blockquote>The Graph puts persistent state objects on the StateManager, these objects are Serializable.  In addition the Graph also puts transient state objects on the StateManager, these objects are <strong>not </strong>Serializable.</blockquote>
<blockquote>Note that Graph does not depend on these transient objects always being available on the StateManager, it only uses them for performance if they are there.
These transient objects can be recreated from the persistent objects which will always be available.</blockquote>

<p>In other words, you can ignore this warning.</p>]]>
      
   </content>
</entry>

<entry>
   <title>Dialog Not Opening In A Popup Window In JDev 11g</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/12/dialog_not_opening_in_a_popup_1.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.9253</id>
   
   <published>2008-12-23T20:54:55Z</published>
   <updated>2008-12-23T21:45:07Z</updated>
   
   <summary><![CDATA[We get a lot of questions at Oracle Support about the dialogs not opening in a separate, dialog window in JDeveloper 11g. For example, suppose you specified the following: faces-config.xml &lt;?xml&nbsp;version=&quot;1.0&quot;&nbsp;encoding=&quot;windows-1252&quot;?&gt;&lt;faces-config&nbsp;version=&quot;1.2&quot;&nbsp;xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;&gt;&nbsp;&nbsp;&lt;application&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;default-render-kit-id&gt;oracle.adf.rich&lt;/default-render-kit-id&gt;&nbsp;&nbsp;&lt;/application&gt;&nbsp;&nbsp;&lt;navigation-rule&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;navigation-case&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;from-outcome&gt;dialog:popup&lt;/from-outcome&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;to-view-id&gt;/popup.jspx&lt;/to-view-id&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/navigation-case&gt;&nbsp;&nbsp;&lt;/navigation-rule&gt;&lt;/faces-config&gt; yourMainPage.jspx &lt;?xml&nbsp;version='1.0'&nbsp;encoding='windows-1252'?&gt;&lt;jsp:root&nbsp;xmlns:jsp=&quot;http://java.sun.com/JSP/Page&quot;&nbsp;version=&quot;2.1&quot;&nbsp;xmlns:f=&quot;http://java.sun.com/jsf/core&quot;&nbsp;xmlns:h=&quot;http://java.sun.com/jsf/html&quot;&nbsp;xmlns:af=&quot;http://xmlns.oracle.com/adf/faces/rich&quot;&gt;&nbsp;&nbsp;&lt;jsp:directive.page&nbsp;contentType=&quot;text/html;charset=windows-1252&quot;/&gt;&nbsp;&nbsp;&lt;f:view&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;af:document&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;af:form&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;af:commandButton&nbsp;useWindow=&quot;true&quot;&nbsp;action=&quot;dialog:popup&quot;&nbsp;text=&quot;Open&nbsp;Popup&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/af:form&gt;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/af:document&gt;&nbsp;&nbsp;&lt;/f:view&gt;&lt;/jsp:root&gt; Note the following properties: useWindow="true" action="dialog:popup" that...]]></summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Faces" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="faces" label="Faces" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="dialog" label="dialog" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="popup" label="popup" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p>We get a lot of questions at Oracle Support about the dialogs not opening in a separate, dialog window in JDeveloper 11g.</p>

<p>For example, suppose you specified the following:</p>

<p><strong><u>faces-config.xml</u></strong><br />
<div class="kmcodeblock" style="width:95%"><code class="km">&lt;?xml&nbsp;version=&quot;1.0&quot;&nbsp;encoding=&quot;windows-1252&quot;?&gt;<br>&lt;faces-config&nbsp;version=&quot;1.2&quot;&nbsp;xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;&gt;<br>&nbsp;&nbsp;&lt;application&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;default-render-kit-id&gt;oracle.adf.rich&lt;/default-render-kit-id&gt;<br>&nbsp;&nbsp;&lt;/application&gt;<br>&nbsp;&nbsp;&lt;navigation-rule&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;navigation-case&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;from-outcome&gt;dialog:popup&lt;/from-outcome&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;to-view-id&gt;/popup.jspx&lt;/to-view-id&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/navigation-case&gt;<br>&nbsp;&nbsp;&lt;/navigation-rule&gt;<br>&lt;/faces-config&gt;<br></code></div><br><br />
<strong><u>yourMainPage.jspx</u></strong><br />
<div class="kmcodeblock" style="width:95%"><code class="km">&lt;?xml&nbsp;version='1.0'&nbsp;encoding='windows-1252'?&gt;<br>&lt;jsp:root&nbsp;xmlns:jsp=&quot;http://java.sun.com/JSP/Page&quot;&nbsp;version=&quot;2.1&quot;&nbsp;xmlns:f=&quot;http://java.sun.com/jsf/core&quot;&nbsp;xmlns:h=&quot;http://java.sun.com/jsf/html&quot;&nbsp;xmlns:af=&quot;http://xmlns.oracle.com/adf/faces/rich&quot;&gt;<br>&nbsp;&nbsp;&lt;jsp:directive.page&nbsp;contentType=&quot;text/html;charset=windows-1252&quot;/&gt;<br>&nbsp;&nbsp;&lt;f:view&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;af:document&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;af:form&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;af:commandButton&nbsp;useWindow=&quot;true&quot;&nbsp;action=&quot;dialog:popup&quot;&nbsp;text=&quot;Open&nbsp;Popup&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/af:form&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/af:document&gt;<br>&nbsp;&nbsp;&lt;/f:view&gt;<br>&lt;/jsp:root&gt;</code></div></p>

<p>Note the following properties:<br />
   <strong>     useWindow="true" action="dialog:popup"</strong><br />
that should open the page as a popup dialog.</p>

<p><br />
This worked correctly in JDeveloper 10g<br />
In JDeveloper 11g however, it opens popup.jspx in the same browser window as yourMainPage.jspx, and not in a dialog window.</p>

<p>The reason is that you used faces-config.xml to configure your navigation rule, instead of adfc-config.xml.<br />
From the "<strong>Oracle® Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework</strong>", <br />
<strong>Chapter 17 Creating Complex Task Flows</strong>, <br />
topic "<a href="http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows_complex.htm#CHDCBFHB">17.7 Running an ADF Bounded Task Flow as a Modal Dialog</a>"</p>

<p><em>If your application uses ADF Controller features (for example, ADF task flows), specifying dialog: syntax in navigation rules within faces-config.xml is not supported.<br />
However, you can use the dialog: syntax in the control flow rules that you specify in the adfc-config.xml file.</em></p>

<p>So you should specify the flow in adfc-config.xml:</p>

<p><strong><u>adfc-config.xml</u></strong><br />
<div class="kmcodeblock" style="width:95%"><code class="km">&lt;?xml&nbsp;version=&quot;1.0&quot;&nbsp;encoding=&quot;windows-1252&quot;&nbsp;?&gt;<br>&lt;adfc-config&nbsp;xmlns=&quot;http://xmlns.oracle.com/adf/controller&quot;&nbsp;version=&quot;1.2&quot;&gt;<br>&nbsp;&nbsp;&lt;view&nbsp;id=&quot;main&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;page&gt;/main.jspx&lt;/page&gt;<br>&nbsp;&nbsp;&lt;/view&gt;<br>&nbsp;&nbsp;&lt;view&nbsp;id=&quot;popup&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;page&gt;/popup.jspx&lt;/page&gt;<br>&nbsp;&nbsp;&lt;/view&gt;<br>&nbsp;&nbsp;&lt;control-flow-rule&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;from-activity-id&gt;*&lt;/from-activity-id&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;control-flow-case&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;from-outcome&gt;dialog:popup&lt;/from-outcome&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;to-activity-id&gt;popup&lt;/to-activity-id&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/control-flow-case&gt;<br>&nbsp;&nbsp;&lt;/control-flow-rule&gt;<br>&lt;/adfc-config&gt;</code><br></div></p>

<p>See also "<a href="http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/ap_config.htm#insertedID3">A.3 Configuration in faces-config.xml</a>"<br />
<em>Typically, you would configure the following in then faces-config.xml file:</p>

<p>    <ul><li>Application resources such as message bundles and supported locales</li><br />
    <li>Page-to-page navigation rules</li><br />
    <li>Custom validators and converters</li><br />
    <li>Managed beans for holding and processing data, handling UI events, and performing business logic</li></ul></p>

<p>Note:<br />
If your application uses the ADF Controller, these items are configured in the adfc-config.xml file. For more information, see the "Getting Started With Task Flows" chapter of the Oracle Fusion Middleware Fusion Developer's Guide for Oracle Application Development Framework.<br />
</em></p>]]>
      
   </content>
</entry>

<entry>
   <title>JDeveloper 11.1.1.0.1 (Build 5188) is now available </title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/12/jdeveloper_111101_build_5188_i_1.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.9082</id>
   
   <published>2008-12-10T23:38:52Z</published>
   <updated>2008-12-23T21:31:20Z</updated>
   
   <summary>JDeveloper 11.1.1.0.1 (Build 5188) is now available on OTN. It is a maintenance release including only bug fixes. There are no new features. Release Notes are available [Here] The bug fix list is available [Here]...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="News" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="news" label="news" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p>JDeveloper <strong>11.1.1.0.1 (Build 5188)</strong> is now available on <a href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html">OTN</a>.</p>

<p>It is a maintenance release including only bug fixes.<br />
There are no new features.</p>

<p>Release Notes are available [<a href="http://www.oracle.com/technology/products/jdev/htdocs/11/knownissues.html">Here</a>]<br />
The bug fix list is available [<a href="http://www.oracle.com/technology/products/jdev/htdocs/11/111101fixlist.html">Here</a>]</p>]]>
      
   </content>
</entry>

<entry>
   <title>JDeveloper 11.1.1.0.0 is out</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/10/jdeveloper_111100_is_out.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8109</id>
   
   <published>2008-10-07T07:32:10Z</published>
   <updated>2008-10-09T22:43:12Z</updated>
   
   <summary>JDeveloper 11.1.1.0.0 (Build 5156) is now in production and can be downloaded from OTN. Release Notes are available [Here]. See also the FAQ [Here] JDeveloper Documentation page has been updated with the documentation for the 11g release. Enjoy !...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="News" scheme="http://www.sixapart.com/ns/types#category" />
   
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><strong>JDeveloper 11.1.1.0.0 (Build 5156)</strong> is now in production and can be downloaded from <a href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft11.html">OTN</a>.</p>

<p>Release Notes are available [<a href="http://www.oracle.com/technology/products/jdev/htdocs/11g/knownissues.html">Here</a>].<br />
See also the FAQ [<a href="http://www.oracle.com/technology/products/jdev/htdocs/jdeveloper11gfaq.html">Here</a>]</p>

<p><a href="http://www.oracle.com/technology/documentation/jdev.html">JDeveloper Documentation page</a> has been updated with the documentation for the 11g release.</p>

<p>Enjoy !</p>]]>
      
   </content>
</entry>

<entry>
   <title>JDeveloper 10.1.3.4 is out</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/07/jdeveloper_10134_is_out.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8108</id>
   
   <published>2008-07-29T22:59:24Z</published>
   <updated>2008-12-23T21:33:07Z</updated>
   
   <summary>JDeveloper 10.1.3.4 (Build 4270) is now in production and can be downloaded from OTN. It is a maintenance release including only bug fixes. There are no new features. You can find the list of bugs fixed in this release [Here]....</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="News" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="news" label="news" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><strong>JDeveloper 10.1.3.4 (Build 4270)</strong> is now in production and can be downloaded from <a href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft10134.html">OTN</a>.</p>

<p>It is a maintenance release including only bug fixes.<br />
There are no new features.</p>

<p>You can find the list of bugs fixed in this release [<a href="http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.4/10134fixlist.html">Here</a>].</p>]]>
      
   </content>
</entry>

<entry>
   <title>Automatic Updates in Windows XP</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/06/automatic_updates_in_windows_x.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8107</id>
   
   <published>2008-06-20T14:58:38Z</published>
   <updated>2008-12-23T21:34:32Z</updated>
   
   <summary>I really hate these Automatic Updates in Windows.I&apos;m not against the Automatic Updates themselves, but the dialog that follows, and that only gives you 2 options:Restart Now and Restart Later: Why to complain? It gives you the opportunity to dismiss...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Windows" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="windows" label="windows" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br>I really hate these Automatic Updates in Windows.<br>I'm not against the Automatic Updates themselves, but the dialog that follows, and that only gives you 2 options:<br><span style="font-weight: bold;">Restart Now</span> and <span style="font-weight: bold;">Restart Later</span>:<br> <img src="http://blogs.oracle.com/didierLaurent/images/automaticupdatedialog.jpg" height="132" width="428" border="0" alt="AutomaticUpdateDialog: "><br><br>Why to complain? It gives you the opportunity to dismiss the dialog by clicking the "Restart Later" button.<br>That's true, but for 5 minutes only. After this grace period, the dialog is back, thumbing its nose at you.... <br>And after a few "Restart Later", you finally give up and restart the machine.<br><br><br>So far, I was stopping the "Automatic Update" service when the dialog was popping up.<br>However, a support engineer from our Java tech. team came up with a better solution he found on a blog:<br>you can disable the auto-restart for the Automatic Updates installations.<br>See more information on this blog: "<a href="http://www.codinghorror.com/blog/archives/000294.html">XP Automatic Update Nagging</a>"<br><br></p>]]>
      
   </content>
</entry>

<entry>
   <title>Firefox 3</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/06/firefox_3.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8106</id>
   
   <published>2008-06-18T05:17:28Z</published>
   <updated>2008-12-23T21:36:31Z</updated>
   
   <summary>In case you haven&apos;t heard about it yet.... ... Firefox 3 is available for download, with the intention to set the record for the most software downloaded in 24 hours.The initial announcement was Download Day is here!Set a Guinness World...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Firefox" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="firefox" label="firefox" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br>In case you haven't heard about it yet.... <br><br>... <a href="http://www.spreadfirefox.com/en-US/worldrecord/">Firefox 3 is available for download</a>, with the intention to set the record for the most software downloaded in 24 hours.<br><br>The initial announcement was <br><blockquote><span style="font-weight: bold;">Download Day is here!</span><br style="font-weight: bold;"><span style="font-weight: bold;">Set a Guinness World Record</span><br style="font-weight: bold;"><span style="font-weight: bold;">Enjoy a Better Web</span><br><br>Sounds like a good deal, right? All you have to do to help us set the record for the most software downloaded in 24 hours is get Firefox 3 now <br>it's that easy. We are not asking you to swallow a sword or to balance 30 spoons on your face, although that would be kind of awesome.<br><br>Please download Firefox 3 by 17:00 UTC on June 18, 2008. That's 10:00 a.m. in Mountain View, 1:00 p.m. in Toronto, 2:00 p.m. in Rio de Janeiro, 7:00 p.m. in Paris, Madrid, Berlin, Rome and Warsaw, 9:00 p.m. in Moscow, and June 19, 2008 at 1:00 a.m. in Beijing and 2:00 a.m. in Tokyo.<br></blockquote><br>but now, I see the deadline slipped a bit by 1 hour and 16 minutes:<br><br><img src="http://blogs.oracle.com/didierLaurent/images/Firefox3Download.jpg" height="287" width="750" border="0" alt="Firefox3Download: "><br><br><br>Waouw - days of 25 hours and 16 minutes - I want these :-)<br><br></p>]]>
      
   </content>
</entry>

<entry>
   <title>How To Delete An Entire Workspace Or Project?</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/06/how_to_delete_an_entire_worksp.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8105</id>
   
   <published>2008-06-17T19:37:25Z</published>
   <updated>2008-12-23T21:37:50Z</updated>
   
   <summary>A customer asked me how to delete an entire Workspace from JDeveloper 10.1.3.He had selected his workspace and then selected the menu &quot;File&quot; -&gt; &quot;Erase From Disk&quot; The corresponding JWS file was removed, but not its content (Projects).That&apos;s indeed the...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="IDE" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="ide" label="IDE" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br>A customer asked me how to delete an entire Workspace from JDeveloper 10.1.3.<br>He had selected his workspace and then selected the menu "<span style="font-weight: bold;">File</span>" -> "<span style="font-weight: bold;">Erase From Disk</span>" <br>The corresponding JWS file was removed, but not its content (Projects).<br><br>That's indeed the way the "Erase From Disk" works:<br>it only deletes the selected object from the OS;<br><br />
in case of a Workspace or a Project, you delete the corresponding JWS file or JPR file <span style="font-style: italic;">only</span>.<br>JDeveloper doesn't delete their content recursively.<br><br />
<br><div align="left"><br />
See the online help "<a href="http://tinyurl.com/6ocjat">Permanently Deleting an Application, Project, or Other Component</a>"<br></div><blockquote>...<br><div class="kmnotebox"><br />
If you delete an application or a project, only the .jws or .jpr file is actually deleted. The<br><br />
elements contained within the application or project remain on disk. To delete them from disk<br><br />
through JDeveloper, you must do so explicitly.</div></blockquote><br>So, you have to delete the content of the Workspace or Project manually after you selected "Erase From Disk" in JDeveloper.<br><br></p>]]>
      
   </content>
</entry>

<entry>
   <title>Buttons Generated As Standard Html Buttons In ADF Faces On Linux</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/06/buttons_generated_as_standard.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8104</id>
   
   <published>2008-06-09T19:27:07Z</published>
   <updated>2008-12-23T21:39:46Z</updated>
   
   <summary><![CDATA[ProblemThis question comes regularly in the OTN forums.You have developed your application on a Windows system and defined your own skin (css), including some customizations for the buttons f.ex.:.AFButtonServerText:alias{&nbsp;&nbsp;&nbsp;&nbsp;color:black;&nbsp;&nbsp;&nbsp; background-color:&nbsp;#D2DEED;&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;&nbsp;&nbsp;&nbsp;&nbsp;font-family:&nbsp;Arial,&nbsp;Helvetica;&nbsp;&nbsp;&nbsp;&nbsp;font-size:&nbsp;11px;}.AFButtonServerTextDisabled:alias{&nbsp;&nbsp;&nbsp;&nbsp;color:#AAAAAA;&nbsp;&nbsp;&nbsp;&nbsp;font-family:Arial,&nbsp;Helvetica;&nbsp;&nbsp;&nbsp;&nbsp;font-size:&nbsp;11px;&nbsp;&nbsp;&nbsp;&nbsp;font-weight:&nbsp;normal;}When you run the application in the Embedded OC4J on Windows,...]]></summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Faces" scheme="http://www.sixapart.com/ns/types#category" />
   
      <category term="Linux" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="linux" label="Linux" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br><h4>Problem</h4>This question comes regularly in the <a href="http://forums.oracle.com/forums/thread.jspa?messageID=1933319">OTN forums</a>.<br><br>You have developed your application on a Windows system and defined your own skin (css), including some customizations for the buttons f.ex.:<br><blockquote><code class="km">.AFButtonServerText:alias</code><br><code class="km">{</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;color:black;</code><br><code class="km">&nbsp;&nbsp;&nbsp; background-color:&nbsp;#D2DEED;</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;font-family:&nbsp;Arial,&nbsp;Helvetica;</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;font-size:&nbsp;11px;</code><br><code class="km">}</code><br><code class="km"></code><br><code class="km">.AFButtonServerTextDisabled:alias</code><br><code class="km">{</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;color:#AAAAAA;</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;font-family:Arial,&nbsp;Helvetica;</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;font-size:&nbsp;11px;</code><br><code class="km">&nbsp;&nbsp;&nbsp;&nbsp;font-weight:&nbsp;normal;</code><br><code class="km">}</code><br></blockquote><br>When you run the application in the Embedded OC4J on Windows, the page renders correctly, with the buttons generated as "image buttons":<br><img src="http://blogs.oracle.com/didierLaurent/images/ADFButton.jpg" height="29" width="55" border="0" alt="ADFButton: "><br><br>However, the same application deployed on iAS on your Linux machine shows the buttons as standard HTML buttons:<br><img src="http://blogs.oracle.com/didierLaurent/images/StandardButton.jpg" height="30" width="53" border="0" alt="StandardButton: ">.<br><br>You use the following Java Option in iAS on Linux:<br><blockquote><code class="km">&nbsp;&nbsp; -Djava.awt.headless=true</code><br></blockquote>as recommended in the JDeveloper online help, "<a href="http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtTopicFile.jsf_apps%7Cadfcreate%7Caf_asupport%7Ehtml/">About ADF Faces Supported Platforms</a>".<br><br>So, what's the problem ?<br><br><h4>Cause</h4>The font "<span style="font-weight: bold;">Arial</span>" is not available on your Operating System.<br><br>The ADF Faces buttons are normally generated as GIF files by the <span style="font-weight: bold;">Java's AWT graphics library</span>.<br>When the Java API doesn't have access to the specified font, it generates the button as a standard HTML button.<br><br><h4>Solution</h4>Either install the missing font on your Linux system (the Java API will use it to generate the image buttons) or use another font.<br><br>The best choice to avoid the problem when deploying the application on different platform is to specify a <span style="font-weight: bold;">logical font</span> (Dialog, SansSerif, ...), that's mapped to an existing physical font on your OS.<br>You can find the list of the mapping in &lt;iAS_Home&gt;\jdk\jre\lib\font.properties<br>NB: this name may differ depending on the OS<br><br>F.ex. the "<span style="font-weight: bold;">SansSerif</span>" logical font is mapped to the "<span style="font-weight: bold;">Lucida Sans</span>" physical font:<br><blockquote><code class="km">    sansserif.plain.latin-1=-b&h-lucidasans-medium-r-normal-sans-*-%d-*-*-p-*-iso8859-1</code><br></blockquote>and the Lucida font is always installed as part of the JDK (in ...\jre\lib\fonts).<br>So you are sure with this solution that the buttons will always be generated as image buttons, whatever the OS you are deploying to.<br><br><br>NB: though it was written for UIX, most of the information contained in the chapter "<a href="http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.uixhelp%7Cuixdevguide%7Cimagegeneration%7Ehtml/">18. Image Generation in ADF UIX</a>" of the "<span style="font-weight: bold;">Oracle ADF UIX Developer's Guide</span>" is still valid for ADF Faces.<br><br></p>]]>
      
   </content>
</entry>

<entry>
   <title>Internet Explorer 7 Support</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/06/internet_explorer_7_support.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8103</id>
   
   <published>2008-06-04T05:34:08Z</published>
   <updated>2008-12-23T22:09:23Z</updated>
   
   <summary>As you can read in the &quot;Oracle JDeveloper 10.1.3.3.0 Installation Guide&quot;, the browsers that are supported in the current release of JDeveloper are:IE 5.5IE 6.0 (XP only)Netscape 7.2Mozilla 1.7Firefox 1.0.4Firefox 1.5Firefox 2.0Safari 2.0We are regularly contacted at Oracle Support about...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="Faces" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="faces" label="Faces" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="ie" label="IE" scheme="http://www.sixapart.com/ns/types#tag" />
   <category term="support" label="Support" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p>As you can read in the "<a href="http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.3/install.html#browsers">Oracle JDeveloper 10.1.3.3.0 Installation Guide</a>", the browsers that are supported in the current release of JDeveloper are:<br><blockquote><ul><li>IE 5.5</li><li>IE 6.0 (XP only)</li><li>Netscape 7.2</li><li>Mozilla 1.7</li><li>Firefox 1.0.4</li><li>Firefox 1.5</li><li>Firefox 2.0</li><li>Safari 2.0<br></li></ul></blockquote>We are regularly contacted at Oracle Support about the support of Internet Explorer 7.<br>IE 7 is <span style="font-weight: bold;">not supported with JDeveloper 10.1.3.3.0</span><br><br>Development was not sure to be able to certify IE 7 before the release of JDeveloper 10.1.3.5<br>However, I have got the good news from the development team that they could finally complete the <span style="font-weight: bold;">certification for IE7 in JDeveloper 10.1.3.4</span><br><br></p>]]>
      
   </content>
</entry>

<entry>
   <title><![CDATA[Configuration Property: &quot;MetaObjectManager&quot;  Scope]]></title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/05/configuration_property_metaobj.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8102</id>
   
   <published>2008-05-19T10:05:29Z</published>
   <updated>2008-12-23T21:47:08Z</updated>
   
   <summary>I have been working on a tricky case where the customer had developed a custom DBTransactionFactory, following instructions from the article &quot;Creating and Using a Custom DBTransaction Implementation&quot; from Steve Muench.It was working fine and the application was correctly using...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="BC4J" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="bc" label="BC" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br>I have been working on a tricky case where the customer had developed  a custom DBTransactionFactory, following instructions from the article "<a href="http://www.oracle.com/technology/products/jdev/tips/muench/dbtransimpl/index.html">Creating and Using a Custom DBTransaction Implementation</a>" from Steve Muench.<br><br>It was working fine and the application was correctly using the custom DBTransactionFactory.<br>However, after customer deployed another application in the same Web Container and also using its own custom DBTransactionFactory, he&nbsp; noticed that the second application was using the same DBTransactionFactory (same class and same instance) as the first application.<br><br>After investigation, development pointed out that TransactionFactory has a <strong>MetaObjectManager scope</strong>, as shown when executing the following command:<br><br />
<blockquote><div class="kmcodeblock" style="width: 95%;"><br />
<code class="km">    java -cp &lt;JDev_Home&gt;BC4Jlibbc4jmt.jar oracle.jbo.common.PropertyManager<br><br>    ---------------------------------------------------------------<br>     Business Components for Java - System Properties<br>    ---------------------------------------------------------------<br>      Properties loaded from following sources, in order:<br>      1. Client environment<br>      2. Applet tags<br>      3. -D flags (appear in System.properties)<br>      4. bc4j.properties file (in current directory)<br>      5. /oracle/jbo/BC4J.properties resource<br>      6. /oracle/jbo/commom.jboserver.properties resource<br>      7. /oracle/jbo/common.Diagnostic.properties resource<br>      8. System defined default<br>    ---------------------------------------------------------------<br>    ...<br>    TransactionFactory                        MetaObjectManager (M)public Internal<br>    ...<br>    ---------------------------------------------------------------</code></div></blockquote><br>As explained in the JDeveloper online help, topic "<a href="http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.sm0433/vtTopicFile.bcadfdevguide%7Cbcampool%7Ehtm/">Understanding Configuration Property Scopes</a>":<br><br />
<blockquote><div class="kmnotebox">...<br>You'll see each property is listed with one of the following scopes:<br><br>    * MetaObjectManager<br>&nbsp;&nbsp; Properties at this scope are initialized once per Java VM when the ADF PropertyManager is first initialized.<br>...<br>If<br />
you leave any MetaObjectManager-scoped properties in your bc4j.xcfg<br />
files, you will have the undesirable behavior that they will take on<br />
the value specified in the configuration of the first application<br />
module whose pool gets created after the Java VM starts up.<br>...<br></div></blockquote><br><br><br>We could force each application using its own version of TransactionFactory by adding code to the latter part of each ApplicationModuleImpl.<br><br />
In Application 1, that should use CustomDatabaseTransactionFactory1, f.ex.:<br><blockquote><div class="kmcodeblock" style="width: 95%;"><code class="km"><br />
  ...<br><br />
  static<br><br />
  {<br>&nbsp;&nbsp; oracle.jbo.server.DatabaseTransactionFactory.setFactory(new CustomDatabaseTransactionFactory1());<br><br />
  }</code></div></blockquote>In Application 2, that should use CustomDatabaseTransactionFactory2, f.ex.:<br><br />
  <blockquote><div class="kmcodeblock" style="width: 95%;"><code class="km">...<br><br />
  static<br><br />
  {<br>&nbsp;&nbsp; oracle.jbo.server.DatabaseTransactionFactory.setFactory(new CustomDatabaseTransactionFactory2());<br><br />
  }</code></div></blockquote><br></p>]]>
      
   </content>
</entry>

<entry>
   <title>Oracle JDeveloper 11g  Technology Preview 4 Available</title>
   <link rel="alternate" type="text/html" href="http://blogs.oracle.com/Didier/2008/05/oracle_jdeveloper_11g_technolo.html" />
   <id>tag:blogs.oracle.com,2008:/Didier//40.8101</id>
   
   <published>2008-05-02T11:16:20Z</published>
   <updated>2008-12-23T21:49:12Z</updated>
   
   <summary>You can download it from OTN.See also the &quot;Oracle JDeveloper 11g Technology Preview 4 New Features&quot;If you have any question and/or problem, please post them on the dedicated JDeveloper 11 forum.Enjoy it!...</summary>
   <author>
      <name>didier.laurent</name>
      
   </author>
   
      <category term="News" scheme="http://www.sixapart.com/ns/types#category" />
   
   <category term="news" label="news" scheme="http://www.sixapart.com/ns/types#tag" />
   
   <content type="html" xml:lang="en" xml:base="http://blogs.oracle.com/Didier/">
      <![CDATA[<p><br>You can download it from <a href="http://www.oracle.com/technology/products/jdev/11/index.html">OTN</a>.<br>See also the "<span class="pagetitle"><a href="http://www.oracle.com/technology/products/jdev/collateral/papers/11/newfeatures/index.html">Oracle<br />
JDeveloper 11g Technology Preview 4 New Features</a>"</span><br><br>If you have any question and/or problem, please post them on the <a href="http://forums.oracle.com/forums/forum.jspa?forumID=381">dedicated JDeveloper 11 forum</a>.<br><br>Enjoy it!<br><br></p>]]>
      
   </content>
</entry>

</feed>
