How to set a window title...

Let me start with the basics:
If you create an extension, the Stage Manager will create the container for you and load the swf into the container. This container can be one of three types: Panel, Model Dialog, or Modeless Dialog. Any one of these containers have titles. The StageManager will create a title with the menu name you provide.
So far so good.
If you do not provide a menu name (so it shold not appear in the menu, the StageManager will create a title which appears to be either the exention id or the package id (depending on the app).
Not so good, but let's continue:
If you have an extension load a Window, you can set the title of the Window using the Window's title property.
Good.
This all basically amounts to: if you want to open a window and set its title, you are really better off using Windows rather than separate extensions.
Not ideal, but mostly workable.
Now for the problem:
Fireworks opens new windows INSIDE THE MAIN PANEL!!! When you close this window, it closes the panel as well, and the panel is inaccessible until the next launch of the app. This is obviously a bug... Fireworks appears to only support panels and not model or modelless dialogs.
I am trying to work around this issue by making my dialog its own extension. This solves the problem of Fireworks opening it within the main panel. However, I do not want my sub-extension to appear in the menus, so I do not want to give it a menu name. I do however, want to set the title of the window.
What to do???
Harbs

I worked out a hack to (sort of) get around this issue:
            private function preinit():void{
                Object(this.parent.parent.parent.parent).title = "I really should not need to make the title like this!!!";
Is there a better workaround?
Harbs

Similar Messages

  • How to set browser window title from FPM ?

    How do I set brwoser window title at runtime in FPM ?
    Using IDR area objetc I can set only apllication are(ident area) title, not the browser window title. Browser window title is set statically from iView name of in portal, and PFCG contect if in NWBC client.
    But in my case, I want to set it at runtime, for eg. in case of Purchase Order window, I want to set it as 'Purchase Order:<PO number>
    Is there any API to set this?
    Thanks again,
    Hari
    Edited by: Hari Krishnan P on Jun 9, 2010 10:22 AM

    When you call it as external window you may pass the title. other than that i am afraid you are left with no choice.

  • How to set Terminal window title?

    No matter what I try the Terminal title stays the same.
    Here is the terminal settings window :
    Any suggestion?
    TIA

    Does anyone know how to set Terminal title from shell? It seems there is something that resets the title when the command (printf/echo) finishes and the next prompt appears.
    Thanks.

  • How to set browser window title?

    Hello..
    Is there a way to change browser window title at runtime? I am using WD ABAP with FPM
    Please suggest an API.
    Thanks in Advance

    Hi Hari,
    For changing the application title you need to configure, which i assume u know and have configured.
    now you can use the following code to change the title.
      DATA lo_idr TYPE REF TO if_fpm_idr.
    get idr instance*
      lo_idr ?= cl_fpm_service_manager=>get_service( cl_fpm_service_manager=>gc_key_idr ).
      IF lo_idr IS NOT INITIAL.
        lo_idr->set_application_title(
          EXPORTING
            iv_title = lv_heading
            iv_title_tooltip = lv_heading ).
      ENDIF.
    where lv_heading is the new heading.
    for any other question on FPM post it in Floorplan Manager for WebDynpro Abap fourm
    Hope this will help you.
    Thanks & Regards,
    Arvind

  • Set browser window title in template page

    Hi,
    How I can set the window title in template page ?
    I know how to do it in regular page:
    <af:document id="d1" title="Dashboard">
    But in template I don't have a document tag.
    so I added this before the <af:form> :
    <html>
    <head>
    <title> My title </title>
    </head>
    </html>
    But the problem is that I want to insert in the title something like that:
    title="#{generalPage.serverName}"
    Any ideas how can i do it ?
    Thanks

    You don't set the title in the template, you set the title in the page that is based on the template.
    There you will have the af:document tag.

  • How to Change the Windows Title in EP7.0

    Hi
    Can anyone provide some pointers on how to change the windows title bar in EP 6.0
    We would like to remove the words "SAP Netweaver Portal" from the title.
    I have found OSS note  695903 however this refers to EP6.0
    Thanks in advance.
    Ian

    Hi,
    For people who have no access to the note, here are the steps involved. The same steps are listed in the note :
    1) Logon to your portal with your user who has super_admin role.
    2) Go to the System Administration tab -> System Configuration tab.
    3) Go to the Service Configuration -> Central Configuration.
    4) Change the portal.html.head.title part. Do no forget to save the changes you made.
    5) Restart the j2ee server to be able to see the changes on the portal
    Cheers,
    Sunil

  • How to set a Caption/title in ALv

    Hi frnds,
    Can you tell me how to set a caption/title to a ALV grid.
    Regards
    Anuj

    hi
    try like this
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED',
          i_title_vbak TYPE lvc_title VALUE 'SECOND LIST DISPLAYED'.
    populate additional paramete as follows.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       i_callback_pf_status_set          = 'PF_STATUS_SET'
         i_callback_user_command           = 'USER_COMMAND'
       i_callback_top_of_page            = 'TOP-OF-PAGE'
         i_grid_title                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    or if you want top of page
    populate the events table and use alv_commentary_write
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
      REFRESH it_listheader.
    try the below code u will get a clear picture
    report zalv no standard page heading.
    TYPE-POOLS : slis.
    TABLES: kna1.
    TYPES : BEGIN OF ty_kna1 ,
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            land1 LIKE kna1-land1,
            END OF ty_kna1.
    DATA: it_kna1 TYPE TABLE OF ty_kna1.
    DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
           wa_fieldcat TYPE slis_fieldcat_alv.
    DATA : wa_layout TYPE slis_layout_alv .
    DATA : it_events TYPE  slis_t_event ,
           wa_events TYPE slis_alv_event.
    DATA : it_listheader TYPE slis_t_listheader,
           wa_listheader TYPE slis_listheader,
           it1_listheader TYPE slis_t_listheader,
           wa1_listheader TYPE slis_listheader.
    DATA: i_title_kna1 TYPE lvc_title VALUE 'FIRST LIST DISPLAYED'.
    INITIALIZATION.
      PERFORM getevents using it_events.
      PERFORM desinlayout.
    START-OF-SELECTION.
      PERFORM desinfieldcat.
      PERFORM datafetching.
      PERFORM display.
    *&      Form  desinfieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM desinfieldcat .
    wa_fieldcat-row_pos = 1.
      wa_fieldcat-col_pos = 1.
      wa_fieldcat-fieldname = 'KUNNR'.
      wa_fieldcat-seltext_l = 'Cust Num'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      wa_fieldcat-key = 'X'.
    wa_fieldcat-hotspot = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 2.
      wa_fieldcat-col_pos = 2.
      wa_fieldcat-fieldname = 'NAME1'.
      wa_fieldcat-seltext_l = 'Name'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 35.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    wa_fieldcat-row_pos = 3.
      wa_fieldcat-col_pos = 3.
      wa_fieldcat-fieldname = 'LAND1'.
      wa_fieldcat-seltext_l = 'Country'.
      wa_fieldcat-datatype = 'CHAR'.
      wa_fieldcat-outputlen = 10.
      wa_fieldcat-tabname = 'IT_KNA1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat.
    ENDFORM.                    " desinfieldcat
    *&      Form  datafetching
          text
    -->  p1        text
    <--  p2        text
    FORM datafetching .
      SELECT kunnr name1 land1
             FROM kna1
             INTO TABLE it_kna1
             UP TO 30 ROWS.
    ENDFORM.                    " datafetching
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
         i_callback_program                = sy-repid
       I_GRID_TITLE                      = i_title_kna1
         is_layout                         = wa_layout
         it_fieldcat                       = it_fieldcat
       it_events                         = it_events
        TABLES
          t_outtab                          = it_kna1.
    ENDFORM.                    " display
    *&      Form  desinlayout
          text
    -->  p1        text
    <--  p2        text
    FORM desinlayout .
      wa_layout-zebra = 'X'.
      wa_layout-colwidth_optimize = 'X'.
    *wa_layout-edit = 'X'.
    ENDFORM.                    " desinlayout
    *&      Form  getevents
          text
    -->  p1        text
    <--  p2        text
    FORM getevents using p_it_events type slis_t_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
      IMPORTING
         et_events             = p_it_events
       EXCEPTIONS
         list_type_wrong       = 1
         OTHERS                = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    READ TABLE p_it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " getevents
    *&      Form  populatevents
          text
    -->  p1        text
    <--  p2        text
    FORM populatevents .
      READ TABLE it_events INTO wa_events WITH KEY name = 'TOP_OF_PAGE'.
      wa_events-form = 'TOP_OF_PAGE'.
      MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = wa_events-name.
    ENDFORM.                    " populatevents
    *&      Form  top-of-page
          text
    FORM TOP_OF_PAGE.
      wa_listheader-typ = 'H'.
      wa_listheader-info = 'Customer Details'.
      APPEND wa_listheader TO it_listheader.
      CLEAR wa_listheader.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary       = it_listheader
          i_logo                   = 'EDSLOGO'
      REFRESH it_listheader.
    ENDFORM.                    "top-of-page
    REWARD IF HELPFUL
    PRASANTH

  • How to change the Window Title on a per build spec basis?

    I would like to be able to make 4 "build specificiations" against the same Startup-VI and be able to have the Window Title different in each of the output executables.   I know how to change the Window Title for the VI itself, but for some reason, I don't see the ability to override this information in Source File Settings --> Customize VI Properties dialog of the build specification.    Is there perhaps a way to do this programattically with VI server?  Perhaps there is a way I can define a unique symbol on each of the build specs and then do a case statement in code to determine which title to display based on the symbol that was defined?
    Thanks,

    You can use the appropriately named Window Title property. In your project you can define conditional disable symbols (right-click on the project node and select Properties) and then use a conditional disable structure in your code. However, these symbols apply to the entire project, not to a specific executable. Thus, a better route would be to use the executable name (also accessible via a property), if possible, or some other distinction between the executables. What makes the executables different?

  • How to change main window title of oracle ebs

    Hi all,
    Kindly tell me how can we change the main title of oracle ebs 11i.
    Thanks

    Hello Gloscott,
    Welcome to the Aperture discussion forum. Congratulations. You just hijacked a thread. That's bad form for 2 reasons. First, you added a message to a thread called "How to change main window view" which makes it look like you had information to add that thread, and you did not. Second, people who can help you are more likely to read a message that has your problem in the subject than they are to read this message. I.e., you won't get what you want if you ask for something else.
    That being said, when you repost your query in a new thread, you'll have to be more specific. A "Frame" is not in the regular Aperture terminology.
    nathan
    Message was edited by: Mr Endo

  • How to set my windows to open at their default size every time.

    Ok, when I connect to my computer with splash top from my ipad my windows resize.  Is there a way to set my windows to just open at default size no matter what.  So every time I open a program the window is at default factory settings size.
    Thank you,
    Byggy687

    > How can I create a username and password pop up window?
    Use DW's OpenBrowser Window behavior.
    > Is that database related?
    The pop up window is not, but the processing of the login is
    likely to be.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Inokat" <[email protected]> wrote in
    message
    news:efd2l7$nns$[email protected]..
    > :), Man there are some excited people out there.
    > I got the picture after the first answer. Thanks David.
    >
    > I have another Q.
    > How can I create a username and password pop up window?
    Is that database
    > related?
    >
    > By the way, for those excited people out there, ?CHILL?
    >
    >
    >

  • How to Change Applet Windows Title in EBS 11.5.10.2?

    Dear All, would like to check How do I change the Applet Form Windows Title in EBS 11.5.10.2?
    Thanks.

    Hi,
    Anybody know how to change the wording in the red rectangle part ?Check my previous reply, it answers your question (login to System Administrator responsibility and navigate to Profile > System, search for the profile name, and change it at the Site level).
    Regards,
    Hussein

  • How to set image in title of Panel in flex 4

    Hai Friends,
    I don't how to set title have image in  Panel(spark panel) of flex 4 , so please any one help to me  ...and send code...
    { normally title =" something text" but my case title="some image come here"  }
    Thanks & regards,
    Magesh R.

    You need to set the icon property to a Class variable that is the image (embedded image).

  • How to read browser(window) title in jsp?

    Hi,
    I need to read/find window title in my jsp code. Is there any method/way using which I can find window title?
    I can read it in javascript using window.document.title but as we know that we can not use javascript inside jsp, I am not able to use this method.
    Any help will be appriciated.
    Rohit

    Is your decision based upon the title of the page you are generating or the title of the page you have just come from?
    In either case, basing logic off of a window title sounds like a potential for trouble to me.
    If you want to make a decision, then send a parameter for the web application to react to.
    You can't get the window.title of the previous page.
    You are generating the current page, so you should already KNOW what the title of that page is right? You just printed it!
    Potential alternatives which are roughly equivalent:
    request.getHeader("referer") gets the url of the page that sent you to this one
    request.getRequestURI gets the jsp being currently executed.
    request.getAttribute("javax.servlet.forward.request_uri") will get you the original uri that was requested (assuming the page has been forwarded)
    Cheers,
    evnafets

  • How to Set Report Region Title Dynamically

    I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    This is working great. The title of the report region is "Intraday Color Code Test - &P1_LAST_REFRESH_TIME."
    I have a hidden page item named P1_LAST_REFRESH_TIME on the page that contains the last time the report was refreshed. I am struggling with resetting this value when the report region is refreshed. ( May not even need this item!)
    To address this, I created an On Demand application process that gets the Last Refreshed string. I then altered the above code like this:
    <script type="text/javascript">
    //automatic reload IRR
    function fnc_reloadIRR () {
    var ajaxRequest = new htmldb_Get( null, &APP_ID., 'APPLICATION_PROCESS=SET_LAST_REFRESH_TIME',0);
    gReport.search('SEARCH');
    window.setTimeout(fnc_reloadIRR, 10000);
    ajaxResult = ajaxRequest.get();
    // this means the code execution starts after 10 seconds
    window.setTimeout(fnc_reloadIRR, 10000);
    </script>
    Note the addition of the ajaxRequest stuff. This, too, is working. That is, if I check the value in ajaxResult, it does contain the correct, current time. So far so good.
    What I can't figure out is how, now, to get a reference to the title attribute of the Interactive Report Region so that I can reset it.
    I AM SOOOOO CLOSE. Can anyone fill in this last part of the puzzle for me?

    To clarify, I really just need to know how to get a reference to the Report Region's title so that I can set it to the value currently stored in "ajaxResult"

  • Problem while setting External Window Title

    Hello,
    This should actually be a straighforward task, but I don't understand why I am facing a problem.
    I am opening an external window (browser) and trying to set the title of the window. Here is the code
         IWDWindow win = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"Title");     
         win.setTitle("Title");     
         win.removeWindowFeature(WDWindowFeature.ADDRESS_BAR);
         win.removeWindowFeature(WDWindowFeature.MENU_BAR);
         win.removeWindowFeature(WDWindowFeature.STATUS_BAR);
         win.removeWindowFeature(WDWindowFeature.TOOL_BAR);     
         win.setWindowPosition(100, 150);
         win.show();  
    The window opens well with the right URL. But the title does not seem to be changing at all. The URL is displayed instead of the title. Where could I be going wrong?
    I have placed this code within an action event
    We are using EP7 SP10.
    Thanks and Regards,
    Reena

    Hi Reema
    IWDWindow win = wdComponentAPI.getWindowManager().createNonModalExternalWindow(url,"Title");
    win.setTitle("Title");
    in the above code createNonModalExternalWindow(url,"Title");  here it self you are setting the title , just comment this statement [win.setTitle("Title");]
    and see the <b>source</b> of the external window whether you can see the title as you mentioned or not
    Best Regards
    Chaitanya.A

