How to track the values of default save As button

Hi,
i am browsing a file by html:file. this html:file displays a browse button and when the Browse is clicked a default save as dialoug is displayed. its the default for html. Now i need to track the whether i clicked on the open button or the cancel button and according to that i need to do some operation. Could i able to track the default properties and if so how.
Thanks & Regards,

Here is what you need to do,
1) Declare a styleId attribute as follows.....
<html:form styleId="form" .......>
<html:file styleId="fileTextField">
2) From Javascript code, execute
alert(document.form.fileTextField.value);
If OPEN is selected then the file path will appear in this alert box else it will be blank for selection of CANCEL.

Similar Messages

  • How to copy the value of default view textbox into another view textbox

    I create one form library and customizing in infopath 2010. on this default view one textbox is placed. in which user will enter his name.
    I create another view. in which i also place second textbox. I want when user put his name in default view textbox and save the form . then his name also copy into another view textbox .
    Kindly let me know how to do this ?

    Hi John,
    You can achieve in infopath. Steps are below:
    Default Text Box (Infopath Field A)
    Mirror Text Box (Infopath Field B)
    In Mirror Text Box, the default value would be the Field A. The default value you specified by right click on Mirror Text Box --> Properties...
    Thanks,

  • How to Modifying the Adobe Reader Default Save Location

    In Adobe Reader XI:  When I try to "Save As" a (.pdf) file [I was sent over the Internet] it automatically defaults to the Temporary Internet Files/Content.EI5/ (one of the many XYZABC folder).
    This means I have to press in many buttons and mouse moves to hunt for Libraries/Documents/My Document Files Location.
    I'd like to change that default folder to my own special folder (i.e.:  Libraries/Documents/My Documents.  How can I do this?
    As an alternate, is there an easy way to get to "My Documents" directory in one (1) click so I can pick the sub-directory I what to "Save As" the .pdf file?
    Thanks in advance to any answers I my get.
    Archbar
    Message was edited by: Rol Beaudoin
    Archbar

    Hi try76,
    Per your request: my OS is Windows 7 Pro,
    the computer is a Dell 457T (i7 x64 w/ 8 Gb memory),
    and The browser is Internet Explorer 11 (this may change to Foxfire).
    I hope I can do as you mentioned and "OS you can add a direct link to the Documents folder to the Places Bar on the left side of the Save dialog."
    Now I find the need for step-by-step instructions to do anything with computers - like a beginner.
    It seemed that Adobe Reader used to be able to "Save As" *.pdf files easier.
    As an aside:  I am an old guy, learned DOS and early Windows and was quite good at it and have forgotten much of it over the years.  Mostly because every time Microsoft has Upgraded their programs they take away parts I used and changed the menus so I can't find items I might want to use, as time went by I grew tired of re-learning how to use a program instead of being productive at work.  
    If your method of moving *.pdf files can be done with my OS and IE it will be greatly appreciative.
    Thanks in advance to any answers you give.
    Archbar

  • How to format the value in narrative ?

    Hi Experts,
    In BIEE 11,
    How to format the value in narrative , such as separator.
    In table or pivot property, I have set the separator for measure , but in narrative, the format will be disappeared. So how to implement this requirment?

    I had this problem with 11.1.1.6.0
    If you want this format as the default display format for this column everywhere, then you can save that format as default display format for the column or data type (Lower right corner of data format tab: "Save as Default" button, "Save as the system-wide default for "Table"."Column"). When I had the problem the narratives did use the default display format.
    Another workaround could be a direct database call to convert the data to a string. For example, in Oracle
    EVALUATE('TO_CHAR(%1,%2)' AS CHAR(30), “Table".“Column" ,'$9,999.00')
    but you may need to set EVALUATE_SUPPORT_LEVEL in your nqsconfig.ini, and this ties you to the database technology.

  • How to show "ALL" Values by default in Page Drop-Down Lists in Pivot Tables

    Hi Everyone,
    Iam stuck with 1 problem please can any 1 help me if u know the solution.
    Here is my problem:
    How to show "ALL" Values by default in Page Drop-Down Lists in Oracle BI Pivot Tables?
    For example, if you place Region in the pages area, a Region drop-down list allows the user to select a particular region, and see the data for only that region, rather than seeing all the Regions,But by default its not showing "ALL" option in the drop down list ,rather than doing that its showing result for only 1 region by default.
    And an other problem with this pages area is, if we palce the multiple attributes in the Pages area in the pivot table, the (Fields)result is showing in vertically, the attributes 1 by 1(Every attribute in a new line) ,rather than showing like that, is there any way to show the results in horizantally?(We want to have it as a seperate drop drown list for every field horizantally not as a concatenated list).

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • How to track the Inbound child IDOcs in PI 7.4 Single stack

    Hi Friends,
    I would like to know the procedure of tracking the Inbound child IDocs in PI 7.4 Single stack.
    Here is the detailed description.
    Say we are getting the data from third party system and the message may have multiple IDOcs in it. The message has processed successfully from PI and reached to the target system(ERP). So, now my question is how to track the IDOc count with in that message.
    Please suggest on the same.
    Thanks in Advance,
    Venkateswarlu.

    Hi Hareesh,
    Thanks for your inputs. According to the link IDOC Status, Tracking in SAP PI/PO Single Stack I am thinking the required funcionality is not there in PO 7.4, but still i would like to have little more clarity before moving further.
    I will explain what what was happening in PI 7.11 so that you can understand what i am looking for in PO 7.4.
    We will get the data from third party system in xml format, we had to search for the messages based on interface name and time range within SXMB_MONI. After getting the result(say the output is 100 messages), we will download the values of "Outbound Reference" field(which is a key to find the child messages for messages resulting in an Interface Collection). Below is the snap of Outbound Reference field for your reference.
    Now we will go to the table IDXRCVPOR in SE16(within PI) and put the values of Outbound Reference field in Text 24 and execute. Here we will get all the child messages.
    Now please let me know if this kind of scenario is possible in PO 7.4.
    Thanks,
    Venkat.

  • How to set the value for Power Cost in SCCM reports in Euro's?

    Hello,
    I have found out how to change the value of the 'cost' of the KWh for these reports (reporting) . But ther original settings where displayed and set in USD($) with some other values. I have of course changed the USD to EUR (€) in my case, but my question
    is: how do i know what I have to fill in in the field : costOfKwh, according my manager for my organisation it is in euro's 5,9 euroct/Kwh
    Do I have to fill in 5,9 or 0,59 or 0,059 ???
    Then also ther are some other values set in the original reports, like :
    KwhConsumptionDesktopComputerOn value = 0,07
    KwhConsumptionLaptopComputerOn  value = 0,02
    KwhConsumptionDesktopMonitorOn    value = 0,03
    Do i have to leave this settings ?

    Yes, I know this is an old post, I’m just trying to clean them up.
    The default of 0.09 is 9 cents/ KwH so  I’m assume that 5.9 cent (euro) so that you bet 0.059
    BTW if you have edit the report to change $ to € then you can also set eh default value to whatever the current power cost is too.
    http://www.enhansoft.com/

  • How to set the value in SelectOneChoice

    Hi,
    I need an help....
    can anyone please tell me how to set the value in SelectOneChoice.
    I want to set the value at index 3
    i am trying selectOneChoice1.setvalue(new Integer(3)); but it is throwing an NullPointerException.
    Thanks,
    Neha

    Hi,
    is it ADF bound? If so then you set the default value to the list binding in the PageDef file. The value of the component must be bound to a method expression, which is why you see an exception. However, I think we need more information
    Frank

  • How to retrieve the value of last identity has been updated in a database?

    how to retrieve the value of last identity has been updated in a database

    Hi,
    Oracle 10g, FGA - Fine grained auditing, supports DML statements (9i only select).
    Set up FGA using the DBMS_FGA.ADD_POLICY procudure:
    sql> BEGIN
    DBMS_FGA.ADD_POLICY (
    policy_name => 'AUD_EMPLOYEE_SAL',
    object_schema => 'HR',
    object_name => 'EMPLOYEE',
    audit_column => SALARY',
    audit_condition => '',
    statement_type => 'UPDATE');
    END;
    NEXT:
    sql> SELECT dbuid, lsqltesxt FROM sys.fga_logs$;
    The database inserts the audit record into the FGA_LOG$ table using an autonomous transaction; even if you roll back the update statement, the update action will still be logged in this table. The fga_log$ tracks the session, machine id, timestamp, schema, scn, etc:
    SQL> desc fga_log$
    Name Null? Type
    SESSIONID NOT NULL NUMBER
    TIMESTAMP# DATE
    DBUID VARCHAR2(30)
    OSUID VARCHAR2(255)
    OSHST VARCHAR2(128)
    CLIENTID VARCHAR2(64)
    EXTID VARCHAR2(4000)
    OBJ$SCHEMA VARCHAR2(30)
    OBJ$NAME VARCHAR2(128)
    POLICYNAME VARCHAR2(30)
    SCN NUMBER
    SQLTEXT VARCHAR2(4000)
    LSQLTEXT CLOB
    SQLBIND VARCHAR2(4000)
    COMMENT$TEXT VARCHAR2(4000)
    PLHOL LONG
    STMT_TYPE NUMBER
    NTIMESTAMP# TIMESTAMP(6)
    PROXY$SID NUMBER
    USER$GUID VARCHAR2(32)
    INSTANCE# NUMBER
    PROCESS# VARCHAR2(16)
    XID RAW(8)
    AUDITID VARCHAR2(64)
    STATEMENT NUMBER
    ENTRYID NUMBER
    DBID NUMBER
    LSQLBIND CLOB
    SQL> spool off

  • How to reference the value of a af:inputText at View level in a java clas

    How to reference the value of a <af:inputText> at View level in a java class at Model level? Thanks!

    Create AppModuleImpl class and create ther for example setMyParam procedure.
    (You can use AppModule. There simple interface to do this classes
    In JDev 11:
    1. Go to AppModule and in Java bookmark generate application module class.(AppModuleImpl.java)
    2. Put "private String myParam;" and method to access myParam "public void setMyParam(String myParam)".
    3. Again in the AppModule in the Java bookmark add method to client interface.
    AppModuleImpl.java
    public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    private String myParam;
    public AppModuleImpl() {
    //this.
    public void prepareSession(Session session)
    super.prepareSession(session);
    myParam = myParam + myParam;
    public void setMyParam(String myParam) {
    this.myParam = myParam;
    prepareSession(getSession());
    AppModule.java
    public interface AppModule extends ApplicationModule {
    void setMyParam(String myParam);
    AppModuleClient.java
    public class AppModuleClient extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    public AppModuleClient() {
    public void setMyParam(String myParam) {
    Object _ret =
    this.riInvokeExportedMethod(this,"setMyParam",new String [] {"java.lang.String"},new Object[] {myParam});
    return;
    And you can use method setMyParam as you wish :))) You can find it in AppModuleDataControl..
    Edited by: Victor_V_S on Jun 5, 2009 1:31 AM
    Edited by: Victor_V_S on Jun 5, 2009 1:33 AM
    Edited by: Victor_V_S on Jun 5, 2009 7:30 AM

  • How to write the value of JComboBox

    Hi All
    how to write the value of JComboBox, when the user selected?
    i.e. if i have text filed age and a JComboBox 20,30,40 and so on
    i want to save the age with the user selected item from JComboBox??
    any ideas

    Thanks for the useful link
    but what i need is how to write the JComboBox when it is appear in the line
    i.e if i have the following line
    Name Hana Age JComboBox Major JComboBox
    and i need to save all this line in a text file
    JLabel JTextfiled JLabel JComboBox JLabel JComboBox

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How to get ALL values as default for  a drop down box in JSF

    Hi,
    I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
    By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
    Could any body help me? Any help must be appreciated.
    Thanks,
    Aseet

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • How to find the value of a variable in other program

    How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
    Regards
    Vin

    Hi Vinayak,
         you will be having your first program values in internal table or some variables,
        when you are calling the second program you wii use like this,
        SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
                           WITH s_emp(second program select-options)   IN t_emp(first program variables)
                           WITH p_chk   EQ t_chk
                           WITH p_r1    EQ t_r1
                           WITH p_month EQ t_month
                           WITH s_cust1 IN t_cust1
                           WITH p_r2    EQ t_r2
                           WITH s_cust2 IN t_cust2
                           WITH s_week  IN t_week
                           AND RETURN.
    you have pas like this to get your first program details.

  • How to get the value from a JavaScript and send the same to Java file?

    Hi.
    How to get the value from a JavaScript (this JS is called when an action invoked) and send the value from the JS to a Java file?
    Thanks and regards,
    Leslie V

    Yes, I am trying with web application.
    In the below code, a variable 'message' carries the needed info. I would like to send this 'message' variable with the 'request'.
    How to send this 'message' with and to the 'request'?
    Thanks for the help :-)
    The actual JS code is:
    function productdeselection()
    var i=0;
    var j=0;
    var deselectedproduct = new Array(5);
    var message = "Are you sure to delete Product ";
    mvi=document.forms[0].MVI;
    mei=document.forms[0].MEI;
    lpi=document.forms[0].LPI;
    if(null != mvi)
    ++i;
    if(null != mei )
    ++i;
    if(null != lpi)
    ++i;
    if(null != mvi && mvi.checked)
    deselectedproduct[++j]="MVI?";
    if(null != mei && mei.checked)
    deselectedproduct[++j]="GAP?";
    if(null != lpi && lpi.checked)
    deselectedproduct[++j]="LPI?";
    if( 0!=j)
    if(i!=j)
    for (x=0; x<deselectedproduct.length; x++)
    if(null != deselectedproduct[x])
    message =message+ "-" +deselectedproduct[x];
    alert(message);
    else
    //alert(" You cannot remove all products!");
    return false;
    return true;
    }

Maybe you are looking for