This content has been marked as final. Show 12 replies
I think this was an issue with IE, Can you confirm the browser in which you are seeing this issue ? Does it happen with FireFox or Mozilla ?
PPR events in general gets fired when there is a change in value. If PPR has already fired after a change, it will not fire again from the same field. Thats the technical shortcoming. I m just interested to know if IE and the PPR idiosynchrasy is mixed up here.
I tried the DocumentViewer and it worked for me the key is the using correct versions of java files
here are the details
Apps Version 115.10.2 RUP 5
Jdev version 184.108.40.206 (build 1437) downloaded from the patch 4573517
Once you download and unzip it do the following
Copy all the files from (server) $JAVA_TOP/oracle/apps/xdo to your myclasses/oracle/apps/xdo
and $JAVA_TOP/oracle/apps/fnd to myclasses/oracle/apps/fnd
go to jdevbin/jdev/appslibrt there you wil find aolj.jar open it with winrar and navigate to
oracle/apps/fnd and delete the i18n folder
fireup you jdev create a page and a region under it and extend that region from /oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion
add another submit button to that .. set a controller and write the following code
make sure u have defined the DataDefinition and corresponding Template in ur XML publisher .
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
OAApplicationModule am = pageContext.getApplicationModule(webBean);
BlobDomain result = (BlobDomain) am.invokeMethod("getXMLData");
and in the AM
public BlobDomain getXMLData()
BlobDomain blobDomain = new BlobDomain();
OADBTransaction oadbtransaction = getOADBTransaction();
String dataDefCode = "EMPDT" ;
String dataDefApp = "CIE";
DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
catch (XDOException e)
throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
This should work .... no issues ...
I gathered the information from different threads all i did was put all those together ... so credit goes to all of those who really gave the info ..
I tried all the steps exactly as you mentioned.
I have worked for long with OAF now.
I tried the steps instructed by you and also deleted the i18n folder as mentioned.
However I am working with R12 and JDev 10.1.3.1.0.3981
I got the following exception:
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg=
Missing class: oracle.apps.fnd.i18n.util.NLSMapper
Dependent class: oracle.apps.fnd.framework.OANLSServices
Configuration: <library> in /C:/JDeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml
this is quite an old thread but I believe it's better to post my doubts here than opening a new thread.
I'm trying to create a simple OAF page in which I want to display xml publisher outputs via the Document Viewer region.
Regarding Tom's previous post, I don't understand what does he mean when he says the next sentence: "add another submit button to that .. set a controller and write the following code"
Where should I add the mentioned "submit button" ? When I create the doc viewer region I already can see a "Run" button. Where should I attach the new controller? The doc viewer region already has a controller, should I create a new one extending that one (oracle.apps.xdo.oa.common.webui.DocumentViewerCO)?
Thank you in advance
I am doing the same process as described by Tom in this blog.
Now i dont get the error messages.
But whenever i click on submit button, its doing nothing, the page is just refreshed and it shown neither any error nor the report.
But when i try the traditional approach of exporting the document using "DocumentHelper.exportDocument", its giving me the report output.
Does it mean, document Viewer region is not set properly or there is any other problem?
Do we need to do some specific setting for document viewer? I have just pasted the value "/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion" in the extends property and did nothig else.
Can anyone please help?