Maybe you are looking for

  • Safari won't open, can't even reset

    It works fine on my admin account, but won't work on my daily account. I tried clearing cache and stuff, but no joy. I can't reset because nothing comes up, and if I mouse over the task bar I just get the spinning beach ball of death. I would post th

  • Windows 7 64 bit: impossible to install if you have a 1.1 MP ?

    Hi all after 4 days of research, i have found the reason why either parallels 4 and bootcamp won;t install my 64 bit version of windows 7 and vista: basically the mac pro 1.1 has a 64 bit processor, but an EFI that is still at 32 bit, with the result

  • Tomcat5 and precompiling JSPs with Ant

    Hi I'm trying to precompile my JSPs in ANT and I'm using Tomcat5. Below is my taskdef: <target name="jsp" depends="build">     <!--          The Ant JSPC task doesn't work with Tomcat 5.0          so in the meantime we need to define our own task.   

  • Disabling Apple key in a JTable

    I have a JTable on Windows i can use CNTL-C,CNTl-V to copy and paste between cells. I then migrated it to OSX where the default is to use AppleCommand-C and AppleCommand-V instead. The problem is that it doesnt work because unlike pressing CNTL press

  • Database size estiamtion

    how to estimate the database size ,can anyone help, what are the parameters I need to consider.