b Simple Parameter Form & Page Parameter /b

Hello,
<br>
i have a problem with a simple Parameter Form:
I have one page; on this page i have a simple Parameter Form and an OmniPortlet (the pageParameter is 'Field1' and is mapped to both portlets!)
<br>
now my problem: when i type my parameter in the simple param form it is displayed in the url (http://mypage<b>&Field1=10000</b>).<br> the omniportlet displays the right data. all right so far!
<br>
but now i type a new parameter in the simple parameter form and now the url looks like this: http://mypage&Field1=10000<b>&Field1=20000</b><br>The parameter shouldn't be added to the old url, but a new url should be created with <i>one</i> new parameter.
<br>
Where is the problem? i cant find any solution?
<br>
Thanks for your help!

Hi,
There is a step you are missing.
Open the page properties for the page where the Simple Parameter form and the Omniportlet resides.
Go to the Events Tab.
Here you will see "Portlet Events". There will be a list of portlets that are added on this page. Click on the "Simple Parameter Form".
Under this you will find a link called "Submit". When you click on this link, it opens options on the right hand side of the page.
Here, under the heading "When this event is raised:" Click the Radio Button "Go to page:" and then click on the button for the LOV on the right side of the box, a pop-up opens, select this page itself. (For Example, if the name of the page is PAGE01 (where we have added this Simple Parameter Form and the OmniPortlet), under the Page Group PG01, then click on the link called Return Object for PAGE01 under PG01 from the pop-up).
After doing the above step do this:
Right Below this, you will find another heading called "Page Input" which will have the list of page parameters. From the first drop down list select "Event Output" and from the second drop down list select "Parameter 1" (If there is only one parameter. But if you have more than one parameter, select the "Event Output" & "Parameter 2" respectively, and so on). Make sure that you match the correct page parameter with the Parameter drop down otherwise your results will vastly vary or there might be no result.
We are pretty much done.
Now just click on the buttons "Apply" then "Ok"
Test your page. It will not add &Field1=<value>&Field1=<value>...... any number of times you run this.
I hope I was of some help to you.
Regards,
Saabir.

Similar Messages

  • Unable to bind portlet parameter with page parameter in webcenter portal

    Hi All,
    I am trying to bind portlet parameter with the page parameter so that I can ahieve some business requirements.
    Here is what I did,
    In my Portlet producer application:
    1) Created standards based portlet (jsr 286) with view.jspx and edit.jspx with rest of the things being default.
    2) In my portlet.xml created two parameters and assigned these parameters to the portlet created above.
    3) In the view.jspx added couple of output label adf components in the page.
    4) deployed this to integrated weblogic server.
    In my WC portal application:
    Created a new page and added the portlet to this page( WSRP connection already exists).
    deployed portal application on integrated server.
    In the edit mode of the page I added one page parameter(Param1) and some default (constant) value added.
    What I want is this:
    when Param1 value is One display first output label and
    when Param1 value is Two display second output label.
    I am using jdev 11.1.1.5.0 with integrated weblogic server.

    There is no need to use page parameters for this.
    You also have two types of parameters depending on what you want...
    1) Preferences: these parameters can be used on a user based level. This means that users can personalize the portlets. When a user change the value of a preference, it is only applied for that specific user
    2) Public parameters: these parameters are used to customize the portlet. The value you set in these parameter apply for all users.
    I have made a simple example to show these two differences: http://www.yonaweb.be/PortletTest.zip
    The portlet has 4 inputText on it. The first two can be set by specifying One or Two into the preference.
    The other 2 inputText uses the value of the public parameter.
    You should only deploy the portlet and consume it in a webcenter application. In the webcenter application, you don't need to do anything special. All is done in the portlet.
    I am guessing you don't have written the code that will get the value of the parameter:
    in case of a preference you will get the value by following code:
       PortletRequest request = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
       PortletPreferences preferences = request.getPreferences();
       return preferences.getValue("outputparam", "One");In case of a public parameter (for customization instead of personalization) you use following code to retreive the value of a public parameter:
    PortletRequest req = (PortletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
      String param = (String)req.getParameter("PublicParam");
      if(param == null)
          return "Three";
      return param;This code can also be found in the sample portlet application.

  • REP-52007 Error and Web Parameter Form Format Problems

    I am attemting to get Oracle 9i reports working. I created a super simple report just for test purposes. I am using the following URL to call it directly from the browser:
    http://myserver.com:8008/reports/rwservlet?server=repapp&report=jtest_rep.rdf&userid=myuser/mypass@mydb&DESTYPE=cache&DESFORMAT=pdf&PARAMFORM=YES
    When it generates the parameter form page, the formatting of the section that has the paramters is terrible. Looking at the HTML generated, it is creating a large <table> that places the elements outside of the viewing area. I do not know how why it is doing this or how to fix it.
    If I actually do find the field and enter in the prameter and hit submit, I then get:
    REP-52007: Parameter form format error.
    java.lang.IllegalStateException: Response is already committed!     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.setContentType(EvermindHttpServletResponse.java:973)     at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:27)     at oracle.reports.rwclient.RWReportRunner.setContentType(RWReportRunner.java:261)     at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:135)     at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:95)     at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1312)     at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1129)     at oracle.reports.rwclient.RWClient.doPost(RWClient.java:318)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)     at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    If I set paramform=no and pass in the parmater in the url string, then it skips the paramter form and runs fine accepting the input.
    Any idea what the solution is for these two errors?

    After more searching, I found out that the problem for both is an Oracle Bug posted on mealink. It has to do with using capital letters for the oracle default parameters. Once you make it lower case, it works.
    ex:
    http://myserver.com:8008/reports/rwservlet?server=repapp&report=myreport.rdf&userid=myid/mypass@mydb&destype=cache&desformat=pdf&paramform=yes

  • Passing Parameters into Parameter Forms

    I am having a bit of difficulty trying to get a parameter form to display and the report to execute properly with an additional parameter defined in the url.
    Here is the applicable line in cgicmd.dat file...
    key: report=test3.rdf server=xxxx userid=xxxx/xxxx@xxxx destype=cache desformat=htmlcss P_group_no=%1 %P
    I then try to open this webpage...
    http://server/cgi-bin/rwcgi60.exe?key+10
    With the %P setting on the Parameter Form page is displayed as it should and the appropriate form parameter is populated with a 10. However when I go execute the form it displays the following message.
    Oracle Reports Server CGI - Error occurred while parsing the Reports Server command line.
    If I remove the %P parameter and pass in the same argument list then the report display properly. Additionally if I try to run the report with the %P, but without the P_group_no=%1, letting that be defined in the parameter form it also works fine.
    Anyone have any suggestions?
    -Gregory Buchholz
    [email protected]

    How about using paramform=yes in you url and just giving a default value to the parameter you want in the report definition?

  • Reports-Runtime Parameter Form; another question

    hi!
    I would like to implement 2 user parameters in the runtime
    parameter form which depend on each other: with the first one you
    can select a special ressort and depending on the selection you
    made here you can select some keyword groups with the second one;
    but I don't know how the select statement for the second user
    parameter should look like, because it is not allowed to use
    'Bindevariablen' (sorry, don't know what they are called in
    english; this are the ones with the : in front of them):
    here is what I tried to do:
    parameter: P_1
    select rs_id, rs_name from tb_ressort union select 99999, 'alle
    Ressorts' from dual order by 1
    parameter: P_2
    select kwg_id, kwg_group from tb_keyword_group union select
    99999, 'ALL' from dual
    and here I wanted to add a where clause: where rs_id = :P_1
    but this doesn't work
    Any other ideas?
    thx in advance
    null

    Michaela (guest) wrote:
    : hi!
    : I would like to implement 2 user parameters in the runtime
    : parameter form which depend on each other: with the first one
    you
    : can select a special ressort and depending on the selection you
    : made here you can select some keyword groups with the second
    one;
    : but I don't know how the select statement for the second user
    : parameter should look like, because it is not allowed to use
    : 'Bindevariablen' (sorry, don't know what they are called in
    : english; this are the ones with the : in front of them):
    : here is what I tried to do:
    : parameter: P_1
    : select rs_id, rs_name from tb_ressort union select 99999, 'alle
    : Ressorts' from dual order by 1
    : parameter: P_2
    : select kwg_id, kwg_group from tb_keyword_group union select
    : 99999, 'ALL' from dual
    : and here I wanted to add a where clause: where rs_id = :P_1
    : but this doesn't work
    : Any other ideas?
    : thx in advance
    Hi Michaela,
    I think this will generally not work in reports parameter form;
    the parameter values are available first when the report is
    started, and the first point to reference them is in the
    after-parameter-form trigger. I think you get the message
    from the report builder 'REP-0781: Bind variables not allowed in
    the Select statement'.
    The only idea I have is to write a parameter form with Forms,
    with two LOV's attached to two items wich CAN reference each
    other. Then use add_parameter and run_product to start your
    report. This seems to be more complicated then using only
    Reports, but it isn't and it works.
    peter
    null

  • Using a Simple Parameter Form Portlet with a Report Portlet to Search DB

    My organization registers clients for workshops in iLearning.We use iPortal for our web site. I would like to use a Simple Parameter Form Portlet for clients to conduct a search on the data that is in iLearning and have it displayed in a Report Portlet on a separate page. I have been able to bring the iLearning data into the Report Portlet but I have not been successful in setting up the Simple Parameter Form Portlet to do a search on the data and then have it displayed. Any suggestions.

    hi,
    i just tested this in portal 10.1.4 and it works fine. you can fire an event and pass a parameter from a simple parameter form portlet and consume this page parameter in a portlet builder reports component. there is some documented behavior in bug 3321558 that has to do with personaliziation (customization in older releases). if you enter some personalization the page parameter gets ignored. for more information on this please contact oracle support services.
    regards,
    christian

  • Creating a Simple Parameter Form in Portal

    I am trying to create a simple parameter form in Oracle Portal 10.1.2. to be able to allow users to enter a parameter on the dashboard that will be passed to discoverer worksheets. However, I can't seem to find any information as to how to do this. All I find is information stating that it can be done.
    Can anyone explain this to me or send me a link that explains this?
    Many thanks.
    Dino

    hi
    You could look at http://www.oracle.com/technology/products/discoverer/files/viewlets/1012_dashboard.html
    I don´t remember if here you create the simple parameter form. But there is a portlet called "Simple Parameter Form", you can find it at Portlet Builders. You can reach this link in your Oracle portal in the Edit link, in the add portlet link.
    then you can follow the wizard to create your parameter portlet
    After this step you should link the parameters you send through this portlet with the page and the other portlets.
    I hope this help

  • REP-3131: Parameter form boilerplate text cannot fit on the page

    Dear members,
    I am getting the following error while running the report :
    REP-3131: Parameter form boilerplate text cannot fit on the page
    can any body tell me how to correct it. I need to add a extra field in the standard oracle report "RECEIPT TRAVELER". when i was trying to run it in report builder 6i i got the above mentioned error. please give ur quick replies.
    thanks
    regards
    sandeep

    When you add your new field into the parameter mask, please check, if the value is too
    long for your parameter mask site. Make a double click on the master attributes of your
    report in the object navigator and look at the size of the parameter mask window.
    Make it bigger, if you want (vertically und horizontally size).
    Check the length of the text of your parameter mask title, too.

  • Portal 10.1.4.2.0 - Page Parameter to DB Provider Form

    Hello:
    I created a database provider form that is based on a procedure. I need to pass a page parameter to this DB provider Form.
    I would appreciate the help if you can tell me know to pass a page parameter to this form.

    10.1.4.2 is not a released version. you get it by upgrading portal 10.1.4.0.0 using a patch set, and hence it does not bring in any new features. Therefore, the APIs for Portal 10.1.4 remain useful for this version.
    For programmatic content management, you may also want to see this [Content Mgmt APIs|http://download.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_part3.htm#BEHBFDEF] link from portal documentation.

  • Dynamic lov on a apex page parameter form

    I'm trying to create a dynamic lov on a apex page parameter form. I read another post to look at metalink note. 292521. I asked our DBA to review the note but he claims he can't find the article. he's also been unable to find the last 2 metalink requests i've made. can someone verify metalink note 292521 exists so i can inform the DBA?
    Thanks,
    Brian

    Brian, I cannot find that note either, try posting your question in the APEX forum, this forum is for Oracle Portal questions.
    Cheers,
    Mick.

  • Passing page parameter to form object in Porlet

    How can I pass a page parameter to a Portlet that contains a form? I wish to set the default value of a dropdown item in the form based upon a page parameter. Thanks.

    I have found that when you set a value for a bound variable in the customise screen you cannot clear it. For some reason it seems to be stored as a null value somewhere and it always over-rides any page parameter setting.
    Try renaming the parameter in your report. Make it public as before and then link it to the page parameter (you probably don't need to rename this, but it might be a good idea to make it more than just the letter p). Watch out - parameters in the url are case sensitive.
    Good luck.
    Patrick.

  • How to read value of page parameter from form?

    I have the following in 'before displaying the form. ' in the form based on procedure.
    declare
    l_names OWA.vc_arr;
    l_values OWA.vc_arr;
    p_portlet_record portal.wwpro_api_provider.portlet_runtime_record;
    BEGIN
    Portal.wwpro_api_parameters.retrieve(l_names, l_values);
    htp.p('Number of parameters are : '||l_names.count||'< br>');
    for i in 1..l_names.count
    loop
    htp.p(l_names(i)||' = '||l_values(i)||'< br>');
    end loop;
    htp.p('Agreement'||portal.Wwpro_Api_Parameters.get_value('agreement',p_portlet_r
    ecord.reference_path));
    end;
    Following is the output on the form:
    Number of parameters are : 1< br> sessionid = 14212< br> Agreement.
    Looks like the form is only getting the sessionid parameter and not getting
    the other parameter from the URL.
    Following is the URL for the page on which the form is places:
    http://<machine_name>/portal/page?_pageid=33,36124,33_36134:33_44551&_dad=portal
    &_schema=PORTAL&agreement=DG-2474/1
    Can anyone tell me how I can get the value of page parameter 'agreement' in the form?
    thanks,
    Hiren

    Hi,
    It depends how you are setting your parameter also as there are different types of parameters in portal. The best is to use the page level parameters..
    Please read the developers gide Section 8.3 for more details....
    The link is :-
    http://download-east.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_pdk_plsql.htm#CHDGAHCF
    Guneet

  • Is it possible to hide a forms user parameter in the wrapper HTML page?

    Is it possible to hide a forms user parameter in the wrapper HTML page? I.E I want to start my form with MODULE=myForm userid=scott/tiger@db myParameter=SECRET.
    The http://myserver/servlet/f60servlet?config=myconfig successfully starts the application (after update of the basejini.htm and adding this section to the formsweb.cfg
    [myconfig]
    userid=scot/tiger@db
    myParameter=SECRET)
    However, when looking at the source of the wrapper html page one can see MODULE=myForm userid= myParameter=SECRET.
    As you can see the userid is nicely hidden by my secret parameter is not.
    Thanks in advance for ideas for solving this…

    We logged a similar issue through Oracle support recently (hiding the password) and we did get a very unsatisfactory response :
    ====
    View source is the functionality for browser . So that can't be done.
    You have two possible workaround for your problem.
    1.
    Invoke Registry & move to HKEY_LOCAL_MACHINES &gt;&gt; SOFTWARE &gt;&gt; ORACLE. Here create a new string value with the name LOCAL & value as the connect string you want. Now when you run the form on web, just give user name & password, the form picks the connect string from Registry.
    Note : You need to make registry entry in a machine where Forms Server is running.
    2.
    You can hardcode the username, password & connect string in the form's ON-LOGON trigger. To do this use LOGON built-in.
    ====
    Should you receive a better response : we are also interested.

  • Returning to the parameter form in a report after closing the report page

    hi all,
    tell me a way to get the following solution
    how can we return back to the parameter form of a "parameterised
    report" after closing to the report window.
    i ve tried a little bit with "srw_run_report"
    reply me as quick as possible
    prabhakaran

    Try using menu options
    Tools\Parameter Form Builder
    you can either select/deselect any parameter from the list

  • Using page parameter causes "form" layout report to become "tabular"

    I did a diff on the HTML generated for the page and found this:
    Page Parameter Used:
    <TH ALIGN="Left" SCOPE="col"><FONT CLASS="PortletHeading1">Employer Auth Treatment</FONT></TH>
    Page Parameter Not Used:
    <TH SCOPE="col" ALIGN="LEFT" VALIGN="TOP"><FONT CLASS="PortletHeading1">Employer Auth Treatment</FONT></TH>
    Notice that the VALIGN="TOP" is missing in the first one. Does anyone know how to fix this?
    Thanks.

    CORRECTION (forgot the "<!-- down1 -->"...but this is just a comment, correct?)
    Page Parameter Not Used:
    <TH SCOPE="col" ALIGN="LEFT" VALIGN="TOP"><FONT CLASS="PortletHeading1">Employer Auth Treatment</FONT></TH>
    <!-- down1 -->

Maybe you are looking for

  • Can I use a usb and wireless keyboard at the same time on a mac pro

    I wish to use the Mac Pro USB keyboard for Logic shortcuts and the Mac Pro wireless keyboard for normal typing etc. Is this possible?

  • Why can't I use effects on camera even after I upgraded to 5.1?

    Why can't I use effects on camera even after I upgraded to 5.1?

  • Importing from iPhoto into Photoshop CS5

    I wish to create a collage image made up of photos that requires 300 dpi resolution for printing. The photos come from my digital camera via iPhoto. When I open them up in Photoshop and go to Image>Image size.. the photo shows as having only 72 dpi r

  • "Invalid signature" downloading iTunes 8.2.1

    I was running iTunes 8.02 on my Toshiba laptop. After copying my iTunes files from my netbook (which is running iTunes 8.1.1 on Windows XP) to my Toshiba (Windows Vista), I could not run the older version because the itl library is a newer version. I

  • No WPA2 choice on tiger?

    Hi Community, I just restored my old PowerBook G4 from Leopard down to Tiger. However, when i try to connect to my WPA2 encrypted network, the only choices are: WEP Password WEP 40/128 bit-hex WEP 40/128 bit-ASCII LEAP What gives? In Leopard I could