Request Variables

Hello,
Can somebody please tell me what a request variable is? Is this the same as a session variable?
You can select request variable when creating a prompt.
Does anyone know what this object does?
Thanks!

Okay, it is still showing helpful answers and correct answer points available. You need to award points as well. The "Answered" part is not connected to the points because it is possible to "solve" your own problem. Then you can mark the post "Answered" so others can see what that the thread is completed (and can find the solution if the poster displays it).
But, as in this case, if someone else provides the solution, then you can award the 5 points for the helpful answer and 10 points for the correct one.
HTH,

Similar Messages

  • How to get Request Variables in Variables-View

    while editing a jsp-page i always can see the "Session Variables" in variables-view (left down corner of eclipse above tag libraries). also while working with forms i can see all available form variables for the as "Page Variables".
    but what i really would need is to see the available "Request Variables" which are set by the action calling the page.
    what do i have to do, to make this running?
    tnx in advance
    Rel
    //deny everything!

    Here comes the action config...
         <action-mappings>
              <action path="/area_rosa_news" type="mvc.actions.site.news.area_rosa_newsAction" parameter="area_rosa_news">
                   <forward name="area_rosa_news" path="area_rosa_news" contextRelative="false"></forward>
              </action>
         </action-mappings>

  • Using Javascript function to change the value of a request variable

    Have a javascript function that activates onchange within a form variable. Would like the javascript function to change the value of a request variable.
    The javascript function is able to obtain the current value of the request variable ( which is 0 ) however I am unsuccessful in changing the value to 1.
    I have been trying to use the following:
         var vchange = 'request.changes_made = 1 ;' ;
         eval(vchange);
    Any ideas?

    If the user makes a change to the content of the form, and then attempts to leave the form, a javascript alert pops up giving the user the option of cancelling the submit, returning to the form and saving it.
    If there have been no changes, then the user is free to migrate to another page.
    This process is to protect users from losing valuable information but not to annoy them with "R U Sure" messages.
    Knowing the status of the form content is important to the functionality of the application.
    G

  • How to print a request variable in the name of a section?

    Hello all,
    I have a session variable created in the RPD called VarWorstStore
    and I have a prompt which sets a request variable with the same name.
    Now when I put a report which is filtered on this variable then I can see that the variable is changing when I press go in the dashboard prompt.
    However, I call this variable in a section as well (go to page options - edit dashboard and click on rename of a section)
    Now I type: @{biServer.variables['NQ_SESSION.VarWorstStore']} and check the box Display section heading.
    Now when I save the dashboard I can see the value of the session variable. However, when I change the session variable with the prompt, thenb I can see that the report is changing, but the title isn't.
    Can anyone help me on this? My reference on this was: http://4.bp.blogspot.com/_f689sAiiG-E/SKv8Fxu7wNI/AAAAAAAAAPk/pppwQ1DdEhg/s1600-h/obi-ee-variables-overview.jpg
    I think it is a bug, but perhaps someone knows
    OBIEE version:
    Build: 10.1.3.4.1.090414.1900
    Release Version: Oracle Business Intelligence 10.1.3.4.1
    Package: 090414.1900

    Thanks for all your responds!!
    However, I was thinking in first instance on a narrative view myself indeed, however this is not good enough for me, because I really have an almost pixel perfect dashboard.
    But the thing with the prompt works!!! What I have done is making an extra prompt with the default value set to the session variable and then I set a presentation variable in the same prompt, and after that I am filtering the reports on the presentation variable in stead of the session variable.
    But I cannot find anywhere where to hide the prompt, can you tell me this?
    The only way I can hide things is to set permissions I gues, but then I also guess is that the prompt will do not do its tasks when the user has no permissions to this prompt.
    Hope you can help me out on this last part!!

  • "Request variable" in dashboard prompt

    Can I really change the value of a session variable using Set variable "Request variable" option in a dashboard Prompt. If "yes", can someone explain with an example. If "no" is there any other way to change the value of a session variable in specific pages while navigating.

    In the Report, Create a filter fro VERTICAL. In the Filter Creation Click On Add - Variable - Presentation, Now in the variable Expr give your variable name, In the default value give any value for this VERTICAL.
    Now put your prompt and report in dashboard, test it.

  • Specifying Request Variable's Date Format in LTS Content Filter

    All,
    We are trying to use a Dashboard prompt to set a request variable (session) to filter a logical table source. When I use either a DATE or TIMESTAMP format and default it properly in the Initialization Block the filter works properly. As soon as I change the value by using the prompt, it tries to compare the base column to the value of the variable in the following manner:
    SOURCE_COLUMN = REQUEST_VARIABLE
    DATE: HIER_DATE = '2010-02-03'
    TIMESTAMP: HIER_DATE = '2010-02-03 12:15:45'
    As soon as I try to insert the conversion functions TIMESTAMP or DATE, which work fine if I do the filter in the Answers report itself, it won't compile correctly, ex:
    SOURCE_COLUMN = DATE REQUEST_VARIABLE
    SOURCE_COLUMN = TIMESTAMP REQUEST_VARIABLE
    Anyone know of a workaround or if I'm doing something wrong here? Any help will be greatly appreciated.
    Thanks in Advance,
    Josh

    eejimkos,
    We're using a request variable, not a presentation to be exact; we have tried both drop down and calendar - neither work. I'm not quite sure what you're asking about the target data. It is a different column in the same table; we're trying to filter a hierarchy down using the effective_to and effective_from dates with < and > respectively. Finally, our nls language default date format is set as 'DD-MON-YY", which is the way we want it, but for some reason when using the variable it's coming through as 'YYYY-MM-DD' if the base column is of type DATE and 'YYYY-MM-DD HH:MI:SS' if it's TIMESTAMP.
    Thanks,
    Josh

  • Request variable not overriding session variable in report filter

    I have a dashboard edit prompt that saves value into a request variable with same name as session variable.
    The session variable has "enable any user to set the value".
    I have a filter in the report that has been converted to sql where the transaction date is greater than the value entered in the prompt.
    I see the "SET Variable" clause at the top of the sql being sent to the server in the logs.
    However, when I am in "View Logs", I see that the sql that is being sent to the database is sending the original value of the session variable instead of the new value in the request variable.
    I have tried using VALUEOF(NQ_SESSION.variablename), VALUEOF(variablename), VALUEOF("Dynamic Initialization Block Name"."variablename"), @{biServer.variables['NQ_SESSION.variablename']} with no difference.
    What am I doing wrong?

    user4006070 wrote:
    I have a dashboard edit prompt that saves value into a request variable with same name as session variable.
    The session variable has "enable any user to set the value".
    I have a filter in the report that has been converted to sql where the transaction date is greater than the value entered in the prompt.
    I see the "SET Variable" clause at the top of the sql being sent to the server in the logs.
    However, when I am in "View Logs", I see that the sql that is being sent to the database is sending the original value of the session variable instead of the new value in the request variable.
    I have tried using VALUEOF(NQ_SESSION.variablename), VALUEOF(variablename), VALUEOF("Dynamic Initialization Block Name"."variablename"), @{biServer.variables['NQ_SESSION.variablename']} with no difference.
    What am I doing wrong?When you created the prompt, did you make sure you set the variable type to Request variable?

  • Request Variable in Report Subtitle??

    Hi there,
    I'm using Request variable in my report. I want to use the same in Report subtitle.
    I was using @{biServer.variables['NQ_SESSION.myvariable']} in report subtitle.
    Its showing the default value first time. When I change the value in dashboard prompt (editbox) and click go, value in subtitle is not changing.
    Appreciate your help
    Thanks

    Okay, you can't use presentation variables in the rpd so if you are using it in the rpd to override a session variable, then you need to set it to a Request Variable.
    Put the request variable in the Title window of the Title View not the Subtitle window.
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31767.pdf page 98.
    Oh, and because we are back to Request variable,use the @biServer.variables['NQ_SESSION.variable']} syntax.
    To test functionality, use this session variable in the Title field of the Title View:
    @biServer.variables['NQ_SESSION.USER']}
    This will return the logon ID of the user.
    Edited by: David_T on Sep 10, 2010 7:51 AM

  • What is the usage of Request Variable ? and how we can use it ?

    Hi All,
    What is the usage of Request Variable ? and how we can use it ?
    Thanks in advance

    Hi,
    A Request variable is the same as a Session variable:
    http://download.oracle.com/docs/cd/E12096_01/books/admintool/admintool_Variables4.html
    Cheers,
    Daan Bakboord
    Scamander Solutions

  • Request variable in Answers prompt

    I am on OBIEE 11.1.1.5 and have created a session variable which is set to 'Enable any user to set the value'. Then default for this varaible is set to CURRENT_DATE. I have created a logical column to calculate Length of Service based on this variable like
    cast(Floor( (TIMESTAMPDIFF( SQL_TSI_MONTH , "Core"."Fact - Active - Period of Service"."Hire Date" ,VALUEOF(NQ.SESSION."Test")))/12) as char)||' year(s) '||cast(Mod((TIMESTAMPDIFF( SQL_TSI_MONTH , "Core"."Fact - Active - Period of Service"."Hire Date" ,VALUEOF(NQ.SESSION."Test"))),12) as char)||' month(s)'
    Now I create a answers request and put this logical column on it. What should be the prompt so that the Length of Service gets calculated based on the iput provided by the user?

    I am following http://everythingoracle.com/obieerv.htm to move forward.
    I created a variable prompt abc with date as data type and then in Advanced tab under Advanced SQL Cluses in Prefix I typed: SET VARIABLE Test='{abc}';
    This just puts '{abc}' in the formula. And if I try SET VARIABLE Test={abc}; then it throws syntax error i Advanced tab.
    What am I doing wrong?
    Edited by: user12301184 on Aug 26, 2011 6:38 AM

  • Issue with :REQUEST variable

    Hello Friends,
    I have a SQL REPORT which populates the manual tabular form. I have a ADD button in the report region which submits as ADD. I used the where condition in the SQL report to use the REQUEST like this : - WHERE :REQUEST='ADD' ..
    Also I tried to display the value of 'REQUEST' by keeping in process success message and it shows correctly as ADD indicating the value is set. can some one suggest if my usage of the variable in sql query is incorrect.
    Thanks.

    The question is not silly. There are techniques to do that row adding without a page refresh. However, it is not always only row adding but other stuff you need to process: validations, record update and save, issuing some messages and optimistic locking... I would suggest to stick with the given method since this is the best approach in my opinion. You may want to have a look at the example which uses collections to avoid update button pressing for each change:
    http://apex.oracle.com/pls/otn/f?p=31517:246
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Help please  Url request variables problem

    I have a problem .I am trying to load some data from a php
    script . I want to send some variables to php .
    public function
    LoadXML2(nume:String,c1:String,c2:String,c3:String):void {
    var loader2:URLLoader = new URLLoader();
    loader2.addEventListener(Event.COMPLETE, OnComplete2);
    var request:URLRequest = new URLRequest(nume);
    var variables2:URLVariables = new URLVariables();
    variables2.c1 =c1;
    variables2.c2 =c2;
    variables2.c3 =c3;
    request.data = variables2;
    request.method = URLRequestMethod.POST;
    try {
    loader2.load(request);
    } catch (error:Error) {
    trace("Unable to load requested document.");
    private function OnComplete2(event:Event):void {
    var loader2:URLLoader = URLLoader(event.target);
    logInAnunt=loader2.data;
    The problem is that in firefox works , but in IE dont :
    in Ie it appears a box:
    ReferenceError: Error #1065: Variable URLLoaderDataFormat is
    not defined.
    at medieval::DataLoader/::OnComplete2()
    at
    flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/flash.net:URLLoader::onComplete()
    I want to mention that this error appears when I add
    urlVariables
    what should I DO??

    loader2.data is undefined in onComplete2.

  • Override Dispatcher request variables

    I have written a request wrapper at the front controller level...
    If i type the url like www.mydomain.com/album my pages are displayed well, the controller configs the pages and dispatch to real jsp file.
    But if i type url like www.mydomain.com/album/13 the jsp pages are displayed but the page cannot import js,css,images etc. Because the dispatcher thinks that my path to images is www.mydomain.com/album/images/.... So my pages are missdisplayed! (Correct one is www.mydomain.co/images/...)
    Which GLOBAL variable i must override on the request object? I have tried Globals.INCLUDE_SERVLET_PATH_ATTR but it still didnt work?
    Please any pro friend help me to get it worked!
    Thank you

    i have printed all the global variables of the request object. And change same one but the dispatcher behaviar is not related with the request object.
    Tomcat still thinks that the request path is www.mydomain.com/album/images instead of www.mydomain.com/images
    now i am thinkng about it can be related with servletContext attiributes.
    any idea? :(

  • Clearing the request variables.......

    Hi everyone,
    How can I clear these variables when I am finished with them?
    String IPToConnect = (String)request.getParameter("frmIPToConnect");
    String DestPort = (String)request.getParameter("frmDestPort");
    String CaptureDevice = (String)request.getParameter("frmCaptureDevice");
    Even when the form has been posted, and I entered new values they are still retrieving the old values.....
    Any ideas?

    I am using the following code:
    <code>
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body bgcolor="#FFFFFF">
    <%     
         request.removeAttribute("frmIPToConnect");
         request.removeAttribute("frmDestPort");
         request.removeAttribute("frmCaptureDevice");
         String IPToConnect = (String)request.getParameter("frmIPToConnect");
         String DestPort = (String)request.getParameter("frmDestPort");
         String CaptureDevice = (String)request.getParameter("frmCaptureDevice");
         String yesImage = "ticks.bmp";
         String noImage = "cross.bmp";
         String CaptureDeviceimageIs = "cross.bmp";
         String DestPortimageIs = "cross.bmp";
         String IPPortToConnectimageIs = "cross.bmp";
         String isConnection = "Not currently connected";
         String connectionImage = "not_connected.bmp";
         int IpToConnectNo, DestPortNo, CaptureDeviceNo;
         if(CaptureDevice != "none")
              CaptureDeviceimageIs = yesImage;
              CaptureDeviceNo = 1;
         else
              CaptureDeviceimageIs = noImage;
              CaptureDeviceNo = 0;
         if (IPToConnect != "" || IPToConnect == null)
              IPPortToConnectimageIs = yesImage;
              IpToConnectNo = 1;
         else
              IPPortToConnectimageIs = noImage;
              IpToConnectNo = 0;
         if (DestPortimageIs != "" || DestPortimageIs == null)
              DestPortimageIs = yesImage;
              DestPortNo = 1;
         else
              DestPortimageIs = noImage;
              DestPortNo = 0;
         int connectionTotal = IpToConnectNo + DestPortNo + CaptureDeviceNo;
         System.out.println(connectionTotal);
         if (connectionTotal == 3)
              isConnection = "You are connected";
              connectionImage = "connected.bmp";
         else
              isConnection = "Not currently connected";
    %>
    <table width="94%" border="1" cellpadding="0" cellspacing="5" bordercolor="#000000" bgcolor="#FFFFCC">
    <tr bordercolor="#000000" bgcolor="#000000">
    <td colspan="4"><font color="#FFFFFF">Setup Video Link</font></td>
    </tr>
    <tr bordercolor="#FFFFCC">
    <td colspan="3">Please ensure all the setting's below are correct to successfully
    connect: </td>
    <td width="30%" rowspan="7"><table width="50%" border="1" align="center" cellpadding="0" cellspacing="5" bordercolor="#000000">
    <tr>
    <td><div align="center"><img src="../images/<%out.println(connectionImage);%>" /></div></td>
    </tr>
    <tr>
    <td bgcolor="#FFFFFF"><div align="center"><%out.println(isConnection);%></div></td>
    </tr>
    </table></td>
    </tr>
    <form name="frmVideoSettings" action="videoLink.jsp">
    <tr>
    <td width="34%" bordercolor="#FFFFCC">Your IP Address (Read Only)</td>
    <td width="30%" bordercolor="#FFFFCC"><input type="text" name="textfield" readonly value="<%out.print(request.getRemoteAddr());%>" /></td>
    <td width="6%" bordercolor="#FFFFCC"><img src="../images/ticks.bmp" border="1" /></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFCC"><p>Your current access port (Read Only)</p>
    </td>
    <td bordercolor="#FFFFCC"><input type="text" name="textfield2" readonly value="<%out.print(request.getServerPort());%>" /></td>
    <td bordercolor="#FFFFCC"><img src="../images/ticks.bmp" border="1"/></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFCC">IP Address to Connect To:</td>
    <td bordercolor="#FFFFCC"><input type="text" name="frmIPToConnect" /></td>
    <td bordercolor="#FFFFCC"><img src="../images/<%out.println(IPPortToConnectimageIs);%>" border="1"/></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFCC">Destination access port</td>
    <td bordercolor="#FFFFCC"><input type="text" name="frmDestPort" /></td>
    <td bordercolor="#FFFFCC"><img src="../images/<%out.println(DestPortimageIs);%>" border="1"/></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFCC">Video Capture Device</td>
    <td bordercolor="#FFFFCC"><select name="frmCaptureDevice">
    <option value="none" selected>None selected</option>
    <option value="wdm">Video Blaster Webcam (WDM)</option>
    </select></td>
    <td bordercolor="#FFFFCC"><img src="../images/<%out.println(CaptureDeviceimageIs);%>" border="1"/></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFCC"> </td>
    <td bordercolor="#FFFFCC"><input type="submit" name="Submit" value="Connect" /></td>
    <td bordercolor="#FFFFCC"> </td>
    </tr>
    </form>
    </table>
    </body>
    </html>
    </code>

  • How to use request variables rather than session variables

    Are there any good examples? , I am constantly adding too many session variables in the fear they will get 'crossed over'.
    Like when you spawn new windows.
    how to refresh a page when the variable was passed on the URL.?
    A guide with all the varible passing methods woulbe be great.
    Regards
    Jonathan.

    See the other post:
    http://swforum.sun.com/jive/thread.jspa?threadID=50091&tstart=0
    The problem is when the page is reloaded when a button is pressed for example, the URL variables are gone.
    I know to to retrieve the variables, just having problems putting it all together.
    I'm trying to avoid using session varibles.
    Regards,
    Jonathan

Maybe you are looking for

  • I am trying to download lion with the thumb drive how do i back up my files is time machine good enough or must i transfer everything to my hard drive

    I am trying to download lion with the thumb drive how do i back up my files is time machine good enough or must i transfer everything to my hard drive

  • G5 Won't Turn On. Period.

    Hello everyone. I read several of the existing threads, did a search, and even ran some diagnostic tests in the hopes I'd find answers to my problem to no avail. So I turn to you. In short--I press the power button on the back of the unit and nothing

  • Wiki Pages Table of contests

    Hi, Is there an easy way (add a web part maybe) to add a wiki page table of contents in SharePoint 2013. I want the table of contents to be located at the top of the screen and references headings in the page below. Granted you can add a table of con

  • Unicode in FM9

    Hi. I want to ask a question about unicode in FM9. In the FDK, it can be set unicode mode or compatibility mode. where to set the unicode mode or compatibility mode in FM9 application? And, if I start FM9, and type some text into a fm file, the text

  • Networked 1312 and Admin Rights

    Hi, Recently all of our users had their local admin rights removed and now no one can scan through the network unless they log off and log back in as local admin (which is a pain of course). I've tried a few different things like installing the softw