Trigger ComboBox change handler before application displays

I have a ComboBox in a foods catalog, with has a list of categories, say, like this:
All Categories
Meats
Fish
Pasta
All categories are loaded at first, then, on the change event in the ComboBox, the food catalog is filtered and only foods in the selected category are displayed.
I want to eliminate the "All Categories" choice and just have the other three options in the ComboBox – On initial display, the ComboBox selectedItem would be Meats (selectedIndex = 0) but all the catalog items appear because the entire catalog is created on Application creationComplete.
The ComboBox is in a custom component.
The change handler is defined in that same component.
So, what I really need is to trigger that change handler before the display appears.
How do I achieve this?
Any ideas would be greatly appreciated.
Carlos

If this post answers your question or helps, please mark it as such.
Greg Lafrance
www.ChikaraDev.com
Flex Development, Training, and Support Services
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:Script>
    <![CDATA[
      import mx.events.ListEvent;
      private function changeFunc(evt:ListEvent):void{
        switch(evt.currentTarget.selectedLabel){
          case "All Categories":
            vs.selectedChild=all;
            break;
          case "Meats":
            vs.selectedChild=meats;
            break;
          case "Fish":
            vs.selectedChild=fish;
            break;
          case "Pasta":
            vs.selectedChild=pasta;
            break;
    ]]>
  </mx:Script>
  <mx:ComboBox id="cmbx" change="changeFunc(event);"
    creationComplete="cmbx.selectedItem='Meats';cmbx.dispatchEvent(new ListEvent(ListEvent.CHANGE))">
    <mx:dataProvider>
      <mx:String>All Categories</mx:String>
      <mx:String>Meats</mx:String>
      <mx:String>Fish</mx:String>
      <mx:String>Pasta</mx:String>
    </mx:dataProvider>
  </mx:ComboBox>
  <mx:ViewStack id="vs">
    <mx:VBox id="all" width="300" height="200" backgroundColor="0x000000"/>
    <mx:VBox id="meats" width="300" height="200" backgroundColor="0xFFFFFF"/>
    <mx:VBox id="fish" width="300" height="200" backgroundColor="0x0000FF"/>
    <mx:VBox id="pasta" width="300" height="200" backgroundColor="0xFF0000"/>
  </mx:ViewStack>
</mx:Application>

Similar Messages

  • ALV Change layout before Content is displayed

    Hello expert,
    How can i call default button "change layout" before the alv content?. i want that when the alv appear, the initial screen is like below, where user can choose which column he want to be displayed.
    any help please?

    Hi Hassim,
    Miantain in the Reuse Alv Grid display Layout as Save options below
       i_save                           = 'A'
    Example :
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
           i_callback_program                = sy-repid
           i_callback_top_of_page            = 'TOP_OF_PAGE'
           is_layout                         = layout_h
           i_callback_user_command           = 'USER_COMMAND'
           it_fieldcat                       = it_fieldcat
            i_save                           = 'A'
         TABLES
           t_outtab                          = it_final
    *   EXCEPTIONS
    *     PROGRAM_ERROR                     = 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.

  • How can we handle multiple applications in session method

    how can we handle multiple applications in .. session method.
    can any body reply me.
    thanks

    Hari,
    hi Check out this sample code to use session method
    REPORT  ztest_report
    NO STANDARD PAGE HEADING
                            LINE-SIZE 255
                            MESSAGE-ID ZRASH.
                    Internal Table Declarations                          *
    *--Internal Table for Data Uploading.
    DATA : BEGIN OF IT_FFCUST OCCURS 0,
             KUNNR(10),
             BUKRS(4),
             KTOKD(4),
             ANRED(15),
             NAME1(35),
             SORTL(10),
             STRAS(35),
             ORT01(35),
             PSTLZ(10),
             LAND1(3),
             SPRAS(2),
             AKONT(10),
           END OF IT_FFCUST.
    *--Internal Table to Store Error Records.
    DATA : BEGIN OF IT_ERRCUST OCCURS 0,
             KUNNR(10),
             EMSG(255),
           END OF IT_ERRCUST.
    *--Internal Table to Store Successful Records.
    DATA : BEGIN OF IT_SUCCUST OCCURS 0,
             KUNNR(10),
             SMSG(255),
           END OF IT_SUCCUST.
    *--Internal Table for Storing the BDC data.
    DATA : IT_CUSTBDC LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
    *--Internal Table for storing the messages.
    DATA : IT_CUSTMSG LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : V_FLAG1(1) VALUE ' ',
    "Flag used for opening session.
           V_TLINES LIKE SY-TABIX,
           "For storing total records processed.
           V_ELINES LIKE SY-TABIX,
           "For storing the no of error records.
           V_SLINES LIKE SY-TABIX.
           "For storing the no of success records.
             Selection screen                                            *
    SELECTION-SCREEN BEGIN OF BLOCK B1.
    PARAMETERS : V_FNAME LIKE RLGRAP-FILENAME,
                 V_SESNAM  LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN END OF BLOCK B1.
             Start-of-selection                                          *
    START-OF-SELECTION.
    *-- Form to upload flatfile data into the internal table.
      PERFORM FORM_UPLOADFF.
           TOP-OF-PAGE                                                   *
    TOP-OF-PAGE.
      WRITE:/ 'Details of the error and success records for the transaction'
      ULINE.
      SKIP.
             End of Selection                                            *
    END-OF-SELECTION.
    *-- Form to Generate a BDC from the Uploaded Internal table
      PERFORM FORM_BDCGENERATE.
    *--To write the totals and the session name.
      PERFORM FORM_WRITEOP.
    *&      Form  form_uploadff
        Form to upload flatfile data into the internal table.
    FORM FORM_UPLOADFF .
    *--Variable to change the type of the parameter file name.
      DATA : LV_FILE TYPE STRING.
      LV_FILE = V_FNAME.
    *--Function to upload the flat file to the internal table.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME                      =  LV_FILE
        FILETYPE                      = 'ASC'
          HAS_FIELD_SEPARATOR           = 'X'
        HEADER_LENGTH                 = 0
        READ_BY_LINE                  = 'X'
        DAT_MODE                      = ' '
      IMPORTING
        FILELENGTH                    =
        HEADER                        =
        TABLES
          DATA_TAB                      = IT_FFCUST
        EXCEPTIONS
          FILE_OPEN_ERROR               = 1
          FILE_READ_ERROR               = 2
          NO_BATCH                      = 3
          GUI_REFUSE_FILETRANSFER       = 4
          INVALID_TYPE                  = 5
          NO_AUTHORITY                  = 6
          UNKNOWN_ERROR                 = 7
          BAD_DATA_FORMAT               = 8
          HEADER_NOT_ALLOWED            = 9
          SEPARATOR_NOT_ALLOWED         = 10
          HEADER_TOO_LONG               = 11
          UNKNOWN_DP_ERROR              = 12
          ACCESS_DENIED                 = 13
          DP_OUT_OF_MEMORY              = 14
          DISK_FULL                     = 15
          DP_TIMEOUT                    = 16
          OTHERS                        = 17
      IF SY-SUBRC = 0.
    *--Deleting the headings from the internal table.
        DELETE IT_FFCUST INDEX 1.
    *--Getting the total number of records uploaded.
        DESCRIBE TABLE IT_FFCUST LINES V_TLINES.
      ENDIF.
    ENDFORM.                    " form_uploadff
    *&      Form  Form_bdcgenerate
        Form to Generate a BDC from the Uploaded Internal table
    FORM FORM_BDCGENERATE .
    *--Generating the BDC table for the fields of the internal table.
      LOOP AT IT_FFCUST.
        PERFORM POPULATEBDC USING :
                                    'X' 'SAPMF02D' '0105',
                                    ' ' 'BDC_OKCODE'  '/00' ,
                                    ' ' 'RF02D-KUNNR' IT_FFCUST-KUNNR,
                                    ' ' 'RF02D-BUKRS' IT_FFCUST-BUKRS,
                                    ' ' 'RF02D-KTOKD' IT_FFCUST-KTOKD,
                                    'X' 'SAPMF02D' '0110' ,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    ' ' 'KNA1-ANRED'  IT_FFCUST-ANRED,
                                    ' ' 'KNA1-NAME1' IT_FFCUST-NAME1,
                                    ' ' 'KNA1-SORTL'  IT_FFCUST-SORTL,
                                    ' ' 'KNA1-STRAS' IT_FFCUST-STRAS,
                                    ' ' 'KNA1-ORT01' IT_FFCUST-ORT01,
                                    ' ' 'KNA1-PSTLZ' IT_FFCUST-PSTLZ,
                                    ' ' 'KNA1-LAND1' IT_FFCUST-LAND1,
                                    ' ' 'KNA1-SPRAS' IT_FFCUST-SPRAS,
                                    'X' 'SAPMFO2D' '0120',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0125',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0130',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0340',     
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0360',
                                    ' ' 'BDC_OKCODE'  '=ENTR',
                                    'X' 'SAPMF02D' '0210',     
                                    ' ' 'KNB1-AKONT'  IT_FFCUST-AKONT,
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0215',
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0220',     
                                    ' ' 'BDC_OKCODE'  '/00',
                                    'X' 'SAPMF02D' '0230',     
                                    ' ' 'BDC_OKCODE'  '=UPDA'.
    *--Calling the transaction 'fd01'.
        CALL TRANSACTION 'FD01' USING IT_CUSTBDC MODE 'N' UPDATE 'S'
        MESSAGES INTO IT_CUSTMSG.
        IF SY-SUBRC <> 0.
    *--Populating the error records internal table.
          IT_ERRCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_ERRCUST.
          CLEAR IT_ERRCUST.
    *--Opening a session if there is an error record.
          IF V_FLAG1 = ' '.
            PERFORM FORM_OPENSESSION.
            V_FLAG1 = 'X'.
          ENDIF.
    *--Inserting the error records into already open session.
          IF V_FLAG1 = 'X'.
            PERFORM FORM_INSERT.
          ENDIF.
    *--Populating the Success records internal table.
        ELSE.
          IT_SUCCUST-KUNNR = IT_FFCUST-KUNNR.
          APPEND IT_SUCCUST.
          CLEAR IT_SUCCUST.
        ENDIF.
    *--Displaying the messages.
        IF NOT IT_CUSTMSG[] IS INITIAL.
          PERFORM FORM_FORMATMSG.
        ENDIF.
    *--Clearing the message and bdc tables.
        CLEAR : IT_CUSTBDC[],IT_CUSTMSG[].
      ENDLOOP.
    *--Getting the total no of error records.
      DESCRIBE TABLE IT_ERRCUST LINES V_ELINES.
    *--Getting the total no of successful records.
      DESCRIBE TABLE IT_SUCCUST LINES V_SLINES.
    *--Closing the session only if it is open.
      IF V_FLAG1 = 'X'.
        PERFORM FORM_CLOSESESS.
      ENDIF.
    ENDFORM.                    " Form_bdcgenerate
    *&      Form  populatebdc
          FOrm to Populate the BDC table.
    FORM POPULATEBDC  USING    VALUE(P_0178)
                               VALUE(P_0179)
                               VALUE(P_0180).
      IF P_0178 = 'X'.
        IT_CUSTBDC-PROGRAM = P_0179.
        IT_CUSTBDC-DYNPRO = P_0180.
        IT_CUSTBDC-DYNBEGIN = 'X'.
      ELSE.
        IT_CUSTBDC-FNAM = P_0179.
        IT_CUSTBDC-FVAL = P_0180.
      ENDIF.
      APPEND IT_CUSTBDC.
      CLEAR IT_CUSTBDC.
    ENDFORM.                    " populatebdc
    *&      Form  FORM_OPENSESSION
          Form to Open a session.
    FORM FORM_OPENSESSION .
    *--Variable to convert the given session name into reqd type.
      DATA : LV_SESNAM(12).
      LV_SESNAM = V_SESNAM.
    *--Opening a session.
      CALL FUNCTION 'BDC_OPEN_GROUP'
       EXPORTING
         CLIENT                    = SY-MANDT
         GROUP                     = LV_SESNAM
         HOLDDATE                  = '20040805'
         KEEP                      = 'X'
         USER                      = SY-UNAME
         PROG                      = SY-CPROG
    IMPORTING
       QID                       =
       EXCEPTIONS
         CLIENT_INVALID            = 1
         DESTINATION_INVALID       = 2
         GROUP_INVALID             = 3
         GROUP_IS_LOCKED           = 4
         HOLDDATE_INVALID          = 5
         INTERNAL_ERROR            = 6
         QUEUE_ERROR               = 7
         RUNNING                   = 8
         SYSTEM_LOCK_ERROR         = 9
         USER_INVALID              = 10
         OTHERS                    = 11
      IF SY-SUBRC <> 0.
        WRITE :/ 'Session not open'.
      ENDIF.
    ENDFORM.                    " FORM_OPENSESSION
    *&      Form  FORM_INSERT
          fORM TO INSERT ERROR RECOED INTO A SESSION.
    FORM FORM_INSERT .
    *--Inserting the record into session.
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          TCODE                  = 'FD01'
        POST_LOCAL             = NOVBLOCAL
        PRINTING               = NOPRINT
        SIMUBATCH              = ' '
        CTUPARAMS              = ' '
        TABLES
          DYNPROTAB              = IT_CUSTBDC
        EXCEPTIONS
          INTERNAL_ERROR         = 1
          NOT_OPEN               = 2
          QUEUE_ERROR            = 3
          TCODE_INVALID          = 4
          PRINTING_INVALID       = 5
          POSTING_INVALID        = 6
          OTHERS                 = 7
      IF SY-SUBRC <> 0.
        WRITE :/ 'Unable to insert the record'.
      ENDIF.
    ENDFORM.                    " FORM_INSERT
    *&      Form  FORM_CLOSESESS
          Form to Close the Open Session.
    FORM FORM_CLOSESESS .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          NOT_OPEN    = 1
          QUEUE_ERROR = 2
          OTHERS      = 3.
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    " FORM_CLOSESESS
    *&      Form  FORM_FORMATMSG
          Form to format messages.
    FORM FORM_FORMATMSG .
    *--Var to store the formatted msg.
      DATA : LV_MSG(255).
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          ID        = SY-MSGID
          LANG      = SY-LANGU
          NO        = SY-MSGNO
          V1        = SY-MSGV1
          V2        = SY-MSGV2
          V3        = SY-MSGV3
          V4        = SY-MSGV4
        IMPORTING
          MSG       = LV_MSG
        EXCEPTIONS
          NOT_FOUND = 1
          OTHERS    = 2.
      IF SY-SUBRC = 0.
        WRITE :/ LV_MSG.
      ENDIF.
      ULINE.
    ENDFORM.                    " FORM_FORMATMSG
    *&      Form  form_writeop
          To write the totals and the session name.
    FORM FORM_WRITEOP .
      WRITE :/ 'Total Records Uploaded :',V_TLINES,
               / 'No of Error Records :',V_ELINES,
               / 'No of Success Records :',V_SLINES,
               / 'Name of the Session :',V_SESNAM.
      ULINE.
    ENDFORM.                    " form_writeop
    Don't forget to reward if useful..

  • BatteryWatch is requesting changes to its application control permissions

    I am using an ad-supported application called BatteryWatch (1.9.7) and everything used to be fine.
    Now, however, everytime I open it I get the request "BatteryWatch is requesting changes to its application control permissions."
    No matter how I change the permissions, this message ALWAYS appears.
    The strange thing is that it didn't use to happen before.
    Since the time that it was working I have updated the application, updated Blackberry App World and I think the company might have moved onto BES/BIS(?).
    Any idea how I can stop this message appearing?

    Hi and Welcome to the Community!
    If your company indeed did move to BES and if indeed your BB has been activated on BES, then BES could be pushing out specific control permissions that are in conflict with what that app thinks it needs...and BES will win every time. So, when you launch the app, it prompts for a change to the permissions to what it thinks it needs...but, since BES is in control, it can't actually change the permission, and prompts again the next time.
    Basically, there is nothing you can do...BES wins every time.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Changed handling of Microsoft Word .doc files in Finder and Quicklook

    This is happening on my new MacBook Pro with Retina Display and Mountain Lion 10.8.4.
    Starting a week or 10 days ago, the appearance and behavior of .doc files in my finder changed from the .docx style to the style associated with Word 6.0/95. The application associated with .doc files has always been MS Word 2011. Before this changed, I could preview them in quicklook and the icons were not changed.  Word will open the .doc files if I double click from the finder (or open them from the application's Open command) but I can't quicklook the doc. files. I have tried to change the application using the two finder methods, namely through the "Get Info" command or by control-clicking on the .doc file icon.  Docx. files and all versions of other MS Office applications behave normally. This seems to be a problem with .doc files only.
    An interesting thing is if I change the application to open a .doc file to Pages, the "Kind' designation in the Get Info dialog changes from MS Word 6.0/95 to "Microsoft Word 97 - 2004 document" but changing the associated application back to Word 2011 doesn't fix the problem and the description changes back to Word 6.0/95. There are different recommended applications.
    All of this worked fine until a few weeks ago. The problem is on my new MacBook Pro with Retina display. I have an iMac 27 inch, latest model, and this is not happening on that machine. I have tried this in several different user accounts on my MBP and the behavior is the same in each one.
    I've been working with this for a week or two, and have tried resetting quicklook preferrences and restarting the process as suggested on Macfixit and elsewhere. But the problem persists. I can't tell if this is a file association problem or a quicklook problem. Usually I find solutions here but it doesn't look like anyone else is complaining.

    Baltwo, thanks for your advice and quick response. Thanks to you, I think I'm making some progress after a lot of frustration. I'm not quite "there" yet, though, so I hope I'm not imposing when I ask ask for a little more of your help and expertise. 
    I ran the suggested command (after deleting the space) and got the following in the Terminal window:
    lsregister: [OPTIONS] [ <path>... ]
                          [ -apps <domain>[,domain]... ]
                          [ -libs <domain>[,domain]... ]
                          [ -all  <domain>[,domain]... ]
    Paths are searched for applications to register with the Launch Service database.
    Valid domains are "system", "local", "network" and "user". Domains can also
    be specified using only the first letter.
      -kill     Reset the Launch Services database before doing anything else
      -seed     If database isn't seeded, scan default locations for applications and libraries to register
      -lint     Print information about plist errors while registering bundles
      -convert  Register apps found in older LS database files
      -lazy n   Sleep for n seconds before registering/scanning
      -r        Recursive directory scan, do not recurse into packages or invisible directories
      -R        Recursive directory scan, descending into packages and invisible directories
      -f        force-update registration even if mod date is unchanged
      -u        unregister instead of register
      -v        Display progress information
      -dump     Display full database contents after registration
      -h        Display this help
    It looks like I have reset the Launch Services database but need to register or reregister my applications. Maybe run -seed or -convert? Sorry to be dense about what to do next.

  • Trigger transition similar to "on application start" (no user action)

    Structure:
    State 1 -> State 2 -> State 3....and so on.
    On application start there is a simple transition from State 1 -> State 2
    From anywhere in the application (i.e. State 3):
    how would one add interaction that goes to State 1 and transition to State 2?
    am currently "limited" to transitioning to State 2 from anywhere else, but this isn't the intended result
    If this is easily done in Catalyst, and I'm just not seeing it, please do tell...
    Otherwise, yes, am very new to Catalyst/Flex, but am not new to AS3/Flash....so if this requires some Flex/MXML/AS3 work, I think I should be able to follow instruction
    Thanks for any input.
    Ed

    Ok here is how to 'auto-trigger' state changes in a Flash Catalyst project
    You will need to open your Flash Catalyst project in Flash Builder, so if you are using 1.0 this is a one way trip (so consider yourself warned). With 1.5 'Panini', you should be able to re-open the file back in Flash Catalyst (but is it a preview release, so promises).
    In main.mxml file, locate the <s:transitions> portion of the code. You should see a set of nested tags that define each state to state transition. At the first tag after the <s:transitions> (it should be either a <s:Parallel or <s:Sequence tag), at the end of the tag add the following attribute:
       effectEnd="state1_effectEndHandler(event)"
    Original Tag:
    <s:Parallel>
    New Tag:
    <s:Parallel effectEnd="parallel1_effectEndHandler(event)">
    Now in the <fx:Script> portion of the mxml file, you will need to add an event handler:
    protected function parallel1_effectEndHandler(event:EffectEvent):void
         currentState='Page2'
    where Page2 is the name of the next state you want to transition to.
    You can continue to follow this pattern to chain more together by added the effectEnd attribute to the next set of transitions, and adding matching event handlers
    I have attached a simple demo. Click on the button to trigger going from state 1 to state 2, it should auto transition to state 3. You will need to open it in Flash Builder.
    Chris

  • Slow changing dimensions in application express GUI

    I need some kind of slow changing dimensions for application express GUI in order to be able
    1) simply allow users to edit 1 row for 1 object in APEX GUI
    2) widely use historical data in reporting.
    I.E.:
    Client's Last name (address, etc) was changed. I need to show in reports two points: before change and after:
    ID Name Order_date Amount
    12 Clark 1/1/10 500
    12 Johnson 5/1/10 200
    Are there common solutions?

    There are probably a few approaches you can take:
    1) Fine Grained Auditing (FGA) - very extensive and can be completely customized.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/cfgaudit.htm#sthref1766
    2) Triggers - if you have basic needs on a few tables/columns, it may be easier to just roll your own trigger. You can compare the :old to the :new value, and if they differ, write both to your own auditing table.

  • How do I change to another application while showing a keynote without exiting?

    I want to change to another application (VLC) while showing my Keynote and do not want to stop the show just chaneg back and forth.  How can I do that?

    Michael,
    Have Vlc or whichever app you will leave keYnote for sitting behind the slide display before you start your show. This could include a browser with multiple tabs so you can slickly move around the web even if you don't have an Internet connection at your site. Just make sure you set it up before you leave for the presentation.
    Now, when you're ready to leave keynote to play in vlc, hit the H key on the keyboard to hide keynote and bring vlc to the front. If you can see you dock keynote will appear with an arrow in it to indicate it is in hide mode. Just click on it to once more bring keynote back to the frontmost app, usually back into your presentation.
    Some of the more fancy remote control devices can let you map the H button so you don't need to be at the keyboard for this to happen.
    Les Posen
    Presentation Magic

  • Open With... How to Change List of Applications?

    I installed Photoshop CS2 recently and now a whole slew of applications show up when I click on a jpg file and select "Open With..." I know how to change the default application for the files, but how do I remove applications from this list? I don't need to ever choose between 40 applications to open jpeg files - just a few. How can I pare down this list?
    Thanks,
    tommy

    Then why don't you remove them yourself? Go to this page and download PropertyListEditor.dmg. It normally is incuded with the free XCode package from Apple.
    Install the app in your Utilities folder and then you can edit plist files whenever you want.
    Open com.apple.launchservices.plist and unfold the object tree. Now you can browse and delete objects. It is recommended you backup the file before messing with it.
    You can also "Dump" the entire file, it might be faster to see what all is in it.

  • BADI for changing Appraisal document application name for Web dynpro ABAP

    Hi,
    For Appraisal document customizing through PHAP_CATALOG_PA, We have BADI HRHAP00_BSP_TMPL  to change the BSP application name which can be used in Web layout for output display. Using this we can change application name from HAP_DOCUMENT to custom BSP application name
    Similarly, what is the BADI for changing Web dynpro ABAP applictaion name? Currently its triggering HAP_MAIN_DOCUMENT.
    how do we change application name to some custom web dynpro application name
    Regards,
    Kothand

    Hi Karim,
    I don't know, if there is any chance to get the Webdynpro application name. At least in the ABAP System fields is no information about the webdynpro application name.
    One remark: I have allways problems with BAPIS / BADIS that behave different depending on the caller. Could it be a good idea to pass some information through the interface / parameters?
    Best regards
    Renald

  • How can change language of application dynamic?

    In the dialog I have combo box in which I can select desire language for application. When I select value I save this value in the config file. But language change ONLY when I exit and again enter to the application. How can change language of application dynamic (without exit from application) ?

    alexpass wrote:
    In the dialog I have combo box in which I can select desire language for application. When I select value I save this value in the config file. But language change ONLY when I exit and again enter to the application. How can change language of application dynamic (without exit from application) ?I guess your application sets the locale at "startup", based on the contents of the config file, using a call to java.util .Locale.setDefault(Locale). Did you try to call this method in response to the selection in the combobox?
    This won't refresh all widgets already created however. You probably have to re-create them all.
    There may be case-by-case way to refresh them, for example Locale-dependent layout may be taken into account dynamically. Try and tell us.

  • Flex iPad Application : Run code before application enters background  Application Type: Flex Mobile Application Target Platform: iPad AIR Version: 4.0 Development Environment: Flash builder 4.6  I want to run some code just before iphone application goes

    Application Type: Flex Mobile Application
    Target Platform: iPad
    AIR Version: 4.0
    Development Environment: Flash builder 4.6
    I want to run some code just before iphone application goes into background. I need function similar to didEnterBackground
    of native xcode app
    (https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegat e_Protocol/Reference/Reference.h
    tml#//apple_ref/occ/intfm/UIApplicationDelegate/applicationDidEnterBackground:)
    I tried using devactivated function of flash.display.STAGE.
    I used following addEventListener:
    STAGE = this.parent.stage;
    STAGE.addEventListener(Event.DEACTIVATE, onAppDeactivated);
    It worked for me but only when device is connected to development environment in debug mode. When I create my release build
    it is not working.
    So how can I make sure that my code runs before application goes into background.

    Even I am facing almost same issue
    Problem installing Adhoc version to iPhone and iPad - Development Environment Is - Adobe Flash CS6

  • What method replace handler(before jheadstart 9.0.5.1) in jheadstart 10.1.2

    What method replace handler(before jheadstart 9.0.5.1) in jheadstart 10.1.2.0.
    Does anybody tell me how to do it ?
    Thanks for your help.

    The handler layer as provided in JHeadstart before ADF existed, has now been replaced with ADF databinding layer. Whereas in the pre-ADF days, you would add custom methods to JHeadstart handlers, you now add these methods to the application module impl class, and then you can drag and drop these methods onto your page or struts action. The ADF binding layer will ensure that your method gets called correctly.
    You might want to check the following link with more info on adf data binding:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/ADFBindingPrimer/index.html
    Steven Davelaar,
    JHeadstart Team.

  • How can I trigger an event handler, based on a history dropdown select (onclick)

    Hi
    Firefox remembers user names and email addresses previously entered in text input fields. I wish to trigger an event-handler when an item has been selected.
    Best regards, Jens Larsen

    I figured out part of this. I had the event listener
    listening to the spry select id, I set an id on the select and the
    input lines and it's working correctly. Now I just have to push the
    changes to the database.

  • Setting filterFunction on ArrayCollection acting as provider for DDL--and change handler not firing?

    Hi All,
    I've got a Spark DropDownList (I'm on Flex SDK 4.0, Flash Builder 4).
    That DropDownList has an ArrayCollection as its dataProvider property, and in response to user gestures, I change the filterFunction on the ArrayCollection (and call ArrayCollection.refresh()) to update the list of items in the DropDownList.  This works fine.
    However, what I wasn't expecting was that neither my change event handler, nor my valueCommit event handler gets called when the selected item in the DropDownList changes due to the filterFunction filtering out items from the ArrayCollection.
    In other words, let's say I have items A, B, and C in ArrayCollection (and thus, also as items in my DropDownList).  Item A is currently selected, but I then set the ArrayCollection.filterFunction to something, and call ArrayCollection.refresh().  Items A and B are filtered out by the filterFunction, and it disappears from the DropDownList, causing item C (the next available item after A and B) to be selected.  But, even though the selected item has changed, neither my change handler nor my valueCommit handler get called.
    I know the handlers are working, because the change handler gets called when the user selects a new item from the DropDownList, and the valueCommit handler gets called when the selectedIndex is changed programmatically in code, as expected.
    Is this a known issue?  Is there an event I can listen to so I can know when the selected item has changed in this circumstance?
      -Josh

    I'm not on a beta.  I'll try post a short test case as soon as I am able, but I'm in the final week before a major project deadline and as a result I've got to stay pretty focused on that :-)

