How to call the JSP(Web layout) instead of paper layout...
Hi,
Iam using Reports 10g. I have created a simple employees report. I have added a listbox in the jsp page by adding small Html and javascript code like below.
<form action="http://www.wwt.com/reports/rwservlet?10000_reports_listing&p_extranet=p_extranet" name="First" method="post">
<select name="p_extranet" onChange="First.submit()" >
<rw:foreach id="RGSOURCE" src="G_SOURCE">
<rw:getValue id="mysource" src="SOURCE"/>
<option value=""><%= mysource %>
</rw:foreach>
</select>
</form>
When I run this report in the report builder as Web layout, Listbox is displayed with values inside.
But when I move it to Apps server and run it through URL,
listbox is disappeared. I think report is running the Paper layout instead of weblayout ??????????
Could you please tell me what is the problem and How to force the Weblayout or JSP to run ?
Thanks.
Hi,
You are running a jsp report through rwservlet. In this case paper layout will be displayed. You have to deploy your jsp as web report to get the web layout. Please refer to the doc below, which describes how to deploy the web report.
http://download-uk.oracle.com/docs/html/B10314_01/pbr_run.htm#1011901
To run the jsp report, URL may look like
http://www.wwt.com/reports/<jsp name>?<parameter list>
Hope this helps
Vinayak
Similar Messages
-
How to call the Jsp through BPM Obejct
Hi,
I have gone through the some topic, how to call the Jsp through BPM Object.
I have followed step below,
1. I have create the sample jsp page
2. Import into BPM studio under webroot\custom Jsp
3. Created the screenflow and added the "Interactive Component call" object
4. Right Click the Object and selected Maintask and Implementation type as "BPM Object Interactive Call"
5. Selected the use JSP presentation object option and when i click ok its showing "BPM instance object must be selected"
But when i select the Instance Variable tab, its not showing anything.
Can any one help me how to call the Jsp in screenflow with step by step procedure, that would be very greate help for me.
Regards,
Anandh PHi,
You are running a jsp report through rwservlet. In this case paper layout will be displayed. You have to deploy your jsp as web report to get the web layout. Please refer to the doc below, which describes how to deploy the web report.
http://download-uk.oracle.com/docs/html/B10314_01/pbr_run.htm#1011901
To run the jsp report, URL may look like
http://www.wwt.com/reports/<jsp name>?<parameter list>
Hope this helps
Vinayak -
How to call the Jsp file in JspDynpage
Hello,
I am using the following jsp code. I saved it as Thumbnail1.jsp.
<%@page import ="com.sun.image.codec.jpeg.*" %>
<%@page import ="java.awt.*" %>
<%@page import ="java.awt.image.*" %>
<%@page import ="java.io.*"%>
<%
// load image from INFILE
Image image = Toolkit.getDefaultToolkit().getImage("C:/kasturi/sap1.jpg");
MediaTracker mediaTracker = new MediaTracker(new Container());
mediaTracker.addImage(image, 0);
mediaTracker.waitForID(0);
// determine thumbnail size from WIDTH and HEIGHT
int newImageWidth = Integer.parseInt("100");
int newImageHeight = Integer.parseInt("100");
double newImageRatio = (double)newImageWidth / (double)newImageHeight;
int oldImageWidth = image.getWidth(null);
int oldImageHeight = image.getHeight(null);
double oldImageRatio = (double)oldImageWidth / (double)oldImageHeight;
if (newImageRatio > oldImageRatio)
newImageWidth = (int)(newImageHeight * oldImageRatio);
else
newImageHeight = (int)(newImageWidth / oldImageRatio);
// draw original image to thumbnail image object and
// scale it to the new size on-the-fly
BufferedImage newThumbImage = new BufferedImage(newImageWidth, newImageHeight, BufferedImage.TYPE_INT_RGB);
Graphics2D graphics2D =newThumbImage.createGraphics();
graphics2D.drawImage(image, 0, 0, newImageWidth, newImageHeight, null);
// save thumbnail image to OUTFILE
BufferedOutputStream outFile = new BufferedOutputStream(new FileOutputStream("C:/kasturi/ssa.jpg"));
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(outFile);
JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(newThumbImage);
encoder.setJPEGEncodeParam(param);
encoder.encode(newThumbImage);
outFile.close();
System.out.println("Successfully Saved.");
%>
I want to call this thumnail1.jsp file JspDynpage. Can any help me how to make that?
Thanks in advance.hello,
<?xml version="1.0" encoding="utf-8"?>
<application>
<application-config>
<property name="SharingReference" value="com.sap.portal.htmlb"/>
</application-config>
<components>
<component name="Test">
<component-config>
<property name="ClassName" value="kasturi.Test"/>
<property name="ComponentType" value="jspnative"/>
<property name="JSP" value="pagelet/Thumbnail1.jsp"/>
<property name="SecurityZone" value="high_safety"/>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-config>
<component-profile/>
</component>
</components>
<services/>
</application>
this is my portalapp.xml file. Still i am getting error.
i don't know the exact error. i think it may be java code problem.
can you tel me what is that? thanks in advance.
Message was edited by: kasturi ramalingam -
How to call the form bean value on jsp withthe help of jstl tag
hi
all friends
i am working in struts & i use jstl tag in jsp. i have one problem rise is how to call the form bean value in jsp page by using jstl tag.
i now how to retrive the value through jsp:logic
eg. <logic:empty name="userListForm" property="users">
NO USER FOUND
</logic:empty>
see * userListForm mean formbaen name.
* users means collection object.
so how can i write above e.g in jstlYou use the jstl core:if or core:choose combined with the EL:
<c:if test="${empty users.userListForm}">
NO USERS FOUND
</c:if>I suggest you lookup the jsp expression language (EL) using google, it's very powerful. -
How to call the XML file as PrivateResourcePath in JSP
Hi All,
I want to call the layer-config.xml values in JSP dropdown list. How to call the XML file as PrivateResourcePath in JSP... please advise me if any solution.
locaiton: dist/PORTAL-INF/layer-config.xml
<?xml version="1.0" encoding="utf-8" ?>
- <layer-config>
- <system>
<layer>Test</layer>
<internal>true</internal>
</system>
- <system>
<layer>Test1</layer>
<internal>false</internal>
</system>
- <system>
<layer>Test3</layer>
<internal>false</internal>
</system>
</layer-config>
Thanks in advance.Hi,
The below link may help you.
[Accessing image from dist/imgaes folder inside JSPDynpage Component;
Regards,
Suresh Bachimanchi -
How to call a JSP page from Applications menu?
Hi partners,
I am still looking for "how to call a JSP page from Applications menu?", I mean instead of calling a form, I want to call a JSP page which is staying in a OC4J repository which is located in another server.
Any idea will be really appreciated.
Thanks in advance.
Frank Mtz.Hi Frank,
if u know the solution please share it with me. i'm looking for the same scenario.
thanks in advance,
anish -
How to call the Application configuration in run time.
hi guru,
i have created two Application configuraton and it working fine.
my question how to call the application configuration in run time.
Example :
Based on the user i want to change the Application Configuration.like Super user and Normal user.
Advance thank's
Regard's
Vivekanathan.SHi,
Please try out this way-
Have a look at this table -
WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
after you are done with the configuration--
Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
Please refer to these links -
different default layouts for different CONFIG_IDs
Get WDCONFIGURATIONID
Regards
Lekha -
Hi all,
After I setup teh weblogic and write some jsp, I cannot call the jsp up from
my URL thur a NES.
My configuration is
Web-server NES 3.6.3
WebLogic App Server 4.5.2
(URL http://hostname:81/servlet/* will proxy-forward the request to
weblogic 4.5.2)
like http://hostname:81/servlet/newservlet -> to
http://weblogicserver:7001/servlet/newservlet
for the servlet, it is ok....
but if I call http://hostname:81/servlet/newjsp.jsp , then there will be a
404 Not Found error....
My properties setting for jsp is
weblogic.httpd.register.servlet/*.jsp=weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.servlet/*.jsp=\
pageCheckSeconds=1,\
packagePrefix=a.b.c.d,\
compileCommand=/jdk1.2.2/bin/javac,\
workingDir=/abs_path_to_a_newly_created_directory,\ (weblogic
process has the write right to this directory)
verbose=true
weblogic.httpd.documentRoot=public_html/
And have already place all the jsp into the public_html/ and even one more
copy in public_html/servlet/
but I still can't call the jsp....
can anyone tell me how to fix it........
THX
AlexAre you able to call the JSP pages directly? Or, does it just not work when
you are using the plug-in?
Michael Girdley
BEA Systems Inc
"Alex Wong" <[email protected]> wrote in message
news:[email protected]..
Hi all,
After I setup teh weblogic and write some jsp, I cannot call the jsp upfrom
my URL thur a NES.
My configuration is
Web-server NES 3.6.3
WebLogic App Server 4.5.2
(URL http://hostname:81/servlet/* will proxy-forward the request to
weblogic 4.5.2)
like http://hostname:81/servlet/newservlet -> to
http://weblogicserver:7001/servlet/newservlet
for the servlet, it is ok....
but if I call http://hostname:81/servlet/newjsp.jsp , then there will be a
404 Not Found error....
My properties setting for jsp is
weblogic.httpd.register.servlet/*.jsp=weblogic.servlet.JSPServlet
weblogic.httpd.initArgs.servlet/*.jsp=\
pageCheckSeconds=1,\
packagePrefix=a.b.c.d,\
compileCommand=/jdk1.2.2/bin/javac,\
workingDir=/abs_path_to_a_newly_created_directory,\ (weblogic
process has the write right to this directory)
verbose=true
weblogic.httpd.documentRoot=public_html/
And have already place all the jsp into the public_html/ and even onemore
copy in public_html/servlet/
but I still can't call the jsp....
can anyone tell me how to fix it........
THX
Alex -
How to generate JAX-RPC web services instead of JAX-WS webservices withOEPE
How to generate JAX-RPC web services instead of JAX-WS webservices withOEPE? I am asking this because I need to pass xmlbeans generated objects as arguments in the web method. For JAX-WS there has to be a no argument constructor for it to be able to pass in theweb method. The workshop 10.3 was able to pass the xmlbeans generated object as the web service was implemented as a JAX-RPC web service....
Ok just as I expected. So I guess I am left with the following two options
1) either I switched to using JAXB in my apps instaed of xmlbeans....
2) or if I still wanna use the old JAX-RPC web services to deploy on the Weblogic 10gR3 server i will have to create my own ant task jwsc directly......as shown below in your docs
Programming Web Services for WebLogic Server (ant tasks)
http://download.oracle.com/docs/cd/E13222_01/wls/docs92/webserv/anttasks.html
Getting Started With WebLogic Web Services Using JAX-RPC
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv_rpc/index.html
Will OEPE be supporting the old JAX-RPC anytime in the near future release? or have to create own build ant task to call jwsc ant task directly to compile JAX-RPC web services?? -
How to call a jsp page from oaf and run in jDeveloper
Hi all,
I created sample jsp and then tried.
String temp = "sample.jsp?";
pageContext.setForwardURL(temp,
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
null,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
OAWebBeanConstants.IGNORE_MESSAGES);
It worked.
But when i tried with one of the custom page that i downloaded from server it is giving error.
But now i need to call that page.
Its Code is given on below link:
Re: how to call a jsp page from oaf
Please help me to do this.
Thanks in advance.
Regards,
RajRaj,
1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
(i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
4. There is no problem in the way you are calling jsp page from OAF page.
regards,
Anand -
How to call an external web service from OIM?
Hi,
I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
Any recomendations?
Thanks in advance!it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
Lets do some divide and conquer:
Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
Once this works we can start looking at the web service call.
Best regards
/Martin -
How to call the webservice in abap program
Hi All,
I have created a web service for my RFC . The RFC has Import and export paramaters.
I want call the same web service into my ABAP REPORT and at the same time i want pass the values to webservice and get the result from webservice in my abap report,
Please help me how to call the web service and pass the values and get the values?
Highly appreciate your assitance.
Thanks,
KishanHi Kishan,
You can refer to following help document,
http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/content.htm
Regards,
Meera -
How to call the RFC from R/3 to SRM, when we use webdynpro abap? (Urgent)
Hello
We use SRM Server 5.5 with classic scenario.
We want to call RFC in R/3 from webdynpro ABAP.
How can we do that?
We are developing the web report using webdynpro abap.
So we need some of R/3 data such like PR(EBAN)and PO(EKKO,EKPO).
When user choose the search parameter, report diplay the Shopping cart, PR and PO data on webdynpro. So we call the R/3 RFC to display the PR, PO data.
But I tired to call the RFC in R/3, We could not call it.
How to call the RFC from R/3 to SRM, when we use webdynpro abap?
Thank you,
Best Regards,
SH.Hi
<b>Please look at the following threads as well -></b>
WebDynpro in SRM
BAPI's /RFC's in SRM
BAPI to Change Shopping Cart by RFC
SRM60 and webdynpro
Webdynpro Services Exception
WebDynpro using BAPI has an error
SRM60 and webdynpro...
<b>SAP uses META Function modules in SRM to get data from R/3 back-end.</b>
<u>For getting Purchase requistion data, use the function modules -></u>
META_REQUISITION_CHANGE Change purchase requisition
META_REQUISITION_CREATE Create Requisition
META_REQUISITION_DELETE Delete/close purchase requisition
META_REQUISITION_GETDETAIL Display requisition details
META_REQUISITION_GETITEMS Display requisition items
META_REQUISITION_GETRELINFO Get Releasease Info for requisitions
<u>For getting Purchase order data, use the function modules -></u>
META_PO_CREATE Create purchase order
META_PO_DELETE Delete reservation
META_PO_GETDETAIL Display purchase order details
META_PO_GETITEMS Display purchase order items
META_PO_GETRELINFO Display purchase order release information
Hope this will definitely help. Do let me know.
Regards
- Atul -
How to export the Apex web page to PDF with click of a button?
How to export the Apex web page to PDF with click of a button?
Am looking at exporting the Form view on APEX to be exported to PDF.In order to get a PDF, you need to generate a Report....in PDF format.
If you are using the APEX Listener, you can initiate the download of the PDF by calling APEX_UTILS.download_print_document() (I normally place this in a Process)
BUT -- You have to create the Report (under Shared Components) and a Template (also under Shared Components).
The white paper in my first post gives you the HOWTO "[Create] Custom PDF Reports with Oracle Application Express and the APEX Listener".
Start by creating a Report (in Shared Components, bottom right) that uses a simple SQL statement like:
Select * from emp where empno = :P15_EMPNO
You may need to hard code the parameter before you hit "Download XML" button.
The XML that you get from clicking "Download XML" satisfies the "Step 1 - Create an XML Data Source" found on Page 11 of the document.
The rest of the instructions is in that whitepaper.
MK -
How to call the transaction VL02N in the userexit.
Hi all,
I am doing code in the userexit SAVE_DOCUMENT_PREPARE of the include MV50AFZ1. I'm doing some validations there. If the validations fail, i should not allow the user to post the goods. Instead i need to make the user to go to the screen VL02N once again and do the posting once again. But i dont know how to call the same screen VL02N once again through the userexit.
Can you please suggest me in doing this.
POINTS PROMISED.
Regards,
Buvana AnguchamyHi,
In this case you can use BBusiness Add-In LE_SHP_GOODSMOVEMENT.
Please find below the user exits which are available for VL02N.
V50PSTAT - Delivery: Item Status Calculation
V50Q0001 - Delivery Monitor: User Exits for Filling Display Fields
V50R0001 - Collective processing for delivery creation
V50R0002 - Collective processing for delivery creation
V50R0004 - Calculation of Stock for POs for Shipping Due Date List
V50S0001 - User Exits for Delivery Processing
V53C0001 - Rough workload calculation in time per item
V53C0002 - W&S: RWE enhancement - shipping material type/time slot
V53W0001 - User exits for creating picking waves
VMDE0001 - Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 - Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 - Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 - Shipping Interface: Message SDPACK (Packing, Inbound)
V02V0001 - Sales area determination for stock transport order
V02V0002 - User exit for storage location determination
V02V0003 - User exit for gate + matl staging area determination (headr)
V02V0004 - User Exit for Staging Area Determination (Item)
and perhaps you may want to check this user exits V50S0001
<b>Reward points</b>
Regards
Maybe you are looking for
-
So.. lets say I take 100 photos on my iphone in one day. They will appear in both my photo stream and my camera roll. But after 30 days the 100 photos I took 30 days ago will be deleted from my photo stream automatically. Will they still appear i
-
Trace doesn't work with adl but trace.apply does
No great deal, just wondering... btw, on intel mac using sdk 2.0.2. Cheers, chr
-
What is the state of JavaFX Deployment?
I did a search for deployment, self-contained apps, etc and found not a single thread in this forum about these topics. I watched Mastering Java Deployment from JavaOne 2012 and I've proposed that my company leverage these technologies for our produc
-
Do I need to "Run as" or just save the Firefox version 3.8?
this is a simple question. Just asking
-
Oracle Fusion Intelligence for E1 and the old EPM Data Marts
I just received the latest edition of the "JD Edwards EnterpriseOne: The Complete Reference" book. Chapter 5 deals with Data Warehousing and OBI. This chapter mentions that Oracle has plans to make the old JDE EPM data marts compatible with OBIEE. Th