Template missing for generated JSP ISR form
Hi all,
I'm trying to use a generated JSP iView as the input form for an ISR scenario. Here's what I have done:
<u>1. Scenario definition</u>
- copied standard scenario SPSP to ZPSP
- copied additional info SPSP to ZPSP
- selected scenario entry type as I (Entry using JSP iView)
- put in Internet link as http://<portal server>:<port>/irj
<u>2. iView creation</u>
- defined portal component isr_test2 in scenario, generated -> par file found on local hard drive
- uploaded par file to portal
- created iView with par template in portal
<u>3. iView assignment</u>
- for the scenario additional info, assigned pcd:portal_content/../<iView ID> as the portal component (I tried this with isr_test2.default, too)
Unfortunately when I try to display the form, I get an error that the template can't be found. I probably have the portal server or the iView ID setup incorrectly but since I have tried so many combinations already without luck, I thought someone could shed some light to this.
Best regards,
Mikko
Updated the struts build I was using, and this solved the problem. Thanks for taking the time if you read this post.
Dev
Similar Messages
-
No Compiler found for generated JSP source
I am trying to deploy a web application JSP with J2EE implementation server on windows XP. I used autodeply but i get the following error on my browser. I already tried to copy tools.jar from D:\j2sdk1.4.2_07\lib to D:\Sun\AppServer\lib and restarted the server but i'm still getting the following error.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:87)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:311)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:378)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:421)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:402)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:324)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
note The full stack trace of the root cause is available in the Sun-Java-System/Application-Server-PE-8.0 logs.I checked my server.log file and it is looks like the following but it is suggesting the same thing reported in my browser window i.e tools.jar
No Java compiler was found to compile the generated source for the JSP.
This can usually be solved by copying manually $JAVA_HOME/lib/tools.jar from the JDK
to the common/lib directory of the Tomcat server, followed by a Tomcat restart.
If using an alternate Java compiler, please check its installation and access path.
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:87)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:311)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:378)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:421)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:402)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:512)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:262)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:263)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:210)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:861)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:268)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:214)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:168)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:133)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:539)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.webservice.EjbWebServiceValve.invoke(EjbWebServiceValve.java:134)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.security.web.SingleSignOn.invoke(SingleSignOn.java:254)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at com.sun.enterprise.web.VirtualServerValve.invoke(VirtualServerValve.java:209)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:114)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:109)
at com.sun.enterprise.web.VirtualServerMappingValve.invoke(VirtualServerMappingValve.java:166)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:107)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:522)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:936)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:165)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:683)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:604)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:542)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:647)
at java.lang.Thread.run(Thread.java:534)
|#] -
I installed the portal using Raipid installed and selected the NWDI option. I can get into the SDC but when I go to the screen to deploy the templaces for DI, there are none. Any ideals, I've been searching and hanv't found anything that would help
Hi,
Chk these notes
Note 920995 - RSAR164: Information is missing for currency conversion
Note 875719 - RSAR 164 Information missing for currency conversion
Regards,
B -
Using a pdf-template for generating an interactive form
Hi guys,
I have got the following problem. I have got an pdf-Document, that can be printed out and filled out manually.
Instead of I just want to use this pdf-Document as an template for an online form, by adding some fields.
How can I use this pdf-Document as an template?
Thank you for your answers. Patrick.Hi Patrick,
Let me see if I understand your query properly first. Your requirement is that you have a PDF file which is pretty much fixed.
Now you want to use the Template present in the PDF file to be shown to the user, but this should be pre-filled with data that you receive from a Web Service & RFC.
Now firstly I will mention the easy way, which would require you extract the PDF Template statically, I am not sure if the API has now been released to do that programatically.
Now, lets say you store it is some location the template file, you would also need to tweak the DataBinding properties in the Template to match to that of the Context Node you will use in the application.
Now in the ModifyView method you should get a reference to the Interactive form element, use the setTemplateSource method to refer to your template.
Now based on the response from your RFC/WebService create the appropriate attributes into the node, and your form should work fine.
Regards,
Pavan -
Iview Template missing for Webdynpro-Java application
Hi All,
I wanted to create an iview out of my webdynpro component . I followed
the steps given in the following document ---
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
But unfortunately i couldn't find any template to create iview from webdynpro-java
application . Can any one help me out ? Is there any customization for the same or
this feature is not available for CE7.1--Sneak Preview version ? Any suggestion will
be of great help to me.
Thanks and Regards
AshisHi Ashis,
please refer to thread
Has anybody created Iview from "Webdynpro Java" component in CE7.1 ?
and by the way...there is a portal included under ../irj
greetings jens -
Template missing for webdynpro-java application in Iview Creation
Hi All,
I wanted to create an iview out of my webdynpro component . I followed
the steps given in the following document ---
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9
But unfortunately i couldn't find any template to create iview from webdynpro-java
application . Can any one help me out ? Is there any customization for the same or
this feature is not available for CE7.1--Sneak Preview version ? Any suggestion will
be of great help to me.
Thanks and Regards
AshisHi,
Did u deployed ur webdynpro application into portal. If not, u cant to create iview based on ur component..
Regards,
Senthil K. -
Display form at UWL error " Insufficient information for generating output"
Hi experts,
I got error while use "display form" button in UWL.
the error is " Insufficient information for generating output (missing printer, for ex.) "
■The ABAP call stack was:
Form: USEREXIT_TOP_2 of program RPRTEF00
Form: TOP_OF_PAGE of program RPRTEF00
TOP-OF-PAGE of program RPRTEF00
Form: PRINT-REISEVERLAUF of program RPRTEF00
Form: DRUCKE_REISE of program RPRTEF00
Form: PRINT_TRIP of program RPRTEF00
Form: DRUCKE-REISEN of program RPRTEF00
Form: DRUCKE_PERSONALNUMMER of program RPRTEF00
Form: %_GET_PERNR of program RPRTEF00
Form: FILL_INFOTYPE_TABLES_AND_PUT of program SAPDBPNP
how to solve this?
thanksCan you elaborate on what exactly configured and how and why? I fail to understand what exactly you did because in my company, we used the standard (up until now);that means UWL configuration file "com.sap.pct.erp.mss.tra".
And for the request-Form handling it has this action:
<Action name="com.sap.pct.erp.mss.tra.action.DisplayRequestForm" groupAction="" handler="SAPAppLauncher" referenceBundle="com.sap.pct.erp.mss.tra.DisplayForm" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="toolbar=no,menubar=no">
<Properties>
<Property name="sap.xss.tra.TripNo" value="${item.TripNumber}"/>
<Property name="display_order_priority" value="10"/>
<Property name="SAPIntegrator" value="ROLES://portal_content/com.sap.pct/every_user/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.employee_self_service/com.sap.pct.erp.ess.area_travel_expenses/com.sap.pct.erp.ess.tripform"/>
<Property name="sap.xss.tra.TripComponent" value="R"/>
<Property name="sap.xss.tra.PersNo" value="${item.EmployeeNumber}"/>
</Properties>
</Action>
So I'm kind of missing the "common thread" within your development; could you go more into detail? -
To attach a RTF template(Report for printing ) in the master detail form
I have an application in which I have 3 master detail forms of which one of the form is a gate pass form . Now this gate pass form has a report region as the detail.
All that i need help is to print the Gate Pass with few fields as information in the gate pass form , where an image or picture of the visitor is also a filed .
Now I have created an RTF Template which is the Gate pass layout with the pic.
So ultimately I have the application for the gate pass form and the RTF template ready with me .. Fixing this template with the application with a BUTTON called PRINT is the challenge am facing !
SELECT XVH.GPDATE
, TO_CHAR(XVH.VISITORTIMEIN, 'HH:MI') VISITORTIMEIN --, (XVH.VISITORTIMEIN )
, (TO_CHAR(XVH.VISITORTIMEOUT, 'HH:MI'))VISITORTIMEOUT
, XVH.VISITOR_NAME --, = XVH.PERSON_ID
, XVH.COMAPANY_NAME
, XVH.PURPOSE_OF_VISIT
, (SELECT A.FULL_NAME
FROM PER_ALL_PEOPLE_F A
WHERE A.PERSON_ID = XVH.PERSON_ID
AND SYSDATE BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE) To_meet
, XVH.VISITOR_PHONE
,APPS.GETBASE64 (XVH.VISITOR_PHOTO)
FROM xxcdot.XXBCT_VGPF_HEADER XVH
WHERE XVH.GP_HEADER_ID = :P_HEADER_ID
This is the query for the template ..
Please help me with this. I am very new to apex and learning it with help of online tutPars I need another Help
I am working with a master detail form where in the form region i have a Radio group . Lets say the Radio group is
o Returnable
o Non Returnable
o Other
so when i select Non returnable I want a particular column called
Line Status to get Disabled .
I have done that by a dynamic action - using jquery statement (.Disable) .
Defining the element attributes as Disable .
Now the problem is that ,, Line status is getting disabled on the selection of Non returnable radio button. but unless and until i dont press the Add row button it does not work ,, else i will have to switch over between the radio buttons to get this action done !! -
How to Generate a Java file for a JSP Page
Hi ,
I am using weblogic11 .
I am working on a JSP page which nearly consists of 4000 lines of code.
I need to debug the file , but weblogic server is not generating the java file for the JSP pages .
Please let me know how can i genertae Java file for the jsp pages ??JSPs are compiled into servlets automatically and those classes are stored in WEB-INF/classes folder. Servlet engine handles servlets.
-
Using JSP, HTML Form for uploading image in order to be saved into a db
I have a HTML form and I am using <input type="file"> tag. The problem is that I don't know the Java code needed for the JSP page in order to get through the path and get the image(of course I refer to binary object). Below there is the html code
<%@ page language="java" import="java.sql.*, java.awt.*, java.awt.Event, java.util.*, java.io.*, javax.servlet.*"%>
<html>
<head>
</head>
<body>
<div align="left"></div>
<form action="action.jsp" method="POST" name="form"
<h1>Add Data</h1>
<table>
<tr>
<td>Name</td>
<td><input type="text" name="Name" value="" /></td>
</tr>
<tr>
<td>Last Name</td>
<td><input type="text" name="lastname" value=""/></td>
</tr>
<tr>
<td>Studies</td>
<td><textarea name="studies" rows="4" cols="20" >
</textarea>
</td>
</tr>
<tr>
<td>General Data</td>
<td><textarea name="gendata" rows="4" cols="20">
</textarea>
</td>
</tr>
<tr>
<td>Photo</td>
<td><input type="File" name="photo"/></td>
</tr>
<tr>
<td> <input type="submit" > </td>
</tr>
</table>
</form>
If you want to view the Personnel List click here<br>
Go to index
</body>
</html>A JSP should not be involved in this. The browser will offer a way to specify a file, and the target of the form should be a servlet that can handle multipart uploads. JSPs should not process any input.
More info: http://www.jguru.com/faq/view.jsp?EID=160 or Google -
For Update Nowait Query Generated Implicitly by Forms
Recently we had a problem in one form because of a query getting generated implicitly by Forms with for update and nowait clause. i.e.
Select Col1, Col2, Col3 Where Rowid= :1 for update of Col1 NoWait if we change the sequence of the Fields in block by shuffling the Fields i.e Bringing Col 1 to Col3 and Col3 to Col1 the query formed is some thing like this i.e.
Select Col3, Col2, Col1 Where Rowid= :1 for update of Col3 NoWait We just want to know when this query is getting fired and how i.e. Upon firing of which trigger in Forms this is getting fired in the DB. Because we are for sure we are not firing this query either from front end or back end. We are not locking the block any where or changing the lock mode of the block programatically.
Few block level properties relevant to this
Locking Mode - Automatic
Update Changed Columns Only - Yes
Possible reasons which we feel is that when we are assigning the values to a field programattically and when more than 1 user is navigating on the same block this may happen. Because Forms doesnt knows whether the user has edited the record manually or programatically. But we have noticed this query runs even when only 1 user is connected to this schema. This is our understanding so far any ideas/suggestions to avoid this or overcome this is appreciated.
Thanks in advanceLocking Mode - Automatic or Immediate, means select for update is issued as soon as value in a base table item changed by user or programmatically.
Setting it to "Delayed" will delay lock until commit-time.
You can override this behavior by creating ON-LOCK triger. -
Is there a template available for a credit card authorization form?
Is there a template available for a credit card authorization form? (Something professional looking along the lines "I authorize a one time payment in the amount of...select Mastercard, Amex...billing addresss...3 digit code...) Thanks
There probably is, but before you go to far with a PDF form for such information you need to consider how it is to be used.
E-mail is a definite no. Even standard web submission is not acceptable. You would want to submit to a secure web site. If that is the case, it might be better to just use standard HTML processes, but at least https is a needed protocol for things such as credit cards and other personal information. I always look for "https" on line and would probably refuse to use a PDF form that asked for my credit card because of a concern about proper handling. Messing this up could lead to a big law suit against you, suggesting why so many firms just use a payment service. -
Product for Generating Dynamic Forms
Hi,
Adobe has a myriad of products. Which product is suitable to create dynamic PDF forms, downloadable to client (not necessary to integrate with browser). The "dynamicity" of the forms are dependent on questions answered by the user - which in all likelihood would be better asked "outside" the Adobe form. In other words, generate a PDF Form for entry using Adobe technology in conjunction with a web technology like ASP, Java or other?
Regards,
GawieStars, snowflakes? A database for Data Warehouse with facts and measures connected in a star/snowflake like schema? It remains a database. And SSIS already has stock components for processing DW as SSAS Cube processing, merging data, lookups, you name it.
They are graphical.
You can achieve all this by just using SSIS which is tailored exactly to doing that.
The rest, if there is a gap, there are third party components available for as BIML http://varigence.com/Products/Biml/Capabilities that can automate things and take away the routine.
Arthur My Blog -
Hi,
What is the difference between ADOBE forms and ISR forms?
I want basic information and tutorials for ISR form .
For ISR forms what are the prerequisites are required?
I am a ABAPER. I have to develop ISR forms .
Please guide m.
Regards,
ShitalHi Sheetal,
Basically, ISR forms are subset of Adobe forms. Generally ISR forms are used to integrate adobe forms with workfloww in SAP. To minimize the coding efforts for diabling or hiding fields Adobe has already provided standard ISR controls.
These controls reads data from SPECIAL_DATA, CONTROL_PARAM and accordingly gets disabled and visible.
Please share youe email ID on which I can send you the cookbook of ISR.
Regards,
Amit -
Web Template URL for Web Template ZTEST could not be Generated
Hello Experts,
I have designed a Template in WAD with the name ZTEST(example) when i am trying to execute it in Browser, it is throwing an error like "Web Template URL for Web Template ZTEST could not generated". I am working on 7.0 WAD
Please suggest me if there is any settings to done.
Thanks in Advance,
Regards,
Vishnu.Hello Mr. Wond,
Even if i am Executing using a default Template it is throwing the same error that " Web Template URL could not be generated". Meanwhile when i am working on this issue i found that some Command URLs should be defined, but i am unable to trace where to define this URL Command like <a href=u201Dhttp://myAppServer:myPort/SAP/BW/BEx?pageno=1&request_no=8&cmd=ldoc&template_id=EXAMPLE_TEMPLATEu201C></a>
Please suggest..................
Regards,
Vishnu.
Maybe you are looking for
-
How can I convert MP3 file to AIFF to use in FCP?
Hi guys, How can I convert an MP3 file to AIFF file to use it in Final Cut Pro? Anyone please, Thanks in advance, Zia
-
By what ways the upper company can control the business of lower company?
Hi,dear gurus It is a multi-organizational company. the headerquater want to take the strict and aslo flexible control over lower companies such as subsidiaries,branches. I need the control of three areas including master data, business workflow a
-
Mountain lion crashes, with firefox as well
Hi, having seen others having problems with crashing Mountain Lion, my issue seems to be slightly different. I am running 10.8.3, so the alleged Safari 6 issue should have been fixed already. However, Mountain Lion keeps on crashing horrendously ofte
-
Can you convert a Captivate HTM or SWF file and use it in a website?
One of my clients wants to know if it's possible to use in a website content you've created in Captivate and save as an HTM or SWF file?
-
My sidebar window "bleads" on to the main window?
While in my email (zimbra) and other applications, the left side window items "bleads" into the center, main window. I am using the latest version of Firefox. Anyone know why this is happening? Is there a fix?