Tuesday, March 24, 2015

Configure and Read 'Resource Bundles' ADF


      <?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" 
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:c="http://java.sun.com/jsp/jstl/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
                            
    <c:set var="RB" value="#{adfBundle['com.fm.fmreq.bundle.vars']}"/>  
.....
.....
....
<af:goLink text="List" id="pt_l2" inlineStyle="font-size:x-large; color:Aqua;"
                 destination="#{RB['vijay_application']}" targetFrame="_blank"/>     


var.properties file:

vijay_application=http:/127.0.0.1:7101/App/faces/jspx/test_relation.jspx

vijay_doc=//home//fmapp//Attachments//ORL_USER_DOCUMENTATION_20100615.pdf


https://technology.amis.nl/2012/08/09/introduction-to-resource-bundles-in-adf-applications-for-centralizing-management-of-boilerplate-text/

http://learn-adf.blogspot.com/2012/03/access-resource-bundle-in-bean.html


No comments: