Pass two parameters using extraParams attribute in protlet:createWebFlowURL tag

Ho do I pass two parameters using extraParams attribute in portlet:createWebFlowURL?

<portlet:createWebFlowURL event="RTFM" extraParams="read=manual&do=you">
"Linda" <[email protected]> wrote:
>
Ho do I pass two parameters using extraParams attribute in portlet:createWebFlowURL?

Similar Messages

  • How to pass two parameters in one url?

    the tutorial teaches me to use
    /faces/Details.jsp?personId=#{currentRow.value['PERSON.PERSONID']}
    to pass one parameter.
    How can i pass two parameters in one url?
    /faces/Details.jsp?personId=#{currentRow.value['PERSON.PERSONID']}&personName=#{currentRow.value['PERSON.PERSONNAME']}
    is not right.

    The '&' character needs to be escaped, lest it be interpreted by the application server as a separator character in the HTTP query string. Instead of '&', try '%26'.
    // Gregory

  • Hyperlink Bag : Passing two Parameters to Hyperlink bag

    Hi,
    Pls let me know if any one has worked on how to Pass two parameters to Hyperlink Bag in MSA 5.0.My code is working fine with single Parameter but when I pass two parameter it is throwing an error.
    Appreciate if some one can share a code for the same.
    Thanks in Advanace.
    Thanks and Regds
    Harish

    Hi Ramakrishna,
    Thanks for your prompt reply. I have gone through this document. My requirement is different than what's stated in the document. The users filter their records in the VC application by using more than one filter and press the button called 'Open Query' button. The system then takes them to WAD. The WAD should be able to set the same filter value/s that they select in VC application. But at the moment, it passes only one parameter to WAD regardless of how many filter values that users select in VC. Please suggest on this matter.
    Thanks.

  • Passing String Parameters using forward tag

    Hi...
    Can anyone please tell me how to pass string parameters using the forward tag, and how to access it?
    And while we're at it, can one pass a String variable using <forward> ?
    Thanks... :-)

    PS...
    Does anyone know what this error is:
    NullPointerException at PageContext.forward(...) Thanks again...

  • Subtracting two parameters using overloaded methods.

    Could someone please tell me where I am making my mistakes.
    The idea is to pass the variables to two parameters that then subtracts them regardless of order (larger parameter - smaller parameter) and gives a result.
    Any help is greatly appreciated.
    public class OverLoad{
      public static void main(String[] args){
        int n1 = 25;
        int n2 = 10;
        double d1 = 15.0;
        double d2 = 30.0;
    // This is what the output should look like minus the negative numbers.
    /*System.out.println("Parm1 Type \tParm2 Type 2 \tResult Type");
        System.out.println(n1 + "\t\t" + n2 + "\t\t" +(n1 - n2));
        System.out.println(d1 + "\t\t" + d2 + "\t\t" +(d1 - d2));
        System.out.println(n1 + "\t\t" + d2 + "\t\t" +(n1 - d2));
        System.out.println(d1 + "\t\t" + n2 + "\t\t" +(d1 - n2));
    public static int max(int parm1, int parm2){
        if (parm1 < parm2) {
                 int temp = parm1;
                 parm1 = parm2;
                 parm2 = temp;
    System.out.println(+ parm1, + parm2 = "");
      public static double max(double parm1, double parm2){
        if(parm1 > parm2){
          return parm1;
        return parm2;
      public static double max(int parm1, double parm2){
        if(parm1 > parm2){
          return parm1;
        return parm2;
      public static double max(double parm1, int parm2){
        if(parm1 > parm2){
          return parm1;
        return parm2;
    }

    That's what I have been trying but with no success.
    I have two pieces of code.
    This is what I am looking for except two of the numbers need to be double and it doesn't use enough methods. When I try to do that I get compiling errors.
    public class Overload{
      public static int max(int parm1, int parm2){
        int diff = 0;
        if(parm1 > parm2){
          diff = parm1 - parm2;
        else{
          diff = parm2 - parm1;
        return diff;
      public static void main(String args[]){
        int maxValue = 0;
         int n1 = 5;
         int n2 = 10;
         int d1 = 12; // this should be a double
         int d2 = 20; // this should be a double
         System.out.println("Parm1 Type\tParm2 Type\tResult");
        maxValue = max(n1, n2);
        System.out.println(n1 +"\t\t" + n2 +"\t\t" + maxValue);
        maxValue = max(d1, d2);
        System.out.println(d1 +"\t\t" + d2 +"\t\t" + maxValue);
        maxValue = max(n1, d2);
        System.out.println(n1 +"\t\t" + d2 +"\t\t" + maxValue);
         maxValue = max(d1, n2);
        System.out.println(d1 +"\t\t" + n2 +"\t\t" + maxValue);
    }This is probably closer to what I need and have tried everyone's suggestions but still get compiling errors.
    public class NextOverload {
         public static void main(String[] args) {
              int n1 = 10;
              int n2 = 5;
              double d1 = 10.0;
              double d2 = 5.0;
              int result = 0;
              int k = diff (n1, n2);
              double l = diff (d1, d2);
              double m = diff (n1, d2);
              double n = diff (d1, n2);
              System.out.println("Parm1 Type\tParm2 Type\tResult");
              System.out.println(n1 +"\t\t" + n2 + "\t\t" + k);
              System.out.println(d1 +"\t\t" + d2 + "\t\t" + l);
              System.out.println(n1 +"\t\t" + d2 + "\t\t" + m);
              System.out.println(d1 +"\t\t" + n2 + "\t\t" + n);
    public static int diff(int p1, int p2) {
         int result;
         if (p1 > p2)
              result = p1 - p2;
         else
              result = p2 - p1;
         return result;
    public static double max(double p1, double p2) {
         int result;
         if (p1 > p2)
              result = p1 - p2;
         else
              result = p2 - p1;
         return result;
    public static double max(int p1, double p2) {
         int result;
         if (p1 > p2)
              result = p1 - p2;
         else
              result = p2 - p1;
         return result;
    public static double max(double p1, int p2) {
         int result;
         if (p1 > p2)
              result = p1 - p2;
         else
              result = p2 - p1;
         return result;
    }I haven't given up just quite yet but I know I am getting close, or at least it feels like I am. : )

  • How to pass two parameters to sql query

    I try to create a sql script to update two columns in one table. I want to set it as parameter. When people execute this sql script, they need to pass parameter into sql query, then query will be executed successfully. The problem is I am only able to pass one parameter. If set two parameters in one line code, it will get ORA-00933 errors. Please advice me where I was wrong. The code is simple and like this:
    update MY_TABLE set year = &year AND month = &month where application_type = 'xxxx';
    If I only have: update MY_TABLE set year = &year where application_type = 'xxxx'; It works. If I set two parameters to pass value. It will get error.

    Hi,
    When you UPDATE two or more columns in the same statement, use ',' instead of 'AND' to separate them:
    update  MY_TABLE
    set     year = &year
    ,       month = &month
    where   application_type = 'xxxx';The correct syntax for all SQL statements, including UPDATE, can be found in the [SQL Language manual|http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10008.htm#sthref9598].

  • How to pass request parameters using html:link in struts

    Hi All,
    I am trying to send parameters to action class using <html:link>.
    Can anybody give sample code how to do it?
    Thanks in advance.
    By
    K.Siva Prasad Reddy

    hi,
    you can pass the parameters in link like this
    http://www.xyz.com&username=someuserID&password=somePassword
    username and password are parameters which you want to pass as paramets to server..hope this will work for you...
    Thanks
    Surya

  • Using Javascript attributes in a JSP-Tag

    Hi!
    I want to submit a Javascript attribute to an embedded jsp Tag:
    <script language="JavaScript">
    function test()
         var jscriptvar= document.myform.myselection.selectedIndex;
    result = <%= jspobj.doit(jscriptvar) %>;
    </script>
    The exception is : Undefined variable: jscriptvar
    Is that possible?
    It works, if the doit-method doesn't have a parameter.
    I hope, someone can help me.
    Thanks
    Torsten

    JavaScript is executed on the client-side by the browser. The JSP code is executed on the server-side by the server and has no knowledge of JavaScript variables. You can not mix them in this manner.

  • Passing two values in two different views using view criteria in adf bc

    I have two tables. Message and MessageProperties. Message table is connected with itself as same as Employee table of HR. Means a Message can have various child message. MessageProperties contains the message properties. A message can have various properties. I want to show the message only if it has a particular value in MessageProperties,then its properties,its child message. If its child message have the same value in MessageProperties,then it shows that. Likewise it should give me a tree structure with its all properties.
    When I am hardcode the value then its shows fine.
    SELECT Message.MESSAGE_ID,
    Message.MSG_CONTENT_ID,
    FROM MESSAGE Message, MESSAGE_PROP MessageProp
    WHERE (MessageProp.Message_Id=Message.Message_Id) AND ((MessageProp.Key='From' OR MessageProp.Key='To') AND (MessageProp.value='B'))
    But when I use the Bind variable in view criteria then I am not able to achieve this.
    1. How to do that in adf bc and how to link message and messageprop with this condition?
    2. How to pass two parameters in serviceinterface FIndViewCriteria method i.e. messageId and value so that it will show only that message having that value?

    Thanks Timo,
    It helps me a little bit.
    It only shows me the parent message id and its properties. But it is not showing its child message id and its properties.
    Let me explain you step by step what I have done.
    1> I have created a view MessageView with two entities i.e Message and MessageProp and include the value attribute of MessageProp in it.
    2> I have created the default MessagePropView from MessageProp Entity.
    3> In MessageView I have modified the query which you have given.
    4> I have created the Bind variables.
    5> I have created a view criteria and in that view criteria I have included Message_Id=:Bind_MessageId and Value=:Bind_Value.
    6> I have created an association connecting Message.Message_Id and Message.Parent_Id(1 to * cardinality) because a message can be a parent of many messages.
    7> I have created a viewlink between Message and MessageProp using Message_Id.
    8> I have created a view link between Message and Message using the association which I have created in step 6.
    9> I have created the Application Module. In that,my Data Model looks like
    ---MessagePropView2
    ---MessageView1
    ---------MessagePropView1
    ---------MessageView2
    10> Then I have created the service interface. In service interface view instances,I include these two view and select the GetByKey operation from basic operations.
    11> From View Criteria find operations I have included the view criteria which I have created in message view in step 5.
    12> Then I run the AppModuleServiceImpl.java and select the view criteria operation which I have created in step 11.
    13> There I find two bind variables i.e. Bind_MessageId and Bind_Value. I give the values there.
    But it checks whether that message Id(Bind_MessageId) which I have given have that value(Bind_Value) or not. If it has then it shows only that message along with its properties but it is not showing me its childs and their properties.
    I want to show only those child message who have the MessageProp.value as (Bind_Value).
    I hope you understand with the scenario.
    I'll be very thankfull to you if you help me to do this.
    Rohit.

  • Passing Action Parameters to R3

    Hi Experts,
    I have one radio button by index with one action attached to it. I have to pass two parameters "YES"
    and "NO" to R3 system. And there should be a "if" condition on which parameter i am passing to
    backend.
    Please provide me the source code for this.

    ok

  • Passing two variables in the body of the URL using the go to detail page SB in ASP

    Hi all,
    Would appreciate your assistance with the following, I'm
    trying to set up a go to detail page sb that passes two variable in
    the body of the URL rather than the standard one.
    The code i've tried is -
    <td><A HREF="gggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>&amp;"PCL1ID=" +
    othermenutwo.Fields.Item("PCL2PC1ID").Value
    %><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></A></td>
    Where the PCL1ID and the PCL2ID are the variables
    The normal code generated by the go to detail page sb with
    one variable is -
    <td><a href="ggggggtest.asp?<%=
    Server.HTMLEncode(MM_keepNone) + ((MM_keepNone!="")?"&":"") +
    "PCL2ID=" + othermenutwo.Fields.Item("PCL2ID").Value
    %>"><%=(othermenutwo.Fields.Item("PCL2Description").Value)%></a></td>
    Unfortunatley my code tweaking isn't working as the second
    variable isn't being sent, any help would be gratefully appreciated
    Thanks

    Instead of using DW's 'go to detail page' option, simply set
    up the link the manual way in DW using the Link browser. Select the
    file you want to link to and then use the parameters button at the
    bottom of the 'Select File' dialogue to set the parameters to be
    passed with the link. You can then manually set the name of the
    parameter to be passed and then select its value from a recordset.
    The key thing is that you can set as many parameters as you like,
    so you can set both the parameters you want.
    On the detail page you then filter by the parameter name you
    chose (or both).
    Personally I always code links this way rather than using the
    go to detail page option as you get much better control of what is
    going on.

  • Link two reports using parameters

    Hi,
    We are using business object XI.
    I am trying to link two reports using parameters. I cannot use subreport option becuase inside the subreport I should link another report too. So,
    Report 1(High level summary)
    Report 2(Middle level summary)
    Report 3(Detail level)
    I tried to use hyperlink option and used following string.
    http://<server_name>/<Virtual Directory>/object.rpt?prompt0={?param1}&prompt1={?param2}
    Here is my question.
    1. Server name: Does it include port number??
    2. Virtual Directory: I am absolutely lost. I tried the "frsinput" directory the actual rpt file is storing. It is not working.
    Do you have general path??
    3. Parameters: I have 5 parameters to pass. 3 of them are Strings and the rest are DateTime.
    Basically, I need any tutorial about this kinds of things. The tutorial I have got only discribe link like "www.yahoo.com"
    BTW, is this even possible solution??

    Hi,
    I am trying to link two reports in the crystal report designer->deploy to the server->show in the DHTML viewer.
    When I create a URL from report A, it looks like "&" disapears. For example, I created a hyper link from report A using formula,
    http://server:port/........openDocument.jsp?sDocName=reportB&sType=rpt&paramName1="Trim(ToText({?param1},"#####"))"&paramName2="+Trim(ToText ({?param2},"#######"))
    But when I see the actual URL, all the "&" disappears so it looks like
    http://server:port/........openDocument.jsp?sDocName=reportBsType=rptparamName1="Trim(ToText({?param1},"#####"))"paramName2="+Trim(ToText ({?param2},"#######"))
    No wonder it is not working.
    I guess I need special protection for "&" sign. Do you know any?

  • One parameters should pass two Infotypes at different times

    I have two Infotype 0014 & 0015 which needs to be passed to the Class Z_CUSTOM_CLASS method CHECK_EGLIBILITY, Can any body help me in passing these Infotypes at different times but only through One Parameter ( IMPORTING or changing ) .
    I need to know the TYPE or LIKE or Type Ref to for that Par1 ?
    I dont want to specify two parameters each defined based on the structure of P0014 or P0015.
    Z_CUSTOM_CLASS => CHeck_ELIGIBILITY
    importing
    par 1  = 0014
    or 
    Z_CUSTOM_CLASS => CHeck_ELIGIBILITY
    importing
    par 1  = 0015
    the class should be able to process both infotypes, the developer who uses this method would be given Privilege whether to pass 14 infotype or infotype 15 depending on situation.
    it would be of great help if you can show some sample code.

    You can use PRELP structure to type this parameter. This would work similary to customer exits ZXPADU01/02
    data p0014 type p0014.
    data innnn type prelp.
    "before passing to method cast it to PRELP structure
    CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PNNNN_TO_PRELP
    EXPORTING
    PNNNN = p0014
    IMPORTING
    PRELP = INNNN.
    "then pass it to method
    Z_CUSTOM_CLASS => CHeck_ELIGIBILITY
    importing
    par 1 = innnn.  "type PRELP
    "in method cast it back to either p0014 or p0015
    data: p0015 type p0015,
             p0014 type p0014.
    case innnn-infty.
    when '0014'.
       CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
         EXPORTING
           PRELP = INNNN
        IMPORTING
          PNNNN = p0014.
       "your coding here
      when '0015'.
       CALL METHOD CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN
         EXPORTING
           PRELP = INNNN
        IMPORTING
          PNNNN = p0015.
       "your coding here
    endcase.
    Regards
    Marcin

  • Use hyperlink to open another page , and pass some parameters to that page

    Hi
    Thank you for reading my post.
    How i can use hyperlink to open another jsp file in a new window meanwhile pass some parameters to it.
    for example i need something like this :
    http://127.0.0.1:8080/myProj/faces/Viewmessage.jsp?messageID=10
    i can not use session bean because i must open that in a new window and use hyperlink not Action
    Thank you

    I tried the following in the equivalent of your Viewmessage (page bean):
            ExternalContext eContext = FacesContext.getCurrentInstance().getExternalContext();
            String text = "Parameters: ";
            Iterator it = eContext.getRequestParameterNames();
            Map requestParams = eContext.getRequestParameterMap();
            while (it.hasNext()) {
                String key = (String)it.next();
                String value = (String)requestParams.get(key);
                text += "; " + key + " = " + value;
            staticText1.setText(text);That works as expected when you reach that new page via a hyper link.
    The session object is also the same as in your `old' window. So be careful about synchronization!
    I hope this helps.
    -- Marco

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

Maybe you are looking for

  • Urgent: Portal access using SSO with Windows NT

    Dear all, I'm planning to implement SSO for Portal with Window NT authentication. Can anybody explain me the steps to do... If the internal users logs in NT domain say..("ABC"). he/she should be authenticated to Portal without giving logon credential

  • Extreme, express, airtunes & no airport card?

    I have a new Mac Pro on the way without an airport card. It will be connected to an Airport Extreme. My stereo is connected to an Airport Express for airtunes, currently via my G4 (with an airport card). Is it possible to connect to the Express via t

  • Field symbols issue

    Hi, I am new to using field-symbols and having this peculiar problem: In a program, I am dynamically defining a table where employee subgroups will be columns. CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE     EXPORTING       IT_FIELDCATALOG

  • Automatically change sound profiles

    I keep forgetting to turn my phone off silent mode when I leave work.  The bf is getting really irratated that never answer my phone.  Is there a way (either through the BB or an application) set my phone up to automatically change the sound profile

  • Mobile Devices

    My primary site is incompatible with PDA's and mobile devices. I have an alternate url that is a "lite" version of the site which works fine on mobile devices. Is there a piece of code I can put on my primary site that will recognize when it is being