Maybe you are looking for

  • How do i share music between my ipod and iphone

    I have music on my ipod that i would like on my phone and i want to have it on both devices with out hooking my phone up to my lab top. there has to be a way to have it on both devices they are on the same apple id

  • Sharing single iPhoto library between 2 users on a single computer

    Hello, I am currently using iPhoto 5 on a Mac Mini with 2 total users on the computer. I know that it is easy to share iPhoto pictures over a server with other computers, but does anyone know how to share a single library between 2 users on the same

  • Printing for long term storage

    I'm in the process of writing a personal history.  It will consist of text and black & white and colour photos and reproductions of other documents.    I have both HP6122 & 5652 printers and use genuine HP cartridges.    I have a supply of acid & lig

  • Problems with Adobe CS5 on mobile user accounts

    Hello Everyone, I'm a high school web design teacher and I'm having trouble getting Adobe CS5 to run on my student workstations when they are logged in as a "mobile" user. Workstation 10.5.8 Server 10.4.9 Workgroup manager 10.5.3 Students can browse

  • Window Restore on Dual Monitors after Waking

    I asked this question in the OSX forum a week or two ago and didn't receive a response. I'm thinking most of the dual monitor uses must have Mac Minis so maybe this is a better place to ask. When my monitors awake from sleeping, it's a crap shoot as