Pass parameter to ADF application

Hi
My Englisg isn't very good.
I use jdeveloper 11.1.1.3.0
I want to pass some parameters from outer to my ADF application and access these parameters in application. I only have a jspx page.
How can I do it?
Habib

Hi
there are several solutions
1-If you want use these parameter in a view object ,You can define a method in application module that and pass that parameter to this method.
You can define this method in jspx managed bean.
2-You can define a view critera in your view object and call that view criteria in your page

Similar Messages

  • Passing values between adf application and web services

    hi i have a situation where i have jsff page which got username,surname,lastname,email i what to pass this value to my webservices how can i do that. this is how i create my webservicesright click viewControler->web services->web services Data Control
    i what to pass the value to webservices workflow i already have a screen in my workflow now i what to pass the adf application values to that webservices am in jdeveloper 11.1.1.6.0
    i try this
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.start_user_details}"
                                        type="action"/>
              </af:inputText>

    i make my webservices to pass values
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
                <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                        to="#{bindings.approveUser_username}"
                                        type="action"/>
              </af:inputText>
    but am geting error reference approveUser_username not found

  • Pass Parameter into ADF Creation Form

    I have an ADF Read Only Form on page 1, and and ADF Creation Form on page 2. I want three specific fields from page one to be passed into the appropriate fields on page 2. How would I go about accomplishing this?
    Thanks,
    Tim

    Hey Shay,
    I got one value to pass:
    I put a setAction Listener on the command button. My From was #{backing_confirmTest.outputText2.value}. And my To was #{processScope.Test}.
    When I tried to add another setAction listener to the same button it wouldn't let me. Can I not have another set of values like... #{backing_confirmTest.outputText3.value} and #{processScope.Test2}??
    Thanks,
    Tim

  • ADF Application Architecture

    Hi All,
    I am new to ADF and working with some vendor to transform our in-house Oracle Form Application to ADF Application and we have more than 300 Oracle Forms to translate.
    Basically after the login page, we will have a main menu, and then from the main menu, user can access to different modules (e.g. Customer Profile / Supplier Profile / Order Processing etc..). One of the critical point is that there will different shared variable pass from the main menu to each module and from each module back to the main menu.
    We have successfully translate a few Oracle Form to ADF JSF Application. However, before continue the project, we would like to confirm the application architecture.
    Checking on Oracle Website / different ADF forum, basically they will packaging all their ADF program in 2 different approach.
    Approach (1):
    i) Create a common workspace which put all the common EO, VO, AM, Task Flow Template, Page Template, Skin, etc and export as an ADF Library
    ii) Create different Bounded Task Flow Workspace with its corresponding Model and View Controller for different modules (e.g. Customer Profile / Supplier Profile / Order Processing etc..) and then export as an ADF Library
    iii) Create a master workspace with View Controller to contains an Unbounded Task Flow to tier all the different modules together as an EAR file.
    Approach (2)
    i) Create a common workspace which put all the common EO, VO, AM, Task Flow Template, Page Template, Skin, etc and export as an ADF Library
    ii) Create different workspace with its corresponding Model and View Controller for different modules (e.g. Main Menu / Customer Profile / Supplier Profile / Order Processing etc..) and then export as an EAR file
    From Approach (2), when I need to pass parameter from Main Menu to Customer Profile, since they are from different application, I can only pass it through URL or database. But it seems to be not a very approach. May I know is there other way to passing parameter between different ADF Application ?
    From Approach (1), it seems that the parameter can be passed using the bean since they are under one master workspace. However, from some of the forum said, if there is too many modules (my case is ~ 300 modules, there will be a problem on the CPU, RAM and JVM may not be able to start.
    May I know is it correct from my assumption ? Also may I know which approach should I use ? Thanks !!
    Best Regards,
    Eric

    Hi Timo,
    Thanks for your reply. Yes I have watch the ADF Architecture TV Episode too. But I still cannot figured out which approach I should using. From the video, it said that sum of the parts may risk from the start up of JVM when you have too many application. Pillar architecture can solve that problem however parameter may need to pass through different ADF application since they are compiled as different EAR file. But passing the parameter through URL / database package seems not an excellent idea.
    Moreover, since all those ~300 modules are different and may not related from each other, so it may not be a suitable case to put multiple forms into one ADF application in my case. Also our system have frequently change request from the user and those request are usually handled by different developer. So I guess it may be better to put it in different ADF application instead of putting in a single one.
    Any advice ?  Thanks !
    Eric

  • Dump after new Parameter in WD Application

    Hi,
    After adding a new parameter to a WebDynpro Application it dumps as the parameter is not sent with an initial value in case it is not provided in the URL.
    First I added the new parameter to the inbound plug handler (set to "Startup") parameters. After that I could add it using the F4 help in the parameter tab of the application.
    When executing in the test system everything works fine! But after transporting it to the q system, it dumps in a generated check method before the plug handler, as the passed parameter list (from application) does not contain an initial value for the new parameter (for which a check was generated correctly).
    My guess is that something goes wrong in the generation of the WD application. But as this happens again and again after new transports, I do not know how to tackle this...
    Does anyone know how this is caused and most important how I can repair it??
    Kind Regards
    Robert

    Hi,
    Found a solution myself:
    Setting the parameter to "optional" in the inbound plug handler did the trick.
    As all other parameters (like over 10) do not need that flag to work without a value from the URL, I do not think this is the master solution. But it nevertheless works!
    Kind Regards
    Robert

  • How to pass parameter from SSO login page to ADF application page?

    We have ADF-JSF application (running on AS 1013) that is being protected by OID running on AS 1012. SSO login page contains (among others) paramter ssousername and I wish to pass this to my ADF application. For the testing purpose I created ADF application entry point page that has something like this:
    <h:outputText value="#{param.ssousername}"/>and my sso login page has:
    <input type="text" size="30" maxlength="50" name="ssousername" value="<%=str_user%>">OID and ADF OC4j are running on two different servers, same network.
    So after successful login, when my page displays param passed is NULL?!
    Why?

    I solved it with the following....when my page loads, I execute test method:
        public void processLogin(String ssousername) {
             Object o  = JSFUtils.getUserFromSSOLogin();
             if (o!=null) System.out.println(o.toString());
        public static Object getUserFromSSOLogin(){
            FacesContext ctx = FacesContext.getCurrentInstance();
            return ctx.getExternalContext().getRemoteUser();
        }

  • Receive a parameter in the URL in adf application

    Hello,
    using the sendRedirect to direct control to another adf application, as:
    ((HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse()).sendRedirect("some url");assuming that I am pushing parameters to the url, how can I read them in called application !!
    to make the post clearer, assume that I have two adf applications A and B,
    A will redirect the user to B using the sendRedirect method,
    where shall I receive the request to get the parameters or attributes added to the URL !!!
    hopefully I have made the post clearer so that you can help !!
    appreciated, thanks in advance.
    rgrds,

    For passing parameters to another ADF application, we could use as a parameter as part of the request parameter of the URL as mentioned in
    http://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl
    For reading the parameters in the another application (assuming CurrentDepartmentName is the parameter) ,
    HttpServletRequest request =
    *(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();*
    String strvalue = request.getParameter("CurrentDepartmentName");
    Thanks,
    Navaneeth

  • How to pass environment variables to adf application?

    Hi,
    I Created form function with this settings to open my adf application:
    Type : SSWA plsql function
    Maint Mode = None
    Context : Resp
    Web HTML : test.jsp
    Web host: 192.168.1.30:8890
    This works fine. But how can I pass environment variables as parameters?
    I like to pass username and org_id.
    Thanks in advance

    KdeGraaf,
    Sounds real interestign what you are saying. But I don't know what you mean with:"the application server name appended till html folder($COMMON_TOP/html) "
    Basically if u make a SSWA jsp function with only jsp name say A.jsp.At runtime the url is automatically converted tohttp://<application server>:<port number>/OA_HTML/A.jsp
    By the way $COMMON_TOP/html folder is the location for all jsps' in EBS.
    Where can I find some information about making a OAF page wrapper? Because I have totaly now experience with OAF.
    Make a OAF page, say page A, in process request of page get all the context data say, responsibility, org etc, and set it in http session.Then redirect the flow to ur ADF application page. If ur new and have no knowledge how do we build a page in OAF, u can download OAF developers guide from metalink. Search old threads u would get get the metalink id.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to pass parameter to my jsp apge included in adf inlineframe

    Hi,
    I would like to know how could i pass parameter to my adf inileframe src.
    Because when i try to do this
    <af:inlineFrame id="if1" source="/frontBackOffice/Scanning.jsp?param0=#{....}&param1=#{....}" />
    I have a error
    ADF_FACES-30179:Pour plus d''informations, consultez le journal d''erreur du serveur à une entrée commençant par : l''élément UIViewRoot est NULL. Exception fatale lors de PhaseId : RESTORE_VIEW 1
    Could you help me please

    you map the source to a backingbean.. and in the bean you just manipulate the parameters..
    chk this link for an idea - search for af:inlineframe
    http://biemond.blogspot.com/2009/02/facebook-adf-task-flow.html
    <af:inlineFrame source="#{FaceBook.facebookLoginUrl}" 
                         inlineStyle="width:99%; height:99%;" 
                         shortDesc="Loginpage"/> 
    in the bean do this
    private String facebookLoginUrl;
    public String getFacebookLoginUrl() { 
          if (sessionID==null){ 
            try { 
                  client = new FacebookJaxbRestClient(APIKEY, SECRET); 
                  token = client.auth_createToken(); 
                  facebookLoginUrl= "http://api.new.facebook.com/login.php?api_key=" + APIKEY + "&v=1.0&auth_token=" + token; 
             } catch (FacebookException ex) { 
              ex.printStackTrace(); 
          return facebookLoginUrl; 
      }

  • Passing Parameter from URL to Web Forms - Oracle 10 Application Server

    Hi All -
    I want to pass parameter from a URL to 10g Oracle Web Forms - Oracle Application Server 10.1.2
    http://server1/forms/frmservlet?config=SATWEB_SSO&otherparams=username_sso=BABUS
    How to receive this 'username_sso' value inside my forms application ?
    Created a Parameter in the same name as URL parameter 'username_sso' in forms but didn't receive the value. I want to know how to receive the value of this parameter within forms from URL.
    Thanks - Suresh

    Try this,
    1. Create a parameter in the formsweb.cfg (say username_sso) under default section ( or you can create it in your own config section)
    2. Add the username_sso in otherparams parameter as username_sso=%username_sso%
    3. Add this username_sso parameter in your form.
    4. Run the form as
    http://<machine>:<port>.....?form=blahblah....&otherparams=username_sso=scott
    Regards,
    Arun

  • How to pass parameter value to third party application - silver light

    Hi Experts,
    I have requirement where i have to pass 3 parameter - namely Position key, Job , Job stag
    The application is third party application - build in Microsoft silver light
    Now from my application i have to pass 3 parameter to this application (URL)
    Can any one suggest me how can i proceed to do this
    Thanks in advance,
    Regards
    Farooq

    Hi
    Check this Link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d05953ea-2608-2d10-968a-b44e8315049c?QuickLink=index&overridelayout=true
    Thanks and Regards
    Suresh

  • Passing parameter from task flow to another ADF Taskflow

    Hallo everyone, I have a case :
    1. I have ADF Bounded Task Flow, it contains two main elements - page P1 and another ADF Task Flow call - C1
    2. Page P1 has an atribut employee number as command image link,
    this command will call C1 and passing empNum as parameter
    3. C1 containts two page fragment , Pf1 and Pf2. Default activity is Pf1
    4. Ineed to pass parameter empNumb  available in P1 into ADF Task Flow call C1..
    Is it possible when I click command image link, then it will call Pf2 in C1 ?
    Please help.
    Regards,
    samantha

    Hi Samantha,
    You mean to say, u want to skip the default activity Pf1 in C1?
    And for passing parameters use Add a parameter in your taskflow. (put the empnumber in pageflowscope and pass that as a parameter to the new taskflow C1).
    Thanks

  • How to start a Java ADF application from Forms 10g

    Hi,
    I have a Java ADF application deployed to the OAS.
    How can I start the application from Forms 10g?

    By using the web.show_document forms built-in procedure... passing the web address of your ADF app as parameter.....
    Greetings...
    Sim

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All,
    I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on the standalone weblogic server, then the pagelet isn't rendered.
    I am using fusion ADF application 11.1.1.7  and standalone weblogic server v 10.3.6.
    Thanks in advance for yours assistance. Please I need a solution for this uregently. DO let me know, if you need any additonal information.
    Regards,
    Nikhil Mahto

    Sorry for the wrong infromation. The correct scenario is:
    I have an ADF application, in which I have a Pagelet producer connection, pages and taskflows. This ADF application is inlcuded in a Webcenter Portal Framework application, as a shared library. When the WCF application is deployed on the Weblogic server, the pagelets don't appear on the pages.
    I tried the FRAMEBUSTING context parameter to never but it didn't help.
    Regards,
    Nikhil Mahto

  • How to get the file path in adf application

    hii all,
    i have a txt file that i am using in my adf application,
    i am passing this txt file through a File Reader, for which i have to mention the file path.
    The file is in web-content and when i am hard coding the complete file path i.e C:/JDeveloper/myApp/ViewController/public_html/log.txt
    the application is working fine when run on integrated weblogic server.
    My requirement is to access this file without giving the static file path, as in case i have to use this application on any other machine..
    for that how to mention the file path-
    i tried using FacesContext to get the context path :-
    FacesContext.getCurrentInstance().getExternalContext().getRequestContextPath();
    which gives me
    \myApp-ViewController-context-root
    after appending public_html\log.txt
    I am using the following path to access the file :-
    \myApp-ViewController-context-root\public_html\log.txt
    again i am getting the java.io.FileNotFoundException
    Does anyone know how to use file from inside the web-content without giving the complete path..???
    Thanks

    Hi,
    If you put your file under public_html folder, you can use this code to access the file:
    For example file is : log.txt
    FacesContext.getCurrentInstance().getExternalContext().getRealPath('/log.txt').toString().trim();
    Thanks.
    - LSR

Maybe you are looking for

  • No audio on finished DVD or disk image after upgrade to QuickTime 7.1.3

    I have iDVD 6.0.2. I routinely burn iMovie output to a DVD a couple of times a week. Yesterday I was getting ready to burn a DVD and got a software update alert for QuickTime. I installed 7.1.3. The DVD I burned after that update doesn't have audio.

  • HT1338 trying to install hp office jet 6600...no luck

    trying in install officejet 6600 wireless...noluck

  • I have an older tv

    I have connected my ipad to tv and can play netflix video but Hulu will not show.  what is the problem?

  • ASA SSL Authentication special caracters

    Hi, I have a ASA 5540 configured in WebVPN to authenticate users through an ACS server. The ACS server can use my Active Directory Users Database. a user with those credentials: login : testuser pass : céli20 can login through Remote Access VPN (cla

  • Connecting to multiple servers

    We have a stand alone java app that connects to our ear running in sun app server. What I'd like to do is connect to another instance of our app running on a different server (while connected to the original one). With weblogic this was easy (change