Error launching select event in a region

Hi,
We are developing an application using JHeadStart and ADF Faces in JDeveloper 10.1.3.1.
Due to the size of the page code, we have splitted the page in different regions. The page has a master-detail-subdetail structure, where each subdetail has been put in a separated ADF region.
When changing the selected row in the master table, the values displayed in the detail table are refreshed. But when we do the same in the detail, no action takes place (the data in the subdetail doesn't change, and the code for the selection event listener is not executed either).
If I don't use ADF regions, the selection event listener code is executed. What could happen? On the other hand, an action event in the region is executed without problems.
Some pieces of the code:
- The include of the detail region in the main page:
<af:region id="ConcepteEco2" value="#{bindings}" regionType="cat.coec.outis.view.region.ConcepteEco2"/>- The declaration of the detail table in the region:
<af:table id="ConcepteEco2Table" styleClass="scrollable "
              value="#{ConcepteEco2CollectionModel}"
              inlineStyle="height: 120px; width:  1000px ; "                     
              rangeChangeListener="#{ConcepteEco2CollectionModel.processRangeChange}"
              selectionState="#{ConcepteEco2CollectionModel.selectedRow}"
             selectionListener="#{ConcepteEco2CollectionModel.makeCurrent}"
              disclosureListener="#{ConcepteEco2CollectionModel.hideAllDetails}"           
              varStatus="status"
              var="row" rows="#{bindings.ConcepteEco2Table.rangeSize}"
              first="#{bindings.ConcepteEco2Table.rangeStart}"
              emptyText="#{bindings.ConcepteEco2Table.viewable ? 'No hi ha dades.' : 'Accés Denegat.'}"
              binding="#{ConcepteEco2CollectionModel.table}"
              partialTriggers="TipusCctEcoTable"          >- The declaration of the table selection facet:
<!-- DEBUG:BEGIN:TABLE_SELECTION : outis/pageComponent/tableSelection.vm, nesting level: 11 -->
  <f:facet name="selection">
        <af:tableSelectOne disabled="#{ConcepteEco2CollectionModel.newRow}"
        autoSubmit="true" id="ConcepteEco2SelectOne"
        onclick="javascript:selectCurrentRow('ConcepteEco2:ConcepteEco2',this);">
<!-- DEBUG:BEGIN:DUPLICATE_ROW_BUTTON : outis/button/duplicateRowButton.vm, nesting level: 12 -->
<!-- DEBUG:END:DUPLICATE_ROW_BUTTON : outis/button/duplicateRowButton.vm, nesting level: 12-->
    </af:tableSelectOne>
      </f:facet><!-- DEBUG:END:TABLE_SELECTION : outis/pageComponent/tableSelection.vm, nesting level: 11--> Any help would be appreciated,
Carles Biosca
BBR Ingeniería de Servicios SL
www.bbr.cat

hi,
in your datagrid call use the property itemClick.
e.g <mx:DataGrid id="DG" dataProvider="{some provider"}
itemClick"myFunction())">
then in your script you can declare the function myFunction
to get column values of the selected row, use
DataGrid.selectedItem.ColumnDatafield
so for the above datagrid with a column name and
dataField=fullName i can use
DG.selectedItem.fullName
HTH
regards
abhi

