How to pass paramter JHeadstart jsp using setCurrentRowWithKeyValue

How i can use setCurrentRowWithKeyValue or other ADF function to pass one value to JSP / JHS page and Jheadstart give me rows matching this parameter value passed to this page
JHS use setCurrentRowWithKey but now i need to pass a value not a rowkey
for example an deptno to emp.jsp page
<a href="Emp.do?event=setCurrentRowWithKeyValue&deptno=10/>FetchValues</a>
this is possible ? there is an easy way to do this ?
tnx                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Hi sandra tnx for response my question is how to be in capacity of access any JSP page on my JHS Proyect directly using programmatic links depending of some situations.
There are some master pages that have details pages for example on simple oe schema
Customer -> Orders Page -> Order Items
How from Customer Page i can directly call and Order Items Page and pass parameters?
if i use native JHS navigation functionality when i click details on Customer page JHS pass parameter and save some info on session depending of row key selected and show Orders Page
There is a way Having a link on Customer page call a programmatic event onSaveSomeParam save param of Order Number and then call Orders Items page ?
I also try using native search functionality of JHS
a href="orditem.do?queryOperatorNonString=is&queryOperatorString=startsWith&event=quickSearch&eventValue=true&searchAttribute=Id&searchText=<c:out value="${orditems.Id}"/>">Order Items
off course it send me an missing IN OUT parameter because JHS is waiting for
Orders Page param to be set
If u have some sample code i really appreciate
tnx....
Mensaje editado por:
mr2k

Similar Messages

  • How to pass value from jsp to java bean

    I have huge problem . How to pass value from jsp value to java bean.Please replay me soon

    Use the <jsp:setProperty> tag. There are several ways to use it. The one you probably want is:
    <jsp:setProperty name="bean_name"  property="property_name"  value="the_value_you_want_to_set"/>

  • How to do  validation in jsp using javascript

    how to do validation in jsp using javascript

    The same way you do with any HTML page.
    Catch the onclick/onsubmit event, do your validation in javascript and then allow/cancel the action as required.
    However this is javascript validation only - javascript can never call JSP code.

  • How to pass password from jsp to Applet

    Hi ,
    I can pass the user to applet like below. But password will be seen from view source.
    How can pass password without showing in the view source.
    <PARAM NAME="loginname" VALUE="<%=request.getParameter("loginname")%>">
    <PARAM NAME="loginpassword" VALUE="<%=request.getParameter("loginpassword")%>">
    Thanks in advance.
    Rockesh

    Or alternatively, determine why you need to pass the password on to the Applet.
    For example, if the Applet needs to log into a resource, it is much more secure to ask the user for a password then, as opposed to getting the password from a form, passing it on to the Applet and then having the Applet blindly relay the password to the server, the database, whatever.
    If the Applet doesn't need to do anything with the password, then I must question the wisdom of passing on the password in the first place.
    If the Applet uses the password to do authentication, then the best solution is to generate hashes of the password and compare those hashes as needed. This would make it much more difficult for someone to either eavesdrop on it, or guess it through random trial and error. We can take it one step further. When the JSP code is executed - generate a one time unique password that's extremely long, at least 128 characters. Embed the password in the resulting HTML page as a hidden field and seed the Applet with the password. That would tie the Applet to a particular web page.
    I really like SpinyNorman's JavaScript, but if that's indeed your purpose, you might as well do it in the Applet itself. In other words, it's kind of pointless to ask for a password in order to launch the Applet - once the user gets the Applet's URL by some means, he can just bypass the JavaScript authentication.

  • How to display PDF in JSP using Iframe

    Hi All,
    I am using Struts 2. I am building my file in ActionClass with seperate Method like getGeneratedPDF() in which, I am setting header of response and writing into PDF.
    This method will be called from JSP by this way
    s:property value="getGeneratedPDF()" />
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?
    questions 2 -- How to display it in Iframe?
    Please help me , If you know the solution.
    Thanks in Advance,
    Jimmy

    jamy_26 wrote:
    But It displayed Junk Characters , and this PDF is not static (already Generated). It is generated and build on Fly.A PDF file is a binary file, not a text file, and you're trying to display it as String. Of course you would get "junk characters". Have you ever tried opening a binary file (pdf, doc, jpg, xls, etc) using a text editor like Notepad?
    I have 2 questions 1 -- How to display PDF in JSP in proper way without Junk Character in it?Display it as binary stream, not as text stream. You can display it standalone, just let the link/form/addressbar URL point to some Servlet which writes the InputStream of the PDF file to the OutputStream of the response, along with a correct set of response headers (at least content-type, content-disposition and content-length), so that the browser can open it in the correct application (which is usually Acrobat Reader). If you want to embed the PDF file in a JSP, then one of the ways is indeed using the HTML <iframe> tag.
    questions 2 -- How to display it in Iframe? Just let the iframe URL point to the aforementioned Servlet.
    You can find here an example of a generic file servlet, you may find it useful to get the idea how to do it: [http://balusc.blogspot.com/2007/07/fileservlet.html].

  • How to pass Parameter to JSP in USerTask

    Hi,
    I have a process with UserTask(Worklist). How do I pass a parameter to my custom JSP Page. On UserTask Wizard I selected JSP URL option to display the payload
    and that is a custom JSP page that reads data from multiple tables based on the parameter passed.
    I have created a Workflow process and I am calling a Custom JSP page to show the data. But from my process I just want to pass in a variable as a parameter to
    the JSP Page that then displays the data based on the parameter value, but I can't figure out on how to pass the parameter. Any help is appreciated.
    Thanks

    I redeployed the application and made the parent applicaion as orabpel, but now I am getting the following error. Any help is appreciated. Thanks
    <2006-07-06 13:54:36,857> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "task manager": Instance not found in datasource.
    The process domain was unable to fetch the instance with key "" from the datasource.
    Please check that the instance key "" refers to a valid instance that has been started and not removed from the process domain.
    ORABPEL-02152
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "" from the datasource.
    Please check that the instance key "" refers to a valid instance that has been started and not removed from the process domain.
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:314)
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:262)
         at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:235)
         at com.collaxa.cube.ejb.impl.TaskManagerBean.lookupTask(TaskManagerBean.java:57)
         at ITaskManagerBean_StatelessSessionBeanWrapper66.lookupTask(ITaskManagerBean_StatelessSessionBeanWrapper66.java:81)
         at com.oracle.services.bpel.task.WorklistService.lookupTask(WorklistService.java:93)
         at _index._jspService(_index.java:68)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    06/07/06 13:54:36 ORABPEL-02152
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "" from the datasource.
    Please check that the instance key "" refers to a valid instance that has been started and not removed from the process domain.
    06/07/06 13:54:36      at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:314)
    06/07/06 13:54:36      at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:262)
    06/07/06 13:54:36      at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:235)
    06/07/06 13:54:36      at com.collaxa.cube.ejb.impl.TaskManagerBean.lookupTask(TaskManagerBean.java:57)
    06/07/06 13:54:36      at ITaskManagerBean_StatelessSessionBeanWrapper66.lookupTask(ITaskManagerBean_StatelessSessionBeanWrapper66.java:81)
    06/07/06 13:54:36      at com.oracle.services.bpel.task.WorklistService.lookupTask(WorklistService.java:93)
    06/07/06 13:54:36      at _index._jspService(_index.java:68)
    06/07/06 13:54:36      at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:569)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:305)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    06/07/06 13:54:36      at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    06/07/06 13:54:36      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    06/07/06 13:54:36      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    06/07/06 13:54:36      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    06/07/06 13:54:36      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    06/07/06 13:54:36      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    06/07/06 13:54:36      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    06/07/06 13:54:36      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    06/07/06 13:54:36      at java.lang.Thread.run(Thread.java:534)

  • How to pass Username and password using Invoke to a webservice

    Hi Guys,
    Please tell me how can I pass Username and password using Invoke to a webservice, I am using SOA 11G.
    Thanks
    Yatan

    Hi Yatan
    I suppose you want to use basic HTTP authentication.
    Try to lookup in the SOA docs this property
    oracle/wss_http_token_client_policy
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b32511/configuring.htm#WSSEC2261
    Regards
    Mihai

  • How to pass characterstic variable value using button in sap wad

    Hello Gurus,
    I have one requirement in WAD 7.0.i have made one user input characterstic variable in Bex i.e on 0calmonth.Now i have passed the same variable in WAD drop down button.Now suppose based on the logic on that variable which i have made in bex is like when i select 04.2010 in drop down button it dispalys data for next three months.
    Now my user wants same thing to be displayed with the help of button as well. I need to make two buttons one for previous month and other for next month.I made two button using button group and passed that variable also but data is not changing.
    How to get the desired output using buttons.
    I want two buttons like this <<(previous) >>(next) and i want to pass that same variable which i passed in drop down button and when i press previous button it should display last month data and when i press next it should display next month data.
    How to achieve this in WAD with the help of buttons.Give me your useful suggestions.
    Hope my requirement is clear.
    Thanks in advance
    Regards,
    AL

    Need your valuable suggestions on this...

  • How to pass data to a used DC.

    Hi,
    I have a Component which re-uses another component, how can I pass data to the used component?
    Do I need to create an event?
    Brayden.

    Hi Brayden,
    You don't need to create an event to pass data to a used component.  You can simply map the interface controller's context of the used component.  Just go to the properties tab of parent component and add the used components interface controller as a "required controller".  This will then allow you to map data between them.
    Best Regards,
    Austin

  • How to include servlet in JSP using Include Directive?

    Hi experts,
    am a beginner to JSP.. I want to know,
    is it possible to include a servlet in jsp using include directive? could any one explain me...

    No it is not possible.
    Include directive is like copying and pasting some text into a JSP file, and then translating/compiling it.
    So the only thing you can include with the <%@ include %> directive is a jsp fragment
    It is a static translation/compile time include and thus will always be the same
    By contrast <jsp:include> is a runtime include, and includes the result of running the imported url.
    That URL has to be a complete/standalone jsp/servlet/whatever. However as it is runtime, it can take parameters where the include directive can not.
    Does that answer your homework question?
    Cheers,
    evnafets

  • How to pass value from JSP to Javascript?

    I want to pass 2 integers to Javascript to do checking? How can I do that?

    Well, it is very simple, Follow these steps.
    1. Have a form with fields
    2. On submit validate the form using javascript
    3. If the javascript returns false do not submit the form
    4. if the javascript returns true submit the form
    5. The destination jsp page will handle the db operations.
    1. <form name="frm1" action="dbcheck.jsp">
    <input type="text" name="txt1">
    <input type="button" value="submit" onClick="return validate();">
    </form>
    put the above piece of code in the <body> tag
    2. Upon submit the js function validate() will be called :
    <script language="javascript">
    function validate() {
    if(document.frm1.txt1.value="") {
    alert("enter text");
    return false;
    else {
    document.frm1.submit(); // i am not sure whether the () after submit is required or not
    put the above piece of code in the <head> tag.
    3. Now when the submit happens, the control goes to the dbcheck.jsp
    this is dbcheck.jsp:
    <%
    String str = (String) request.getParameter("txt1");
    ------other db operations go here --------
    %>
    "txt1" is the field name of the textbox from the form u previously submitted.
    all da best

  • How to pass paramter to webservice header in mobile application

    I've adf mobile application that is built with jdeveloper 11.1.2.4 with the latest ADF mobile extension
    I've consumed  a webservice that takes Object credential , String employeeId  and return salary
    the credentials Object consist of (String username , String password) in the soap header
    i want to know how to consume this webservice and pass user name , password to the soap header as i'v used this method
    List paramNames = new ArrayList();
    paramNames.add("user_number");
    List paramsValues = new ArrayList();
    paramsValues.add("45454");
    List paramTypes = new ArrayList();
    paramTypes.add(String.class);
    try {
    result =
    (String)AdfmfJavaUtilities.invokeDataControlMethod("MYDC", null, "userInfo", paramNames,paramsValues, null);
    } catch (AdfException ae) {
    ae.printStackTrace();
    throw new AdfException("Please check your network connection", AdfException.ERROR);
    } catch (AdfInvocationException aie) {
    aie.printStackTrace();
    throw new AdfException("Please check your network connection", AdfException.ERROR);

    This is the error message appears to me
    Header Authentication Failed. Invalid Credentials.
    i want to call add to array list a parameter of type object that consist of tow string Paramters username and password and i don't know how to achieve this

  • How to resize image in JSP using JAI ??!!

    Please help me how to resize an JPEG image from my JSP, could I use JAI lib ? how ?

    Hello,
    I had the same problem few months ago ( in that case i used Jimi instead of JAI).
    The answer to your question is: use the java class called "Image".
    Infact you can use JAI just for load or save to disk your image that you have to resize and then use the following code to resize the image :
    Image imgResized = img.getScaledInstance(100,1,Image.SCALE_AREA_AVERAGING);
    The object "img" is the image to resize and the object "imgResized" is the image resized with width equals to 100 and with a right height.
    I used Jimi just to save my image and i think that with JAI there is a method to do this.
    You can use JAI to load in memory your image too so you can avoid problem with MediaTraker class.
    I hope that this can help you.
    Cheers.
    Stefano

  • How to pass SQL command parameter using OpenDocument

    Hi !
    I have a dynamic List of values configured in Business View manager, used across multiple reports.
    The data source for this LOV is a SQL Command which accepts a static parameter named stringParam. I need to pass this static parameter in the URL using OpenDocument command. How can I do this?
    I tried
    http://bobjdev/businessobjects/enterprise115/InfoView/scripts/opendocument.aspx?spath=[ReportFolder]&sDocName=WebReport.rpt&stype=rpt&lsSstringParam=ABC
    but it still prompts me to select the parameter. I need to avoid this prompt.
    Any help, please.

    Hi,
    I would recommend to take a look at the documentation in order to identify the correct syntax for your URL
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
    Regards,
    Shweta

  • How To Pass Oracle Procedure Value using Tidal Oracle Database Job Definition to Tidal Variable

    how do i pass the parameter value from an oracle database tidal job to a tidal variable? for example i have this oracle db job that is defined to execute an oracle database procedure and i need to pass the parameter value to the tidal variable.
    SQL tab:
    begin
      procedure_get_user_info(<OracleUserVariable.1>);
    end;
    thanks,
    warren

    tesmcmd is a binary that sits in your TIDAL master installation bin directory. It takes options, one of which is varset which let's you set variable values.
    So you can run a system level script ( a unix example is given below) which can set values for group variables.
    Looking at your example you need to find a way to define OracleUserVariable.1
    Where does the value for this variable come from?
    Sample variable set script:
    GROUP_FILE_VAR=`echo $2 | sed -e 's/\.xml\.pgp/\.xml/'`
    tesmcmd varset -i $1 -n GROUP_FILE_XML -v $GROUP_FILE_VAR
    XSD_FILE_VAR=`echo $2 | sed -e 's/\.xml\.pgp/\.xsd/'`
    tesmcmd varset -i $1 -n GROUP_FILE_XSD -v $XSD_FILE_VAR
    And we call the job using
    setvar.sh <JobID..p> <Group.REQUEST_FILE>
    which are overrides from a file event.

Maybe you are looking for

  • How to change exchange rate during billing (VF02)

    Respected Members, i already created the Billing documents from sales order and it took the exchange rate wat i mentioned in the sales document. but still it is not release to accounting . So i want to change the exchange rate in change of billing do

  • Red light coming from my audio output, speakers not working

    I read somewhere about wiggling a toothpick around in there, but that didn't work, any other ideas. This happened after I had a 1/4 to 1/8 converter plugged in there to use a little mini amp. I've lost the use of speakers. headphones work fine I thin

  • How do I scroll illustrations that exceed the page height?

    I have Digital Editions 4.? (It says 4.0 but it may be later,, I'm not sure). I'm using it to read an ePub book. Some illustrations exceed the page height and get truncated. I can't figure out how to scroll the illustration so I can see the entire th

  • Load customized set type using LSMW+ IDOC (XIF)

    Hi experts,    now i could load most product field using LSMW+ IDOC (XIF), but when i load customized set type, it gives error " User-defined set type ZTest does not exist in BDOC structure ". After some study i know i must to enhance BDOC type ? but

  • Illustrator CS6 crash on startup

    I had this issue but after reinstalling Windows, it was gone... But now it has came back again... When launching alone or with a file I got the following error After closing it, the process still continue to run in background If I try to load it with