Problems passing value to an APEX application URL

Greetings,
My environment is:
Apex 4.0.1
Oracle 11g
Apex Listener (Weblogic 10g)
I am trying to pass a value to an Apex application from outside of Apex. Here is the URL I am using:
http://<servername>:<portno>/apex/f?p=138:2:0::::F138_ID:abcde
What happens when I enter this URL is the Login page is presented and I can successfully log in. I am directed to page 2 but the value of F138_ID is empty. I have tried it with an application item and a page item but still no value is passed. I have tried creating the page item where the value is populated from the application item. I have tried setting the value in a PL/SQL process. (:P2_ID := :P138_ID;) again no luck.
Should this work? And if so, does anyone have any idea why it isn’t?
Thanks for your help,
Larry

Thanks Sarvan,
Unforunatly that did not work. I have been working with it some more and noticed that if the page I am trying to access has an Authentication of 'Page is Public' the passing of the value works as expected. It is only when Authentication is set to 'Page Requires Authentication' (i.e. the user needs to provide a userid and password) that it fails. Do you have any idea how to get around this?
Thanks
Larry

Similar Messages

  • Problem with logging in to apex application builder listener

    I have problem with my settings and am posting this in hope that someone else out there had similar problem and solved it!
    I am trying to use reverseproxy to access to our db through apex listener.
    It's been all set-up and I can login to the application it self either through proxy or no proxy using the listener.
    But when I try to login to apex application builder I cannot do it through proxy(with no proxy, it works).
    It just refreshes the login page when I click login....
    I tried to upgrade the listener to the latest v1.1(using 1.0.2) but it causes my tomcat to crash...
    So solution i am looking for is how to make logging in work through proxy..
    In the firebug it is showing that below and few other request status as 302 moved temporariry
    http://myserver:8080/testsin/apex/wwv_flow.accept
    Where as with no proxy it is saying Found.....
    Any thoughts??
    Thanks
    Sin K

    Hello Sin K,
    so proxy and Tomcat are located on different machines as well? Is the proxy able to commuicate with the Tomcat on the configured internal ports and is the proxy able to lookup the hostname you configured for the Tomcat?
    For the connector, the proxyName and proxyPort should be the parameters the client uses to call APEX. So if your clients should call via http://proxyserver:8080/testsin/apex the settings would be
    proxyName=proxyserver
    proxyPort=8080Reason for this is that applications (e.g. the APEX Listener) generate there URL references with these parameters.
    But does your proxy actually serve on port 8080? And is that port accessible by clients? Do clients accept cookies from that server?
    In my case, there is only one 302 which redirects to http://host:port/apex/f?p=4500:1000:sessionid which is correct.
    If you look into your first post request in firebug, what's in the request header?
    -Udo

  • Pass value from webdynpro abap application to bsp application

    Hello,
    I want call api bsp javascript from WDA exchanging values between the two applications.
    I have a solution but it is with portal integration.
    I would like a procedure without using the portal.
    Webdynpro and BSP only.
    How can I do this ?
    Thanks for your help.

    Hi,
    Refer these threads-
    Re: Passing Object ref to Webdynpro Application while calling from BSP screen
    Both BSP and WDA has an URL associated with it.
    In the WDA, create an LinkToUrl UI element upon which triggers the BSP application and pass the parameters to this BSP application. Check for this BSP application has also parameters in it.
    Refer this link Re: Read SICF URL
    Regards,
    Lekha.

  • JSF2 : Problem passing values with f:setPropertyActionListener

    Hi,
    I'm a JSF newbie, and I'm in front of a weird problem on a JSF2 / Glassfish3 project. I'm working on GlassFish Server Open Source Edition 3.1 (build 43) with Mojarra 2.1.0 (FCS 2.1.0-b11).
    I'm using a commandLink to pass values from a page to a backing bean. This example works (here is only the relevant code) :
    user.xhtml :
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:c="http://java.sun.com/jsp/jstl/core"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="sublayout.xhtml">
      <ui:define name="maincontent">
        <p><a name="projects"><h:outputText value="Projects" /></a></p>
        <p><h:outputText value="#{userController.user.login} has initiated the following projects:" /></p>
        <h:dataTable value="#{userController.getProjects()}" var="p">
          <h:column>
            <h:form>
              <h:outputText value="#{p.id}: " />
              <h:commandLink action="#{projectController.doGetProject()}">
                <h:outputText value="#{p.title}" />
                <f:setPropertyActionListener value="#{p.id}" target="#{projectController.projectId}" />
              </h:commandLink>
            </h:form>
          </h:column>
        </h:dataTable>
      </ui:define>
    </ui:composition>
    </html>userController.java:
    // package, imports...
    @ManagedBean(name = "userController")
    @RequestScoped
    public class UserController {
      @EJB
      private UserServiceEJBLocal userServiceEJB;
      private FacesContext ctx = FacesContext.getCurrentInstance();
      private User user = new User();
      private long userId;
      private String password;
      private String passwordConfirmation;
      public String doGetUser() {
        try {
          user = userServiceEJB.findById(userId);
        } catch (ObjectNotFoundException e) {
          ctx.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "User not found" + userId, "User not found : " + e.getMessage()));
          return null;
          return "user.faces";
      public ArrayDataModel<Project> getProjects() {
        return new ArrayDataModel<Project>(user.getProjects().toArray(new Project[user.getProjects().size()]));
      // Getters and setters
    }projectController.java:
    // package, imports...
    @ManagedBean(name = "projectController")
    @RequestScoped
    public class ProjectController {
      @EJB
      private ProjectServiceEJBLocal projectServiceEJB;
      FacesContext ctx = FacesContext.getCurrentInstance();
      private Project project = new Project();
      private long projectId;
      public String doGetProject() {
        try {
          project = projectServiceEJB.findById(projectId);
        } catch (ObjectNotFoundException e) {
          ctx.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_ERROR, "Project " + projectId + " was not found", e.getMessage()));
          return null;
        return "project.faces";
      // Getters and setters
    }The proble occurs on the XHTML page below :
    project.xhtml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:ui="http://java.sun.com/jsf/facelets">
    <ui:composition template="sublayout.xhtml">
      <ui:define name="maincontent">
        <h:form>
          <h:commandLink action="#{userController.doGetUser()}">
            <h:outputText value="#{projectController.project.author.login}" />
            <f:setPropertyActionListener value="#{projectController.project.author.id}" target="#{userController.userId}" />
          </h:commandLink>
        </h:form>
      </ui:define>
    </ui:composition>
    </html>The commandLink syntax seems to be the same as the one provided above, but when I test this for, I get an IllegalArgumentException from Glassfish. Here it is, from the Glassfish server.log :
    [#|2011-08-22T11:15:11.462+0200|WARNING|glassfish3.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=95;_ThreadName=Thread-1;|/project.xhtml @32,42 target="#{userController.userId}": Can't set property 'userId' on class 'org.creagora.server.ejb.managed.UserController' to value 'null'.
    javax.el.ELException: /project.xhtml @32,42 target="#{userController.userId}": Can't set property 'userId' on class 'org.creagora.server.ejb.managed.UserController' to value 'null'.
         at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:139)
         at com.sun.faces.facelets.tag.jsf.core.SetPropertyActionListenerHandler$SetPropertyListener.processAction(SetPropertyActionListenerHandler.java:206)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:769)
         at javax.faces.component.UICommand.broadcast(UICommand.java:300)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:409)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1534)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:326)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:227)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:170)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.IllegalArgumentException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at javax.el.BeanELResolver.setValue(BeanELResolver.java:381)
         at com.sun.faces.el.DemuxCompositeELResolver._setValue(DemuxCompositeELResolver.java:255)
         at com.sun.faces.el.DemuxCompositeELResolver.setValue(DemuxCompositeELResolver.java:281)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:197)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:286)
         at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:131)
         ... 35 more
    |#]So I wonder : what makes the first example work, that fails in this one ? Where does this 'null' value come from ? I tested every value (project, author, author id), everything is correct. But for some reason, the projectController.project.author.id is not passed to the userController.userId.
    If I try to replace
    <f:setPropertyActionListener value="#{projectController.project.author.id}" target="#{userController.userId}" />by this (obviously incoherent but syntically correct)
    <f:setPropertyActionListener value="#{projectController.project.id}" target="#{userController.userId}" />I don't get the IllegalArgumentException anymore, but the value is still not passed, and the value of userController.userId is never updated, and remains set to 0.
    But if I hardcode a valid value :
    <f:setPropertyActionListener value="1" target="#{userController.userId}" />It works...
    I can't understand why a 'null' value appears from who knows why, given that the only value passed are of long type.
    Can you help me ? It's getting frustrating, and I didn't find any help on Google so far...
    Thanks!
    Xavier
    Edited by: 880733 on 22 août 2011 04:04

    Ok, I have a little more time now.
    You ask how the value can be null when the property is a long. What is happening is that something in the chain is null, e.g. the author is not set on the project. (Although usually you get an exception with that kind of thing.) The EL resolver is actually not really part of JSF, it is a separate library. Furthermore it is weakly typed so it doesn't know what type of thing projectController.project.author.id is until it evaluates it. If something is null along the way, there is no way for it to know whether the end result should have been a long, a Long, a String or anything else.
    You asked how to pass values without setPropertyActionListener. It is certainly possible. In fact, I would not be surprised if my entire application did not use setPropertyActionListener. Let's start with the first case. In that situation you were using a dataTable. The customary thing to do is to bind the dataTable to a UIData property in a managed bean. Then, in your action method, you can invoke UIData.getRowData() and get the object instance associated with the row in the table that was activated by the user.
    In your second example it is a little difficult to appreciate everything going on without more context but I'll just guess at what I don't know. I'm going to assume you have a simple page here. On the request that generates this page, projectController.project.author.id is known. I imagine the problem is that this is in request scope, causing projectController.project.author.id to be forgotten on the next request. The simplest solution is to store the project somewhere in session scope. I would recommend against putting the Controller classes themselves in the session scope.  Instead create a set of beans for session scope and inject them into the Controller classes.
    There are many other ways to skin the same cat. Many people object to over-using session scope. So you could store something small like just the id in the session. Or you could pass the id using h:inputHidden. Or you could use Tomahawk's s:saveState.
    HTH

  • How to Pass values between one webdynpro application to another

    Hi ,
        I know How to Pass Values Between the Application by URL But For My Requirement NO need The Pass in URL Rather Than That Please any one TEll me How to GEt VAlues BEtween the application......
    Thanks
    ANANTH.

    If you dont want to pass values through URL, then you must have to use component Usage with interface node.
    Or you can try like this,
    by appending field value to url,
    Data w_url type string,
    w_value type string.
    get the url of calling aplication
    call method cl_Wd_utilities->construct_wd_url
    exporting application name = name of second application( to which u want to pass parameter )
    importing out_absolute_url = w_url.
    ***Make the value type compatible that has to passed with url.
    w_string = lv_pernr
    ***Now attach the parameter and its value with url that have to passed to 2nd application
    call method cl_http_Server=>append_field_url
    exporting name = 'pernr'
    value = ' w_value'
    changing url = w_url.
    then popup window for 2nd application with above url
    lo_window = lo_window_manager->create_external_application ( url = w_url ).
    lo_window -> open( ).
    ***now in wddoinit of 2nd application
    data lv_param type string
    lv_param = wdr_task=>client_window->get_parameter( ' pernr ').
    Now you can use lv_param in 2nd application.
    Regards
    srinivas

  • Flash contents not being displayed on the published Apex application URL

    I've had to publish one of my apex application through an bluecoat proxy to reach my Oracle HTTP server. It works fantastic for everything - except my flash charts. Flash contents are not getting loaded.Issue is only in the published application URL,the same application is working fine internally without proxy.
    Does anyone have any idea why this is failing and how I might fix this?.The bluecoat support enginner is having the following findings
    I am seeing some strange behavior when the browser goes through the
    proxy vs when it does not.
    When the browser uses the proxy the last thing it requests is the
    following(packet 354):
    GET /i/themes/theme_20/btn-bg.gif HTTP/1.1 Via: 1.1 GITS6ISA Cookie:
    WWV_CUSTOM-F_941005998277888_193=7DE31ABFD8D9E680 User-Agent:
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19)
    Gecko/2010031422 Firefox/3.0.19 GTB7.1 (.NET CLR 3.5.30729) Host:
    ithelpdesk.anupcomp.ae Accept: image/png,image/*;q=0.8,*/*;q=0.5
    Accept-Language: en-us,en;q=0.5 Accept-Charset:
    ISO-8859-1,utf-8;q=0.7,*;q=0.7 Referer:
    http://ithelpdesk.anupcomp.ae/i/themes/theme_20/theme_3_1.css
    X-Forwarded-For: 86.98.85.117 Cache-Control: max-stale=0 Connection:
    Keep-Alive X-BlueCoat-Via: E2DE37912594ECAA
    HTTP/1.1 200 OK ETag: "1a887e1-92-4c2c5105" Content-Type: image/gif
    Last-Modified: Thu, 01 Jul 2010 08:25:41 GMT Server:
    Oracle-Application-Server-10g/10.1.2.0.2 Oracle-HTTP-Server
    OracleAS-Web-Cache-10g/10.1.2.0.2
    (G;max-age=3600+360;age=0;ecid=121853469393,0) Date: Tue, 25 Jan 2011
    07:52:55 GMT Accept-Ranges: bytes Content-Length: 146 Connection:
    Keep-Alive Age: 0
    That is the browser requests
    http://ithelpdesk.anupcomp.ae/i/themes/theme_20/btn-bg.gif and gets a
    200 ok from the proxy/server.
    When the browser does not use the proxy I see the following
    behavior(packet 2783):
    The browser requests
    http://anupserver:7777/i/themes/theme_20/btn-bg.gif 2 times, each time
    the server responds with a 304 not modified status, this means the
    browser has the most recent copy of the .gif file. The browser finally
    does a post to http://anupserver:7777/pls/apex/wwv_flow.accept. Given
    that the browser gets a 200 ok response from the proxy when requesting
    http://ithelpdesk.anupcomp.ae/i/themes/theme_20/btn-bg.gif and then
    stops requesting data, we need to understand why the browser is behaving
    differently without the proxy(i.e. why does it request the content 2
    times and why is it doing the post). The interaction between the
    browser and the proxy appears normal, a 200 ok response with content is
    normal, why does the browser stop requesting content?
    GET /i/themes/theme_20/btn-bg.gif HTTP/1.1 Accept: */* Referer:
    http://anupserver:7777/pls/apex/f?p=193:1 Accept-Language:
    en-us,ar-ae;q=0.5 Accept-Encoding: gzip, deflate If-Modified-Since: Thu,
    01 Jul 2010 08:25:41 GMT If-None-Match: "1a887e1-92-4c2c5105"
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
    CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
    .NET CLR 3.5.30729) Host: anupserver:7777 Connection: Keep-Alive
    HTTP/1.1 304 Not Modified Date: Sun, 13 Feb 2011 12:42:01 GMT Server:
    OracleAS-Web-Cache-10g/10.1.2.0.2 Content-Type: text/html Connection:
    Keep-Alive Keep-Alive: timeout=5, max=999 Content-Length: 0
    GET /i/themes/theme_20/btn-bg.gif HTTP/1.1 Accept: */* Referer:
    http://anupserver:7777/pls/apex/f?p=193:1 Accept-Language:
    en-us,ar-ae;q=0.5 Accept-Encoding: gzip, deflate If-Modified-Since: Thu,
    01 Jul 2010 08:25:41 GMT If-None-Match: "1a887e1-92-4c2c5105"
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
    CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
    .NET CLR 3.5.30729) Host: anupserver:7777 Connection: Keep-Alive
    HTTP/1.1 304 Not Modified Date: Sun, 13 Feb 2011 12:42:02 GMT Server:
    OracleAS-Web-Cache-10g/10.1.2.0.2 Content-Type: text/html Connection:
    Keep-Alive Keep-Alive: timeout=5, max=999 Content-Length: 0
    POST /pls/apex/wwv_flow.accept HTTP/1.1 Accept: image/gif,
    image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash,
    application/vnd.ms-excel, application/vnd.ms-powerpoint,
    application/msword, application/x-ms-application, application/x-ms-xbap,
    application/vnd.ms-xpsdocument, application/xaml+xml, */* Referer:
    http://anupserver:7777/pls/apex/f?p=193:1 Accept-Language:
    en-us,ar-ae;q=0.5 Content-Type: application/x-www-form-urlencoded
    Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE
    6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1; .NET CLR
    2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) Host:
    anupserver:7777 Content-Length: 262 Connection: Keep-Alive
    Cache-Control: no-cache

    Hello Orton,
    I think this has something to do with network access, may be a firewall restricting access to the server.
    Thanks,
    Machaan

  • Passing values w/special characters in URL into an interactive report

    Hello,
    I have a problem and Ive been all over these forums and reading/trying everything I can to get something to work. I have a page that has a field called Name Search. The field is a TextField with autocomplete type. If I select a company name that contains special characters, like 'Blue Shield of California Life *&* Health Insurance Company', when I click go button (using a branch), it is supposed to pass this value into the URL to populate IR_COMPANY_NAME on the interactive report page to create the report filter. However, when it goes to the IR page, it actually filters on 'Blue Shield of California Life *& amp;* Health Insurance Company' with 'amp;' instead of & and doesnt find any matches. In the page source it is actually 'value="Blue Shield of California Life *& amp; amp ;* Health Insurance Company." Here is the URL that it produces:
    http://webtest2:7775/apex/f?p=102:IRCompanyList:995769774353901::NO:5,RIR:IR_COMPANY_NAME,P5_COMPANY_NAME:Blue%20Shield%20of%20California%20Life%20%26amp%3B%20Health%20Insurance%20Company,Blue%20Shield%20of%20California%20Life%20%26amp%3B%20Health%20Insurance%20Company
    The interesting thing is that I have another page that has a clasic report that lists all compnaies by name and the company_name is a link that passes the company name into the exact same IR and it works fine. In the page source it is value="Blue Shield of California Life *&amp;* Health Insurance Company" Here is the URL that this page produces:
    http://webtest2:7775/apex/f?p=102:5:995769774353901::NO:4,RIR:IR_COMPANY_NAME,P5_COMPANY_NAME:Blue%20Shield%20of%20California%20Life%20%26%20Health%20Insurance%20Company,Blue%20Shield%20of%20California%20Life%20%26%20Health%20Insurance%20Company
    I have modified every field involved changing between encoding, no encoding, changing display types (Standard Report Column, Remove HTML and escape special characters, etc). I have also attempted to encode the value myself prior to sending it to the next page. I have tried variations of the htf.escape_sc etc. I have also tried adding \&P2_COMPANY_NAME.\. I have also tried adding pl/sql to create a collection to store the values and then pl/sql to fill the values on the report page. It gives me the success message I setup, but it never actually fills the value.
    I am also having problems with another field that has a comma in it. I will wait to address that one to see if I can fix this first with hopes that it can be resolved by whatever I do to fix this issue.
    Any suggestions? I appreciate any feedback!
    Jen
    Edited by: J-Lig on Jul 13, 2012 10:20 AM
    Edited by: J-Lig on Jul 13, 2012 10:21 AM

    Thank you for your feedback!
    Yes, I forgot to mention that. It does come from a table, but company_name is not unique in that table. Meaning, it wouldnt know which ID to pass. Perhaps I should seperate the name out into another table and then I could pass the id. I was just hoping to get this to work programatically since the links from classic reports actually work correctly. I am starting to think this is a bug. This issue appears to have been addressed to make the links from reports pass the & correctly, but not in the branching?
    I have attempted to replace and then re-replace but I couldnt get it to work with IR_ fields as the filter fields are generated by the Interactive Report region. Do you have any insight working with those? Are there any tricks to it that I might be missing?

  • APEX Application URL doesnt recognize parameters (Doesnt work consistently)

    Hello,
    I have developed an application which I have published in company's intranet website. There are several links published for same application with different parameters. We are facing issues in publishing parameterized URLs as application is not recongizing the parameter values passed (in internet explorer it doesnt recognize at all, but in mozilla, once redirected if we again select address bar and press Enter it does recongize the parameter without changing URL).
    E.g. I have hyperlink in intranet with
    http://msi-pa-637.marvell.com:7777/pls/htmldb/f?p=111:101:0::NO::P101_PROJECT_INSTANCE:PRJ3
    After clicking on the link it does open application, but report with complete data. now in Mozilla if I select address bar and press enter, it refreshes and does retrieve report with desired parameter. Do you have any clue why it doesnt do in first place? (in internet explorer, this work around doesnt help until you manually change the parameter from PRJ3 to PRJ2 and press enter).
    Please help.
    Thanks,
    Prashant
    4084311331

    Thanks Vikas for helping me to figure out myself.
    The debug feature really helped!
    My application was having computation on same item that was getting defaulted on new instance. I made that computation conditional and now it works!
    Thanks a lot!

  • Problem passing values to cfc component

    I have a cfc component with methods to insert, retrieve and
    update a record in a table. There are several forms associated with
    the component, each which handles a subset of the fields in the
    table. The update method is called with arguments that identify
    which subset of fields is to be modified and the values for those
    fields.
    The forms typically have a couple of radio button groups and
    a couple of lists, most of which allow multiple selections. I want
    to create a variable for each radio button group and each list. The
    variables give the button selected (for the buttons) and a string
    of the values selected (for the lists). These are to be passed as
    arguments to the update method.
    I can construct the variables using standard Java script
    statements (if, for,etc.). But if I do, CFINVOKEARGUMENT doesn't
    recognize them. The same thing happens if I try to use CFQUERY
    directly. I get a message like "variable is undefined". If I try to
    set the values using CFSET statements, it doesn't recognize the
    form fields. It says the field is not an element of the form.
    So I can look at the form fields to create a variable but
    then the variable can't be used by the update method. Or I can
    create an argument that can be passed to update, but it doesn't
    know anything about the form values. I've tried all variations I
    can think of with and without #'s and single & double quotation
    marks.
    Suggestions would be appreciated.

    See in line comments.
    waz69 wrote:
    > Sorry for the delayed response...I was pulled away right
    after I posted my
    > problem. Here are extracts from the code. I've only
    included the sections
    > that deal with updating the table.
    >
    > In the CFC file:
    >
    > <cffunction access="public" name="SaveFormValues"
    output="false"
    > returntype="boolean">
    > <cfargument name="Screen" type="string"
    required="yes">
    > <cfargument name="Arg1" type="string"
    required="yes">
    > <cfargument name="Arg2" type="string"
    required="yes">
    > <cfargument name="Arg3" type="string"
    required="yes">
    > <cfargument name="Arg4" type="string"
    required="no">
    > <cfargument name="Arg5" type="string"
    required="no">
    > <cfargument name="Arg6" type="string"
    required="no">
    > <cfset var isSuccessful=true>
    > <cftry>
    > <cfquery name="SaveValues" datasource="FPDS
    Sample">
    > UPDATE Report_specs SET
    > <cfif arguments.Screen EQ "Scope">
    > ReportOn = '#arguments.Arg1#',
    > SubtotalGroup = '#arguments.Arg2#',
    > Projects = '#arguments.Arg3#',
    > Sites = '#arguments.Arg4#'
    > </cfif>
    > <cfif arguments.Screen EQ "Criteria"> (,,code goes
    here for next set of
    > fields...) </cfif>
    > <cfif arguments.Screen EQ "Table"> (,,code goes
    here for next set of
    > fields...) </cfif>
    > <cfif arguments.Screen EQ "Chart"> (,,code goes
    here for next set of
    > fields...) </cfif>
    > <cfif arguments.Screen EQ "Detail"> (,,code goes
    here for next set of
    > fields...) </cfif>
    > WHERE Report_specs.rid = #Session.FPRU_rid#
    > </cfquery>
    > <cfcatch type="Database"><cfset
    isSuccessful=false></cfcatch>
    > </cftry>
    > <cfreturn isSuccessful />
    > </cffunction>
    >
    > In the CFM file:
    >
    > <head>
    > <script language="JavaScript">
    >
    > function SaveValues(frm) {
    > var RptOn="", SubGrp="", SL="", PL="" ;
    > for(var i=0; i<3; i++)
    > {if(frm.ReportOn
    .checked) RptOn = frm.ReportOn.value ;
    > if(frm.SubtotalGroup
    .checked) SubGrp = frm.SubtotalGroup.value ; } ;
    > for(i = 0; i < frm.Projects.options.length; i++)
    > {if(frm.Projects.options
    .selected ) PL = PL + ', ' +
    > frm.Projects.options.value ; } ;
    > for(i = 0; i < frm.Sites.options.length; i++)
    > {if(frm.Sites.options
    .selected ) SL = SL + ', ' +
    > frm.Sites.options.value ; } ;
    >
    > ...(This is the section where I'm having problems. I
    have the values I want
    > to pass the variables just defined.
    > But I can't get them into the CFINVOKEARGUMENT
    statements below. I've
    > tried variations of #'s, CFSETS, etc.)...
    >
    > <cfobject component="RecordAccess"
    name="SaveValues">
    > <cfinvoke component="#SaveValues#"
    method="SaveFormValues" >
    > <cfinvokeargument name="Screen" value="Scope">
    > <cfinvokeargument name="Arg1" value="RptOn">
    > <cfinvokeargument name="Arg2" value="SubGrpr">
    > <cfinvokeargument name="Arg3" value="PL">
    > <cfinvokeargument name="Arg4" value="SL">
    > </cfinvoke>
    > }
    >
    > </script>
    > </head>
    This is never going to work. JavaScript is executed on the
    client's
    computer in the browser. It is no idea of what is CFC is or
    how to
    access one. The cfc lives on the server, it can only exist
    and run
    while the http request is being built by the CF engine.
    >
    > <body onFocus="GetValues(this.form)" >
    >
    > <form action="" method="post" name="ScopeDetail"
    id="ScopeDetail">
    > <table width="85%" border="0" cellspacing="2"
    cellpadding="2">
    > <tr>
    >
    > ...(various buttons)...
    >
    > <td width="8%"><input name="SaveForm"
    type="button" id="SaveForm"
    > onclick="SaveValues(this.form)"
    value="Save"></td>
    >
    > ...(other buttons)...
    >
    > </table>
    >
    > <table width="96%" border="0" cellspacing="2"
    cellpadding="2">
    > <tr>
    > ...(column headers)...
    > </tr>
    >
    > <tr>
    > <td rowspan="3" align="right"
    valign="top"> </td>
    > <td height="110" colspan="2" align="right"
    valign="top"><div
    > align="left">
    > <p>
    > <label> <input name="ReportOn" type="radio"
    value="Users" checked>
    > Unique users</label>
    > <br>
    > <label> <input type="radio" name="ReportOn"
    value="AllVisits"> All
    > visits</label>
    > <br>
    > <label> <input name="ReportOn" type="radio"
    value="LastVisit"> Last visit
    > only</label>
    > <br>
    > </p>
    > </div></td>
    > <td rowspan="3" valign="top"> </td>
    > <td colspan="3" rowspan="3"
    valign="top"><p><select name="Projects"
    > size="10" multiple id="Projects"
    onChange="getSites(this.form)"><cfoutput
    > query="ProjectList">
    > <option
    >
    value="#ProjectList.projectid#">#ProjectList.projectname#</option>
    > </cfoutput></select></p></td>
    > <td width="3%" rowspan="3"
    valign="top"> </td>
    > <td width="34%" rowspan="3"
    valign="top"><select name="Sites" size="15"
    > multiple id="Sites">
    > <option> ---------------------------------------
    </option>
    > </select></td>
    > <tr>
    > <td height="23" colspan="2" align="right"
    valign="top"><div align="left">
    > <h3>Show Summaries of </h3>
    > </div></td>
    > <tr>
    > <td height="100" colspan="2" align="right"
    valign="top"><div
    > align="left">
    > <label> <input name="SubtotalGroup"
    type="radio" value="Both" checked>
    > Project & Sites</label>
    > <br>
    > <label> <input type="radio"
    name="SubtotalGroup" value="Projects">
    > Projects only</label>
    > <br>
    > <label> <input type="radio"
    name="SubtotalGroup"
    > value="Sites"> Sites only</label>
    > </div></td>
    >
    > </table>
    > </form>
    > </body>
    waz69 wrote:
    > I tried creating hidden fields to which I assign my
    desired values. The
    > CFINVOKEARGUMENTs then become:
    >
    > <cfinvokeargument name="Arg1" value=frm.Hide1>
    > <cfinvokeargument name="Arg2" value=frm.Hide2>
    > etc.
    >
    > What ends up in the table is the name of the field
    (frm.Hide1) not
    the value
    > of the field. I've also tried with with quotes (single
    and double)
    which give
    > the same result and with #'s which gives me an error
    about undefined
    element.
    >
    This is what your are going to need to do. But the javascript
    form
    object no longer exists once the request has been sent to the
    server.
    After that you are dealing with the "form" structure. So your
    arguments
    are going to look something like.
    <cfinvokeargument name="Arg1" value="#form.Hide1#">
    OR interchangeably
    <cfinvokeargument name="Arg2" value="#form['Hide2']#">
    When blending JavaScript and ColdFusion, one must be
    constantly aware of
    the order of actions. JavaScript can only run and exist on
    the client,
    it has no direct knowledge of any ColdFusion variables or
    logic.
    Vice-a-versa, ColdFusion only runs and exists on the server.
    It has no
    direct knowledge of the Client or its state.
    To blend the two you have to carefully pass any required,
    shared
    information from one location to the other.

  • Passing value from one mxml application to another mxml application

    I am stuck up with a problem.
    what i am doing is i have created a mxml application which has user sign form ,
    this form accepts username and password and calls a remote object method checklogin()
    when it finds correct it must jump to another mxml file after succesful login .
    i have created remote object and i want to know how can we pass the username to another mxml application from the resulthandler function which handles the result for that function. Further i would like to ensure that session is handled correctly , whenever i press F5 or Refresh button after login i redirected to the state where i need to login again.
    plz Sugeest me some solutions..

    hi rajesh......
                       for using 2 components... you should go for component usage.... here is a God given tutorial which will guide you.
    [link|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f ]
    ---regards,
       alex b justin

  • Passing values in hyperlinks through the URL

    I am trying to do the following:
    <a href = "linkhandler.jsp?value=lee">
    then in linkhandler.jsp I am trying to get that value...i have:
    String firstName = request.getParameter("lee");
    ...but when I print its NULL
    What is the proper syntax?
    Thanks!

    I actually figured that out..
    Now I have
    String theLink = request.getParameter("value");
    and theLink has a value of : 'http://cs.dal.ca'
    I just want the page to automatically redirect to this page using JSP if possible.

  • Problem passing value from List Item to List Item

    OK I will try to explain what I am trying to do. I have a Form that List Item at the top and they cascade from left to right. When I get to the BPOST_TAG I choose the Bpost then move to EPOST_TAG to choose the Epost. The EPOST_TAG should show all the Epost that go with Bpost you already chose, but it only showing 1 or 2. Below is the example of how should work!
    SYSTEM     COUNTY     ROUTE   BPOST_TAG      EBPOST_TAG
    1 77 80 025 030
    ------- The Return Values Should be as below-------------------------------------------------
    Sy Co Route Dir Bpost Epost Miles Descrption
    1 77 80 1 025 026 ? ?
    1 77 80 1 026 027 ? ?
    1 77 80 1 027 028 ? ?
    1 77 80 1 028 029 ? ?
    1 77 80 1 029 030 ? ?
    1 77 80 2 025 026 ? ?
    1 77 80 2 026 027 ? ?
    1 77 80 2 027 028 ? ?
    1 77 80 2 028 029 ? ?
    1 77 80 2 029 030 ? ?
    The top 5 List Items are based on the first Data Block (PMISCURR) and the bottom 8 columns are based on the second Data Block (PMISCURR1).
    I have PRE-QUERY on the first Data Block (PMISCURR), below is code for the PRE-QUERY.
    DECLARE
    Wh_clause VARCHAR2(200);
    BEGIN
    IF :PMISCURR.SYSTEM is not null then
         Wh_clause := 'SYSTEM = '||:PMISCURR.SYSTEM;
    END IF;
    IF :PMISCURR.COUNTY is not null then
         Wh_clause := WH_CLAUSE ||'AND COUNTY = '||:PMISCURR.COUNTY;
    END IF;
    IF :PMISCURR.ROUTE is not null then
         Wh_clause := WH_CLAUSE ||'AND ROUTE = '||:PMISCURR.ROUTE;
    END IF;
    IF :PMISCURR.BPOST_TAG is not null then
         Wh_clause := WH_CLAUSE ||'AND BPOST_TAG = '||:PMISCURR.BPOST_TAG;
    END IF;
    IF :PMISCURR.EPOST_TAG is not null then
         Wh_clause := WH_CLAUSE ||'AND EPOST_TAG = '||:PMISCURR.EPOST_TAG;
    END IF;
    END;
    OK It's just not my day I can't even get this line-up! :)
    Edited by: Monty on May 5, 2011 2:58 PM

    Hello,
    Simply get the current item value in a When-List-Changed trigger:
    current_value := :block.listitem ;Francois

  • 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

  • Pass value to an application ...

    hi Gurus,
    Is it possible to pass values to an external application using java code.[ no JSPs and servlets involved ]
    Guide me!!!
    Regards,
    -Nags

    Yes. Use the Runtime and Process classes:
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Process.html
    An example for listing a directory on a UNIX platform:
    import java.io.*;
    public class Test {
        public static void main(String[] args) throws Exception {
            Runtime runtime = Runtime.getRuntime();
            Process process = runtime.exec(new String[] { "ls", "-alF", args[0] });
            process.waitFor();
            BufferedReader br = new BufferedReader(new InputStreamReader(process.getInputStream()));
            for (String s = br.readLine(); s != null; s = br.readLine()) {
                System.out.println(s);
    }This simple code does not check for exit codes, or error messages.
    Cheers, Neil

  • Passing values to another page with %

    I have a button that redirects to another page in my application. I am passing the value of one my fields to the target page via <Set These Items> and <With These Values>. The source field has a % at the end of it. When the value gets passed to the target, the % is not passed. Is there a problem passing values with % in them?
    Here is the passing parameter list:
    Set These Items: P22_DB_NAME
    With These values: &P2_DB_NAME.
    The value of P2_DB_NAME is "ESB%". When it gets to the target page it is "ESB".

    Brian,
    you will need to encode the percent sign and use
    %25
    instead of
    Make your button an url and use this link. It will replace the percentage with the encoded value and pass the value to the specified item.
    redirect('f?p=&APP_ID:22:&SESSION.::::P22_DB_NAME:'+$x('P2_DB_NAME').value.replace(/%/, '%25'));
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    ------------------------------------------------------------------------------

Maybe you are looking for

  • MSI Wind Netbook U123 turbo speed request | SPLIT

    Hi Svet, I have work to you ;]  Yesterday I downloaded latest bios from MSI global website to my Wind U123H and flash my netbook using MSI Forum HQ USB flashing tool (application is brilliant). <<  before  flash  >> MSIHQ: Information detected by MSI

  • Maintain Item Category OMH4

    Hi, Currently i have create an item category 'B' to limit the amount created for PO. When creating PO using this item category, i was prompted to enter the Asset Number. But after saving PO, i am not able to change the Asset Number. When i check the

  • How do I unlock a Note 3 I bought not on contract for use abroad?

    When I insert a sim inside it, it says it is region locked. (India) - I bought in the US.

  • HT3258 Leave 10.6.8 on one HD while installing Lion on another HD?

    I have 10.6.8 and two hard drives. I am reluctant to upgrade, even though 10.6.8 seems to give me an annoying "outbreak" of the black veil of death from time to time. I have an external hard drive, but I can't even copy the OS back to the internal ha

  • Cannot install apps in windows 8.1 store

    When I try to install an apps in the windows store, I get a message, Your purchase couldn't be completed, something happened and your purchase couldn't be completed error code 0xc03f40c8, i have not been able to solve this problem.