Getting Tab Name or Tab Id

Hello,
In my page I have 4 tabs. I would like to get the tab name or tab id to pass to my pl/sql procedure. When user clicks the tab, I am passing certain parameters to the plsql procedure. So is there any way i can uniquely get the tab name or tab id?
Thanks in advance
Regards

well,
it is still vague for me to understand what do you mean by getting tab name from URL.
perhaps what you intend to have is a programmatic way of finding tab name from URL.
for that in 10.1.4 as the query strings do not work that way, so you may use the following API function call and use it to write some custom function. (note that it will work when you will call it from some page on your portal).
portal30.wwctx_api.get_path_infothis gives typically a result like this depending upon the page address/location (and provided that you are on a tab of a multi-tab page):
/!PORTAL30.wwpob_page.show/SHARED/U/PAGE_GRP/PAGE_NAME/TABNAMEhope that helps!
AMN

Similar Messages

  • How to get current tab name or tab id or related info?

    Hi ,
    I would like to hide/show tabs according to users' page privileges list. So I need get current tab ID or tab Name in runtime environment to know if show/hide it for current user. :APP_USER
    Could you please provide any info about this requirement? Or do you have alternative method to control tabs' hide/show?
    thanks
    Ruiping

    最爱用中文 wrote:
    Hi Jari,
    Thanks for your info. Even if set authorize schema to tabs, I still need to get the relationship between "current tab" and "privilege&users". So I think evrm's hard-code method above is avaliable.I agree with Jari: APEX provides Authorization schemes specifically for this purpose. You need to reverse your thinking on how to implement this.
    For more information consult the documentation on APEX security, specifically using authorization schemes to restrict access to pages and control rendering of components.
    Tutorial: Adding Security to your Database Application (APEX 4.0)
    Use Authorization Schemes to control access/rendering for security ("only managers see/access this page and it's associated tab"); and Conditions to control rendering for functional reasons ("region only displayed if account is in arrears").
    Authorization Schemes have the benefits of being reusable, performing better, and allowing central maintenance of security-related code. This makes it easier to change the implementation—say moving from role information held in database tables to groups defined in LDAP.
    I worked for a number of years with an application where authorization schemes are not properly used (decisions made before my involvement) and all security and business logic relating to rendering and processing is wrapped up in spaghetti code in conditions. It's impossible to maintain.
    It is of course advisable to make both authorization scheme and business logic condition code more reusable and maintainable by locating it in API packages.

  • Getting tab name or tab id or tab label at runtime

    Hi All,
    I think the answer is "no" but I'm going to ask anyway just in case I missed something.
    I am designing some authorization schemes for my application. The context behind the design is this:
    1. Two-level tabs application.
    2. Access is stored in a table where an assignment between a level 2 tab is assigned to a user (well, it's really assigned to groups of users but that's not that important for this question). The level 2 tab is assigned via a select-list LOV defined as:
    select
    tab_label d,
    tab_id r
    from apex_application_tabs
    where application_id = :APP_ID
    and workspace = :OWNER
    order by 1
    So I store the TAB_ID of the 2nd level tab and it's assigned to groups of users.
    So what I'd like is this at runtime:
    1. For page-level security, I read the Apex data dictionary and pass APP_PAGE_ID to a function that reads the page number. I traverse the tab hierarchy in APEX_APPLICATION_TABS to see if the APP_PAGE_ID resides in TAB_PAGE or TAB_ALSO_CURRENT_FOR_PAGES to get the TAB_ID. Then I check my own assignment table to see if that TAB_ID is accessible to the user. If so, return TRUE, else, return FALSE. This is working wonderfully and isn't a problem...at runtime if I navigate to a page that is on a 2nd level tab and I don't have access to the page, the security scheme errors (correctly).
    2. For tab-level security, I want that at the parent tab level that if the user has access to one or more of the 2nd level child tabs, display the parent tab.
    3. For tab-level security, if the user is on a parent tab (because he/she has access to at least one child tab), only show the child tabs to which they have access.
    Now the problem(s). The thing is that the user sees the tabs before they navigate to them (#2 and #3 I don't have working right now) and I want to hide them if they don't have access.
    For example, let's say my parent tabs are A, B, and C. Child tabs are A1, A2, A3 underneath A. B1, B2, B3 underneath B. C1, C2, and C3 underneath C.
    Let's say everything in A and underneath A (so A1, A2, and A3) are available to anyone who has a login to the application. No problem there.
    Then, let's say most or all users have access to B1 but fewer users have access to B2 and B3. What I want is that if anything from B is available to a user, show parent tab B. If the user clicks on parent tab B, then show B1, B2, and B3 but only show the tabs to which they have access (so if they have access to B1 and B2 but not B3, do not display B3).
    Then, let's say C is a very powerful administrative tab and very few people have access to it. I want to not-show C at all for people who do not have any access to C1, C2, or C3.
    The problem I have at runtime is that I cannot find a way for a tab to pass information about itself when the tab is about to paint (or not-paint). The only variable or substitution string at runtime that I can find to reference about a tab is "CURRENT_PARENT_TAB_TEXT". However this gives me only information about the parent tab's text of the parent tab that has focus right now; each parent tab cannot pass it's own info until I navigate there. I need to get that information w/o navigating to the tab first so that I can determine to show/hide the tab. Does that make sense? In other words, at runtime, I log into the system and let's say I'm not very powerful and should only be on tabs A1, A2, and A3 under A. I log in, I land on A1, and I can see A2 and A3 (good), but also I can see parent tabs B and C poking up there too. CURRENT_PARENT_TAB_TEXT does not resolve to B or C (it currently resolves to A) until I actually try to click on B or C. I need to hide B or C before the user clicks.
    Yes I can do it if I hard-code the name of the tab in a security boolean function, but I would have to have as many authorization schemes as I have tabs. This is why I want just one tab-level scheme where I pass the tab name or ID at runtime dynamically but I can't seem to reference it.
    Over in the template for two-level tabls I see #TAB_LABEL#, #TAB_NAME#, #TAB_ID#, and #TAB_LINK#. These don't seem to be available to PL/SQL to pass at runtime to a PL/SQL function. If they could, this would be my answer.
    Any other options or am I stuck on this one?
    BTW...we are on version 3.2 of Apex and going to version 4 soon. If something is available in 4 for this that helps, I can do it then.
    Ideas? Thanks!

    Hey gti_matt,
    Did you end up getting anywhere with this?
    I'm in the same boat atm...
    Thanks,
    Dan

  • Tabs tab name or tab id

    Hi
    I'm writing application with access control to several tabs there will be condition checking if user :APP_USER have access to selected tab. The point is how to get tab_name or tab_id. and use it in pl\sql function like I can use :APP_USER
    Or
    how can I do this without using tab_id
    Regards
    Jaroslaw

    CREATE OR REPLACE
    FUNCTION can_user_access_tab(p_user IN VARCHAR2
                                                    ,p_tab   IN VARCHAR2
    RETURN VARCHAR2
    IS
      ln_count number;
    BEGIN
      SELECT count(1) INTO ln_count
      FROM acces_tab_users
      WHERE username=p_user
      AND tab_name=p_tab;
      if (ln_count=0) THEN
         return 'N';
      else
        return 'Y';
    END;to each tab add a SQL expression condition
    can_user_access_tab(:APP_USER,'<tab name>') = 'Y'
    Note : <tab name> would be different for each tab , so you have to modify the conidtion for each tab with a new string that matches your table's(acces_tab_users)  tab_name column.
    If you want to use an authorization scheme which uses tabname and user , there is a substitution string named CURRENT_PARENT_TAB_TEXT that might work for you. But I couldn't find anything for the sub tab.
    In the authorization scheme that would be
    return can_user_access_tab(:APP_USER,:CURRENT_PARENT_TAB_TEXT) --function returns BOOLEAN in this caseI haven't used it, so can't provide any more info on this at the moment.
    Update
    Use Jari's method and pass :APP_USER and :APP_PAGE_ID to the authorization scheme. You would have to set up the tab access table based on the page number for this.
    Edited by: vee on Mar 3, 2011 3:45 AM

  • Flex 3 TabNavigator getting tab name when tab clicked

    Hi All, I am using Flex 3.
    I have <mx:TabNavigator  id="dbtabs" width="100%" height="100%" click="changeTabs()"  />
    I am also adding tabs dynamically. 
    In the grand scheme of things, I want to let a user add tabs as needed and chose what content is on the tab.  This is saved data, so when they come back I need to reload their saved settings.
    What I am trying to do is find out how to get the index of the tab when it is clicked. Right now I have to click the tab then click in the vbox to get the selectedIndex.  Is there a way to get the selectedIndex as soon as the tab is clicked?
    Thanks.

    private function handleTabClick(evt:IndexChangedEvent):void
           var i:int = evt.newIndex;
    <mx:TabNavigator change="handleTabClick(event)">
            <mx:Canvas width="200" height="200" label="Tab 1"/>
            <mx:Canvas width="200" height="200" label="Tab 2"/>
    </mx:TabNavigator>
    Dany

  • Changing tab names on tabbed pane

    Hi all,
    just wondered if anybody knows how i can change the text that appears on my tabs in a jtabbedpane. So far I only have tab1, tab2 etc and I cant seem to find how to change this.
    Thanks alot

    just wondered if anybody knows ...Have you tried to find out by reading the API docs?
    {color:0000ff}http://java.sun.com/javase/6/docs/api/javax/swing/JTabbedPane.html{color}
    Read the method descriptions and tell us if you found anything you could use.
    db

  • Can we change NAME OF TAB and ITEM NAME  dynamically at runtime in forms 6i

    Hi all,
    I have a requirement like
    1) based on organization choosen the TAB NAME AND TAB LABLE name in tab canvas should be changed dynamically. can this happen?
    example: In forms i gave the NAME and LABLE OF TAB (PROPERTY PALLET) as *'TAB_INITIAL'* and *'TAB_INITIAL'* respectively .
    when org_1 is choosen , lable should be changed to 'TAB_ORG_1' .
    when org_2 is choosen , lable should be changed to 'TAB_ORG_2'. can the NAME also be changed dynamically??
    2)Similarly can we change the ITEM NAMES present on this tab based on organization selection?
    Thanks,
    Durga Srinivas

    Hello.
    You can perform this by using:
    set_tab_page_property('Tab_page_name', label,'your_desire_label');
    and for item set_item_property.
    More details on these built-ins and also some example can be found in Forms Builder Help.
    Regards,
    Alex
    If someone's answer is helpful or correct please mark it accordingly.

  • How to get the name of the current tab.

    Hi Experts,
    I have two tabs in my tab strip and a button common to both the tabs.Can you please let me know how to get the name of the current tab in the event method of the push button.
    Thanks in advance.
    Regards,
    Arun

    1.Declare an Action for OnSelect event of Tabstrip. This event is triggered whenever any change in tab occurs.
    2. Declare an Import Parameter in this method
       Tab type String.
    3. This parameter has value of the selected TAB.
    4. You can set this value in some Attribute in Attribute Tab in this event only (OnSelect):
         wd_this->Att  = Tab.
    Att is the attribute created by you in Attributes Tab of View. ( of type String)
    5. Now the selected Tab ID is stored in this Attribute Att.
    6. In the Onaction of Button , retrieve the selected tab value from this attribute using :
               Data : lv type string.
                lv =  wd_this->Att
    Now lv has your selected TAB ID.
    I hope it would help you.
    Edited by: Saurav Mago on Oct 13, 2009 2:22 PM

  • How to get block name in a tab canvas

    I am trying to develope a form with six tabs on a tab canvas. Each tab pages contains a block derived from a database table and not items taken from the same table.
    If I want to capture the name of the block in a tab page when page is changed, How can I do it.

    If you like CRAZY PAIN you can parse dbms_utility.format_call_stack to get the trigger name and owner and then using all/user_triggers extract info of table name, which has such trigger defined on it.
    Although I wouldn't do that :)
    I'd simply create a variable in trigger definition containing table_name and/or another variable containing trigger name and use them.
    It is especially easy if you are generating triggers for example for some auditing purposes.
    Gints Plivna
    http://www.gplivna.eu

  • Getting the tab name

    Version: 4.1.1.00.23
    Hey,
    I need to capture the tab name when it is clicked. Is there any way to do this??
    I created dynamic breadcrumbs and when the user clicks the tab to enter a page the application items used to contain the values for the breadcrumb path are not being cleared. So when the user clicks a tab to go into the page directly the breadcrumb path is the last entry created in the trail, but it should be the only entry in the breadcrumb path.
    eg: User is on Page 1 and clicks a button bringing them to page 2 and the breadcrumb will be Page 1>Page 2.
    However, if the user clicks a tab to go directly into page 2, the breadcrumb should just be Page 2 and it's showing Page 1 > Page 2 and this is because the application items holding the values are not being cleared.
    Does someone have a solution to this?
    Thanks.
    Parth.

    psampat wrote:
    Version: 4.1.1.00.23
    Hey,
    I need to capture the tab name when it is clicked. Is there any way to do this??
    If it's a standard tab then the value of the built-in substitution string REQUEST is set to the tab name when it is clicked.
    Alternatively, query the APEX_APPLICATION_TABS view using the page ID in a Before Header computation/process in the destination page, something like:
    select
              aat.*
    from
              apex_application_tabs aat
    where
              aat.application_id = :app_id
    and       (   aat.tab_page = :app_page_id
               or instr(
                      ',' || aat.tab_also_current_for_pages || ','
                    , ',' || :app_page_id || ',') > 0)

  • Active Tab has floating chinese characters as well as the tab name how do I get rid of this?

    Previously this seemed to driven by an addin which I removed. Now each time Firefox updates itself every 1-2 days this problem reappears without the original addin. Because the chinese characters float over the top of the tab name it makes it difficult to read the tab name is is plain irritating.

    hi, some other affected users tied the issue to the mcafee site advisor extension - please try to disable or remove that in case you have it present.
    [[Disable or remove Add-ons]]

  • Getting row names in cross tab

    Hello all,
    I have a filed in columns and ard 5 fields in summary and nothing in my rows. Now in order to get the row names i have manually written them but they do not show up when i export the report to excel.
    Can anyone suggest how to get row names?
    Thanks,
    Robinn

    Someone pls suggest me something.
    Thanks
    Robinn

  • Why data are not getting poulated in dynamically added tab in a tab navigator???

    Hi All,
    I am facing a very strange problem and need you expert opinion on this. Ok so the problem goes like this:
    In my application i have a tab navigator where i have 2 fixed tabs say tab A and tab B. In tab B I have a data grid where All the user name are getting populated. Once the user clicks on any datagrid row i am dynamically adding a new tab based on username , so if in my datagrid u1,u2 and u3 are getting displayed then once you clik on u1 a new tab called u1 is getting displayed. Code for this goes like this:
    var vbox1: VBox= new VBox();
    box1.label=mydatagrid.selectedItem.uName;
    var sde:* = new searchDetails();
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    Application.application.searchdetails.displayall();
    I have created a component called searchDetails where i have designed the page wit various fields for this tab.This also has a method called displayall() which is populating the data in all fields using php an my sql where i have designed the page wit various fields for this tab.
    New tab is getting displayed perfectly. My problem is once the tab is getting displayed fields are not getting populated with data.
    Please let me know what wrong i am doing. I am really struggling

    Hmm.. you have to assign text to the labelfields on creation complete not before that, the fllow will be like this
    var vbox1: VBox= new VBox();
    var sde:* = new searchDetails();
    vbox1.addEventListener(creationcompleteevent,function);
    vbox1.addChild(sde);
    myTabnavigator.addChild(vBox1);
    function(e:event):void{
    box1.label = "text";

  • In excel sheet tab name is not coming-urgent

    hi all,
    one small rewquirement. if u run this test program it opens a excel sheet which contains signle tab. here tab name is not coming. i dont no hot to display tabname here.anybody can  make the changes and send me the code.
    i am sending my code below.
    thanks,
    maheedhar.t
    REPORT  ytestvij MESSAGE-ID zv.
    TABLES sscrfields.
    TYPE-POOLS: icon.
    TYPES : BEGIN OF zfnames_ds,
            reptext TYPE reptext,
            END OF zfnames_ds.
    TYPE-POOLS ole2 .
    DATA: wa_fntxt TYPE smp_dyntxt.
    DATA : wa_t75_booking TYPE zvt75_booking_h,
            t_t75_booking TYPE STANDARD TABLE OF zvt75_booking_h.
    DATA : wa_fields TYPE dfies,
            t_fields TYPE STANDARD TABLE OF dfies.
    DATA : wa_fnames TYPE zfnames_ds,
            t_fnames TYPE STANDARD TABLE OF zfnames_ds.
    handles for OLE objects
    DATA: h_excel TYPE ole2_object,        " Excel object
          h_mapl TYPE ole2_object,         " list of workbooks
          h_map TYPE ole2_object,          " workbook
          h_zl TYPE ole2_object,           " cell
          h_f TYPE ole2_object.            " font
    DATA  h TYPE i.
    DATA : lin TYPE i.
    data: excel       type ole2_object,
          application type ole2_object,
          books       type ole2_object,
          book        type ole2_object,
          sheet       type ole2_object,
          cell        type ole2_object,
          column      type ole2_object.
    PARAMETERS : p_input TYPE localfile.
    Add button to application toolbar
    SELECTION-SCREEN FUNCTION KEY 1.  "Will have a function code of 'FC01'
    INITIALIZATION.
    Add displayed text string to buttons
      wa_fntxt-icon_id = icon_xls.
      wa_fntxt-icon_text = 'Input File template'.
      wa_fntxt-quickinfo = 'T75 Header Data'.
      sscrfields-functxt_01 = wa_fntxt.
    AT SELECTION-SCREEN.
      IF sscrfields-ucomm = 'FC01'.
    do nothing
        PERFORM open_excel.
      ENDIF.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_input.
      PERFORM get_filename USING p_input.
    START-OF-SELECTION.
    *set pf-status 'ONE'.
    END-OF-SELECTION.
      WRITE : lin.
    *&      Form  GET_FILENAME
          text
    -->  p1        text
    <--  p2        text
    FORM get_filename USING p_file TYPE rlgrap-filename . "localfile.
      DATA : w_rc TYPE i.
      DATA : wa_file_table TYPE file_table ,
              t_file_table TYPE STANDARD TABLE OF file_table.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
       EXPORTING
         WINDOW_TITLE            =
         DEFAULT_EXTENSION       =
         DEFAULT_FILENAME        =
         FILE_FILTER             =
         INITIAL_DIRECTORY       =
         MULTISELECTION          =
        CHANGING
          file_table              = t_file_table[]
          rc                      = w_rc
         USER_ACTION             =
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          OTHERS                  = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT t_file_table INTO wa_file_table.
        p_file = wa_file_table-filename.
      ENDLOOP.
    ENDFORM.                    " GET_FILENAME
    *&      Form  open_excel
          text
    -->  p1        text
    <--  p2        text
    FORM open_excel.
    SELECT * FROM ZVT75_BOOKING_H
              INTO TABLE t_t75_booking
              UP TO 10 ROWS.
    start Excel
      CREATE OBJECT h_excel 'EXCEL.APPLICATION'.
      PERFORM err_hdl.
      SET PROPERTY OF h_excel  'Visible' = 1.
      PERFORM err_hdl.
    get list of workbooks, initially empty
      CALL METHOD OF h_excel 'Workbooks' = h_mapl.
      PERFORM err_hdl.
    add a new workbook
      CALL METHOD OF h_mapl 'Add' = h_map.
      PERFORM err_hdl.
    output column headings to active Excel sheet
      PERFORM fill_cell USING 1 1 1 'Financial year'.
      PERFORM fill_cell USING 1 2 1 'Financial quarter'.
      PERFORM fill_cell USING 1 3 1 'Customer number'.
      PERFORM fill_cell USING 1 4 1 'Booking Year'.
      PERFORM fill_cell USING 1 5 1 'Financial quarter'.
      PERFORM fill_cell USING 1 6 1 'Contract type'.
      PERFORM fill_cell USING 1 7 1 'Sub Contract type'.
      PERFORM fill_cell USING 1 8 1 'Customer purchase order number'.
      PERFORM fill_cell USING 1 9 1 'Booking Amount'.
      PERFORM fill_cell USING 1 10 1 'Currency Key'.
    LOOP AT t_t75_booking into wa_t75_booking.
    copy items to active EXCEL sheet
       H = SY-TABIX + 1.
       PERFORM FILL_CELL USING H 1 0 wa_t75_booking-BOOKYEAR.
       PERFORM FILL_CELL USING H 2 0 wa_t75_booking-BOOKQTR.
       PERFORM FILL_CELL USING H 3 0 wa_t75_booking-.
       PERFORM FILL_CELL USING H 4 0 wa_t75_booking-BOOKYEAR.
       PERFORM FILL_CELL USING H 5 0 wa_t75_booking-BOOKQTR.
    ENDLOOP.
    disconnect from Excel
      FREE OBJECT h_excel.
      PERFORM err_hdl.
    ENDFORM.                    " open_excel
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM err_hdl.
    data test type sy-subrc.
    test = sy-subrc.
      IF test <> 0.
         Message e000(ZV) with 'Error in OLE-Automation:'.
        STOP.
      ENDIF.
    ENDFORM.                    " ERR_HDL
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM fill_cell USING i j bold val.
      CALL METHOD OF h_excel 'Cells' = h_zl EXPORTING #1 = i #2 = j.
      set property of sheet 'Name'  = 'T75'.
      PERFORM err_hdl.
      SET PROPERTY OF h_zl 'Value' = val .
      PERFORM err_hdl.
      GET PROPERTY OF h_zl 'Font' = h_f.
      PERFORM err_hdl.
      SET PROPERTY OF h_f 'Bold' = bold .
      PERFORM err_hdl.
    ENDFORM.

    Hi,
    Look at the below thread, i posted complete code in this one, just copy that Program and past in your SAP and run the Program, it will create 3 sheets with the names also, then look at the Sheet name in the code, you will understand where to add the code
    Re: format an excel
    Regards
    Sudheer

  • Getting Selections from each Tab of a Script UI Tabbed Panel

    I am in the process of creating a script to import fields from any tab delimited file. Mainly for directories but at times we have other items. The number and names of fields are always changing so it has to be flexible. The user first selects the file, then selects the field names, and orders the field names. That all works. The next step is for the user to then select the formatting to go between each field. Which is where I run into a problem.
    The below is created from the array of the ordered field names, as you can see the creation of the box works fine. The tab names are the names of the field and they show up in the right order. However, no matter what I select on the other tabs my value is always defaulting to whatever the last selection (in this case the selection on the Streetname tab). What is really weird is I am getting the correct name of the tab but not the correct formatting for that tab- no matter what I've tried I get only the formatting for the last tab. I have gone through multiple rounds and numerous searches and can't seem to figure out what is wrong. Any help would be appreciated.
    //|||||||||||||||||||||||||||||||||||||||||||| function formatFields(finalList) ||||||||||||||||||||||||||||||||||||||||||||
    //From the selected headers arrange in the order they should be imported
    function formatFields(finalList){
        //set formatting variables for preview window
        var Pvw_space = "\u00A0"; //unicode space character for preview window
        var Pvw_tab = "\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0"; //unicode space characters simulating tab for preview window
        var Pvw_flb = "\n"; //forced line break for preview
        var Pvw_comma = "," + Pvw_space;
        var Pvw_string = "";
        var selForm=[];
        //create and populate tabbed window
        var FF_win = new Window ("dialog", "Select formatting for each field", undefined, {closeButton: false});
        FF_win.alignChildren = "right";
        var tpanel = FF_win.add ("tabbedpanel");
        tpanel.alignChildren = ["fill", "fill"];
        tpanel.preferredSize = [350,300];
        //create one tab for each field
        for (i = 0; i < finalList.length; i++) {
            var tabName = finalList[i].toString();
            var general = tpanel.add ("tab", undefined, tabName,{name:tabName});
            general.alignChildren = "fill";
            var g_options = general.add ("panel", undefined, "Please select the formatting to follow this field");
            g_options.alignChildren = "left";
            g_options.tab = g_options.add ("radiobutton", undefined, "Tab");
                g_options.tab.value = true;
            g_options.flb = g_options.add ("radiobutton", undefined, "Forced Line Break");  
            g_options.space = g_options.add ("radiobutton", undefined, "Space");           
            g_options.comma = g_options.add ("radiobutton", undefined, "Comma");
        //Preview and Cancel buttons
        var Confrimgrp = FF_win.add("group");
        Confrimgrp.orientation="row";
        var Prev_button = Confrimgrp.add("button",undefined,"Preview",{name:"ok"});
        var Back_button = Confrimgrp.add("button",undefined,"Back",{name:"cancel"});    
        //determine sorting of list
        Prev_button.onClick = function() {
            for (i = 0; i < finalList.length; i++) {
                with (FF_win.findElement(finalList[i].toString())){
                    if (g_options.tab.value == true){
                        alert (finalList[i].toString() + ": tab");
                    if (g_options.flb.value == true){
                        alert (finalList[i].toString() + ": FLB");                
                    if (g_options.space.value == true){
                        alert (finalList[i].toString() + ": space");                
                    if (g_options.comma.value == true){
                        alert (finalList[i].toString() + ": comma");                
        Back_button.onClick = function(){$.destroy();}
        //show dialog
        FF_win.show();   
        Back_button.onClick = function(){$.destroy();}
        //show dialog
        FF_win.show();   

    Adding an instance moves it, it does not copy it.

Maybe you are looking for

  • A better way to syncronize objects in servlets

    Hi, I am working on a webapp that has a servlet that invoque a instance of a object that accesses our sybase server. What is the best secure way to syncronize to avoid problems at the database? I have searched all of these but I am still confused: Sy

  • Help: Export format from FCP for DVD Studio

    What settings do I export my 3 minute film so I can use DVD Studio Pro? (What size do I want if I want my film to be wide screen just like a professional DVD movie you buy at your nearest store?) Thank You!

  • Product id on dos

    I am trying to upload a multifolio app on dps profesionnal.What is the product id on the dps folio producer and how i get it?Is it just a name that i give on my own or i have to find it from somewhere? Thanks in advance.

  • When opening PDF files in CS6 they show inverted as default?

    Yes (Command I) is a quick fix to this issue but wondering why the default is set as invert?

  • Safari 2.0.3: curious cookie - bbc.co.uk

    this cookie shows up in Safari pretty much when I go to any new pages, once I land on my default page. I suspect there must be some spyware installed somewhere on my machine thta plants this cookie. Very unnerving. Anyone familiar with this? And any