ADF11: Select Text Resource Bug

August 2, 2009 – 12:28 pm

Last week I came accross a cool blog about ADF BUGS FACTS. The author inspired me to write myself about similiar experiences with ADF11/JDeveloper.  So today I will describe a bug concerning the i18n capabilities in ADF11.

First I have to mention tha the support for i18n text resources improved very well with JDev11 but there is a case when things do not work correctly. So in the case your ViewController project name contains a dash. things do not work anymore as expected. So in our company we have following convention to name our applications/projects.


With that convention your not able to work with the “select text resource” feature on ADF Faces Pages, because invalid code is generated. So here is the example


Because the ViewController project is called myapp-ui you get the following buggy code


Solution is to remove the dash in c:set and of course all  EL references.

<c:set var="myappuiBundle"


<af:outputText value="#{myappuiBundle.MY_APPLICATION_TITLE}" id="ot1"/>

After this fix the text resource is resolved correctly


So notice: Using dashes (-) in project names may cause trouble in development of fusion web applications.

  1. One Response to “ADF11: Select Text Resource Bug”

  2. Thanks for your reference Andreas

    I think this is realy usefull, since someone could loose a lot of time to find out what is wrong and how to fix it

    By Milkbird on Oct 26, 2009

Post a Comment