Create event on click of FileDownLoad UI Element

Hi,
     I have created an interactive form whose initial visibility is set the false. I have a
     FileDownload UI element. Ideally on the click of the FileDownload UI,  I should
     be able to see the interactive form in the same view. Please help me out.
Thanks,
Prasanna

Hi,
FileDownload UI does not have any action property.
In this case you have to have a UI element with which you can assocaite an action.
In that action set the visibility of the InteractiveForm UI element to visible.
For the visiblity
1. First create a context attribute visibility of data type com.sap.ide.webdynpro.uielementdefinitions.Visibility
2. Bind the context attribute with visible property of the InteractiveForm UI element.3. In wdDoInit of the view
wdContext.CurrentnContextElement.setVisibility(IWDVisibility.Blank);
3. In the action wdContext.CurrentnContextElement.setVisibility(IWDVisibility.visible);

Similar Messages

  • Filedownload UI element not working in production

    Hi,
    There is filedownload UI element used along with a dropdown UI element
    This is working fine in dev and quality but in production it doesnt pick the file.
    It is made to work as follows -
    u2022     first of all the files are placed at root location of the file system of server (filedownload ui element is used to download these files)
    u2022     The data and resource properties of the filedownload are populated upon the action of dropdown ui element
    u2022     so user has to select the dropdown frst and then click on filedownload UI element (which is a link)
    u2022     Following code is onaction of the dropdown ui element.
    byte b[];
              try {
                   String excelpath = null;
                     String systemID = System.getProperty("SAPSYSTEMNAME");
                     String appDir = System.getProperties().getProperty("Applications Directory");
    //                    if(wdContext.currentExcelName_downloadElement().getExcelName()=="Template for Financial Forms - 1")               
    //                                  excelpath = "/usr/sap/"systemID"/JC00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/Template for Financial Forms - 1.xls";  
    //              if(wdContext.currentExcelName_downloadElement().getExcelName()=="Template for Financial Forms - 2")                          
    //                                     excelpath = "/usr/sap/"systemID"/JC00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/Template for Financial Forms - 2.xls";                     
    //                   if(wdContext.currentExcelName_downloadElement().getExcelName()=="Template for Non Financial Forms")                               
    //                                     excelpath = "/usr/sap/"systemID"/JC00/j2ee/cluster/server0/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/Template for Non Financial Forms.xls";          
                   if(wdContext.currentExcelName_downloadElement().getExcelName()=="Template for Financial Forms - 1")               
                                    excelpath = appDir+"sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/Template for Financial Forms - 1.xls";  
                     if(wdContext.currentExcelName_downloadElement().getExcelName()=="Template for Financial Forms - 2")                          
                                    excelpath = appDir+"sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/Template for Financial Forms - 2.xls";                     
                   if(wdContext.currentExcelName_downloadElement().getExcelName()=="Template for Non Financial Forms")                               
                                    excelpath = appDir+"sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/Template for Non Financial Forms.xls";          
                   //wdComponentAPI.getMessageManager().reportSuccess(excelpath);
                    File input = new File(excelpath);                                           
                     int length =(int)input.length();
                //       Create a byte array b to hold the file
                     b = new byte[length];
                     FileInputStream in = new FileInputStream(input);
                //       Reading the file to a byte array b
                     in.read(b);
                     in.close();          
                //       Setting the data from the byte array to the context element.
                     wdContext.currentContextElement().setData_filedownload(b);
              //      Populating the resource attribute 
                  String filename = wdContext.currentExcelName_downloadElement().getExcelName();                 
                   IWDResource resource = WDResourceFactory.createResource(b, filename, WDWebResourceType.XLS);
                   wdContext.currentContextElement().setResource_filedownload(resource);
                } catch (FileNotFoundException e) {
                     // TODO Auto-generated catch block
                     e.printStackTrace();
                } catch (IOException e) {
                     // TODO Auto-generated catch block
                     e.printStackTrace();
    This is working fine in all systems but after I deployed the code in production system it doesnt work. When user clicks on filedownload it doesnt open up any file download dialog box
    when similar problem occured in quality it was because the files were not placed at proper location
    but now the files are properly places i checked along with basis
    kindly advice what could be the problem here
    does it not determine link correctly or what could be difference betw non-production and productio environment ?
    thanks in advance

    Hi,
    Did you check the user permssions on the seected directory? The loged-in user should have at least reading permissions.
    Regards,
    Alain.

  • Create a right click event...

    Hi,
    I want to create a right click event programmatically in my Swing application.
    Can anyone tell me how do I do this? I have the listener and the code that works for my required functionality, but it requires me to right click explicitly. And, I wanted to simulate a right click so that I can execute this part of the code in the listener. Is there any way to do it?
    Thanks in advance...

    I wanted to simulate a right click so that I can execute this part of the code in the listener1) Create a method that can be invoke directly by the listener and your program.
    or
    2a) Create a MouseEvent
    2b) use the dispatchEvent(...) method of the Component class to send the event to the object.

  • Unable to download file from FileDownload UI Element - Java Web Dynpro

    Hello Experts,
    I am facing a strange issue.Scenario is:
    I created an java web Dynpro application (Please note that it is just a standalone WD app, not integrated in portal) with just one FileUpload UI Element ,one FileDownload UI element and one button (for triggering an action).
    I browse a file (e.g. text,pdf,doc etc.) and click on button. It uploads the file and when I click on download, there are two cases:
         1) Simply click on download does not downloads the file and shows error: "Unable to download <file name> from <server name>.  Unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." Though it is opening the file,showing the content.
         2) I opened that portal URL in a new tab in same session and logged in with a portal user. Now if I click on download link of same WD app opened in different tab of same session, it downloads the file without any error.
    I am using portal 7.0
    Can somebody point what's going wrong with case 1?
    Helpful pointers will be appreciated.
    Thanks,
    Kirtiman

    Hi Sid,
    I did not gave any authentication of WD app as it is anonymous app. There is no parameter set in application properties.
    As I run the app, it is showing the initial screen with UI elemtns and till upload works fine,.It has to be an anonymous app, so cannot ask for credential from user.
    Thanks
    Kirtiman

  • Why did my iPhoto stop creating events?

    I need to find out why my iPhoto program no longer creates events.  It has created them for years upon uploading photos but then is suddenly stopped.  It stopped in August of last year (2014).  The photos are in my library but I no longer have the convenience of just going to a grouping of photos from an event.  Is this a glitch of some kind.  I have not found a setting that deals with this.
    Thanks!

    There photos are in  Events. Every photo is in an Event.
    If the Photos are under 'Last Import' or 'Last N Months' or Photos view, then they are in the Library somewhere, just not where you are expecting them to be. We know this as these are not places, just listings of elements in the the Library.
    The two most common reasons that they can't be found is either an incorrect date on the camera or the Sorting (View Menu -> Sort Photos - or Sort Events, as appropriate) has changed.
    Quick route to find them: Right-click on one of the images in Last Import and select 'Show Event'. This will bring you to the image in the Library.

  • Event double -click doens't work

    Dear All,
    Pls help event double -click doens't work.
    What can the reason be for it ?
    Regards
    Ilhan
    data tree1 type ref to cl_gui_alv_tree.
    data mr_toolbar type ref to cl_gui_toolbar.
    include <icon>.
    data: gt_sflight      type ZQMCOMP occurs 0,      "Output-Table
          gt_fieldcatalog type lvc_t_fcat, "Fieldcatalog
          ok_code like sy-ucomm.           "OK-Code
    *  TREE_EVENT_RECEIVER                                                 *
    class tree_event_receiver definition.
      public section.
        methods on_doubleclick
         for event link_click of cl_gui_alv_tree
          importing node_key fieldname.
    ENDCLASS.                    "lcl_handler DEFINITION
    *       CLASS tree_event_receiver IMPLEMENTATION
    class tree_event_receiver implementation.
      METHOD on_doubleclick.
        MESSAGE I000(38) WITH fieldname.
      ENDMETHOD.                    "on_doubleclick
    endclass.
    start-of-selection.
    end-of-selection.
    call screen 100.
    *&      Module  PBO  OUTPUT
    *       process before output
    module pbo output.
      set pf-status 'MAIN100'.
      if tree1 is initial.
        perform init_tree.
      endif.
      call method cl_gui_cfw=>flush.
    endmodule.                             " PBO  OUTPUT
    *&      Module  PAI  INPUT
    *       process after input
    module pai input.
      case ok_code.
        when 'EXIT' or 'BACK' or 'CANC'.
          perform exit_program.
        when others.
          call method cl_gui_cfw=>dispatch.
      endcase.
      clear ok_code.
      call method cl_gui_cfw=>flush.
    endmodule.                             " PAI  INPUT
    *&      Form  build_fieldcatalog
    *       build fieldcatalog for structure sflight
    form build_fieldcatalog.
      data: ls_fieldcatalog type lvc_s_fcat.
      ls_fieldcatalog-fieldname = 'DUNS'.
      ls_fieldcatalog-col_pos  = 7.
      ls_fieldcatalog-coltext  = 'Duns'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      clear ls_fieldcatalog.
      ls_fieldcatalog-fieldname = 'MONAT'.
      ls_fieldcatalog-col_pos  = 8.
      ls_fieldcatalog-coltext  = 'Monat'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      clear ls_fieldcatalog.
      ls_fieldcatalog-fieldname = 'ZE'.
      ls_fieldcatalog-col_pos  = 13.
      ls_fieldcatalog-coltext  = 'Ze'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      clear ls_fieldcatalog.
      ls_fieldcatalog-fieldname = 'MATKOSTEN'.
      ls_fieldcatalog-col_pos  = 14.
      ls_fieldcatalog-coltext  = 'Mat.Kosten'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      clear ls_fieldcatalog.
      ls_fieldcatalog-fieldname = 'ANTEIL'.
      ls_fieldcatalog-col_pos  = 15.
      ls_fieldcatalog-coltext  = 'Anteil'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      clear ls_fieldcatalog.
      ls_fieldcatalog-fieldname = 'GESMAT'.
      ls_fieldcatalog-col_pos  = 16.
      ls_fieldcatalog-coltext  = 'Ges.Mat'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      clear ls_fieldcatalog.
      ls_fieldcatalog-fieldname = 'GESLOH'.
      ls_fieldcatalog-col_pos  = 17.
      ls_fieldcatalog-coltext  = 'Ges.Lohn'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      clear ls_fieldcatalog.
      ls_fieldcatalog-fieldname = 'GESAMT'.
      ls_fieldcatalog-col_pos  = 19.
      ls_fieldcatalog-coltext  = 'Gesamt'.
      APPEND ls_fieldcatalog TO gt_fieldcatalog.
      call function 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                i_structure_name = 'ZQMCOMP'
           CHANGING
                ct_fieldcat      = gt_fieldcatalog.
    endform.                               " build_fieldcatalog
    *&      Form  build_hierarchy_header
    *       build hierarchy-header-information
    *      -->P_L_HIERARCHY_HEADER  strucxture for hierarchy-header
    form build_hierarchy_header changing
                                   p_hierarchy_header type treev_hhdr.
      p_hierarchy_header-heading = 'Hierarchy-Kopf'.            "#EC NOTEXT
      p_hierarchy_header-tooltip =
                             'Hierarchy-Kopf !'.
      p_hierarchy_header-width = 30.
      p_hierarchy_header-width_pix = ''.
    endform.                               " build_hierarchy_header
    *&      Form  exit_program
    *       free object and leave program
    form exit_program.
      call method tree1->free.
      leave program.
    endform.                               " exit_program
    *&      Form  build_header
    *       build table for html_header
    *  -->  p1        text
    *  <--  p2        text
    form build_comment using
          pt_list_commentary type slis_t_listheader
          p_logo             type sdydo_value.
      data: ls_line type slis_listheader.
      clear ls_line.
      ls_line-typ  = 'H'.
      ls_line-info = 'LIBOLO '.
      append ls_line to pt_list_commentary.
      clear ls_line.
      clear ls_line.
      ls_line-typ  = 'A'.
      ls_line-info = 'Liste'.
      append ls_line to pt_list_commentary.
    *  p_logo = 'ENJOYSAP_LOGO'.
    endform.
    *       FORM create_hierarchy                                         *
    FORM create_hierarchy.
      data: ls_sflight type ZQMCOMP,
            lt_sflight type ZQMCOMP occurs 0.
    * get data
      select * from ZQMCOMP into table lt_sflight.
    *  sort lt_sflight by carrid connid fldate.
    * add data to tree
      data: l_carrid_key type lvc_nkey,
            l_connid_key type lvc_nkey,
            l_last_key type lvc_nkey.
      loop at lt_sflight into ls_sflight.
        on change of ls_sflight-KUNDE.
          perform add_carrid_line using    ls_sflight
                                  changing l_carrid_key.
        endon.
        on change of ls_sflight-MONAT.
          perform add_connid_line using    ls_sflight
                                           l_carrid_key
                                  changing l_connid_key.
        endon.
        perform add_complete_line using  ls_sflight
                                         l_connid_key
                                changing l_last_key.
      endloop.
    * calculate totals
      call method tree1->update_calculations.
    * this method must be called to send the data to the frontend
      call method tree1->frontend_update.
    endform.                               " create_hierarchy
    *&      Form  add_carrid_line
    *       add hierarchy-level 1 to tree
    *      -->P_LS_SFLIGHT  sflight
    *      -->P_RELEATKEY   relatkey
    *     <-->p_node_key    new node-key
    form add_carrid_line using     ps_sflight type ZQMCOMP
                 p_relat_key type lvc_nkey
                         changing  p_node_key type lvc_nkey.
      data: l_node_text type lvc_value,
            ls_sflight type ZQMCOMP.
    * set item-layout
      data: lt_item_layout type lvc_t_layi,
            ls_item_layout type lvc_s_layi.
      ls_item_layout-t_image = '@3P@'.
      ls_item_layout-fieldname = tree1->c_hierarchy_column_name.
      ls_item_layout-style   =
                            cl_gui_column_tree=>style_intensifd_critical.
      append ls_item_layout to lt_item_layout.
    * add node
      l_node_text =  ps_sflight-KUNDE.
      call method tree1->add_node
        exporting
              i_relat_node_key = p_relat_key
              i_relationship   = cl_gui_column_tree=>relat_last_child
              i_node_text      = l_node_text
              is_outtab_line   = ls_sflight
              it_item_layout   = lt_item_layout
           importing
              e_new_node_key = p_node_key.
    endform.                               " add_carrid_line
    *&      Form  add_connid_line
    *       add hierarchy-level 2 to tree
    *      -->P_LS_SFLIGHT  sflight
    *      -->P_RELEATKEY   relatkey
    *     <-->p_node_key    new node-key
    form add_connid_line using     ps_sflight type ZQMCOMP
                                   p_relat_key type lvc_nkey
                         changing  p_node_key type lvc_nkey.
      data: l_node_text type lvc_value,
            ls_sflight type sflight.
    * set item-layout
      data: lt_item_layout type lvc_t_layi,
            ls_item_layout type lvc_s_layi.
      ls_item_layout-t_image = '@3Y@'.
      ls_item_layout-style   =
                            cl_gui_column_tree=>style_intensified.
      ls_item_layout-fieldname = tree1->c_hierarchy_column_name.
      append ls_item_layout to lt_item_layout.
    * add node
      l_node_text =  ps_sflight-MONAT.
      call method tree1->add_node
        exporting
              i_relat_node_key = p_relat_key
              i_relationship   = cl_gui_column_tree=>relat_last_child
              i_node_text      = l_node_text
              is_outtab_line   = ls_sflight
              it_item_layout   = lt_item_layout
           importing
              e_new_node_key = p_node_key.
    endform.                               " add_connid_line
    *&      Form  add_cmplete_line
    *       add hierarchy-level 3 to tree
    *      -->P_LS_SFLIGHT  sflight
    *      -->P_RELEATKEY   relatkey
    *     <-->p_node_key    new node-key
    form add_complete_line using   ps_sflight type ZQMCOMP
                                   p_relat_key type lvc_nkey
                         changing  p_node_key type lvc_nkey.
      data: l_node_text type lvc_value.
      data: lt_item_layout type lvc_t_layi,
            ls_item_layout type lvc_s_layi.
      ls_item_layout-fieldname = tree1->c_hierarchy_column_name.
      append ls_item_layout to lt_item_layout.
      l_node_text =  ps_sflight-QMART.
      call method tree1->add_node
        exporting
              i_relat_node_key = p_relat_key
              i_relationship   = cl_gui_column_tree=>relat_last_child
              is_outtab_line   = ps_sflight
              i_node_text      = l_node_text
              it_item_layout   = lt_item_layout
           importing
              e_new_node_key = p_node_key.
    endform.                               " add_complete_line
    *&      Form  register_events
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form register_events.
      data: lt_events type cntl_simple_events,
            l_event type cntl_simple_event.
      l_event-eventid = cl_gui_column_tree=>eventid_expand_no_children.
      append l_event to lt_events.
      l_event-eventid = cl_gui_column_tree=>eventid_header_context_men_req.
      append l_event to lt_events.
      l_event-eventid = cl_gui_column_tree=>eventid_node_context_menu_req.
      append l_event to lt_events.
      l_event-eventid = cl_gui_column_tree=>eventid_item_context_menu_req.
      append l_event to lt_events.
      l_event-eventid = cl_gui_column_tree=>eventid_header_click.
      append L_EVENT to lt_events.
      l_event-eventid = cl_gui_column_tree=>eventid_item_keypress.
      append L_EVENT to lt_events.
    * set Handler
      data: l_event_receiver type ref to tree_event_receiver.
      create object l_event_receiver.
      set handler l_event_receiver->on_doubleclick for tree1.
      call method tree1->set_registered_events
          exporting
            events = lt_events
          exceptions
            cntl_error                = 1
            cntl_system_error         = 2
            illegal_event_combination = 3.
      if sy-subrc <> 0.
        message x208(00) with 'ERROR'.                          "#EC NOTEXT
      endif.
    endform.                               " register_events
    *&      Form  change_toolbar
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form change_toolbar.
    * get toolbar control
      call method tree1->get_toolbar_object
              importing
                  er_toolbar = mr_toolbar.
      check not mr_toolbar is initial.
    * add seperator to toolbar
      call method mr_toolbar->add_button
              exporting
                  fcode     = ''
                  icon      = ''
                  butn_type = cntb_btype_sep
                  text      = ''
                  quickinfo = 'This is a Seperator'.            "#EC NOTEXT
    * add Standard Button to toolbar (for Delete Subtree)
      call method mr_toolbar->add_button
              exporting
                  fcode     = 'DELETE'
                  icon      = '@18@'
                  butn_type = cntb_btype_button
                  text      = ''
                  quickinfo = 'Delete subtree'.                 "#EC NOTEXT
    * add Dropdown Button to toolbar (for Insert Line)
      call method mr_toolbar->add_button
              exporting
                  fcode     = 'INSERT_LC'
                  icon      = '@17@'
                  butn_type = cntb_btype_dropdown
                  text      = ''
                  quickinfo = 'Insert Line'.                    "#EC NOTEXT
    endform.                               " change_toolbar
    *&      Form  init_tree
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM init_tree.
    * create fieldcatalog for structure sflight
      perform build_fieldcatalog.
    * create container for alv-tree
      data: l_tree_container_name(30) type c,
            l_custom_container type ref to cl_gui_custom_container.
      l_tree_container_name = 'TREE1'.
      if sy-batch is initial.
        create object l_custom_container
          exporting
                container_name = l_tree_container_name
          exceptions
                cntl_error                  = 1
                cntl_system_error           = 2
                create_error                = 3
                lifetime_error              = 4
                lifetime_dynpro_dynpro_link = 5.
        if sy-subrc <> 0.
          message x208(00) with 'ERROR'.                        "#EC NOTEXT
        endif.
      endif.
    * create tree control
      create object tree1
        exporting
            parent              = l_custom_container
            node_selection_mode = cl_gui_column_tree=>node_sel_mode_single
            item_selection      = 'X'
            no_html_header      = ''
            no_toolbar          = ''
        exceptions
            cntl_error                   = 1
            cntl_system_error            = 2
            create_error                 = 3
            lifetime_error               = 4
            illegal_node_selection_mode  = 5
            failed                       = 6
            illegal_column_name          = 7.
      if sy-subrc <> 0.
        message x208(00) with 'ERROR'.                          "#EC NOTEXT
      endif.
    * create Hierarchy-header
      data l_hierarchy_header type treev_hhdr.
      perform build_hierarchy_header changing l_hierarchy_header.
    * create info-table for html-header
      data: lt_list_commentary type slis_t_listheader,
            l_logo             type sdydo_value.
      perform build_comment using
                     lt_list_commentary
                     l_logo.
    * repid for saving variants
      data: ls_variant type disvariant.
      ls_variant-report = sy-repid.
    * create emty tree-control
      call method tree1->set_table_for_first_display
         exporting
                   I_STRUCTURE_NAME     = 'ZQMCOMP'
                   is_hierarchy_header  = l_hierarchy_header
                   it_list_commentary   = lt_list_commentary
    *               i_logo               = l_logo
                   i_background_id      = 'ALV_BACKGROUND'
                   i_save               = 'A'
                   is_variant            = ls_variant
         changing
                   it_outtab            = gt_sflight "table must be emty !!
                  it_fieldcatalog      = gt_fieldcatalog.
    * create hierarchy
      perform create_hierarchy.
    * add own functioncodes to the toolbar
      perform change_toolbar.
    * register events
      perform register_events.
    * adjust column_width
      call method tree1->COLUMN_OPTIMIZE.
    ENDFORM.                    " init_tree

    Hi,
    to do so, you need to declare those fields in the form CREATE_HIERARCHY.
    For example, to add FLDATE node, you should do:
        ON CHANGE OF LS_SFLIGHT-CARRID.
          PERFORM ADD_CARRID_LINE USING    LS_SFLIGHT
                                  CHANGING L_CARRID_KEY.
        ENDON.
        ON CHANGE OF LS_SFLIGHT-CONNID.
          PERFORM ADD_CONNID_LINE USING    LS_SFLIGHT
                                           L_CARRID_KEY
                                  CHANGING L_CONNID_KEY.
        ENDON.
        ON CHANGE OF LS_SFLIGHT-FLDATE.
          PERFORM ADD_FLDATE_LINE USING    LS_SFLIGHT
                                           L_CONNID_KEY
                                  CHANGING L_FLDATE_KEY.
        ENDON.
        ON CHANGE OF LS_SFLIGHT-PRICE.
          PERFORM ADD_PRICE_LINE USING     LS_SFLIGHT
                                           L_FLDATE_KEY
                                  CHANGING L_PRICE_KEY.
        ENDON.
    and then create the new FORMS PERFORM ADD_PRICE_LINE and
    PERFORM ADD_FLDATE_LINE  by copy of the existent
    PERFORM ADD_CONNID_LINE and change the  L_NODE_TEXT in the form.
    I suposed you are new to ALV's, so i have a sugestion for you.
    Instead of  CL_GUI_ALV_TREE try to use some examples of CL_GUI_ALV_TREE_SIMPLE. It's much more simple to understand and to work with. For example Report BCALV_TREE_SIMPLE_DEMO.
    In this case, to add more nodes to the the you just need to add 3 lines of code in
    perform build_sort_table.
    Regards,

  • Ical cannot create event in month view

    iCal cannot create event in month view. Is this a bug?
    I've tried double clicking in a day as I always did but nothing.

    Ko be,
    Application UI issues are in many cases, caused by a corrupt plist file.
    Quit iCal, and try removing the com.apple.iCal.plist file from your Macintosh HD/Users/yourusername/Library/Preferences Folder. Since that Library is now hidden, you have to use the Finder>Go Menu>Depress the "Option" key>Library. Drag the .plist file to your desktop, and log out/in or restart and check iCal for functionality.
    Also read Apple iCal 5 Office Software Review | Macworld for a description of Lion iCal.

  • How can I get the soundcard to create event markers on voltage acquisition

    Hello,
    I'm new to Labview and I'm required to create a program that can acquire a voltage..  sounds simple.. the difficult part is that it needs to be able to create event markers on the data to indicate that a sound has occurred.  
    If I could somehow route the audio input to the trigger channel of my NI DAQcard6024E and set the threshold level it would work, but I can't find a way to do this.
    To put it in a real-life scenario... what is happening is that I'm acquiring EEG (brainwave) voltages whilst presenting a series of auditory 'clicks'.  We want to examine the changes in EEG that occur in response to these clicks.  So I need to have some way of establishing exactly when the sounds were presented on the EEG data.
    Hope somebody can help  At the moment my VI can acquire voltage data continuously and write the files to excel, but I can't work out how to create event markers for when the stimulus occurred.
    Thanks
    Shane 

    I still think it should be possible to make a breakout cable. But I guess the person responsible for the Lab is not a technical person. Or he/she is more concerned about the equipment than the student projects. That is quite common among such personal.
    I am also reading you are using a sound card for acquiring EEG. That is a very big NO-NO. This because sound cards are AC coupled. And this will limit the lower bandwidth to about 10Hz. So signals below about 10Hz is filtered out. EEG require a bandwidth from about 0.5Hz to 100Hz.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How to create Event Node in smartform

    Hi Experts,
    could you please tell me how to create event node in smartform
    Thanks in Advance,
    Thanks&Regards
    Geetha

    HI,
    plz explain your problem in deeply.
    And as per me you first create page and righ click on it
    Then create window as per your requirement.
    if you want to put condition ot events true or false Righ click on your window
    then goto flow logic -> Altenative
    You can found 2 events in Condition.
    So you can assign this events.If you want to put condition or event on test then goto Text here in General Attributes in bottom side you can find even on page.
    Try it.

  • How to create event

    HI,
    I am trying to trigger a workflow whenever a contract is created against the Requisition.
    I put the trace on(SWELS) and created a contract and got BOR object FREBUS2012 and Event CREATED.
    But when i am using this BOR object and Event in the start event of workflow and creating a contract it is not triggering the workflow.  But workflow is getting trigered whenever i am creating PO.
    When i am tracing PO creation in SWELS i am getting same BOR object and same event.
    Can anyone help me with that how can i create release strategy for Contract or how can i create "CREATE" event for BOR ZBUS2014 which is the copy of BUS2014(Contract) and does not have "CREATE" event.
    Can you explain me also what is release strategy. I have no idea what is that for and how it is helpful in Workflow.
    Any help would be appreciated.
    Thanks in Advance.

    Hi,
    Can anyone help me with that how can i create release strategy for Contract or how can i create "CREATE" event for BOR ZBUS2014 which is the copy of BUS2014(Contract) and does not have "CREATE" event.
    You don't see the created event in ZBUS2014 because you have not delegated it. Delegation means whenever created event of BUS2014 gets triggered your BO ZBUS2014 which has been delegated to BUS2014 will be called. After delegating the BO in workflow you can refer to BUS2014 wherever required instead of giving as ZBUS2014.
    Steps for delegation
    1. Go to SWO1 tcode
    2. Enter the BO name as ZBUS2014. Click settings - delegate.
    3. Click new entries. You will find three fields there.
    Give Object type as BUS2014. Person responsible as your userid. Delegation type as ZBUS2014 and save this entry.
    KR,
    Bharath

  • How to create EVENTS for a View Cluster.

    Hi Tech Gurus,
    I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
    Thanks in advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • View not copied or enhanced with wizard Error while creating Event Handler method in Z Component

    Hello Friends,
    In one Z Component (Custom Component), in one of the views, while creating event handler, it gave me error message that view not copied or enhanced with wizard.
    I am aware that in Standard Component, if we want to create the event handler method then we need to first Enhance the Component and then we need to enhance the view.
    But, in the Z Component (Custom Component), how to create event handler method in one of the views as while creating event handler method i am getting view not copied or enhanced with wizard error.

    Hi,
    Add a method in views impl class with naming convention eh_on__* with htmt and html_ex parameters.  I dont have have the system right now. Please check any existing event import export parameters.
    Check out do handle event method in the same class.
    Redefine that method.  Call that event method in this handle method. See existing code for reference.
    Attach that event to the button on click event in .htm page.
    Regards,
    Bhushan

  • When importing iPhoto doesn't create events

    When importing picutres to iphoto it used to create events, now it all goes into pictures and no events are created automatically nor do I have I option of create event manually. Please help

    Right click on any photo in Photos and select 'Show Event' and you'll be brought to the Event containing the pic.
    Events and Photos re both views of the same Library - think of them as different windows to the same room.
    So if a photo is in Photos, then it's in Events too.
    Usual reason for this is that the Event is not where you expect it to be - because you've a different sort or a the date is incorrect.

  • 2 Create bindings in 1 page, second Create event does not fire (ADF)

    I have an ADF, Struts, JSP master detail page and within that page there is a Create binding on the master view and this works fine.
    I added the detail list to the page and added a Create binding for this view underneath the list.
    The second create event does not seem to fire at all, when the button is clicked the page gets submitted and the request forwards to the correct page to display the input form but the contents of this form is the current selected detail row in the view and not a new row.
    I have created 2 new pages to test the detail view... I put a link in the original page to a test list page that displays the detail list and included a Create binding in this page which links to a test create page and this works fine.
    Has anyone else had this problem?
    Can there be only 1 Create event binding in a single page?
    Is there a way round this other than having to have my detail page on a seperate page?
    The Jdeveloper version I am using is as follows...
    JDeveloper Version 10.1.2.0.0 (Build 1811)
    Oracle IDE     10.1.2.17.84
    Business Components Version     10.1.2.17.96
    UML Modelers Version     10.1.2.16.71
    Versioning Support     10.1.2.16.71
    WebDAV Support Version     10.1.2.16.71
    Struts Modeler Version     10.1.2.6.15
    Designer Generators Framework     10.1.2.7.56
    ADF UIX     2.2.16
    java.version     1.4.2_04
    Thanks
    Al

    Can you do something like this?
    1. Look at the uimodel for your page and find the Create that is the action binding for the detail. Name it something like: CreateDetail
    2. Change the button on the page to create a detail to be named: event_CreateDetail.
    3. Change the forward from Master/Detail browser page to: CreateDetail
    Can you provide more details on:
    1. What are the names of the create bindings for master, then detail?
    2. What is the name of the forwards, that is the struts-config.xml action definition for this page?
    I hope this helps!

  • Create Event Not Available

    I flagged a bunch of photos in my grandsons faces whatever you call those. I want to slect them and make a new album or event. I can't do it. The create events selections under event are all greyed out. If I try to create a new folder or album I can't do just the flagged photos. Why isn't it possible to go to edit and select just flagged photos and then create an folder or album?

    How about:
    Events Menu -> Create Event from FLagged Photos?
    Folders don't hold photos, Folders can only contain Albums or nested folders. Albums contain photos.
    To create an Album from Flagged Photos:
    Click on the Faces item on the left. Then Command-a to select all. Then command-n
    That will give you a new album with the flagged photos.

Maybe you are looking for