Similar Messages

  • Error in at line-selection event...

    Hello experts,
    In my report, I am hiding the values of BUKRS, ANLN1 and ANLN2 during my loop.
    I am using field symbols as my work area for my itab which is it_output. The problem
    is, when I try to do this in my at line-selection event:
    at line-selection.
    data: cursorfield(20) type c.
        get cursor field cursorfield.
        case cursorfield.
         when '<FS_OUTPUT>-ASSET_SUBNUM'.
         SET PARAMETER ID 'BUK' FIELD <FS_OUTPUT>-bukrs.
         SET PARAMETER ID 'AN1' FIELD <FS_OUTPUT>-asset.
         SET PARAMETER ID 'AN2' FIELD <FS_OUTPUT>-anln2.
        endcase.
    It says that it can't recognize the fields. What am I doing wrong? By the way, I am using
    ABAP Objects in my report. Help would be greatly appreciated. Thanks again guys and take care!

    Hi Viraylab,
    Have you assigned the fieldsymbols ?
    ASSIGN IT_OUTPUT to <FS_OUTPUT>.
    Cheers
    VJ
    Message was edited by: Vijayendra  Rao

  • Error launching Integration Services Project in BIDS

    A user has reported the following issue. Not sure how to help him:"Error launching Integration Services Project in BIDS Error launching Integration Services Project in BIDS I am receiving the error below when I try to create an integration services project in BIDS. I have tried manually registering the DTS.dll which is the only solution
    I have been able to find in ~30mins of Google searching, to no avail."The application log shows a single warning:Visual Studio VsTemplate event ID 1One or more templates do not match any installed project packages.
    Anyone seen this before?
    This topic first appeared in the Spiceworks Community

    Hi Anhlovevietnam,
    According to the error message, it seems that the Analysis Services account lack permission to access ‘QLTICKET’. By default, the default account for AS services has only public permission to few databases. If you haven't change the AS services account,
    or haven't grant the permission for this account, then you cannot deploy the AS project to server.
    So in your scenario, ensure the service "SQL Server Analysis Services" is running with a proper Log On As user. This user should have administrator permission on Analysis Services and the proper permissions on the database engine. To avoid this issue, you
    can grant the SELECT permission for the default account for AS services to data source DB. Or you can change the services account to this domain user who has the corresponding to the data source DB.
    http://jetreportskb.host4kb.com/article/AA-00238
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • [JS/CS4/CS5] Catching a selection event in a ScriptUI interface.

    I've got this ScriptUI interface (javascript based), and now I wonder if it would be possible to change one of its button captions depending on whether anything is selected or not, in the active document (would also have to be updated if the user selects or opens another document).
    1. Is it possible to write event listeners for this?
    2. Would it be possible to include this in the same script as the rest of the Script UI interface code (that is, I'd prefer avoiding a separate file in the startup folder).
    3. What's the best source of information regarding events, which ones there are, and how to handle them in javascript?
    Andreas

    1. Yes. The selection events work well in my experience.
    2. Yes, you don't have to add them at startup. You can do something like:
    app.addEventListener("afterSelectionChanged", selectionChangedFunction);
    before you open your window. Remove the listener in the onClose event of the window. I think you'll have to have some error trapping in the selectionChangedFunction to deal with app.selection erroring after a document close or during a revert.
    3. See this thread for an extension that lets you see events as they're happening.
    Jeff

  • APEX_040100.WWV_FLOW_API Error while creating a Interactive Report Region

    I am getting the following error while creating an Interactive report region on a page. (version - 4.1.0.00.32)
    Error Unable to create Dynamic Query page.
    ORA-04065: not executed, altered or dropped ORA-04065: not executed, altered or dropped stored procedure "APEX_040100.WWV_FLOW_API" ORA-06508: PL/SQL: could not find program unit being called: "APEX_040100.WWV_FLOW_API"
    DBA complied package but the error persists.
    Does anyone know how to debug this
    Thanks,
    Priyanka

    Hello ???,
    We are experiencing this too at login in an application. The error is caused by violating the constraint WWV_FLOW_DATA_IDX1 on columns FLOW_INSTANCE, ITEM_ID in table WWV_FLOW_DATA. So for some reason the value of an item in session state is set multiple times.
    When looking at the Access view (statement below) I see that there are multiple logins per second for a user (I have seen 12 times as maximum).
    select login_name, application, access_date, count(*)
    from WWV_FLOW_USER_ACCESS_LOG_V
    group by login_name, application, access_date
    having count(*) > 1
    order by access_date descSince this count of logins varies from 1 to 12, it looks like it is not caused by the application itself, but I also don't have a clue what the root cause is.
    Is there anyone else with more information on this issue?
    We are on APEX 4.0 and Oracle 11g and the applications have all been built in this environment, so no upgrades have been performed.
    Regards, Wouter
    Edited by: Wouter Breeuwsma on 31-mei-2012 12:05

  • Apply request values from a region on an event from another region

    Hi,
    I am quite new to ADF and that's my first question/post here (and as a matter of fact pretty much anywhere),
    so i hope i manage to make my problem clear enough.
    First i am using ADF Faces + ADF BC using JDeveloper 11.1.2.1.0 with the integrated WebLogic Server
    Now the what is the case:
    I have a page with two af:regions in it.
    The first one is basically a single selection table.
    The second one is a to put is simply an edit form for the selected row of the first table.
    I don't use the contextual events mechanism ( i have spent some week or more playing around with it awhile ago, but from that exprience i don't recollect any particular thing that might solve my problem) so what i do is pass as parameter to the first(table) region a "delegate" that would listen/handle selection events and in the backing bean of the table i have the selection listener that fires the events/calls the delegate's handleEvent(String eventType,Object data) method so that the main page knows and refreshes the second/edit form region
    with the newly selected ID of the entity.
    My problem is that if i had entered data in the form in the second region it is lost after selection
    has been made in the first one.
    I see (in the http request content of the selection event, or in the requestMap), that all that was in the html page, including the second region is transmitted to the server - so are the newly entered values. However the jsf components that are a part of the second region are not applied with their new values, nor their model is updated in the next jsf phase.
    Now I suspect that has something to do with the (Adf)RichRegion being a EventRoot or something.
    I tried putting partialTrigger to the second region (though i currently and for various reasons call the AdfFacesContext.addPartialTarget programmatically at about one million places in the java code after the selection event)
    I even tried hacking the javascript AdfRichRegion object, so that it would always return false if asked isEventRoot. :) that's how desperate i was
    The only solution i have so far is:
    First to make clear. When i say refreshing the second region i don't mean calling RichRegion.refresh(), but rather RichRegion.queueActionEventInRegion(....., "refresh",PhaseId.ANY_PHASE) which in the second's region taskflow is just a method call, that sets the right current row of the iterator and then loops back to the same (one and only view in this taskflow - the edit form) and adds some parialTargets to the AdfFacesContext, so we see the new data
    then in that methodCall (which i think happens in the INVOKE_APPLICATION phase) i add those few lines to make sure the values are applied to the jsf components sub-tree of interest:
    RichPanelGroupLayout fl = getFl();//that's a binding of the UIComponent, that holds all the inputTexts i care about
    fl.processDecodes(FacesContext.getCurrentInstance());
    fl.processValidators(FacesContext.getCurrentInstance());
    And when i say make sure that the values are applied... i actually mean - get on my knees and pray because the whole thing looks too hacky already, but so far it works.
    But now i have to make sure the validation has been ok (otherwise i get a funny effect of seeing the red popups at the invalid text inputs just for a second and then my region is refreshed to the new entity or i get an JBO exception depending of whether i call the next lines that follow without the if(..){processUpdates}
    How do i check this:
    System.out.println(FacesContext.getCurrentInstance().isValidationFailed());
    //The above line would print false nomatter what happenned so i decided to use this "something":
    boolean validationFailed = FacesContext.getCurrentInstance().getMessageList().size()>0;
    if(validationFailed){
    //dont update the iterator's current row and return to the edit form page
    return "fail";
    }else{                    
    fl.processUpdates(FacesContext.getCurrentInstance());
    //update the current row and return to the edit form page
    It took me days to come up with this...i would call it hack...And a day or two more to adapt the rest of the page's logic with the whole design changes i had to make but i still believe there must be some better solution that i am missing because for a number of reasons i don't feel right eith this one, which, while implemented and working (i hope) makes the whole real case a lot more complex than it used to be (and still feels like a hack),
    just for the simple reason that I want to get some updated values back in the model.
    Just as an example of a design change i had to make i give you the afformentioned methodCall i had to add, because the processUpdate would not work if not called with the right adf bindings context... first i tried calling them from a custom PhaseListener i have but at that moment nobody knows what #{bindings.MyEntityId.inputValue} is.
    Thanks and Greeting
    trout
    Edited by: trout1234 on Aug 2, 2012 10:47 AM
    Edited by: trout1234 on Aug 2, 2012 10:57 AM

    Oh yes... and i have also noticed that if the action is triggered from a component(e.g. clicking on a commandLink) that is a part of the main page
    the values are updated in all regions (i think so :) ) ... so i even tried a client listener in the first region that calls javascript function that queues a custom event with a source component from the main page, but yet the selection event is propagated to the server even with the event.cancel() and evt.stopBubbling()
    and i could not make my custom event force the apply request values... but here i might have done somthing wrong i dont know it is a mess anyway... sure this one sound more of a hack than my current option....by my criteria at least

  • At line-selection event in alv

    Hi all......
    I am creating an interractive alv.
    Now waht I want is,
    I want to display the details of  only that particular field(ROW) as secondary out-put list, which i had dbl-clicked in the primary out-put list.
    Like if I had dbl clicked on a pirticular Mat.No, than only the details of that Mat.No should be displayed in the secondary list.
    I had used a statement like this...
    DATA F(16).
    GET CURSOR FIELD F.
    but it seems like it is having error
    Thanks...

    Hi Kiran,
    I can solve your problem. I have made same type of report in whitch u can use only AT selection event instead of get cursor event to get desired output.
    AT LINE-SELECTION.
      CLEAR W_SYTABIX.
      IF SY-LSIND = 1.
        PERFORM SCREEN_1.
      ELSEIF SY-LSIND = 2.
        PERFORM SCREEN_2.
        ELSEIF SY-LSIND = 3.
          PERFORM SCREEN_3.
      ENDIF.
    *&      Form  SCREEN_1
          text
    FORM SCREEN_1 .
      W_SYTABIX = SY-CUROW - 6.
      IF W_SYTABIX >= 0.
        READ TABLE I_SCARR INDEX W_SYTABIX INTO WA_SCARR.
        IF WA_SCARR IS NOT INITIAL.
          SELECT CARRID CONNID CITYFROM AIRPFROM CITYTO AIRPTO
              FROM SPFLI
              INTO CORRESPONDING FIELDS OF TABLE I_SPFLI
              WHERE CARRID = WA_SCARR-CARRID.
          IF SY-SUBRC NE 0.
            MESSAGE 'NO RECORDS TO DISPLAY' TYPE 'E'.
          ENDIF.
        ELSE.
          EXIT.
        ENDIF.
        WRITE : 'CARRID',(10)'CONNID',(20)'CITYFROM',(30)'AIRPORTFROM',(40)'CITYTO',(50)'AIRPORTTO'.
        ULINE.
        LOOP AT I_SPFLI INTO WA_SPFLI.
          WRITE :/ WA_SPFLI-CARRID UNDER 'CARRID' ,
                   WA_SPFLI-CONNID UNDER 'CONNID',
                   WA_SPFLI-CITYFROM UNDER 'CITYFROM',
                   WA_SPFLI-AIRPFROM UNDER 'AIRPORTFROM',
                   WA_SPFLI-CITYTO UNDER 'CITYTO',
                   WA_SPFLI-AIRPTO UNDER 'AIRPORTTO'.
          HIDE: WA_SPFLI-CARRID.
        ENDLOOP.
        CLEAR : WA_SCARR,
                WA_SPFLI.
      ELSE.
        MESSAGE 'CURSOR IS NOT AT RIGHT PLACE' TYPE 'I'.
      ENDIF.
    ENDFORM.                                                    " SCREEN_1
    *&      Form  SCREEN_2
          text
    FORM SCREEN_2 .
      W_SYTABIX = SY-CUROW.
      IF W_SYTABIX > 4.
        READ TABLE I_SPFLI INDEX W_SYTABIX INTO WA_SCARR.
        SELECT CARRID CONNID FLDATE PRICE CURRENCY
            FROM SFLIGHT
            INTO TABLE I_SFLIGHT
            WHERE CARRID = WA_SPFLI-CARRID.
        WRITE : 'CARRID',(10)'CONNID',(30)'FLDATE',(50)'PRICE',(70)'CURRENCY'.
        ULINE.
        LOOP AT I_SFLIGHT INTO WA_SFLIGHT.
          WRITE :/ WA_SFLIGHT-CARRID UNDER 'CARRID',
                   WA_SFLIGHT-CONNID UNDER 'CONNID',
                   WA_SFLIGHT-FLDATE UNDER 'FLDATE',
                   WA_SFLIGHT-PRICE UNDER 'PRICE',
                   WA_SFLIGHT-CURRENCY UNDER 'CURRENCY'.
        ENDLOOP.
      ELSE.
        MESSAGE 'CURSOR IS NOT AT RIGHT PLACE' TYPE 'I'.
      ENDIF.
    ENDFORM.                                                    " SCREEN_2
    *&      Form  SCREEN_3
          text
    -->  p1        text
    <--  p2        text
    FORM SCREEN_3.
      W_SYTABIX = SY-CUROW.
      IF W_SYTABIX > 4.
      WRITE : 'THANKS FOR VISITING..HAPPY JOURNEY **LOKESH TAREY**'.
      ENDIF.
    ENDFORM.                    " SCREEN_3
    You can easily use the same logic for your ALV report.
    I hope i will help you.
    Thanks & Regards,
    Lokesh.

  • Problem in triggering at line selection event in ooabap

    hi ppl,
              Below is the code i did so far using interactive reports,but its showing error "statement END METHOD is missing".
    REPORT  y_program_on_ooabap1.
          CLASS CL DEFINITION
    DATA: lf_matnr TYPE matnr.
      INITIALIZATION.
      PARAMETERS: pa_matnr TYPE matnr.
      SELECT-OPTIONS: so_matnr FOR lf_matnr.
          CLASS cl DEFINITION
    CLASS cl DEFINITION.
      PUBLIC SECTION.
        TYPES: BEGIN OF tw,
               matnr TYPE matnr,
               ernam TYPE ernam,
               END OF tw,
               tt TYPE STANDARD TABLE OF tw.
        TYPES: BEGIN OF tw1,
               matnr TYPE matnr,
               maktx TYPE maktx,
               END OF tw1.
        DATA: itab TYPE tt,
              wa TYPE tw,
              wa1 TYPE tw1.
        METHODS: retrive_data,
                 display_data.
    ENDCLASS.                    "CL DEFINITION
          CLASS CL IMPLEMENTATION
        CLASS cl IMPLEMENTATION.
        METHOD: retrive_data.
        SELECT matnr ernam INTO TABLE itab FROM mara
        WHERE matnr IN so_matnr.
        "RETRIVE_DATA
        ENDMETHOD.                    "retrive_data
        METHOD: display_data.
        LOOP AT itab INTO wa.
        WRITE:/ wa-matnr,
                  wa-ernam.
        ENDLOOP.
        AT line-selecion.
        CASE: sy-lsind.
        WHEN 1.
        SELECT SINGLE matnr maktx INTO CORRESPONDING FIELDS OF wa FROM makt WHERE matnr = wa-matnr.
        WRITE:/ wa-matnr,
                wa-maktx.
            ENDMETHOD.                    "display_data
            "DISPLAY_DATA
          ENDCLASS.                    "CL IMPLEMENTATION
       DATA: obj TYPE REF TO cl.
       START-OF-SELECTION.
      CREATE OBJECT: obj.
      END-OF-SELECTION.
      CALL METHOD obj->retrive_data.
      CALL METHOD obj->display_data.

    hi,
    you cannot put Events in methods. instead do as call the method in the event you want like below, or create a new method and call it in the At line selection Event.
    CLASS cl IMPLEMENTATION.
    METHOD: retrive_data.
    SELECT matnr ernam INTO TABLE itab FROM mara
    WHERE matnr IN so_matnr.
    "RETRIVE_DATA
    ENDMETHOD. "retrive_data
    METHOD: display_data.
    LOOP AT itab INTO wa.
    WRITE:/ wa-matnr,
    wa-ernam.
    ENDLOOP.
    ENDMETHOD. "display_data
    METHOD: Drilldown
    SELECT SINGLE matnr maktx INTO CORRESPONDING FIELDS OF wa FROM makt WHERE matnr = wa-matnr.
    WRITE:/ wa-matnr,
    wa-maktx.
    ENDMETHOD. "Drilldown
    ENDCLASS. "CL IMPLEMENTATION
    DATA: obj TYPE REF TO cl.
    START-OF-SELECTION.
    CREATE OBJECT: obj.
    END-OF-SELECTION.
    CALL METHOD obj->retrive_data.
    CALL METHOD obj->display_data.
    AT line-selecion.
    CASE: sy-lsind.
    WHEN 1.
    CALL METHOD obj->drilldown.
    ENDCASE.
    Hope this helps you
    Raj
    Edited by: Raj on Dec 5, 2008 9:57 AM

  • Reversing "Add Flagged Photos to Selected Event" Command

    Apparently, we inadvertently moved all of our flagged photos to one event using the "Add Flagged Photos to Selected Event" Command. The problem is, I want all of these flagged photos back in their original events.
    Is there a way to do this without manually re-sorting the photos? I currently have ca. 10,000 photos in 270 events, and I am not looking forward to a manual re-sort.
    Thanks in advance for your help.

    The easiest way ti to use your backup of the iPhoto library - that is why you make them - in case of software, hardware or human error
    If that will not do it, I can not test this but it should get you started - assuming that your events are in the default time/date based set up - and assuming that the photos are still flagged create a new event form the flagged photos and select that event - under the event menu ==> autosplit selected event - this will create new events that will be next to the event the photos came from - then go through and merge the newly created events with the event the photos came from
    Other that your backup I can not think of any other way to get there except to move each photo manually
    LN

  • Flagged photos do not reliably move to selected events

    I flag photos.  I select event.  I click on "move flagged photos to selected event".  Rarely, does this happen.  It worked fine for years. 

    There are 9 different versions of iPhoto and they run on seven different versions of the Operating System. The tricks and tips for dealing with issues vary from version to version and OS to OS. So before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.
    With this kind of information somebody can develop a starting point for troubleshooting the issue.

  • Thumbnail selections, events and selection lists

    I'm experimenting with creating an external data file to track Bridge selections. I've come across two problems, one of which I have found a fix for, the other not.
    If I obtain 'app.document.selections' following a 'select' event type, the list I get is actually the list prior to the latest selection. So if I had test1.jpg selected and switch to test2.jpg, app.document.selections[0] will be test1.jpg. The same applies to using 'deselect' that actual deselection does not show in the app.document.selections list when the event is triggered.
    The fix for this is to use event type 'preview' which returns the latest selections at the moment you change the selection.
    Unfortunately, preview does not update when you click when you deselect - and since deselect and select events both seem to come ahead of the updating of the selections list, using them does not work.
    Any suggestions / ideas on this.
    Andrew
    Here is the code I am currently using:
    onThumbnailEvent = function( event ){
    if( event.object.constructor.name == "Thumbnail" ){
    if( event.type == "preview" ) {
    ah_CollectBridgeData();
    return {handled:true};//stop processing event handlers
    ah_writeData = function (tFile,tString) {
    if (tFile.open('w')) {
    if (tFile.write(tString)) tFile.close();
    else throw ("Error saving file list\n" + tFile);
    else throw ('Error, Data File Not Opened\n' + tFile);
    ah_CollectBridgeData = function () {
    var tFile = new File ('/c/Program Files/Adobe/Adobe Photoshop CS2/Presets/Scripts/nn-test3.dat');
    var filestr = ah_fileThumbnailsToFilestr(app.document.selections);
    ah_writeData(tFile,filestr);
    ah_fileThumbnailsToFilestr = function( thumbnails ) {
    var fileAr = new Array();
    for ( var i = 0; i < thumbnails.length; i++ ) {
    if(thumbnails[i].spec instanceof File) fileAr.push(thumbnails[ i ].spec);
    return fileAr.toString();
    // register the handler
    allDocEventHandlers = { handler: onThumbnailEvent };
    app.eventHandlers.push( allDocEventHandlers );

    ugh, hadn't thot that thru yet on the deselect...
    Looks like you get "n" deselects in a row.
    Run this in ESTK, keep estk's console visible then select/deselect in bridge...
    #target bridge
    EventWatcher = {};
    EventWatcher.lastEvent = "";
    EventWatcher.eventCatcher = function( evt ) {
    $.writeln( evt.type + " Event" );
    if ( evt.type == "deselect" ) {
    $.writeln( "Thumbnail Deselect: " + evt.object.path );
    // debugger;
    EventWatcher.lastEvent = evt;
    return { handled: false };
    app.eventHandlers.push( { handler: EventWatcher.eventCatcher } );
    All the deselects (on a multiple deselect) happen in a row, and you're only interested in the last one, and you're not even interested in that. app.document.selections will be correct on the event (regardless of type) after the last deselect.
    Hold off doing anything on a deselect until the event type changes.
    if ( event.type = "deselect" ) {
    myNamespace.loadedGun = true;
    } else {
    if ( myNamespace.loadedGun ) {
    nowWriteMySelectionFile();
    Since it's possible that you won't get another event for some time, you might want to setup a scheduled task that checks to see if the "gun is loaded", and if so to write the files.
    Thanks for the kind words. I really enjoy working with everyone. It's a great break from head-down coding, and I learn something from just about every case.
    Bob
    Adobe WAS Scripting

  • Error launching Photoshop from Lightroom

    I use Adobe Photoshop CC 2014 and Lightroom 5 from the Creative Cloud. After upgrading to Yosemite I am getting an error launching Photoshop from Lightroom. When I right click an image in Lightroom and select edit in Photoshop I get an error: "Some of the application components are missing from the Application directory, Please reinstall the application." I reinstalled Photoshop CC 2014 and I am still getting the error. Does anyone know how to fix this?

    Uninstall Photoshop, Lightroom and the CC app, run the Adobe CC Cleaner tool, and re-install.  Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Benjamin

  • Filereference.browse not returning select event in web applciation.  Sometimes it works also but very random

    I am using flex sdk 4.6 , FileReference.browse is not dispatching select event in all cases. Sometimes it just ignore my selected file without giving any error.

    Hi Shreedhar,
    No, I am out on my own, but been working with LC Designer for years. Picked up code from blogs, forums, etc. JP Terry's book "Designing LiveCycle Forms" is excellent.
    Here are some resources that you might find helpful:
    http://www.adobe.com/go/learn_lc_scriptingBasics
    http://www.adobe.com/go/learn_lc_scriptingReference
    http://www.adobe.com/go/learn_lc_formCalc
    http://www.adobe.com/devnet/livecycle/articles/Adobe_XML_Form_Object_M odel_Refer ence.pdf
    http://www.adobe.com/devnet/acrobat/pdfs/lc_migrating_acrobat_xmlform. pdf
    And a very handy resource (and while it is for version 6 it is still very good because of the way it is laid out):http://partners.adobe.com/public/developer/en/tips/CalcScripts.pdf
    The help file also helps with syntax and LC Designer comes with templates/examples.
    Lastly, check out the Developer's Network on http://www.adobe.com/devnet/livecycle/
    Good luck,
    Niall

  • Avoid first select event from a tableview

    Hi,
    Anyone know how to avoid the first select event from a tableview?
    I've tried the approach with a data store but the select event from the table is'nt available and if I write it manually I can't deploy the model.
    Best Regards
    Robin

    Robin,
      The error message probably wasn't written anywhere unless you've changed the default logging settings. 
      There's a sticky thread always at the top of this forum titled "How To Troubleshoot VC Issues" which contains a link to a pdf file - <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/92d80512-0a01-0010-32a3-cd3735bd9275">here's the same link</a>.  Near the end of that file are step by step instructions for turning on the logging.  Once you (or your admin) do that when you recompile/deploy a meaningful error message will appear in the VC editor as well as in the server log files.
    Good luck.

  • Error 28: selected item cannot fit into memory

    Dear Forum,
    I am trying to install Solaris 10 x86 OS into my SFX4200 server through Remote Control feature. I had setup the bios to 1st boot from CDROM and 2nd boot from Disk.
    So, i inserted Solaris 10 x86 media into my laptop. Then i connected my laptop directly to the ILOM using cross cable. From the ILOM web page i had launch the Remote Control. I powered on the SFX4200 and i can see the boot up process through the Remote Control window. The boot up process has successfully read my laptop Solaris 10 x86 media.
    At the end of the boot up process i saw three(3) option for me to choose:
    1. Solaris
    2. Solaris ttya
    3. Solaris ttya( SFV60x and SFV65x )
    I had selected, option #1 and #2 but few seconds later, i saw this error message "Error 28: selected item cannot fit into memory"
    This is my laptop configuration:
    - Microsoft Windows XP Pro
    - 512 MB of RAM
    - 40GB disk and 7GB available space.
    Has anyone encountered the same problem.
    Please, can someone help and guide me to solve my problem.
    Thanks in advance.

    Hspaans,
    First of all, thanks for the reply.
    I believe my machine has sufficient amount of memory. The following are the spec of my SFX4200 server:
    1x Dual Core AMD Opteron Processor 280( 2.4GHz )
    4x 2GB of Memory
    Fyi, i had also tried to start the installation using optin # 2 " Solaris ttya " but still failed.
    I will be much appreciate if you can help me or guide me to install Solaris 10 x86 OS through SFX4200 Remote Control window( Install OS using my laptop DVD Drive ).
    Please let me know, if you require more information.

Maybe you are looking for