SVG in ADF
Hi folks,
I want to embed some interactive SVG graphics in my ADF application.
So when a user clicks on an object in SVG I have somehow to propagate the event to the ADF/JSF domain to navigate the view objects.
I read some papers from Frank regarding Applet/ADF interaction, tried to do something similar with SVG-didn't work yet.
Anyone has experience with SVG?
Thanks,
Kresimir
As an alternative you might consider using xsql:
XSQL SVG Example questions
SVG Example Source - XSQL
in cooperation with ADF.
NA
http://nickaiva.blogspot.com
Similar Messages
-
ADF and JQuery: How can I get the data back to server listener.
Jdeveloper 11g Version 11.1.1.2.0
I use Jquery to draw the signature. How can I get the svgOutput back to my server listener.???
e.getSource give me the error e.getSource is not function.
Both of function saveSignatureCapture(which calling from ADF button) and $('#save-output').click(function (event) can not send the the data back to my server listener.
Thanks.
<?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:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="dSignature" title="Signature Capture">
<af:resource type="javascript" source="../resources/lib/jquery/jquery-1.4.2.min.js"/>
<af:resource type="javascript" source="../resources/js/jquery.drawbox.js"/>
<af:resource type="javascript">
var svgOutput = '';
function saveSignatureCapture(e) {
var signatureText = $('#drawbox-data').val();
var source = e.getSource();
var type = 'saveSignatureCapture_ServerListener';
var immediate = true;
var params = {
signatureText : signatureText
AdfCustomEvent.queue(source, type, params, immediate);
function beginSignatureCapture(e) {
$('#drawbox').drawbox( {
caption : 'This is a caption', lineWidth : 3, lineCap : 'round', lineJoin : 'round', colorSelector : true
$('#view-output').click(function () {
svgOutput = window.open('data:image/svg+xml,' + $('#drawbox-data').val());
svgOutput.document.close();
return false;
$('#save-output').click(function (event) {
var signatureText = $('#drawbox-data').val();
var source = $(document);
var type = "saveSignatureCapture_ServerListener";
var immediate = true;
var params = {
signatureText : signatureText
AdfCustomEvent.queue(source, type, params, immediate);
return false;
$(document).ready(beginSignatureCapture);
</af:resource>
<af:panelStretchLayout id="psSignature">
<f:facet name="bottom"/>
<f:facet name="center">
<af:panelGroupLayout id="pgSignature" layout="vertical">
<f:verbatim>
<div id="divSignature">
<canvas id="drawbox" width="600" height="200">
<p>Your browser does not support <canvas></p>
</canvas>
</div>
<br/>
<br/>
<a href="#" id="view-output">View Rendered SVG Output</a>
<br/>
<br/>
<a href="#" id="save-output">Save Signature</a>
</f:verbatim>
<af:spacer width="10" height="10" id="s10"/>
<af:panelGroupLayout id="pghl14" layout="horizontal" halign="center">
<af:commandButton text="Save Signature" id="cbSaveSignatureButtonId" partialSubmit="true">
<af:clientListener method="saveSignatureCapture" type="click"/>
<af:serverListener type="saveSignatureCapture_ServerListener"
method="#{backingBeanScope.mainBackingBean.saveSignatureCapture_ServerListener}"/>
</af:commandButton>
</af:panelGroupLayout>
</af:panelGroupLayout>
</f:facet>
<f:facet name="start"/>
<f:facet name="end"/>
<f:facet name="top"/>
</af:panelStretchLayout>
</af:document>
</f:view>
</jsp:root>Edited by: user553450 on Sep 17, 2010 4:02 PM
Edited by: user553450 on Sep 17, 2010 4:13 PMHi Frank,
Thank you so much for your advice, I got lot of knowledge from your book and articles since I am in transition from forms to JDeveloper.
By surrounding <af:panelStretchLayout id="psSignature"> with <af:form id="f1">
Now the following code is work on Firefox, everything fine, I can get the data back and call my server listener as I expected.
<?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:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1" title="Signature Capture">
<af:resource type="javaScript" source="../resources/js/excanvas.js"/>
<af:resource type="javascript" source="../resources/lib/jquery/jquery-1.4.2.min.js"/>
<af:resource type="javascript" source="../resources/js/jquery.drawbox.js"/>
<af:resource type="javascript">
function saveSignatureCapture(e) {
var signatureText = $('#drawbox-data').val();
alert(signatureText);
var source = e.getSource();
var type = 'saveSignatureCapture_ServerListener';
var immediate = true;
var params = {
signatureText : signatureText
AdfCustomEvent.queue(source, type, params, immediate);
function beginSignatureCapture(e) {
var cmd = "$('#drawbox').drawbox({lineWidth:3,lineCap:'round',lineJoin:'round',colorSelector:true});";
if (navigator.userAgent.indexOf('MSIE') != - 1) {
setTimeout(cmd, 1000);
else {
$('#drawbox').drawbox( {
caption : 'This is a caption', lineWidth : 3, lineCap : 'round', lineJoin : 'round', colorSelector : true
</af:resource>
<af:form id="f1">
<af:panelStretchLayout id="psSignature">
<f:facet name="bottom"/>
<f:facet name="center">
<af:panelGroupLayout id="pgSignature" layout="vertical">
<f:verbatim>
<canvas id="drawbox" width="600" height="200">
<p>Your browser does not support <canvas></p>
</canvas>
</f:verbatim>
<af:spacer width="10" height="10" id="s10"/>
<af:panelGroupLayout id="pghl14" layout="horizontal" halign="center">
<af:commandButton text="Save Signature" id="cbSaveSignatureButtonId" partialSubmit="true">
<af:clientListener method="saveSignatureCapture" type="click"/>
<af:serverListener type="saveSignatureCapture_ServerListener"
method="#{backingBeanScope.mainBackingBean.saveSignatureCapture_ServerListener}"/>
</af:commandButton>
</af:panelGroupLayout>
</af:panelGroupLayout>
</f:facet>
<f:facet name="start"/>
<f:facet name="end"/>
<f:facet name="top"/>
</af:panelStretchLayout>
</af:form>
<af:clientListener method="beginSignatureCapture" type="load"/>
</af:document>
</f:view>
</jsp:root> However, I got the error following error when I run the page from IE8.
Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichCommandButton[oracle.adf.RichCommandButton] id=cbSaveSignatureButtonId StackTrace:function(x217)[AdfRichCommandButton[oracle.adf.RichCommandButtonId]..........
FYI, the following simple testing code has the similar error in IE8 too (not for Firefox).
<?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:h="http://java.sun.com/jsf/html" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:resource type="javaScript" source="../resources/js/excanvas.js"/>
<af:form id="f1">
<f:verbatim>
<canvas id="drawbox" width="600" height="200">
<p>Your browser does not support <canvas></p>
</canvas>
</f:verbatim>
</af:form>
</af:document>
</f:view>
</jsp:root>The error is: Assertion failed: Incorrect use of AdfRichUIPeer.GetDomNodeForCommentComponent.AdfRichDialog[oracle.adf.RichDialog] id:::msgDlg StackTrace function(x217).......
Your advice is very much appreciated. -
How to integrate Java 2D into ADF form
Hello, everyone.
I am working on ADF web application. I need to show image on page,but users of system can draw line on this image.
now I am searching solution. please helpYou could develop your own ADF Faces / JSF component and use a Javascript library for drawing. Have a look at e.g. Raphael for cross-browser compatible vector drawing:
http://raphaeljs.com/
Some Raphael-based editors:
http://ianli.com/sketchpad/
http://code.google.com/p/jsvectoreditor/
Also, this one looks really good but seems to go more in the direction of a full-blown app (don't know on what library it's based):
http://code.google.com/p/svg-edit/
You'd "just" have to wrap this as an ADF Faces component to integrate it in your ADF application.
Of course, if you've got Flash knowledge available you could do this in Flash (or simply use Java 2D and emebed it as an applet in the ADF page). But I think using HTML5 / Javascript would be more in line with ADF technology...
Regards
Andreas -
Hi,
Is it possible to display SVG format map generated by MapViewer through Jdeveloper / embedded oc4j?
Thanks,
ShoutongMaybe this sample can help:
http://andrejusb-samples.blogspot.com/2007/01/jdevadf-sample-spatially-enabled-adf.html -
Error in running the ADF application
Hi..
When i tried to run the application in Jdev i got an error message
] oracle.jbo.JboException: JBO-29112: The time zone 'GMT+05:30' defined in adf-config.xml or
TimeZone.getDefault().getID() does not exist in your Oracle database table V$TIMEZONE_NAMES.
Please set an available time zone in your TZ environment variable or user.timezone Java system property
So i went to project properties and follwed the step,
1. Go Tools > Project Properties then
2. (Project Properties) open select Run/Debug/Profile > in right you will see Default > Double click here or click Edit
3. (Edit run configuration) select Launch Settings > in 'Java option' text item past this line ... -Duser.timezone="+05:30"
4.close and re-open JDeveloper
5. Run entire project
After that when i tried to run the project in jdev i am getting an error,
java.lang.NoClassDefFoundError: Duser/timezone=+05:30
Caused by: java.lang.ClassNotFoundException: Duser.timezone=+05:30
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Exception in thread "main" Process exited with exit code 1.
What may be the problem ?
Please help me to resolve this.Anyway the problem of timezone error is resolved...
Thank you very much for the help..
But one question,
previously when running the application through jdev 11.1.1.4.0 we are getting the url and the weblogic server will start automatically,
Here no such message is showingbut i can see a new window with my entries..
This is the console output when running viecontroller
"C:\JDev 11.1.2.3.0\jdk160_24\bin\javaw.exe" -client -classpath "C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\resources.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\rt.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\sunrsasign.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\jsse.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\jce.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\charsets.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\modules\jdk.boot.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\classes;D:\test\.adf;D:\test\ViewController\classes;D:\test\Model\classes;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.idm_11.1.1\identitystore.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\groovy-all-1.6.3.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\adf-dt-at-rt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adflibrary.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.ldap_11.1.1\ojmisc.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\commons-el.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar;C:\JDev 11.1.2.3.0\modules\javax.activation_1.1.0.0_1-1.jar;C:\JDev 11.1.2.3.0\modules\javax.mail_1.1.0.0_1-4-1.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.javatools_11.1.1\resourcebundle.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-common.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-ee.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-internal.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jacc-spi.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.pki_11.1.1\oraclepki.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_core.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_cert.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_ws_sx.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.iau_11.1.1\fmw_audit.jar;C:\JDev 11.1.2.3.0\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\JDev 11.1.2.3.0\jdeveloper\BC4J\jlib\bc4jtester.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adfm-debugger.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\regexp.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.help_5.0\ohj.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.help_5.0\help-share.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.bali.share_11.1.1\share.jar;C:\JDev 11.1.2.3.0\jdeveloper\jlib\jewt4.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.help_5.0\oracle_ice.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\lib\idert.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\lib\javatools.jar;C:\JDev 11.1.2.3.0\wlserver_10.3\server\lib\weblogic.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.mds_11.1.1\oramds.jar;C:\JDev 11.1.2.3.0\modules\javax.servlet_1.0.0.0_2-5.jar;C:\JDev 11.1.2.3.0\modules\javax.jsp_1.2.0.0_2-1.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\JDev 11.1.2.3.0\oracle_common\jlib\commons-cli-1.0.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.xmlef_11.1.1\xmlef.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.javacache_11.1.1\cache.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.ucp_11.1.0.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;C:\JDev 11.1.2.3.0\modules\javax.management_1.2.1.jar;C:\JDev 11.1.2.3.0\modules\javax.management.j2ee_1.0.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-impl.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-dtrt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-fwk.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-rc.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adf-controller-schema.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-impl.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-api-11.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adfmweb.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\org.apache.commons.beanutils_1.6.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\org.apache.commons.logging_1.0.4.jar;C:\JDev 11.1.2.3.0\modules\com.bea.core.apache.commons.collections_3.2.0.jar;C:\JDev 11.1.2.3.0\modules\glassfish.jstl_1.2.0.1.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-utils.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-basemaps.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-jclient.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-trinidad.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-faces.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\prefuse.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-anim.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-awt-util.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-bridge.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-codec.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-css.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-dom.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-ext.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-extension.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-gui-util.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-gvt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-parser.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-script.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-svg-dom.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-svggen.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-swing.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-transcoder.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-util.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\batik-xml.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\xml-apis-ext.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-databindings.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-facesbindings.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\dvt-databindings-mds.jar;C:\JDev 11.1.2.3.0\modules\glassfish.el_1.0.0.0_2-1.jar;C:\JDev 11.1.2.3.0\jdeveloper\jlib\inspect4.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adflibfilter.jar;C:\JDev 11.1.2.3.0\jdeveloper\adfv\jlib\oracle-page-templates.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-rt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n-mapping.jar;C:\JDev 11.1.2.3.0\jdeveloper\jdev\lib\jdev-rt.jar;C:\JDev 11.1.2.3.0\jdeveloper\sqlj\lib\runtime12.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jsf_2.0\jsf-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jsf_2.0\jsf-impl.jar;C:\JDev 11.1.2.3.0\jdeveloper\jdev\extensions\oracle.jdeveloper.jgoodies\forms-1.0.6.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\bc4jimdomains.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\ordim.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\ordhttp.jar;C:\JDev 11.1.2.3.0\jdeveloper\ord\jlib\jmf.jar;" -Djavax.net.ssl.trustStore=C:\DOCUME~1\u26273\LOCALS~1\Temp\trustStore7339058238868341045.jks -Duser.timezone="+05:30" -Duser.language=en -Duser.country=US -Duser.variant= oracle.jbo.jbotester.MainFrame -DC demo.view.DataBindings.cpx AppModuleDataControl -H "jar:file:/C:/JDev 11.1.2.3.0/jdeveloper/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs"
Nov 23, 2012 9:50:33 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationCpx
INFO: file:/D:/test/ViewController/classes/demo/view/DataBindings.cpx
Nov 23, 2012 9:50:41 AM oracle.security.jps.internal.common.util.XmlSchemaValidationUtil$StrictErrorHandler warning
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: line 2 column 221.
Nov 23, 2012 9:50:41 AM oracle.security.jps.internal.common.util.XmlSchemaValidationUtil$StrictErrorHandler error
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: line 3 column 19.
Nov 23, 2012 9:50:52 AM oracle.jbo.jbotester.MainFrame main
INFO: BC4J Tester started.
Nov 23, 2012 9:51:04 AM oracle.jbo.jbotester.MainFrame exit
INFO: BC4J Tester exit code(0)
Process exited with exit code 0.
when running Model the output is
C:\JDev 11.1.2.3.0\jdk160_24\bin\javaw.exe" -client -classpath "C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\resources.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\rt.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\sunrsasign.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\jsse.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\jce.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\charsets.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\lib\modules\jdk.boot.jar;C:\JDev 11.1.2.3.0\jdk160_24\jre\classes;D:\test\.adf;D:\test\Model\classes;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.idm_11.1.1\identitystore.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\groovy-all-1.6.3.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\adf-dt-at-rt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adflibrary.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.ldap_11.1.1\ojmisc.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\commons-el.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar;C:\JDev 11.1.2.3.0\modules\javax.activation_1.1.0.0_1-1.jar;C:\JDev 11.1.2.3.0\modules\javax.mail_1.1.0.0_1-4-1.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.javatools_11.1.1\resourcebundle.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-common.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-ee.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-internal.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jps_11.1.1\jacc-spi.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.pki_11.1.1\oraclepki.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_core.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_cert.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.osdt_11.1.1\osdt_ws_sx.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.iau_11.1.1\fmw_audit.jar;C:\JDev 11.1.2.3.0\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\JDev 11.1.2.3.0\jdeveloper\BC4J\jlib\bc4jtester.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\adfm-debugger.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.model_11.1.1\regexp.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.help_5.0\ohj.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.help_5.0\help-share.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.bali.share_11.1.1\share.jar;C:\JDev 11.1.2.3.0\jdeveloper\jlib\jewt4.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.help_5.0\oracle_ice.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\lib\idert.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\lib\javatools.jar;C:\JDev 11.1.2.3.0\wlserver_10.3\server\lib\weblogic.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.mds_11.1.1\oramds.jar;C:\JDev 11.1.2.3.0\modules\javax.servlet_1.0.0.0_2-5.jar;C:\JDev 11.1.2.3.0\modules\javax.jsp_1.2.0.0_2-1.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\JDev 11.1.2.3.0\oracle_common\jlib\commons-cli-1.0.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.xmlef_11.1.1\xmlef.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.dms_11.1.1\dms.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.javacache_11.1.1\cache.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.ucp_11.1.0.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;C:\JDev 11.1.2.3.0\modules\javax.management_1.2.1.jar;C:\JDev 11.1.2.3.0\modules\javax.management.j2ee_1.0.jar;C:\JDev 11.1.2.3.0\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-jclient.jar;C:\JDev 11.1.2.3.0\oracle_common\modules\oracle.adf.view_11.1.1\dvt-utils.jar;;" -Djavax.net.ssl.trustStore=C:\DOCUME~1\u26273\LOCALS~1\Temp\trustStore7339058238868341045.jks -Duser.timezone="+05:30" -Duser.language=en -Duser.country=US -Duser.variant= -Duser.language=en -Duser.country=US -Duser.variant= oracle.jbo.jbotester.MainFrame -X 13B2CADF71E -H "jar:file:/C:/JDev 11.1.2.3.0/jdeveloper/jdev/doc/studio_doc/ohj/bc4j_f1.jar!/bc4j_f1.hs"
Nov 23, 2012 9:51:41 AM oracle.security.jps.internal.common.util.XmlSchemaValidationUtil$StrictErrorHandler warning
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: line 2 column 221.
Nov 23, 2012 9:51:41 AM oracle.security.jps.internal.common.util.XmlSchemaValidationUtil$StrictErrorHandler error
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: line 3 column 19.
Diagnostics: (Properties (re)loaded) Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
[00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
[01] Loading from individual XML files
[02] Loading the Containees for the Package 'demo.model.Model'.
[03] Connected to Oracle JBO Server - Version: 11.1.2.62.76
[04] No XML file /demo/model/model.xml for metaobject demo.model.model
[05] MDS error (MetadataNotFoundException): MDS-00013: no metadata found for metadata object "/demo/model/model.xml"
[06] Cannot Load parent Package : demo.model.model
[07] Business Object Browsing may be unavailable
[08] Loading Typemap entries from oracle.jbo.common.OracleTypeMapEntries
[09] StringManager initialized and added to appscopeoracle.adf.share.HashMapScopeAdapter@1df9c23
[10] Stringmanager using default locale: 'en_US'
[11] CSMessageBundle (language base) being initialized
[12] OracleSQLBuilder reached getInterface
" -
Its a SVG file from Batik , an apache java svg tool. Its seems that mozilla is not able run it as expected. I have tried it over opera and safari where it works. I am giving below the SVG script. As a developer I would like to know the status of SVG implementation on Mozilla firefox and its limitations. Thanks
*O o it seems I can't post more than 10,000 words, if you can give the way how could I post the script I will do it.Are you trying to migrate your application from an older release to a newer one ?
Always provide details of which version of Jdeveloper you are using and what technologies your application uses besides what you were trying to do at a high level.
Since you donot provide much info at this point , all I could suggest would be to see if one of these results help -
https://www.google.com/search?q=Error+while+processing+library+references.+Unresolved+application+library+references%2C+defined+in+weblogic-application.xml%3A+[Extension-Name%3A+adf.oracle.domain%2C+exact-match%3A+false]&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a -
Unable to capture the adf table column sort icons using open script tool
Hi All,
I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
} -
Using ADFS with SharePoint Foundation 2013?
We have a WSS 3.0 web site used primarily for sharing documents with business partners who do not work for our company. We plan on doing the 2 step upgrade to SharePoint Foundation 2013
Our internal users also use it but normally just use internal network file shares if they aren't planning to share the documents with external users.
Each business partner's company has a sub site within our main WSS site and documents are uploaded to that section of the site if we want to share documents with employees of that company.
Since we use AD for authentication, to make this work, we create AD user accounts for each external user and add them to a security group that gives them access to only their company's subsite on the main site.
We have to maintain their passwords, reset them and delete/disable them when that person no longer needs access. Each business partner has a limit on the number of users who can get one of our AD accounts due to limits on the number of CALs available
to them. It is messy because these users often forget their passwords since they aren't using these accounts every day.
Is there a better way to do this so that we no longer have create and maintain user accounts for external users other than having to do a domain trust with all these other domains?
I have heard of ADFS, but will it allow us to still control which sites and documents the external company users can access if we are not creating and managing the accounts and adding them to the correct security groups ourselves?
We don't want every user from the partner's domains to be able to access the site. If we use ADFS, how do we keep control of which external users have access to the site?Yes, you would add permissions just the same way you do with users from your local Active Directory. And yes, if you chose the email address to be the user's identifier, you would simply ask for the email addresses that you wanted and input those to the
appropriate permissions on your SharePoint sites.
You'll want to take a look at this:
http://blogs.msdn.com/b/russmax/archive/2013/10/31/guide-to-sharepoint-2013-host-name-site-collections.aspx
Also another thing to keep in mind is that you'll need to have those 3rd parties set up ADFS themselves, and you'll create an ADFS Trust between you and the 3rd party.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
I would love some help with this issue. I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0 I have a test account set up with lab.acme.com to use the ACS.
When I log into my site using Windows Auth, everything is great. However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
to use to log in and after 3-5 second
and return me the logon page with error message “Authentication failed”
I base my setup on the technet article
http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
I validated than all my certificate are valid and able to retrieve the crl
I got in eventlog id 300
The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
Additional Data
Exception details:
Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
correctly, but one of the CA certificates is not trusted by the policy provider.
at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
--- End of inner exception stack trace ---
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
serializationContext, AsyncCallback asyncCallback, Object asyncState)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
trustNamespace, AsyncCallback callback, Object state)
System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
thx
Stef71This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
on my case was :
PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
cer\SP2K10\ad0001.cer")
PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
Certificate : [Subject]
CN=domain.AD0001CA, DC=domain, DC=com
[Issuer]
CN=domain.AD0001CA, DC=portal, DC=com
[Serial Number]
blablabla
[Not Before]
22/07/2014 11:32:05
[Not After]
22/07/2024 11:42:00
[Thumbprint]
blablabla
Name : domain.ad0001
TypeName : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
DisplayName : domain.ad0001
Id : blablabla
Status : Online
Parent : SPTrustedRootAuthorityManager
Version : 17164
Properties : {}
Farm : SPFarm Name=SharePoint_Config
UpgradedPersistedProperties : {}
PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
cer\SP2K10\ADFS_Signing.cer")
PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
Certificate : [Subject]
CN=ADFS Signing - adfs.domain
[Issuer]
CN=ADFS Signing - adfs.domain
[Serial Number]
blablabla
[Not Before]
23/07/2014 07:14:03
[Not After]
23/07/2015 07:14:03
[Thumbprint]
blablabla
Name : Token Signing Cert
TypeName : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
DisplayName : Token Signing Cert
Id : blablabla
Status : Online
Parent : SPTrustedRootAuthorityManager
Version : 17184
Properties : {}
Farm : SPFarm Name=SharePoint_Config
UpgradedPersistedProperties : {}
PS C:\Users\administrator.PORTAL> -
ADF Get selected values from Dynamic Lists
Hi,
I have a created a dropdown list box where the list gets value through a managed bean. On commit I want the selected value to be saved into the CardiacV1EchoSched column of the Entity object (database). The source looks like this.
<af:selectOneChoice value="#{bindings.CardiacV1EchoSched.inputValue}"
label="#{bindings.CardiacV1EchoSched.label}"
valuePassThru="true">
<f:selectItems value="#{TTrack.carScheList}"/>
</af:selectOneChoice>
The problem is that getCardiacV1EchoSched() in the entity object class is null. The selected value does not get passed into #{bindings.CardiacV1EchoSched.inputValue} at all. If I bind the value to a variable in managed bean I get the selected value.
Thanks in advance,Hi,
not sure which business service you use to update the database, but if you use ADF Business Components then you need to call the commit operation
Frank -
Problem with links in deployed ADF application to Weblogic Server 11g
Hi everyone !
I have a query here, firstly, I have created an ADF application using Jdeveloper 11g and have successfully deployed (EAR file) onto the weblogic server.
However, after testing out the application, the linking within the application does not seem to work. Whenever I click on a link or button, the page refreshes but the result is not displayed.
What could have cause the problem?
Thanks
GavinAre the ADF runtime libraries installed into the WebLogic server?
-
Open file from ADF pages gives a problem
Hi all,
I have created with Jdev 11g an ADF page.
In that page is shown a table with the files that are stored in the database.
I use this code to show the file:
public void showFile(BlobDomain b,String filename){
FacesContext fc = FacesContext.getCurrentInstance();
HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
response.setHeader("Content-Disposition","attachment; filename=\""+filename+"\"");
response.setHeader("cache-control", "no-cache");
try {
InputStream in;
in = b.getInputStream();
ServletOutputStream out = response.getOutputStream();
writeInputStreamToOutputStream(in, out);
fc.responseComplete();
} catch (IOException e) {
e.printStackTrace();
} catch (Throwable e) {
e.printStackTrace();
}This works for the first time a file is opened. But when the user then selects a different row nothing is happening anymore.
What can that be?Hi Simon,
This is the button:
<af:commandButton text="Open file"
binding="#{backingBeanScope.backing_pages_Meldingen.cb5}"
id="cb5"
disabled="false"
action="#{backingBeanScope.backing_pages_Meldingen.openFile}"/>this is openfile:
public String openFile() {
BindingContainer bindings = this.getBindings();
DCIteratorBinding iter = (DCIteratorBinding)bindings.get("XxahelpBezoekRapDocView1Iterator");
Row currentRw = iter.getCurrentRow();
showFile((BlobDomain)currentRw.getAttribute("Bijlage"),currentRw.getAttribute("Filename").toString());
return null;
}And how can I download in a popup?? -
Is it possible to call the Print Quote functionality from Custom ADF page
Hi,
We are researching if it is possible to call the Print Quote functionality from the Custom ADF application.
Goal is to pop up the PDF report upon clicking the Print Quote button on the custom page. Is it possible ?
Atleast advice on the direction to go forward is appreciated.
Thanks
SaiHi ,
Please check following thread on forum -
Re: ADF: Calling OAF Page from ADF page
Check this may also be useful-
https://blogs.oracle.com/shay/entry/to_adf_or_oaf_or
I have not tried yet but Steven Chan (Sr. Director OATG) suggest following methodolgy for this-
https://blogs.oracle.com/stevenChan/entry/appsdatasource_jaas_ebs
Thanks,
Ashish -
ADF Desktop Integration : How to delete the table in Excel?
Hi,
I am using Jdev 11.1.1.3.0 and Excel 2007 for Oracle ADF DI, I had created an ADF table using pageDef file in the excel. Now I wanted to delete that table and use a different pageDef file.
I could not find a way to delete that table.
I deleted full row of tables and then I used different pageDef file and created a new adf table. But when I am running this version of excel, I am getting runtime exception and excel is getting corrupted.
My question how to delete the table not corrupting the Excel.
Thanks
PavanPavan,,
Welcome to OTN.
You can delete the table by selecting the top left column (of the table) and then select delete from the ADFdi tab.
Refer the documentation for more info.
http://docs.oracle.com/cd/E17904_01/web.1111/e10139/get_start_dev_tools.htm#ADFDI608
-Arun -
How to dynamically display the data from a table base on row selection of another table in ADF
Hi ,
I have a requirement in ADF. I need to change the data of a table based on row selection of another Table . Both the table have a Parent Child relationship between them. They have a common attribute say department_id.
For this I created bind variable in view object of employees table and wrote a where clause in the sql query using that bind variable. Then I created method for selection listener of department Table in java bean.
My method is following
public void onrowselection(SelectionEvent selectionEvent) {
RichTable richTable = (RichTable)selectionEvent.getSource();
CollectionModel tableModel = (CollectionModel)richTable.getValue();
JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
Object selectedRowData = richTable.getSelectedRowData();
JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
Number pallet = newVal.bigDecimalValue();
System.out.println("Selected values " + pallet);
BindingContext bindingctx = BindingContext.getCurrent();
BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
ViewObject vo =dciter.getViewObject();
vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
vo.executeQuery();
It is printing the selected value of department id from department table in the log. But it is not able to pass the value to employees view. It is showing the following error in the log
"Definition DepartmentId of type Variable is not found in EmployeesView1."
I will be very thankful if someone helps me to solve this errror or is there any other way to achieve the same requirement.
Thanks
NileshNote quite sure why you simply wont create a viewlink for the viewobject the tables are based on..
The viewlink attribute will be based on the departmentId and it's a simple master detail relationship which automatically uses ppr.
However, if both tables are on the same page; using your hack about;
On the underlying viewobject, define a viewcriteria e.g. "listById" and set your bind variable here.
I would bind table two to a RichTable component:
RichTable t2;
public void onrowselection(SelectionEvent selectionEvent) {
RichTable richTable = (RichTable)selectionEvent.getSource();
CollectionModel tableModel = (CollectionModel)richTable.getValue();
JUCtrlHierBinding adfTableBinding = (JUCtrlHierBinding)tableModel.getWrappedData();
Object selectedRowData = richTable.getSelectedRowData();
JUCtrlHierNodeBinding nodeBinding = (JUCtrlHierNodeBinding)selectedRowData;
oracle.jbo.domain.Number newVal = (oracle.jbo.domain.Number) nodeBinding.getAttribute("DepartmentId");
Number pallet = newVal.bigDecimalValue();
System.out.println("Selected values " + pallet);
refreshTable2(pallet);
BindingContext bindingctx = BindingContext.getCurrent();
BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("EmployeesView1Iterator");//access the iterator by its ID value in the PageDef file
ViewObject vo =dciter.getViewObject();
vo.setNamedWhereClauseParam("DepartmentId", pallet);//enter your value
vo.executeQuery();
private void refreshTable2(Number pallet){
RichTable x=getT2();
CollectionModel cm=(CollectionModel)x.getValue();
JUCtrlHierBinding jcb=(JUCtrlHierBinding)cm.getWrappedData();
BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
DCIteratorBinding dciter = bindingsImpl.findIteratorBinding(jcb.getName()+"Iterator");
ViewObject vo =dciter.getViewObject();
ViewCriteriaManager vcm=vo.getViewCriteriaManager();
ViewCriteria vc=vcm.getViewCriteria("listById");
vo.applyViewCriteria(vc);
vo.setNamedWhereClauseParam("DepartmentId",pallet);
vo.executeQuery();
AdfFacesContext.getCurrentInstance().addPartialTarget(getT2());
Maybe you are looking for
-
Code Insight and JSP and JDEVELOPER
Hi everybody Does anybody can help me how I can enable code insight feature of jdeveloper? Remember that import statement is in jsp tags. Thanks a lot Shahram
-
IE HTTP close (reset) - port reuse causing firewall issues
Having an issue with some systems reusing the same TCP port number between sessions, causing the firewall to drop the connection. Internet Explorer is creating the HTTP socket connection to port 80. An ephemeral port (assigned by Windows) is bound to
-
Connect to Internet using Wifi
How Can I serve internet from my BB Curve's wifi? do i need to download some kind of browser onto my BB Curve? Thanks
-
Hello, I created a package in Visual Studio Integration Services, where it runs successfully. I then deployed it to SQL server 2012. Here to it runs successfully, too. Then I changed the script in that I exchanged two variables for two parameters - d
-
Web.xml question -- ejb-ref
Can anyone explain the reasons for using the <ejb-ref> tag in the web.xml file? Currently, I have a context-param that matches a param-name to a param-value. My code looks up the param-value and, via JNDI, gets the EJB referenced. Does the <ejb-ref>