How to pass external regions programaticaly from controller ?

Hi Team,
I have a new page. in that page there are 2 stack layout regions.
How can we Dynamically open an external region from Controller in OAF page instead hardcording in the property inspector.
For example : my DB table datas are like this
SEQUENCE     WEB_HTML_CALL
1               /oracle/apps/wer/felta/external/webui/suplierExtPGRN
2               /oracle/apps/wer/felta/external/webui/requestorExtPGRN
If you required any details,please let me know.
thanks in advance.

Hi,
You can add that region to your page by hard coding but make that rendered false.
Then in your controller, depending on the requirement you can set that region visible by rendering it to true.
--Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • How to pass parameter /1BCDWB/DOCPARAMS from webdynpro?

    Hi Experts,
    We create a wdp view and indert an adobe form into it. And this form has an interface based on XML schema.
    Now we want to translate this form into multi-language, and in wdp side, we will display diffenent language version of form for different regions.
    I found that there is a paramater /1BCDWB/DOCPARAMS-LANGU, and it seems can control the language version in processing.
    But I donot know how to pass parameter /1BCDWB/DOCPARAMS from wdp to adobe form.
    Its my 1st to use adobe form and wdp, i really have no way out. Any advice will be Appreciated.
    Thank you.
    Richard

    @sahai: Hey no , I am using very very simple example without any query or complex statement. I just have 2 radio buttons in VIEW1. On clicking the radio button, the naviagtion to view2 is done and the value of selected radio button is passed as a parameter in the plug.
    In the view2 , i just have a caption in my layout where i am displaying the parameter value by setting the attribute.THe warning i get is in view2. Here is the code. Apart from this there is no coding in view2.
    METHOD HANDLEPLUG_IN_V2 .
        DATA:
          NODE_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_CAPT_MSG                       TYPE IF_VIEW2=>ELEMENT_CAPT_MSG ,
          ITEM_MSG                            LIKE STRU_CAPT_MSG-MSG.
    *   navigate from <CONTEXT> to <CAPT_MSG> via lead selection
        NODE_CAPT_MSG = WD_CONTEXT->GET_CHILD_NODE( NAME = `CAPT_MSG` ).
    *   get single attribute
        NODE_CAPT_MSG->SET_ATTRIBUTE(
          EXPORTING
            NAME =  `MSG`
            VALUE = PAR_1 ).
    ENDMETHOD.

  • How to passing value into Captivate from html?

    How to passing value into Captivate from html?
    Or
    How to communicate between objects in one slides?

    Hi czhao0378 and welcome to the forums!
    Captivate does not natively allow you to communicate your own
    data, either internally or externally. The only way to make this
    happen is to create your own functionality, either via custom-built
    Flash objects or JavaScript code executed in the browser or a
    combination of both.
    The only example I've seen of any "data passing" inside
    Captivate is a custom text input/output solution that was posted on
    the Captivate Developer Exchange:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=1253 021
    This solution consists of an input box that takes information
    from the user on one slide and a second box that displays that
    information on another slide. The functionality was built in Flash
    and is embedded in Captivate as a Flash "animation". Unfortunately,
    since this is a custom functionality, the information is not
    included in the user completion results Captivate can pass to a
    Learning Management System.
    Since the solution mentioned above relies on a Flash
    Actionscript variable to hold the information that is displayed,
    you can also pass the information from HTML to Captivate using the
    "SetVariable" command in JavaScript. This would at least allow you
    to display your own HTML-based data inside Captivate.
    Beyond that, I'm not aware of any other way to gather and
    pass data in Captivate.

  • How to pass PO customer fields from ECC to SUS ?

    Hi Gurus,
    We defined a customer PO field at ECC side and want to pass it to SUS and diaplay it in SUS PO, my question is, how to pass PO customer fields from ECC to SUS?
    Please advise.
    Thanks and best regards
    jack

    Hi jackytam  ,
    /people/yeusheng.teo/blog/2008/01/05/ordering-unit-vs-order-pricing-unit-in-srm-sus
    you make get some pointers
    regards,
    Neelima

  • How to pass work item id from  workitem to webdynpro form

    hi ,
    im working on  webdynpro. when the agent executes  the  workitem  it has to open one form designed with webdynpro screens. here i have to get the workitem id from workitem and basing on the workitem id , i will get other data , that i have to dispaly in the lay out of a view..
    how to pass this work item id to my view and how to display this...?
    Raghu

    Hi,
    Application parameters can be used for this accessed directly only in the Window. Follow these steps;
    1. get the application url using the following code,
    par_wrkitm is the application parameter ( which should also be declared in the HANDLEDEFAULT method of the window as importing parameter and aslo appended in the URL )
    g_wrkitm is a Component Controller attribute
    Data: my_url TYPE string.
    *Get the URL of the Application
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
        application_name = 'ZWDRC_NEW_APP'
    IMPORTING
       out_absolute_url = my_url.
    2. Now pass the required parameter ( i.e in this case Workitem id ) to this URL
    3. In your webdybpro applicatio, Goto Application parameters and create a parameter for workitem id with the same name as used in the URL.
    4. In the HANDLEDEFAULT method of the window, create Importing parameters with same names as that of your application parameter.
    5. Now this variable will contain your workitem id.
    If you want to acess the variable in your views;
    2. create a attribute in the Component Controller( Component Controller->Attributes Tab; mark it as public )
    3. Now in the HANDLEDEFAULT method of the window, assign your application parameter values to the component controller attributes directly as shown below,
    wd_comp_controller->g_wrkitm = par_wrkitm
    Regards,
    Radhika

  • How to pass a HTTP request from a simple java class

    Is it possible to pass an HTTP request from a simple java class.if yes how?

    Is it possible to pass an HTTP request from a simple
    java class.if yes how?If you're talking about creating a HttpRequest object and passing it to a servlet, that would be a red flag to me that your design is flawed. You shouldn't have to do that - the application server (Tomcat, Weblogic, etc) should be the only thing that has to worry about creating that kind of object and passing it to you.

  • How to pass the selected Pernr from Portal to WDA iview dynamically ?

    Hi ,
    How we can pass the selected Pernr from portal page to the webdynpro application dynamically?
    Ex:
    If a manager select a employee id of an employee then it should display all the related document regarding the employee in the ivew.
    For that we need to pass the employee id(Pernr) to the iview.How it is possible.
    Thanks,
    Deepika

    Hi Deepika,
    Try using portal events. You will have to register and handle the required portal event in your WDA application.
    [Portal Events Help|http://help.sap.com/saphelp_nw70/helpdata/EN/03/0048413e466e24e10000000a155106/frameset.htm]
    In this link, navigate to Integration->portal integration->Portal Events.
    Also go through some sample applications:
    WDR_TEST_PORTAL_EVENT
    Regards,
    Reema.

  • How to pass arraylist of object from action class to jsp and display in jsp

    I need to do the following using struts
    I have input jsp, action class and action form associated to that. In the action class I will generate the sql based on the input from jsp page/action form, create a result set. The result set is stored as java objects in a ArrayList object.
    Now I need to pass the arraylist object to another jsp to display. Can I put the ArrayList object in the request object and pass to the success page defined for the action? If this approach is not apprpriate, please let me know correct approach.
    if this method is okay, how can I access the objects from arraylist in jsp and display their property in jsp. This java object is a java bean ( getter and setter methods on it).
    ( need jsp code)
    Can I do like this:
    <% ArrayList objList = (ArrayList)request.getattribute("lookupdata"): %> in jsp
    (***I have done request.setattribute("lookupdata", arraylistobj); in action class. ***)
    Assuming the java object has two properties, can I do the following
    <% for (iint i=0. i<objList.size;I++){ %>
    <td> what should i do here to get the first property of the object </td>
    <td> what should i do here to get the first property of the object </td>
    <% }
    %>
    if this approach is not proper, how can I pass the list of objects and parse in jsp?
    I am not sure what will be the name of the object. I can find out how many are there but i am not sure I can find out the name
    thanks a lot

    Double post:
    http://forum.java.sun.com/thread.jspa?threadID=5233144&tstart=0

  • How to Pass Multiple Value Range From Query ?

    Hi,
    I have searched over SDN to find about how do we pass multiple value ranges from Query to SAP ODATA?
    But I have not found suitable answers so I am posting it here.
    If we need to pass a date parameter in Query which has a multiple range like  sales orders created date between 03/02/2014 to 05/07/2014.
    How do we phrase it in Query ?
    I tried as below but the IT_FILTER_SELECT_OPTIONS of /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET does not get filled up with the parameters
    How do we pass multiple values in Query?
    http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and B_st_dt gt datetime'2015-02-01T00:00:00' and B_st_dt lt datetime'2015-02-28T00:00:00'
    Thanks in Advance.
    KC.

    Hi,
    I Have Found solution to the Query posted above.
    Please find the URL's below for more clarifications.
    Revert for any suggestions please.
    http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and ( B_st_dt ge (datetime'2015-02-01T00:00:00') or  B_st_dt le (datetime'2015-02-27T00:00:00'))
    http://ctnhsapapp16.corp.ken.com:8000/sap/opu/odata/sap/ZCHAKRABK_MAINT_ORDERS_SRV/Maint_Orders?$filter=Maint_Plant eq 'US19' and ( B_st_dt ge (datetime'2015-02-01T00:00:00') and  B_st_dt le (datetime'2015-02-27T00:00:00'))
    Thanks KC.

  • How to pass arguments to script from plugin

    Hello there....
    I want to run a script from my plugin. To do this, I want to pass some arguments to the script. How can I do this? I also want to know how those arguments can be read in script?
    Thanks in advance..

    Here is a simple example of how to run some script code from a plug-in.
    InterfacePtr scriptManager(Utils()->QueryScriptManager(kJavaScriptMgrBoss));              
    if (!scriptManager)
         return;
    InterfacePtr scriptEngine(scriptManager->QueryDefaultEngine());
    if (!scriptEngine)
         return;
    InterfacePtr scriptRunner(scriptEngine, UseDefaultIID());
    if (!scriptRunner)
         return;
    RunScriptParams params(scriptRunner);
    scriptRunner->RunScript("alert('hello from planet script!');", params);
    Replace "alert(...);" with your own script.

  • How do I remove files from my Time Machine Backup and then how to exclude external hard drives from Time Machine?

    How can I remove external hard drives from the Time Machine and exclude them in the future?

    For deleting backups from Time Machine: http://pondini.org/TM/12.html
    For excluding things from backups: http://pondini.org/TM/10.html
    For general Time Machine advice (all courtesy of Pondini): http://pondini.org/OSX/Home.html

  • How to pass MS CRM credentials from a config file to connect CRM from SSIS?

    Hi All,
    Can anyone please help me with the below requirement?
    I need to connect to Microsoft CRM from SSIS which is handled by a CRM proxy. However, configured the credentials in the code (hardcoded in script component) with respective MS CRM details. 
    Question: How can I pass my CRM credentials from a config file to my script component in SSIS to connect CRM?
    Thanks & Regards,
    Sri

    I used variables to pass the user and password details to my
    crm Script Component Destination and those variables can be filled by a regular config file or table.
    public override void PreExecute()
    base.PreExecute();
    // Fill .NET variables with values from project/package parameters/variables
    CrmUrl = this.Variables.CrmWebservice.ToString();
    CrmDomainName = this.Variables.CrmDomain.ToString();
    CrmUserName = this.Variables.CrmUser.ToString();
    CrmPassWord = this.Variables.CrmPassword.ToString();
    // Connect to webservice with credentials
    ClientCredentials credentials = new ClientCredentials();
    credentials.UserName.UserName = string.Format("{0}\\{1}", CrmDomainName, CrmUserName);
    credentials.UserName.Password = CrmPassWord;
    organizationservice = new OrganizationServiceProxy(new Uri(CrmUrl), null, credentials, null);
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • How can I define regions code from Venezuela and Ecuador ?

    Hello,
    I need to define regions code from Venezuela and Ecuador, but I don´t know how do I get this.
    Can I use letters (like Brazil: SP from São Paulo) ou numbers (like Argentina: 01 - Buenos Aires) ?
    Thanks a lot!
    Juliana

    ... but i would it to be executed from remote location.Sounds like you want to use RMI (Remote Method Invocation).
    Allows you to have a remote machine execute code.
    Start here:
    http://developer.java.sun.com/developer/onlineTraining/rmi/index.html

  • How to pass serial number read from a PCB.

    Hi,
    I have a question:
    How do I pass serial number read from a PCB so it will be embedded in Test Report file name for that test sequence. I am running Sequence in “New Execution" - Single Pass.
    My test report file after I run test does not have serial number: “TEST_Rev6_Report[NO_UUT_SERIAL_NUM0][2 32 24 PM][4 26 2013].xml” but my Report Header has serial number present.
    Thank you,
    Henry

    The attached screenshot shows how to set your report options, make sure you have the <TestSocket> and <UUTStatus> macros included in the Report File Path otherwise the serial will not be filled in the filename (Generate path is called a second time from the Single Pass -- Test Socket Entry Point sequence).
    I used the ParallelModel.seq to test it.
    The attached sequence file shows how to set the serial number.
    Search for "Specifying Report File Paths by Expression" in the help for more macros.
    Attachments:
    Sequence File 2.seq ‏5 KB
    Screenshot.png ‏57 KB

  • How to pass the NEW row from a trigger to a procedure

    I want to pass all NEW values from a trigger to a procedure.
    I wish to use a %ROWTYPE or similar,
    and I want neither to assigne them nor pass them one by one.
    Any suggestion?
    Thanks in advance

    hi vittorio
    i have a solution but im very sure it is not exact answer to your question . it will definitely help you .
    create table temp_type as select * from emp where 1 = 2;
    create or replace procedure emp_ins(emp_row emp%rowtype) as
    pragma autonomous_transaction;
    begin
    insert into temp_type(empno,ename) values(emp_row.empno,emp_row.ename);
    commit;
    end;
    create or replace trigger emp_ins_trig before insert on emp for each row
    declare
    /*  empr emp_types.emprowtype%type;*/
    empr emp%rowtype;
    begin
      empr.empno := :new.empno;
      empr.ename := :new.ename;
    emp_ins(empr);
    end;
    /unfortunately , in oracle we dont have a facility to access the members of a record or recordset by their position
    Such facility is very much there in Visual Basic , similar programming tools.
    we can access the members of a recordset by the index position ( here index means the position of the field)

Maybe you are looking for

  • No more Facebook contacts after update

    Hi, As I was experiencing Facebook connection issues the last week, I updated Skype to the 7.5.64.101 version. After I'm asked to sign in on Facebook on Skype Start I get this message: Facebook friends on Skype To chat with friends on Facebook, simpl

  • Re: Missing G/L Account in Sales Order

    Hi all, I have a BOM material configured and now I am creating a Sales Order with the BOM Material in order to trigger the Production of the goods. I have looked in most of the forums and checked that VKOA assignment is there. Even in the Acct Assign

  • How do I set up the iPhone to become a modem for Wifi to my computer?

    When I take my notebook to areas without Wifi, how do I set up my iPhone to be the modem that will let me get online on my notebook using the iPhone and bluetooth to make the connection. Do I need a modem script to make the connection work? What are

  • Newbee question!

    hi , supposing i use the following code.. <jsp:useBean id="requestInfo" scope="request" class="RequestBean" >   <jsp:setProperty name="requestInfo" property="*" /> </jsp:useBean>in the above case do all set methods in requestinfo object get called? s

  • Unable to install service

    I tried to install the service though sapstrartsrv.exe on but I am getting an error " cannot install service 421, acount name is invalid or does not exist,or password is invalid for the account name specified" I used the <sid>adm user & password. use