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.
Can u give me some idea about how to integrating the XML Publisher Document Viewer region into an OAF page. I am facing some issue in getting the ouput using documenthelper.getOutputURL(....)..
Can u please help me out.
Thanks for your help - I've managed to solve the problem now. I've updated the submit event to fire action rather than partial action. I've only tried it in IE so that could explain why it only worked with the debug on.
user541906 if you let me know what issues you're having I'll try to help.
How can I integrate the Document Viewer onto an OA Framework page please ?
It's OK; I have found the file to extend my new region.
Message was edited by:
Check the XML Publisher user guide ... Chapter 12
But you know . you need to have the right class files (versions i mean) so if it dosent work as per the document .. you need to be patient enough to raise an SR and follow it ...
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 126.96.36.199 (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 ..
Good going Tom :)
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
Well did you download the i18n folder from ... the server and put it back in the jar file ???
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?
Can anyone please help?
I am trying out different things, but it is not working.