Unable to read space page parameter value throug EL

Hi All,
I have been stuck in a big problem, I have to use dynamic page template in web center space means Different template for different pages.
For this I added a new page parameter in page properties but I am not able to read any Page Parameter Properties through EL.
Now my question is how can I get Page Parameter value through EL?
I appreciate your quick response.
Thanks :)

you can check it out the below mentioned links-
http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/taskflows_parameters.htm#CHDIAIJJ
http://www.exampledepot.com/egs/javax.servlet.jsp.jstl.core/getparam.html
http://blogs.oracle.com/shay/entry/passing_parameters_to_an_adf_p
http://www.orastudy.com/oradoc/selfstu/fusion/web.1111/b31974/web_adv.htm#CACFGEBH

Similar Messages

  • Reading POST-Request-Parameter-Values from WebDynPro now possible?

    Hello,
    in the past I always was disappointed that in WebDynPro there was no way to read POST-request-parameter-values directly after the call of a WebDynPro-Application.
    The only (documented) way to read / transfer request-data into an WebDynPro-application was via "URL query string parameters" in the request URL.
    The last week I forgot this restriction. I called my WebDynPro-application using a POST-Request-Parameter (cookie_guid) instead of an URL-parameter.
    After noticing my mistake, I was really surprised that the WebDynPro could read / shows the the POST-Request-Value.
    I didn't make any changes in the coding of my WebDynPro-Application (zvis_show_sso_cookie).
    After this cognition I built the following simple HTML-formular to analyse the behavior of the WebyDynPro by calling it with an URL-Parameter (cookie_guid=Url-GUID) together with the POST-Parameter (cookie_guid = Post-Value-GUID).
    After calling the WebyDynPro it reads / shows the "POST-Value" of the request !!!
    (Remark: If I made a simple refresh or type directly the URL "http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID" in the browser, the same webdynpro reads / shows the URL-Parameter-Value).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    </head>
    <body>
    <form method="post" action="http://hg10762.vis-extranet.de:1080/sap/bc/webdynpro/sap/zvis_show_sso_cookie?sap-language=DE&cookie_guid=Url-GUID">
      <table border="0" cellpadding="5" cellspacing="0" bgcolor="#E0E0E0">
        <tr>
          <td align="right">Cookie_GUID:</td>
          <td><input name="cookie_guid" type="text" size="30" maxlength="30" value="Post-Value-GUID"></td>
        </tr>
        <tr>
          <td>
            <input type="submit" value=" Absenden ">
            <input type="reset" value=" Abbrechen">
          </td>
        </tr>
      </table>
    </form>
    </body>
    </html>
    My questions:
    I there any documentation that describes the behavior of  WebDynPro after calling it by using POST-Parameter values?
    I believe in the past it wasn't possible to read POST-request-parameter-values in WD. Has SAP changed the functionality?
    Is the behavior I described in my example above mandatory?
    Regards
    Steffen

    As far as i know in general HTTP request  GET method is standard but in SAP POST is standard.  All the client request is passed as POST to the server in order to avoid the URL parameter length restriction in GET method.

  • Displaying  page parameter value

    I have a LOV portlet that contains division names with no bind variables involved. In the same portlet region, I have a calendar component that show documents for a division.
    When the user select a division name from the Lov, the onChange event calls the same page passing the division name as a url parameter. The calendar has a bind variable mapped to the page parameter division_code.
    When the page redisplays, I want the default value of the LOV set equal to the page parameter value. How do I do this?
    Thanks,
    Ed

    Hi,
    Try using wwpro_api_parametes.retrieve.
    wwpro_api_parameters.retrieve
    This Retrieves a list of all the URL parameters (names and values) from every
    portlet instance that belongs to a provider.
    The names and values are returned, unchanged, into a table. If a parameter has more than one value, only the first is returned.
    Any user can use this procedure.
    Example:
    If a URL has these parameters:
    http://.......?empno=10&amp;deptno=10&amp;a.deptno=20a.deptno=25&amp;a.folderid=30
    Then this call:
    wwpro_api_parameters.retrieve(
    l_names,
    l_values
    Sets the following names and values:
    'empno', 'deptno', 'a.deptno', 'a.deptno', 'a.folderid' in l_names
    '10', '10', '20', '25', '30' in l_values
    Hope this helps.
    Thanks,
    Sharmila

  • Unable To Pass Input Page Parameter Using PageDef File.

    Dear All,
    I am currently exploring task flows as I dont have that much knowledge in it.
    Here's my use case
    1. I setup a taskflow which has a Method Call and a View Activity in it.
    2. The method call is a default activity which just calls a web service.
    3. After execution, I just wanted to display the result of the method.
    I used input page parameters to pass data between the method call and the view activity.
         (I passed the data by accessing the pagedef file directly. I know I can do it using pageflowscope..but this is
         my self exercise so that I could understand ADF fully );)
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="ManageEmployeeTaskflow">
        <view id="viewEmployee">
          <page>/viewEmployee.jsff</page>
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>
        </view>
        <method-call id="EmployeeSetup">
          <method>#{bindings.EmployeeSetup.execute}</method>
          <outcome id="__12">
            <fixed-outcome>viewEmployee</fixed-outcome>
          </outcome>
        </method-call>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>Problem is, when I display the data. Nothing is being displayed.
    <af:inputText value="#{bindings.name.inputValue}"
                      label="#{'Name'}"/>          I debug the taskflow and the <from-value> really has a value, but I am not sure why it cant be passed to next pagedef.
    Any idea please?
    Edited by: Marky on May 15, 2011 11:25 PM

    Hi,
    I've been thinking... Is this way of passing parameters not possible?
          <input-page-parameter>
            <from-value>#{data.com_test_ManageEmpFlow_methodPageDef.empInfoIterator.currentRow.dataProvider.name}</from-value>
            <to-value>#{data.com_test_viewEmployeePageDef.name.inputValue}</to-value>
          </input-page-parameter>Thanks.

  • Read Query String Parameter Value in SSRS

    Hi,
    We have Project Server 2010 and Sharepoint Server 2010 env and using SSRS 2008 R2 for reporting purpose in Native mode.
    Here I am displaying the SSRS Project report in Project Server page using Report Viewer web part like below.
    Here I want to read projuid query string parameter value (Highlighthed above in URL ) in SSRS by using any way, so that I can pass that
    projuid value in my SSRS report parameter to filter and make this report dynamic.
    Right now I have to select the ProjectName (Label) which passes ProjUID
    as value from the Parameter, but I want it should read the projuid
    from URL so that this reports will display the project the data for the opened Project automatically
    Thanks and let me know in case we can achive this using OOTB or some custom functions.

    Hi,
    For the report parameter, you can get the value from database query or some embedded funcitons etc. or even some customerized function.
    You may consider to create your own code for the report to read the projuid from application or URL. The customer code can be used to get the values from the applicaiton or from the url etc. Then report can call the customer code function to get the value.
    refer link
    https://technet.microsoft.com/en-us/library/ms155798(v=SQL.100).aspx
    https://support.microsoft.com/kb/920769?wa=wsignin1.0
    Thanks,

  • Unable to read values populated using Java Script

    hi Experts,
    we generated a BSP Page through some SPRO setting it contains HTML and ABAP scripts.
    in that we have 2 select - option - dropdowns. i first one is being populated by ABAP script. second one is being populated by java script.
    the BSP page is working fine. but i am unable to read the second dropdown value using a class method
    we call this class method in the BADI : CRM_SERVICE_WEBREQ. method : FORM_ON_EVENT
      CALL METHOD cl_uxs_xml_services=>get_value_via_xpath
      EXPORTING
        ir_node                   = ir_form_data
        id_xpath                  = 'secondChoice'
         id_xpath_namespace_uri    =
         id_xpath_namespace_prefix =
         id_multi_namespace        =
      RECEIVING
        rd_value                  = lv_value
      EXCEPTIONS
        not_found                 = 1
        not_unique                = 2
        OTHERS                    = 3
    but i am able to read other fields in the page. i am not sure but i changed the id and name on the second drop down.
    pls let me know how to read the value for second drop down.

    Hi Ben Grice,
    ASP.NET questions should be post in
    ASP.NET forums. You can get better help there.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Import parameter value for FM RH_OM_ATTRIBUTES_READ

    Hello SRM Gurus
    What is the import parameters values for the function module RH_OM_ATTRIBUTES_READ to read Org.Structure parameter values in SRM 7.0 system?
    Is below parameter value is correct?
    PLVAR = u201801u2019
    OTYPE =u2019Ou2019
    OBJID = userid
    SCENARIO = u2018BBPu2019
    SELDATE = SY-datum
    I am not able to  read any data.
    Kindly share your experience.
    Thanks.
    Preethi.

    Hi
    Under Object Type(OTYPE) you are entering as "O" - means Org Unit
    So you need  to enter Org Unit under Object ID (OBJID) and not the user Id
    Hope this is clear to you now

  • How to get the selection parameter values to Posting logic method

    How can i  read the selection parameter values at " posting logic" method, which are given in  " Select Option function module"?

    max bianchi wrote:
    Hi
    >
    > The selection-screen data are stored in ABAP memory, so it need to clear it .
    >
    > Now how set ID parameter can depend on SAP release, anyway in ECC 6 this should work:
    >
    >
    INITIALIZATION.
    >   DATA: BEGIN OF MEMKEY,
    >           REPORT  TYPE SY-REPID VALUE SY-REPID,
    >           VARIANT TYPE RSVAR-VARIANT,
    >           INT_MODE(2) TYPE N,
    >           KIND(1)     TYPE C,
    >         END OF MEMKEY.
    >
    >   SYSTEM-CALL INTERNAL MODE INTO MEMKEY-INT_MODE.
    >   FREE MEMORY ID MEMKEY.
    >
    > But in this way it'll clea whole selection-screen...do you wnat do it?
    >
    > Max
    @Max : The above hack seem to work fine unless you assign a  'DEFAULT' value to the selection fields.
    @OP   : Here is an other work around,  however, this approach needs an additional effort to create
        new PF-STATUS('MYLIST') and assign a function code of your choice to the function keys in the standard toolbar and handle them in the 'AT USER-COMMAND'   event as shown below. Let us know if you have/find any issues with this.
    PARAMETERS:
      p_test TYPE char5 DEFAULT '123'.
    AT USER-COMMAND.
      CASE syst-ucomm.
        WHEN 'MBACK'.
          SUBMIT zytest WITH p_test = '' VIA SELECTION-SCREEN.
      ENDCASE.
    START-OF-SELECTION.
      SET PF-STATUS 'MYLIST'.
    -Rajesh.

  • Display a Page Parameter

    Hi Everyone,
    Is there a way to simply display a page parameter in a portlet? I am able to use the 'Simple Parameter Portlet" and it works great... except there is a submit button on the bottom of it. I only want to show display a page parameter, not submit them.
    I could write a java portlet to display it, but this seems like overkill. Any ideas would be greatly appreciated.
    Thanks gurus!
    Cory

    Hi Cory,
    Yes, you can display a Page Parameter in a Portlet. You just need to map the Page Parameter values to the Portlet Parameters.
    You can get detailed information about the steps here :-
    http://download-west.oracle.com/docs/cd/B14099_19/portal.1012/b10358/design.htm#sthref1392
    I have tried the steps in Oracle Application Server Portal 10.1.2 & it works. I am not sure how to get rid of the 'Submit" button...:(
    Regards,
    Sandeep

  • Unable to get the parameter value from a page

    Hi all
    i was trying to get a value using pageContext.getParamter("<item Id>")...
    the itemId which i gave exists in MessageComponentLayout...but i am a null is getting returned..
    please check this...n let me know if i missed something.

    Also confirm, may b no value is set in th bean, thats y its returning null as page parameter. Verify!
    --Mukul                                                                                                                                                                                                                               

  • 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

  • Passing session parameter to a portlet from webcenter spaces page

    How do you pass a parameter to a portlet on a WebCenter Spaces page? For example, I have the user's company ID in the session, I need to pass that company ID to the portlet defined to accept a company ID parameter so that the returned data can be filtered.

    You can for example add the companyID to the url of the page and then pass that parameter to the parameter of your portlet.
    Have you created your portlet to enable inter portlet communication? You should first do that and create a navigation-parameter in the oracle.xml. If you don't know what i'm talking about, i'll explain a bit more.
    Their is another way, which is easier i think, is to set the value of your portlet parameter to an expression language refering to a session variabel.
    In you portlet parameter set the companyId (if you have created a navigation-parameter companyID) to following value:
    #{sessionScope.company}You will have to set the value of that session variable from within your webcenter spaces.
    How are you doing that? Are you planning on setting that variable using another portlet, taskflow,... This can be very important on how webcenter reactt on parameters and it can also give you additional ways on passing the parameters.

  • 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.

  • How can I show Search Form parameter values in URI of Results page?

    I have searched through these pages for posts relating to caching but haven't seen any that relate to my issue.
    We run a website that accesses data through search forms and returns matching data to the requester in a results page. The search criteria are entered in a form and the results page is generated by a servlet that gets the search parameter values that the user entered using the GET method.
    I would like rewrite this Search page using JDeveloper to bring our old code up to date and take advantage of new features that should help performance. In particular, I want to utilise the WebCache.
    To use the WebCache effectively, the cache needs to know what the search criteria were when it delivers a page so that repeated requests using the same criteria can be served directly from the cache.
    The data retrieved by a query may change from one search to to the next so I can't use time-based caching. But, I can use the WebCache Invalidation interface from the back-end DB server to flush old data out of the WebCache when it is changed, but to flush out the correct pages I need to know the parameter values passed.
    If I just follow the demos, it seems like the search parameters are all hidden in beans or something which means that the Web Cache can't be used for what I want. The parameter values are important.
    So my question is: is there a way of showing the search parameters used in the URI to the Results page? Can the old GET method of parameter passing be used (or can I somehow just put the old style parameters onto the URI?)
    Alternatively, is there a simple How To or Demo on how to use the Web Caching facility with JSF?
    (ADF Caching and Java Object caching do not seem appropriate for my needs. ADF caching seems to be limited to having fragments cached for fixed periods of time and Java Object caching is orders of magnitude slower and involves the Application Server.)
    Thanks for any advice,
    Andy

    Sorry - should have said I'm using JDev 10.1.3.0.4 with JSF & ADF BC.

  • Unable to read checkbox tag value in workshop

    I'm trying to embed a repeater tag in a form, the JSP code is, the requirement is to get a list of records and display them to the user. The user then has to select a particular row of values and this is sent back to the database. I am able to display all the rows correctly from the database, but when I put the check box on my jsp, i am unable to get the proper value of the checkbox to determine which row has been selected so that I can post those values to the database.
    I am trying to use a check box within a repeater tag, but even though I have a boolean[] varible defined in my form bean I am unable to get the form bean value for each row.
    my jsp looks as follows
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <netui:html>
    <head>
    <title>
    Peripheral Data available in Arbor
    </title>
    </head>
    <body>
    <netui:image src="resources/images/verio_logo.gif"/>
    <netui:image src="resources/images/about_hd.jpg"/>
    <h2>Peripheral Data available in Arbor</h2>
    <netui:form action="updatePeripheralData">
    <netui-data:callPageFlow method="getPeripheralDataArrayList" resultId="peripheralDataList"/>
    <netui-data:repeater dataSource="{pageFlow.peripheralDataList}">
    <netui-data:repeaterHeader>
    <table border="1">
    <tr>
    <td><b>Select</b></td>
    <td><b>Arbor Description</b></td>
    <td><b>Arbor Id</b></td>
    <td><b>Universal Id</b></td>
    <td><b>Revenue Type</b></td>
    <td><b>Equipment Type</b></td>
    <td><b>Journal Code</b></td>
    <td><b>Tax Group</b></td>
    </tr>
    </netui-data:repeaterHeader>
    <netui-data:repeaterItem>
    <tr>
    <td>
    <netui:checkBox defaultValue="{container.item.dataSelected}" dataSource="{actionForm.dataSelected}"/>
    </td>
    <td>
    <netui:label value="{container.item.prod_description}" defaultValue=" "></netui:label>
    <netui:hidden dataInput="{container.item.prod_description}" dataSource="{actionForm.productDescription}"/>
    </td>
    <td>
    <netui:label value="{container.item.application_prod_id}" defaultValue=" "></netui:label>
    <netui:hidden dataInput="{container.item.application_prod_id}" dataSource="{actionForm.productId}"/>
    </td>
    <td>
    <netui:label value="{container.item.universal_prod_id}" defaultValue=" "></netui:label>
    <netui:hidden dataInput="{container.item.universal_prod_id}" dataSource="{actionForm.universalProductId}"/>
    </td>
    <td>
    <netui:label value="{container.item.revenue_type_code}" defaultValue=" "></netui:label>
    <netui:hidden dataInput="{container.item.revenue_type_code}" dataSource="{actionForm.revenueType}"/>
    </td>
    <td>
    <netui:label value="{container.item.equip_type_code}" defaultValue=" "></netui:label>
    <netui:hidden dataInput="{container.item.equip_type_code}" dataSource="{actionForm.equipmentType}"/>
    </td>
    <td>
    <netui:label value="{container.item.gl_code}" defaultValue=" "></netui:label>
    <netui:hidden dataInput="{container.item.gl_code}" dataSource="{actionForm.glCode}"/>
    </td>
    <td>
    <netui:label value="{container.item.tax_category_id}" defaultValue=" "></netui:label>
    <netui:hidden dataInput="{container.item.tax_category_id}" dataSource="{actionForm.taxCategory}"/>
    </td>
    </tr>
    </netui-data:repeaterItem>
    <netui-data:repeaterFooter></table></netui-data:repeaterFooter>
    </netui-data:repeater>
    <netui:button value="Add Peripheral Data" type="submit"/>
    </netui:form>
    </body>
    </netui:html>
    I am not sure why I am unable to pass my checkbox value to my boolean variable.
    Please help.
    Thanks
    Bobby.

    1. Add your list (getPeripheralDataArrayList) as a property of the FormBean.
    2. Set the repeater dataSource to the list in the FormBean.
    3. Set he CheckBox dataSource="{container.item.dataSelected}", as well as all other members in the lists object.
    4. In the controller iterate through the list to find the row selected when the form is submitted.
    Hope this helps...

Maybe you are looking for

  • BSOD while installing Windows 7

    Hi everyone , I got a different BSOD problem while installing Windows 7 from Recovery CDs i made . first i got HP Pavilion dv6-6155ee Entertainment Notebook The problem starts approximately from two weeks , Win 7 starts to stop while i am working so

  • How to set MTA to accept mails from hosts on INTERNAL_IP only?

    Hello, I would like to config a messaging server with: - this mail server will accept incoming mails from hosts on INTERNAL_IP list only without authentication. - this mail server will accept to send mail for clients with SASL and TLS only, which mea

  • Cannot print or make pdfs.

    Hi! For some while I have not been able to print (with any printer) or create pdfs. Shortly, whatever I could usually do after pressing command+P I can't do anymore, regardless of what program I'm doing it from. Once I click 'print' or 'create pdf' o

  • Creating a case-sensative partition

    Hello, I need to create a case-sensitive partition on my laptop so that I can check out source code using Subversion. One of my co-workers said that I should be able to use the Disk Utility to create a partition with Mac OS Extended (Journalled, Case

  • Setting up Airport Time Capsule for the first time

    Following directions, when open the Airport Utility, there is no continue button to proceed... Where is the continue button to move on to create a new wireless network?