OAF pages in different browsers--problem
Does the page behave differently on different browsers? For instance,we have a page that loads fine in mozilla, but in IE lay out goes awry. Do we have any special setting to do?
Kindly reply asap
Check the reply in thread Clock in OAF page
Please elaborate, what exactly is the issue? What do you mean by "but in IE lay out goes awry"?
--Shiv
Similar Messages
-
How to display Attachments on OAF page for different entities
Hi,
I have a requirement where I have to create an attachment page to display the attachments dynamically at run time depending upon the values passed such as Entity Name, Primary Key values, Category Id values.
I have a query to give me the attachments related data from the tables like fnd_documents_vl, fnd_attached_documents, fnd_document_entities, fnd_document_categories_tl.
Now, as I read on the forum, I can make use of Oracle's seeded functionality on attachments and display attachments but in my requirement I don't have one specific entity. I have below query which gives data directly with respect to all entities from fnd tables. The name of entity and primary keys will come at run time. So, how can I make use of below query and display attachments in such a case?
I am very new to OAf and any help will be really appreciated.
Thanks in Advance,
Shalini
SELECT DISTINCT ad.attached_document_id
,ad.document_id AS document_id
,ad.last_update_date
,ad.last_updated_by
,u.user_name last_updated_by_name
,ad.entity_name
,ad.pk1_value
,ad.pk2_value
,ad.pk3_value
,ad.pk4_value
,ad.pk5_value
,decode(d.dm_node,
NULL,
(SELECT short_name
FROM fnd_dm_nodes
WHERE node_id = 0),
0,
(SELECT short_name
FROM fnd_dm_nodes
WHERE node_id = 0),
node.short_name) location
,d.document_id document_id1
,d.datatype_id
,d.datatype_name
,d.description
,decode(d.file_name,
NULL,
(SELECT message_text
FROM fnd_new_messages
WHERE message_name = 'FND_UNDEFINED'
AND application_id = 0
AND language_code = userenv('LANG')),
d.file_name) file_name
,d.media_id
,d.dm_type
,d.dm_node
,d.dm_folder_path
,e.data_object_code
,e.document_entity_id
,'ALLOW_ATTACH_UPDATE' allow_attach_update
,'ALLOW_ATTACH_DELETE' allow_attach_delete
,ad.category_id category_id
,cl.user_name attachment_category_name
,ad.status
,ad.creation_date
,(SELECT u1.user_name
FROM fnd_user u1
WHERE u1.user_id = ad.created_by) attached_by_name
,decode(d.datatype_id,
5,
nvl(d.title,
d.description) || '(' ||
substr(d.url,
1,
least(length(d.url),
15)) || '...)',
decode(d.datatype_id,
6,
nvl(d.title,
d.file_name),
decode(d.title,
NULL,
(SELECT message_text
FROM fnd_new_messages
WHERE message_name = 'FND_UNDEFINED'
AND application_id = 0
AND language_code =
userenv('LANG')),
d.title))) file_name_sort
,d.usage_type
,d.security_id
,d.security_type
,d.publish_flag
,cl.category_id category_id_query
,ad.seq_num
,d.url
,d.title
FROM fnd_documents_vl d
,fnd_attached_documents ad
,fnd_document_entities e
,fnd_user u
,fnd_document_categories_tl cl
,fnd_dm_nodes node
WHERE ad.document_id = d.document_id
AND ad.entity_name = e.data_object_code(+)
AND ad.last_updated_by = u.user_id(+)
AND cl.LANGUAGE = userenv('LANG')
AND cl.category_id = nvl(ad.category_id,
d.category_id)
AND d.dm_node = node.node_id(+)Hi Peddy,
Thanks a lot for your guidance. I tried implementing the code in PR but I am stuck at one error. I am not able to programmatically add a new Entity ID and its attributes at run time. To make it more clear: In Jdev I created an Entity and its mappings at design time. Now, I am able to use getEntitymappings() and setEntityMappings() to modify the attributes of exiting Enity but I am not able to add/append new Entity ID to the existing one. It throws - java.lang.ArrayIndexOutOfBoundsException: 1 error.
Please any one review the below code snippet and let me know whether I am missing something to make it work.
Below is the Code that I have written so far:
====================================================
OAAttachmentTableBean attBean = (OAAttachmentTableBean)webBean.findChildRecursive("attachTable");
Dictionary[] entityMaps = attBean.getEntityMappings();
entityMaps[0].remove("entityId");
entityMaps[0].put("entityId","OE_ORDER_HEADERS");
entityMaps[0].remove("insertAllowed");
entityMaps[0].remove("updateAllowed");
entityMaps[0].remove("deleteAllowed");
entityMaps[0].put("insertAllowed", false);
entityMaps[0].put("updateAllowed", false);
entityMaps[0].put("deleteAllowed", false);
// Adding Second Entity
// Getting ArrayIndexOutOfBoundsException at below line. As i saw that getEntityMappings() returns only array of size :1 and that is teh reason I am getting error, so How can I increase the size dynamically to add new Entity or is there any other way?
entityMaps[1].put("entityId", "XX_LINK_ENTITY"); // entity id
entityMaps[1].put("showAll", false); // show all property
entityMaps[1].put("insertAllowed", false);
entityMaps[1].put("deleteAllowed", false);
entityMaps[1].put("updateAllowed", false);
// Adding Primary Key to Second Entity
String[] pkAttrNames = new String[1];
pkAttrNames[0] = "Pk1Value"; // pk view attribute name
entityMaps[1].put("pkColumns", pkAttrNames);
// Setting Category Values for first Entity
Integer CatValue = 1000486;
Integer[] categories = new Integer[2]; // categories
categories[0] = new Integer(1);
categories[1] = CatValue;
// Setting Category Values for Second Entity
Integer[] categories2 = new Integer[1]; // categories
categories2[0] = new Integer(1); //MISC
attBean.setEntityMappings(entityMaps);
attBean.setDynamicCategoriesMap("OE_ORDER_HEADERS",categories);
attBean.setDynamicCategoriesMap("XX_LINK_ENTITY",categories2);
Thanks & Best Regards,
Shalini -
All files saved as html doc will save as firefox html doc which keeps me from opening this file in any other browser. This happens no matter which text editor I use. How do I save html docs without the firefox logo.
Open the browser you want to use. click ctrl + O, browse to your file location and it will open your file.
-
Firefox won't load pages, but other browsers will.
Firefox won't load any internet pages, but different browsers, both Chrome and Explorer work, I havent tried others. I've un-installed, changed the name of the folder of the plug-ins that were left so it wouldn't recognize them, then re-installed nothing happened. I've checeked for viruses, proxies, and i'm pretty sure its not a firewall, I think we only have one and I checked it, plus there is no prompt asking me if I want to allow firefox to access the internet. It won't run in safe mode, so its not any add-ons, clearing the cache didn't do anything either. Its also not in offline mode. What else could it be?
Hello,
The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
To Reset Firefox do the following:
#Go to Firefox > Help > Troubleshooting Information.
#Click the "Reset Firefox" button.
#Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
#Firefox will open with all factory defaults applied.
Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
Did this fix your problems? Please report back to us!
Thank you. -
Responsibilty of OAF page issue
hi All,
I have added one responsibility by using system administrator resp to my user.but when i try to login ,that responsibility is not appearing to open.but when i query my username in sysadmin that responsibility is stay there(its in active mode that there is no expirydate) in users window.we will add this responsibility to another users they can able to open that responsibility of OAF page.
what is the problem in my user is not able to open that responsibility rather than open in another user that particular responsibility. that responsibility behind OAF page is there. is there any profile option we have to set for particular user or that responsibility.
can any one solve this problem.
ThanksPlease refer to Metalink Note 374309.1 and apply required patches
--Mukul -
R12 Can't make standard OAF pages to work from Jdevloper
Hello,
Jdeveloper version : 10.1.3.3.3.0
i have to develop customization on PO.
to do that i have to extend a controller of a OAF page.
I face problems even before i start writing some codes.
I downloaded the $JAVA_TOP/oracle/apps/po content and subfolders to "myclasses".
I did copy the same folder in myprojects.
Then i download the $PO_TOP/mds content and subfolders to "myprojects".
I create my workspace and project, setup it properly.
Before starting to create my controller i am trying to launch the FULL STANDARD PO order page and create an order.
so i launch the page OrderSummaryPG.xml located in oracle/apps/po/document/order/webui.
I create an order
fill in the header information
create a ligne
fill in the line information
Save the order
I Click on approve button
then i get this error. why am i getting this error if i did not change any of the code ?
any idea ?
oracle.apps.fnd.framework.OAException: oracle.jbo.NameClashException: JBO-25001: Le nom linelocationsMergeVOIter de type d'objet Itérateur de rowset de vue existe déjà
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: oracle.jbo.NameClashException: JBO-25001: Le nom linelocationsMergeVOIter de type d'objet Itérateur de rowset de vue existe déjà
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at oracle.apps.po.common.webui.ClientUtil.executeServerCommand(ClientUtil.java:152)
at oracle.apps.po.document.common.webui.DocumentCO.processAction(DocumentCO.java:785)
at oracle.apps.po.document.common.webui.DocumentCO.processConvertCurrencyAndAction(DocumentCO.java:678)
at oracle.apps.po.document.common.webui.DocumentCO.processFormRequest(DocumentCO.java:278)
at oracle.apps.po.document.order.webui.OrderCO.processFormRequest(OrderCO.java:100)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
oracle.apps.fnd.framework.OAException: oracle.jbo.NameClashException: JBO-25001: Le nom linelocationsMergeVOIter de type d'objet Itérateur de rowset de vue existe déjà
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
at oracle.apps.po.common.webui.ClientUtil.executeServerCommand(ClientUtil.java:152)
at oracle.apps.po.document.common.webui.DocumentCO.processAction(DocumentCO.java:785)
at oracle.apps.po.document.common.webui.DocumentCO.processConvertCurrencyAndAction(DocumentCO.java:678)
at oracle.apps.po.document.common.webui.DocumentCO.processFormRequest(DocumentCO.java:278)
at oracle.apps.po.document.order.webui.OrderCO.processFormRequest(OrderCO.java:100)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
at OA.jspService(_OA.java:71)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Edited by: Dan... on 19 janv. 2012 15:31Have you reviewed all the steps in these docs?
How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
Thanks,
Hussein -
When I try to download the creative cloud the page doesn't load, I tried different browsers, still all I see are blue and gray boxes!
HELP!If you're facing this problem, just wait and it will work!
-
CSS problem with content in different browsers?
I've been revamping the CSS for a website and got most internal pages to display normally on different browsers. However, the site entry page is driving me nuts. I think I've been staring at the code so long that I've overlooked an obvious error. In Firefox, the paragraph of intro text lines up nicely to the right of the navigation panel. In Google Chrome (and IE of course), it pops down underneath the nav panel as shown in screen capture below. Even if I zoom out. Included a link so you can see it in real time. (Since the revamp is recent, the style sheet isn't pretty.)
http://www.keithpurtell.com/kthings/index.htmSorry for the slow reply. Thanksgiving and family in town and all that. No I didn't fix or change anything. And I'll make sure the percentage match in the morning. It's after midnight here.
-
Problem with RTF Report Generation From OAF Page
Hi,
I have a requirement where from OAF page, on a button click, a RTF report should be generated. Template has been already defined for the same. If I want to generate report in .xls or pdf, it is working fine but in case of RTF it is showing that "Word cannot start the converter mswrd632" and then onclick of ok, it is displaying some junk data in word doc.
Below is the code written in PFR-
else if((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
outputType = "application/vnd.msword";//"application/vnd.ms-word.document";//"application/vnd.ms-word";
ext = ".doc";
if ((outputType != null) && (outputType.equalsIgnoreCase("RTF")))
TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, TemplateHelper.OUTPUT_TYPE_RTF, null, pdfout);
else
TemplateHelper.processTemplate(txn.getAppsContext(), "XXCUST", templateName, txn.getUserLocale().getLanguage(), txn.getUserLocale().getCountry(), in, (byte)btype, null, pdfout);
Please help urgently by sharing your ideas about solving this problem.
Thanks,
Anniehi Annie,
Please check the links may be it will help you:
https://forums.oracle.com/thread/2185528
https://forums.oracle.com/thread/2545516
https://forums.oracle.com/thread/2543842
https://forums.oracle.com/thread/2342141
if you get the right solution please mention here, it will help others.
Regards
Mahesh -
I am trying to register my Appliances and when I try to click on "Save" or "Submit" I am unable on my MacBook pro. I have tried different browsers yet still same problem. Can anyone shed some light on this please.
Thanks for that 'sberman' - because my iPhone is backed-up to my work computer (only at this stage) I have had to call our IT Department in Adleaide. (4 times this morning). The last guy managed to get the phone into 'DFU Mode' - no more recovery mode screen - (kind of 'asleep' perhaps) from my understanding of same. I am awaiting a call again from IT so they can get my computer to actually recognise my iPhone on the C Drive. This also happened to one of my colleagues in Newman (WA). She got so frustrated with the whole process that she bought another phone the next time she was in 'civilisation.' She hasn't had any problems since. (Cross fingers).
Thanks again, Sandra2474. -
Problem in XML Publisher Report submission from OAF Pages
Hi,
I am trying to submit Concurrent Program from OAF Page which is an XML Publisher Report.
The request is Submitting and Completing successfully but when we open to view the out put we are able to view the HTML tags.
We checked the same Concurrent program by submitting from the SRS window After completing if we click on view output the rtf file is getting opened correctly.
I tested with normal rdf report it is working fine with standard Concurrent program used in OAF
So my doubt is
Does the Standard Concurrent program used in OAF supports the rtf reports.
Please suggest if any modifications to be done in the Concurrent program
KrishnaKrishna
Modified your code a little bit.Use this
public int submitCPRequest(String shipmentId) {
System.out.println("into submitCPRequest");
OAPageContext pageContext;
OAWebBean webBean;
try {
OAApplicationModule am =pageContext.getApplicationModule(webBean);
OADBTransaction tx = (OADBTransaction)am.getOADBTransaction();
java.sql.Connection pConncection = tx.getJdbcConnection();
ConcurrentRequest cr = new ConcurrentRequest(pConncection);
String applnName = new String("XXAPL"); //Application that contains the concurrent program
System.out.println("ApplName"+ applnName);
String cpName = new String("XXAPLPOSMPRD"); //Concurrent program name
System.out.println("Concc Name"+ cpName);
String cpDesc = new String(" APL PO Shipping Material Pickup Request"); // concurrent Program description
// Pass the Arguments using vector
// Here i have added my parameter headerId to the vector and passed the
//vector to the concurrent program
Vector cpArgs = new Vector();
cpArgs.addElement(shipmentId);
System.out.println("Args"+ cpArgs);
// Calling the Concurrent Program
int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs);
cr.addLayout("XXAPL", "XXAPLPOSMPRT", "ENG", "US" , "RTF");
System.out.println("Req Id"+ requestId);
tx.commit();
return requestId;
catch (RequestSubmissionException e) {
System.out.println("Into Exception");
OAException oe = new OAException(e.getMessage());
oe.setApplicationModule(this);
throw oe;
catch(Exception exception)
throw OAException.wrapperException(exception);
}Thanks
AJ -
Navbar problems in different browsers
Please help! I designed a navbar using a preformatted Dreamweaver template, but found that it displays differently in different browsers. The file can be found at
http://www.npc.org/NPC909/links.html
It displays fine in Opera and Safari (both Mac), but in Netscape and Firefox (both Mac) the navbar is bumped onto a second line. In IE (Mac) the navbar is on one line, but the dropdown submenus do not display.
On the PC side, in IE 8 the navbar is vertically stacked while the two submenus display on the far left of the navbar, instead of directly below their parent links. In IE 7 the submenus don't line up with their parent links, and there is a thin black line on the right of the navbar. Again, Safari displays just fine.
Our target audience is most likely to be a PC user with IE as their browser, but any suggestions you can provide to make the navbar and submenus display consistently across all browsers would be greatly appreciated.
Thanks,
ArthurHi, Arthur,
I don't notice that you put an id on the li for "orderpub" like this:
<ul class="MenuBarHorizontal" id="MenuBar1">
<li><a class="MenuBarHorizontal" href="index.html" style="text-decoration: none;">Home</a></li>
<li><a href="background.html" style="text-decoration: none;">About NPC</a></li>
<li><a href="#" class="MenuBarHorizontal MenuBarItemSubmenu">Members</a>
<ul>
<li><a href="membynam.html" style="text-decoration: none;">By Name</a></li>
<li><a href="membycom.html" style="text-decoration: none;">By Organization</a></li>
<li><a href="membycat.html" style="text-decoration: none;">By Category</a></li>
</ul>
</li>
<li><a class="MenuBarItemSubmenu" href="reportsbydoc.html" style="text-decoration: none;">Reports</a>
<ul>
<li><a href="reportsbyyear.html" style="text-decoration: none;">Reports By Year</a></li>
<li><a href="emergency.html" style="text-decoration: none;">Emergency<br/>
Planning & Preparation</a></li>
<li><a href="energyoutlook.html" style="text-decoration: none;">Energy Outlook</a></li>
<li><a href="environissues.html" style="text-decoration: none;">Environmental Issues</a></li>
<li><a href="natgas.html" style="text-decoration: none;">Natural Gas</a></li>
<li><a href="refining.html" style="text-decoration: none;">Refining</a></li>
<li><a href="research.html" style="text-decoration: none;">Research</a></li>
<li><a href="resourcedev.html" style="text-decoration: none;">Resource Development</a></li>
<li><a href="storage.html" style="text-decoration: none;">Storage</a></li>
<li><a href="stratpetrolres.html" style="text-decoration: none;">Strategic<br/>
Petroleum<br/>
Reserve</a></li>
<li><a href="transport.html" style="text-decoration: none;">Transportation</a></li>
</ul>
</li>
<li id="orderpub"><a style="text-decoration: none;" href="orderpub.html">Order Publications</a></li>
<li><a href="links.html" style="text-decoration: none;">Links</a></li>
<li class="MenuBarHorizontal"><a href="contactus.html" style="text-decoration: none;">Contact Us</a></li>
</ul>
In your CSS file, all you need to do is:
/* Menu item containers, position children relative to this container and are a fixed width */
ul.MenuBarHorizontal li
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: center;
cursor: default;
float: left;
text-indent: 0px;
width: 9.25em; /* make this slightly narrower */
li#orderpub {
width: 9.54em; /* make this as wide as it needs to be, adjusting the previous rule as needed also */
You don't actually need all that other coding for
#home {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
cursor: default;
width: 10%;
#aboutnpc {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
cursor: default;
width: 15%;
#members {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
cursor: default;
width: 15%;
#reports {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
width: 15%;
#orderpub {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
cursor: default;
width: 20%;
#links {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
cursor: default;
width: 10%;
#contactus {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
cursor: default;
width: 15%;
which I would restyle as the following, in case you did want them:
li#home, li#aboutnpc, li#members,li#reports, li#orderpub, li#links, li#contactus {
font-size: 100%;
background: #039;
text-align: center;
text-indent: 0px;
margin: 0px;
padding: 0px;
float: left;
list-style: none;
position: relative;
cursor: default;
li#home {width: 10%;}
li#aboutnpc {width: 15%;}
li#members {width: 15%;}
li#reports {width: 15%;}
li#orderpub {width: 20%;}
li#links {width: 10%;}
li#contactus {width: 15%;}
Applying those ids to the html, we get:
<ul class="MenuBarHorizontal" id="MenuBar1">
<li id="home"><a class="MenuBarHorizontal" href="index.html" style="text-decoration: none;">Home</a></li>
<li id="aboutnpc"><a href="background.html" style="text-decoration: none;">About NPC</a></li>
<li id="members"><a href="#" class="MenuBarHorizontal MenuBarItemSubmenu">Members</a>
<ul>
<li><a href="membynam.html" style="text-decoration: none;">By Name</a></li>
<li><a href="membycom.html" style="text-decoration: none;">By Organization</a></li>
<li><a href="membycat.html" style="text-decoration: none;">By Category</a></li>
</ul>
</li>
<li id=reports"><a class="MenuBarItemSubmenu" href="reportsbydoc.html" style="text-decoration: none;">Reports</a>
<ul>
<li><a href="reportsbyyear.html" style="text-decoration: none;">Reports By Year</a></li>
<li><a href="emergency.html" style="text-decoration: none;">Emergency<br/>
Planning & Preparation</a></li>
<li><a href="energyoutlook.html" style="text-decoration: none;">Energy Outlook</a></li>
<li><a href="environissues.html" style="text-decoration: none;">Environmental Issues</a></li>
<li><a href="natgas.html" style="text-decoration: none;">Natural Gas</a></li>
<li><a href="refining.html" style="text-decoration: none;">Refining</a></li>
<li><a href="research.html" style="text-decoration: none;">Research</a></li>
<li><a href="resourcedev.html" style="text-decoration: none;">Resource Development</a></li>
<li><a href="storage.html" style="text-decoration: none;">Storage</a></li>
<li><a href="stratpetrolres.html" style="text-decoration: none;">Strategic<br/>
Petroleum<br/>
Reserve</a></li>
<li><a href="transport.html" style="text-decoration: none;">Transportation</a></li>
</ul>
</li>
<li id="orderpub"><a href="orderpub.html" style="text-decoration: none;" class="">Order Publications</a></li>
<li id="links"><a href="links.html" style="text-decoration: none;">Links</a></li>
<li id="contactus" class="MenuBarHorizontal"><a href="contactus.html" style="text-decoration: none;">Contact Us</a></li>
</ul>
Note that each main head li has an id now.
Beth -
OAF Page to connect two different Databases
Hi OAF Team,
We have a requirement to connect another instance from the source instance. That is when we login via supplier user for Supplier portal access we also need to see the planning details availble in another instance(database).
All the pages in the Supplier portal and collaborative planning are of OAF pages.
Also need to login once only, That is when we are into one instance and if we provide the hyper link of other instance in the home page, is that possible to connect the other database by defaulting the login/pwd from source login.
Regards
VishHi, I am too intersted in knowing if it is possible to use a remote database objects other than the default one. There was some guideline present for using it on SQL Server. I followed similar approach but it gave table or view does not exist error while running from JDEV.
Apreiciate any help this. -
Stale data error while opening a multiple OAF page .
Dear Friends ,
I have a OAF page developed and deployed in server , its basically a search page , it also has several links to
go to create page and update page . when the user opens the multiple page using different tabs in the browser
like for example
ex :
from search page click on create page open it as new tab . if such multiple table are being opened
and do some operation like search a record , it gives and error (stale data : Developer's mode exception ) .
How to over come this exception , could you please share you ideas
Thanks in Advance,
Keerthi.kHi friend ,
In Search page i didn't do any update. and also search page is not a problem it's working fine. create page only the problem. In this page only throwing Stale data error exception.
Please give me more suggestion.
Thanks in advance, -
Issue with images in different browsers
Having an issue with different browsers -- hoped someone
could help.
If I open my site with IE, everything looks as it does in
Dreamweaver -- there is no overlap of text and images/etc.
If I open my site with Mozilla or Safari, it seems to
arbitrarily move up some of the images over the top of text. Not
all of the images, mind you -- just a few random ones throughout
the page.
Opening the following link in both type of browsers may give
you a clue as to what is going on. What can I do to get it to look
like it does in IE?
http://www.centecsystems.com/centecexample/disanapplications.htmLOL ahem, 'scuze me. :-)
-N
"Walt F. Schaefer" <[email protected]> wrote in
message
news:[email protected]...
> >>For that we rely on IE hacks
>
> In polite company we call those "conditional comments".
> --
>
> Walt
>
>
> "Nancy O" <[email protected]> wrote in
message
> news:[email protected]...
> > First off, you are assuming incorrectly that IE is
the good browser and
> > Mozilla is the bad browser. Actually, it's the
other way around. If
you
> > build your sites to perform well in Mozilla,
chances are your sites will
> > look good in all major browsers except IE. For that
we rely on IE hacks
> > or
> > workarounds.
> >
> > Learning html and CSS takes time and effort but
it's very doable. You
> > would
> > be doing yourself a big favor by learning to work
with code now. Design
> > view is fine for some things, like typing content
and adding a few
images.
> > But eventually you have to pop the hood to check
the oil. If hiring a
pro
> > isn't an option, I suggest you purchase a solid
template to work with.
> > Money well-spent IMHO.
> >
http://www.projectseven.com/products/templates/
> >
> >
> >
> > --Nancy O.
> > Alt-Web Design & Publishing
> > www.alt-web.com
> >
> >
> >
> >
> > "PunIntended" <[email protected]>
wrote in message
> > news:[email protected]...
> >> Unfortunately, hiring someone is not an option
for my friend -- the
> > recession
> >> has hit them hard -- etc.etc. I'm doing it as a
favor.
> >>
> >> One additional question -- Why are only some of
the image files moved
> > when
> >> viewing in mozilla? I dont understand how
Dreamweaver arbitrarily
> >> chooses
> >> which are moved and which are not.
> >>
> >> Also, is laying out your site in 'design' mode
simply a bad idea? It
> > seems
> >> like it looks / works fine with IE, and the
majority of the layers are
> > correct
> >> in mozilla -- it just doesn't deal well with a
few of the images.
> >>
> >> Thank you again for all your comments - - like
I said, am sort of a
> > beginner
> >> -- just looking for the best method to fix the
problem. If the best
> > method is
> >> explaing to the graphic designers their
'vision' can't be accomplished,
> >> so
> > be
> >> it. I just want to know how to go about
attacking the browser
> > compatibility.
> >>
> >
> >
>
>
Maybe you are looking for
-
Using SumIfs to add up multiple names in a list
Hi, I've been wrestling with Numbers while trying to get on top of my bank account (tax return due soon!). I have all my transactions in a big list, and wanted to be able to show how much was spent on certain items, based on keywords. I also wanted t
-
User Events Generation - TicTacToe
Hey everybody, In order to get a better understanding of how the event structures are used, I have been playing around with making a tic tac toe game (ironically, i did not know that was a coding challenge until I just started this thread). Anyways,
-
Cannot find PPoE host, can connect to router but not internet
I've been having trouble since I tried using the router. At first, I had no security, then I set up the security and couldn't connect to the router. That finally solved, sometimes when trying to connect to the router, I get the message cannot find PP
-
I am attempting to create a pdf
I am attempting to create a pdf on monthly Acrobat fee which expires end December. But the icon is greyed out and I am unable to create the doc. I want to do it before myh monthly fee runs out! Tks
-
Another try: "AdobePDF" printer will not show in OS X 10.3
I have a Power Mac G4 Dual 1.25GHz Desktop computer running with OS X 10.3 that I'm setting up to use with some old applications. When I'm not on my starship, I'm a graphic designer and I save my artwork as a postscript file. In order to save a post