Passing Values to the Form

I created a report and a form in 9ias portal. I want to pass a report value from the report to the Form (not the Rowid). Can any body let me how can I do that?
thanks,
ajay

Thanks for the reply.
I created the report based on SQL Query and calling the form in the follwing way.
htf.anchor('PORTAL92.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=1437425579&p_arg_names=_rowid&p_arg_values='||rowid,'test')) Test
In the above case, instead of Rowid, i want to pass other variable value. how can I do that in this case?

Similar Messages

  • In portlets, how to use a html form passing  values to the another page?

    it is well known that in web developing , we have two methods to pass values to another page.<!--
    1. passing values
    2.<form action="nextPage" method ="post"></form>-->
    but how to use two methods in oracle portal portlets?
    I have got a simple example which submit two values to the page for itself, means a page has a form with submit botton, user input the form with values and then submit them by submit botton, then the page recevice those values and show it .
    this example is powered by oracle ,
    please have a look at these code:
    <br><br>
    <%@ page contentType="text/html;charset=UTF-8" %>
    <%@page import="java.util.*, oracle.portal.provider.v2.*" %>
    <%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil" %>
    <%@page import="oracle.portal.provider.v2.url.UrlUtils" %>
    <%
    // The form submit URL refers to the current Portal page. All portlets
    // on this page share this URL. This means that the per portlet parameters
    // are in the same request. Portlets must ensure that its paramerters don't
    // collide either with other portlets or other instances of itself. This
    // is generally accomplished by using "fully-qualified" parameter names. A
    // fully-qualified parameter name prepends the (unique) portlet reference to
    // the parameter. The JPDK provides a utility to accomplish this.
    String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    // These are the session attribute names used to store the current values.
    // Because all instances of this portlet share the same user session we must
    // also fully-qualify these names to avoid collisions.
    String sName = HttpPortletRendererUtil.portletParameter(request, "sName");
    String sAge = HttpPortletRendererUtil.portletParameter(request, "sAge");
    PortletRenderRequest pRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String formName = UrlUtils.htmlFormName(pRequest,null);
    ProviderUser user = pRequest.getUser();
    ProviderSession providerSession = user.getSession();
    if (providerSession == null)
    %>
    Your provider session has been terminated or has timed out
    and you need to logout and then login to re-establish the session.
    <%
    else
    // Record, in session storage, the last values submitted.
    if (pRequest.getQualifiedParameter(portletParamSubmit) != null)
    providerSession.setAttribute(sName, pRequest.getQualifiedParameter(portletParamName));
    providerSession.setAttribute(sAge, pRequest.getQualifiedParameter(portletParamAge));
    %>
    <!-- Output the HTML content -->
    <center>
    <table width="70%">
    <tr>
    <td>
    <b>This portlet shows how to post and process information from HTML forms.</b>
    </td>
    </tr>
    </table>
    <form name="<%= formName %>" method="POST"
    action="<%= UrlUtils.htmlFormActionLink(pRequest,UrlUtils.PAGE_LINK) %>">
    <%= UrlUtils.htmlFormHiddenFields(pRequest,UrlUtils.PAGE_LINK, formName) %>
    <table>
    <tr>
    <td>
    <b>Name :</b>
    </td>
    <td>
    <input type="text" size="20" name="<%= fName %>" value="">
    </td>
    </tr>
    <tr>
    <td>
    <b>Age : </b>
    </td>
    <td>
    <input type="text" size="3" name="<%= fAge %>" value="">
    </td>
    </tr>
    </table>
    <br>
    <INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
    </form>
    <%
    if ((providerSession.getAttribute(sName) == null)&& (providerSession.getAttribute(sAge) == null)) {
    %>
    <b>No values have been submitted yet.</b>
    <%
    } else {
    %>
    <b> Last submitted values:</b><br>
    <table>
    <tr>
    <td>
    <b>Name: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sName) %></b>
    </td>
    </tr>
    <tr>
    <td>
    <b>Age: </b>
    </td>
    <td>
    <b><%= providerSession.getAttribute(sAge) %></b>
    </td>
    </tr>
    </table>
    <%
    %>
    </center>
    <%
    %>
    <br><br>
    <br><br>
    <br><br>
    but I want to write the form in a page , and then show it on another page , how to write it ?
    I have read the pdk:
    oracle.portal.provider.v2.url Classes
    UrlUtils
    then I use these method , as this :
    //frist page:
    <br><br><br><br>
    <%@page contentType="text/html; charset=Big5"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    %>
    <%@ page import="oracle.portal.provider.v2.*"%>
    <%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <P>Hello <%= pReq.getUser().getName() %>.</P>
    <P>This is the <b><i>Show</i></b> render mode!</P>
    this is a program to test the passing value
    <%
    String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);
    PortletRenderRequest pr=(PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String formName=UrlUtils.htmlFormName(pr, null);
    %>
    <form name="<%=formName%>" method="post" action="<%=UrlUtils.htmlFormActionLink("/htdocs/passingvalues4/getValues.jsp")%>">
    <%= UrlUtils.htmlFormHiddenFields("/htdocs/passingvalues4/getValues.jsp") %>
    name:<input type="text" size="20" name="<%= fName %>" value="">
    p w :<input type="text" size="3" name="<%= fAge %>" value="">
    <INPUT TYPE=submit name="<%= fSubmit %>" Value="Submit">
    </form>
    //getValues.jsp<br><br>
    <br><br>
    <%@page contentType="text/html; charset=Big5"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    %>
    <%@ page import="oracle.portal.provider.v2.*"%>
    <%@ page import="oracle.portal.provider.v2.render.PortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"%>
    <%@ page import="oracle.portal.provider.v2.url.UrlUtils"%>
    <% String portletParamName = "mName";
    String portletParamAge = "mAge";
    String portletParamSubmit = "mSubmit";
    String fName = HttpPortletRendererUtil.portletParameter(request, portletParamName);
    String fAge = HttpPortletRendererUtil.portletParameter(request, portletParamAge);
    String fSubmit = HttpPortletRendererUtil.portletParameter(request, portletParamSubmit);%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=Big5">
    <title>untitled</title>
    </head>
    <body>
    Name:<%=fName%>
    Age :<%=fAge%>
    </body>
    </html>
    <br>then I deployed them on the portal , run it , the result is :after I submit it , the browser give me : http 404 page not found!
    [b]here is the provider.xml<br>[b[i]]<?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>PassingValues4</name>
    <title>PassingValues4</title>
    <description>PassingValues4</description>
    <timeout>60</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage>/htdocs/passingvalues4/PassingValues4InputPage.jsp</showPage>
    <showPage>/htdocs/passingvalues4/getValues.jsp</showPage>
    </renderer>
    </portlet>
    </provider>
    <br><br><br>
    <br><br>
    would you kind enough to help me ? thanks!!!
    Message was edited by:
    moonsoft

    Hi Moonsoft,
    I have already answered this query in the other post at Re: how to link more than one links in portlet?(jsp develop)
    <form name = "showPageForm" method = "POST" action = "<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
      <%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, "showPageForm") %>
      <input type="text" name="param1">
      <input type="text" name="param2">
      <input type="hidden" name="myPPN" value="/htdocs/page2.jsp">
    </form>then in your jsp code on page2.jsp, you will extract the parameters by specifying
    <%
      String p1 = request.getParameter("param1");
      String p2 = request.getParameter("param2");
    %>
    >>this is easy common jsp or asp development, but in oracle is too diffcult!!!!
    :-) .. there is a difference between web-applications and portlets, you just need to get used to it once. I hope this does clarify your doubts.
    thanks,
    Harsha

  • Pass Values to Edit Form thru Query String and Save in List

    I have developed a custom Edit form from SharePoint Designer and I am passing values thru Query String as below;
    http://<>/cli/acc/Lists/GIInfo/testEdit.aspx?ID=262&com=POD_Send
    And, user supposed to save the form directly without changing the values came thru Query String as below. 
    Now, issue is, when user saves the form, values is not getting saved. It saves when we change the value in text box or when we do a text change event in form. Becasue data binding says Text Change even in data binding property.
    __designer:bind="{ddwrt:DataBind('u',concat('ff22',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Actions')}"/>
    Kindly guide me what is the issue, or correct approach to do that? I want to pass values to Edit Form thru Query string and save in List without changing those.
    -Rajesh A.

    I know this is late, but i found a very good solution on this post and credit goes to the author.
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/4be1be38-0663-4b80-8f28-45f38f98f9d0/sharepoint-designer-2010-custom-newformaspx-data-in-textbox-fields-dont-save-on-submission?forum=sharepointcustomizationprevious
    The issue was resolved by changing the textbox values,
    <asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="" Value="{$Destination}"  __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}">
    instead of
    <asp:TextBox runat="server" id="ff1{$Pos}" Name="Title" Text="{$Destination}"  __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}">

  • Pass values to other forms

    Hi Guys!
    My Problem is to pass values through call forms to another form. There are two ways I had done it before. First:global variables.
    Second library spec with variables in in, then call forms share library data and the calles form uses the same library. The second way is descriped by Oracle Corp., too.
    Do you know another, better way, or do I have to make one of this better? What's the best way? Thank you very much

    You can build and pass a parameter list. Look at the help for CALL_FORM for details (I think you'll see an example there of how to use it).

  • Get the timestamp value in the form of array of 8 bytes, whileretrieving da

    3) How we can get the timestamp value in the form of array of 8 bytes, while retrieving the data?
    4.) How we can pass the 8 byte array to stored procedure? What will the data type of the parameter?

    duplicate post:
    timestamp value in the form of array of 8 bytes

  • Timestamp value in the form of array of 8 bytes

    1) How we can get the timestamp value in the form of array of 8 bytes, while retrieving the data?
    2) How we can pass the 8 byte array to stored procedure? What will the data type of the parameter?

    1). using to_char
    SQL> select to_char(systimestamp, 'ddmmyyyy') from dual ;
    TO_CHAR(
    10052006
    SQL>2). as varchar2, and use to_timestamp to convert to timestamp:
    SQL> select to_timestamp('10052006', 'ddmmyyyy') from dual ;
    TO_TIMESTAMP('10052006','DDMMYYYY')
    10-MAY-06 12.00.00.000000000 AM
    SQL>

  • How to pass value between two forms.

    Hi all,
    how to pass value between two forms(using :parameter),...
    Thanks
    Rajesh

    To use parameters, create a parameterlist with the named parameters
    DECLARE
      pl_id PARAMLIST;
      pl_name VARCHAR2(10) := 'tempdata';
    BEGIN
      pl_id := Get_Parameter_List(pl_name);
      IF not Id_Null(pl_id) THEN
        DESTROY_PARAMETER_LIST(pl_id);
      END IF;
      pl_id := Create_Parameter_List(pl_name);
      ADD_PARAMETER (pl_id,'MYPARAMETER',TEXT_PARAMETER,:BLOCK.VALUE);      
      CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE, NO_QUERY_ONLY, pl_id);
    END;In the new form you can then just access the parameters via :PARAMETER.MYPARAMETER;
    An alternative is the usage of globals:
    :GLOBAL.MYPARAM:=:BLOCK.VALUE;
    -- call the emp-form
    CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE);and in the new form use:
    DEFAULT_VALUE(NULL, 'GLOBAL.MYPARAM');
    IF :GLOBAL.MYPARAM IS NOT NULL THEN
    ...The advantage of gloabls is that they can also return values back to the calling form, which is not possible using parameters

  • How to pass value to the  FM 'HR_MAINTAIN_MASTERDATA' .

    Dear Experts,
    How can I pass values to the FM 'HR_MAINTAIN_MASTERDATA' to create pernr?
    In the PROPOSED_VALUES tables I am passing the values for infotypes and subinfo types.
    The values are picked up for infotypes with no subtype , but for infotypes with more than one subtype the values are not getting passed.
    I am getting an error message 'Fill in all required entry fields' for the second subtype's mandatory field.
    I am trying to update Address (Infotype 6) with subtypes 1 and 5.
    Regards,
    Basavaraj Patil

    please try to create one manually with subtype 5 i.e second sub type
    Go to pa30
    select subty 5
    and try create record manually
    it will enable that what are the manual fields fill those fileds
    I belive you must missing city field or pin
    Please check make wht fields are needed and give those fields
    Best Regards

  • I want to post the values of the form in the same Jsp Page

    I want to post the values of the form in the same Jsp page.

    Was that a question? Or are you just informing the world of your grand intentions?
    But yeah, all you need to do is direct your action to the same page you're in. So, if this is your foo.jsp, it'd be something like...
    <%
    if(request.getParameter("bar") != null) out.println("Hello");
    %>
    <form method="post" action="foo.jsp">
       <input type="text" name="bar" value="baz">
       <input type="submit">
    </form>When you submitted your form, it would post the value to the same JSP page as you're already in, and print out Hello to the screen. "Hello" would not print out on the first visit, as the request would obviously not contain the parameter "bar" yet.

  • How to pass values from one form to another.

    Dear all,
    i have a table A i want to double a text item and open another form B. then setting values or adding values in it. i want to close the form and open the form A. the values selected in form B. i want to send to the form A.
    please help me.
    Muhammad Nadeem

    Hi
    To send value to the form A from B, you do this action.
    1. Declare a parameter list:
    pl_id paramlist;
    2. Create the parameter list:
    pl_id := create_parameter_list('ParameterLilst_FormA');
    3. Add all value to the parameter list.
    add_parameter(pl_id, 'variable1', text_parameter, 'valueOfVariable');
    4. Open the form B and you send it the parameter list.
    open_form('B', activate, session, pl_id);
    NOTE: In there form B you might have some parameters having the same name of the variable added to the parameter list:
    e.g.: :parameter.variable1

  • To coerce passed values, use the In Range and Coerce function.

    -" Device Number for Card 1 uses data range coercion, which now only applies to data entry; values will not be coerced when passed to subVIs. To coerce passed values, use the In Range and Coerce function."
    Hi,
    I had program runnning fine in labview version 5.0, Recently i updated to labview version 6.0, but when i opened file i will see many warnings like above.
    I saved the file as 6.0, all the warnings are gone and program compiles as well but i am not sure saving as 6.0 eliminate those problems like..."value will not be coereced when passed to subvis"

    It means that some of your controls use coercion to alter data if it is not within a range. In LV 5.0 this worked for either typing the data into the control or passing it through the connector as a sub-vi. In 6.0 the data won't be coerced if it has been passed through the connector as a sub-vi, only if it is entered on the front panel. If your sub-vis relied on this coercion to operate properly then you will need to add the "In Range and Coerce" function to your block diagram to manipulate these values. If the coercion wasn't important then disregard the warning.
    Hope this helps
    Brian

  • Entering values in the form

    Hi All,
    I am entering some values in the form.
    Is this possible to track that i am entering some values in the form.
    How can i identify that?
    Any other built-ins are there to identify that i am keying in some values in my form.
    I cant use Form_status,Block_status and Record Status.
    All of the items are Control Item.
    Can you pls guide me in this.

    create a when-validate-item trigger on form level like this
    begin
    if
      name_in ( :system.trigger_item ) is not null
    then
      :global.data_entered := 'Y';
    end if;
    end;to check, if data has been entered write a trigger:
    begin
    default_value ( 'N', 'global.data_entered' );
    if
      :global.data_entered = 'Y'
    then
      the_things_you_want_to_do...;
    end if;
    end;

  • How to pass the value of the form element "SR ID" on the URL in Apex

    Hi All Good Day!!
    I am new to Oracle Application Express, i have been started working from past 2 months. I have a request from client, how we can achieve the same in Apex. Please find the
    deatils below.
    In my application we have a text item as "SR Number", for that filed they want below scenerio to be work around, could some one help me for the below request.
    Check the incoming request for a passed parameter and set it to a value using something like this Request.querystring(“p_t10”). If nothing is passed the form is set up with a blank in the SR ID field, if a value was passed you populate the field, perhaps the log-in page can pick-up the parameter and store it in the session to later be put on the form after successful log-in.
    Label: SR ID
    Name: p_t10
    ID: P1_ENG_SID
    URL: http://sampletest.com:6666/pls/temp/f?p=123:1&p_t10=495694-94583875
    Below are the deatils of mine Apex versions#
    Apex Build: 3.0.1.00.08
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    Schema Compatibility: 2007.05.25
    PL/SQL Release 10.2.0.4.0
    CORE 10.2.0.4.0
    TNS for Solaris: Version 10.2.0.4.0
    Internet EXplorer-7
    Firefox-12.0
    Regards,
    Sruthi!!

    hai Sruthi,
    if you know the emply item creation and set vlaue?
    Create new item as dummy in target page.
    set current value and pass to that dummy item, then can use that value at target page.
    f?p=&APP_ID.:20:&SESSION.::&DEBUG.:RP,20:P20_XUSER_SECTION,P20_XROW:&P17_NWM_ACCES_SECTION.,&P17_NWM_DOC_ID.
    =Means=
    target Page # 20
    Target items   P20_XUSER_SECTION and ,P20_XROW
    Values from current page: &P17_NWM_ACCES_SECTION. for P20_XUSER_SECTION
                              &P17_NWM_DOC_ID. for P20_XROW
    If Tablar form/IR page use the following
                 #P17_NWM_ACCES_SECTION#  for P20_XUSER_SECTION
                 #P17_NWM_DOC_ID# for P20_XROW

  • Passing values to the dropdown in Adobe Interactive form

    Hello Adobe Experts,
    Can you please provide some inputs for the below mentioned points.
    I have created a webdynpro application and placed an interactive form.
    1. I have 2 dropdown fields in the interactive form..say Country and State. How can i show the all countries available in SAP system in the Country dropdown.(like standard dropdown)
    2. How can i dynamically show the States of selected country in the dropdown of State.
    3. I need to validate the mandatory fields on the form on click of Submit button kept on the form. But, giving Value Type "User entered...required" is not working. how to validate in another way. Should we write validation script for all individual fields.
    4. How to place a web link on the interactive form. When user clicks on this link, we should navigate to that particular link.
    Thanks & Regards,
    Ram.

    Hi RAM,
         I'll try to answer your questions one by one. Any comments and feedback are welcome.
    1.- I assume that you have created a Model, a Service Controller and binded the data to your view.
    At this point, you need to bind the property datasource of your interactive form to a node in your context hierarchy.
    This data will be available at the form Data View Palette.
    Then you have to edit your form, drag a Drop Down List to the form and in the Fields Tab of the Object Palette you need
    to bind the List Items property. Just click the link and in the "Dynamic Properties" window, choose the table root node for Items, and the Text and Value atributes for Text and value properties respectively.
    After that, in the binding tab, you will have to do the "default binding", and bind the values clicking on "Specify Item Values".
    Edited by: Aldo Velazquez on Nov 29, 2010 4:32 PM

  • Passing values from a FORM to another FORM

    Hi,
    I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
    Can I use a GLOBAL variable?
    Thanks,
    Marc.

    I think he meant the global namespace.
    You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
    Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.

Maybe you are looking for

  • Where is the new  "import settings"  tab in itunes preferences... ????

    when i go to itunes>preferences>advanced to set my file size setting for choosing what kind of file i want my song to be on import, i see no tab for import settings like before....... also checked itunes help and it didn't say it was in a different p

  • White box or not?

    Hello I have just received the free upgrade to fiber optic. An engineer came to set up the new socket. I didn't have the black router as I had to go to collect it from the post office but he kept on saying I just needed to plug one cable, very easy.

  • WCS 7.0 with ACS 5.1

    Hi, I want to add WCS as a AAA client for authentication with Radius  in my set-up. how to configure WCS for the same. where are all those options in WCS. Please guide me for the same.

  • Import policies from administrative templates

    How can i import all the "windows components" present in the administrative templates of Computer configuration of local computer policy?. i am interested in the "remote Desktop services" specially. Using UI, you can reach there by using this 1. run

  • Creating transparent background

    In previous versions of PhotoShop, under Help, there was a wonderful walk-thru that would take us step-by-step thru the process of creating a path file. Has this option been moved, or removed? I'm now using CS3. I believe this nice option was there t