This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fmw.home=C:/oracle/Soa11gPS3 | |
wls.username = weblogic | |
wls.password = weblogic1 | |
wls.server = t3://localhost:7001 | |
# properties for workspace export | |
config.project="OSB Configuration" | |
config.jar=c:/temp/sbconfig.jar | |
config.subprojects="ASynchronous" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="windows-1252" ?> | |
<project name="ConfigExport"> | |
<property file="./build.properties"/> | |
<property name="eclipse.home" value="${fmw.home}/oepe"/> | |
<property name="weblogic.home" value="${fmw.home}/wlserver_10.3"/> | |
<property name="metadata.dir" value="${workspace.dir}/.metadata"/> | |
<property name="osb.home" value="${fmw.home}/Oracle_OSB1"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set FMW_HOME=C:\oracle\Soa11gPS2 | |
set ANT_HOME=%FMW_HOME%\modules\org.apache.ant_1.7.1 | |
set PATH=%ANT_HOME%\bin;%PATH% | |
set JAVA_HOME=%FMW_HOME%\jdk160_18 | |
set CLASSPATH=%FMW_HOME%/wlserver_10.3/server/lib/weblogic.jar;%FMW_HOME%/Oracle_OSB1/lib/alsb.jar;%FMW_HOME%/Oracle_OSB1/modules/com.bea.common.configfwk_1.3.0.0.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<variables> | |
<variable name="inputVariable" | |
messageType="client:XSLTTransformatieProcessRequestMessage"/> | |
<variable name="bestand" | |
type="xsd:base64Binary"/> | |
</variables> | |
<bpelx:exec name="intermediairproductToBase64" | |
version="1.5" | |
language="java"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package test.adf.global.beans; | |
import javax.faces.event.ActionEvent; | |
import java.util.Map; | |
import oracle.adf.controller.ControllerContext; | |
import oracle.adf.model.BindingContext; | |
import oracle.adf.model.binding.DCBindingContainer; | |
import oracle.adf.view.rich.context.AdfFacesContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FacesContext | |
FacesContext facesCtx = FacesContext.getCurrentInstance(); | |
// find UIComponent | |
UIComponent input = facesCtx.getViewRoot().findComponent("f1"); | |
// change the locale | |
facesCtx.getViewRoot().setLocale( Locale.ENGLISH); | |
// el expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ExternalContext | |
ExternalContext ectx = facesCtx.getExternalContext(); | |
// all the java init parameters | |
Map<String, Object> initParamsVar = ectx.getInitParameterMap(); | |
Map<String, String> requestParamsVar = ectx.getRequestParameterMap(); | |
Map<String, Object> sessionParamsVar = ectx.getSessionMap(); | |
// web application context root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// AdfFacesContext | |
AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance(); | |
// PPR | |
adfFacesCtx.addPartialTarget(input); | |
// get the PageFlowScope Params | |
Map<String, Object> scopePageFlowScopeVar= adfFacesCtx.getPageFlowScope(); | |
// get the viewScope Params | |
Map<String, Object> scopeViewScopeVar= adfFacesCtx.getViewScope(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ADFContext | |
ADFContext adfCtx = ADFContext.getCurrent(); | |
// Get the scope variables | |
Map<String, Object> applicationVar2 = adfCtx.getApplicationScope(); | |
Map<String, Object> pageParamsVar2 = adfCtx.getPageFlowScope(); | |
Map<String, String> requestParamsVar2 = adfCtx.getRequestScope(); | |
Map<String, Object> sessionParamsVar2 = adfCtx.getSessionScope(); | |
// el expression |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Security | |
SecurityContext secCntx = adfCtx.getSecurityContext(); | |
String user = secCntx.getUserName(); | |
String[] roles = secCntx.getUserRoles(); |
OlderNewer