Line link is set to null on the browser zoom

Hi all

Jdev Version: 11.1.1.7.1

We observe that the #{line} evaluates for the first time that we click on the commandlink to COMPENSATE (see code below) after a zoom on the browser (always used with Firefox 33.0). On the following clicks, it works fine. I tried the description of accessibility in trinidad and that did not help.

Any clue?

<af:table value="#{bindings.QueueVO1.collectionModel}" var="row"
                  rows="#{bindings.QueueVO1.rangeSize}"
                  emptyText="#{bindings.QueueVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                  fetchSize="#{bindings.QueueVO1.rangeSize}"
                  rowBandingInterval="1" styleClass="AFStretchWidth"
                  rowSelection="single" columnSelection="single"
                  allDetailsEnabled="true" autoHeightRows="0"
                  filterModel="#{bindings.QueueVOQuery.queryDescriptor}"
                  queryListener="#{bindings.QueueVOQuery.processQuery}"
                  filterVisible="false" varStatus="vs" id="t5" 
          selectedRowKeys="#{bindings.QueueVO1.collectionModel.selectedRow}"
                  selectionListener="#{bindings.QueueVO1.collectionModel.makeCurrent}"
                  partialTriggers=":::soc1 ::cb3" clientComponent="true">
          <af:column sortProperty="#{bindings.QueueVO1.hints.CaseId.name}"
                     filterable="true" sortable="true"
                     headerText="#{bindings.QueueVO1.hints.CaseId.label}"
                     id="c11" width="50" align="center">
            <af:commandLink action="showDetail" text="#{row.CaseId}" id="edl53">
              <af:setPropertyListener from="EDIT" to="#{pageFlowScope.viewtype}"
                                      type="action"/>
              <af:setPropertyListener from="#{row.CaseId}"
                                      to="#{pageFlowScope.caseId}"
                                      type="action"/>
            </af:commandLink>

Thank you

Finally, this issue seems to be with the VO Setup options. The 'Mode of access' VO was put with "Range Paging" - so if we happen to zoom out, click a folder outside the range, the "CaseId" is not present.

Change the Access Mode to Scrollable solved the problem.

Tags: Java

Similar Questions

  • lov automatic setting of null at the click of a button.

    Hi Experts ADF,

    JDeveloper 12.1.3.0.0

    I have a read-only VO as below which is dragged as a selectone choice. Do autosubmit = 'true '. I also have a valueChangeListener. In the valueChangeListner value, I'll put in an instance variable.

    And I have an Add button that partial shipment is set to true. But when the click on the Add button, inside actionListener, I get the value null for the instance variable.

    When I select a value, select a choice, I am able to see the value of valueChangeListener. The valueChangeListener inside I'll highlight selectedValue = valueChangeEvent.getNewValue;

    After I click on the Add button, in the actionListener I get selectedValue as null.

    Note: -.

    selectedValue is a variable instance with the getter and setter.

    The taskflow scope is backingbeanscope.

    Read only Vo:-select DepartmentId, DepartmentName from departments dragged like a selectonechoice.

    Thank you

    Roy

    Instead of the instance variable, save the value of the variable def page, as described here:

    http://andrejusb.blogspot.com/2011/10/page-definition-variables-to-store.html

    on this path, the value will survive another request

  • Backflip: Is it possible to share links to social networking sites from the browser?

    Hi all. I was playing with my Backflip and that most of the time (apart from some odd questions every now and again). I love how I can post updates from a single blow to all my social networks that I have linked to my Motoblur account. It is quite convenient. I did something similar on my computer browser for a while with the help of an add-on called Yoono. Although one thing I can make sure I did not quite understand yet how can I go on the sharing of links on all of my accounts of social network at the same time? Is it still possible to do so directly, or do I have to use the sharing links on individual pages or copy the link and put in an update? Yoono offers a unique button 'share' which will lead the URL I'm at, capture images of the page, I would add a little descriptive text and then send it to networks no matter what I choose in a single process. It saves time by not requiring no me click every button share for each network and add descriptions for everything. Just click once and it goes to all. In the same way that status updates the work of Motoblur. Given that social network accounts are already synchronized with our phones, I was hoping there would be something like that where I could share a link from the browser or RSS reader app and post the link to all my accounts in a single operation without welding. So are there currently such a thing, or what I have to use a workaround? Thank you!

    Download free browser dolphin of the market app. When using it just click the menu button and it gives options for sharing things on different sites.

  • sreadtim is set to null after the execution of DBMS_STATS. GATHER_SYSTEM_STATS

    I have a 11.2.0.4 install.  I ran the DBMS_STATS. GATHER_SYSTEM_STATS, but after reviewing the statistics, the mreadtim and the sreadtim are null.

    JWF wrote:

    I had an interval of 15 minutes, 30 minutes and 2 hours.  Sometimes, the SREADTIM is filled, and sometimes the other read times are met.  But I still see other statistics such as iotfrspeed or mreadtim. So, what happens if you don't get all the stats? The CBO will use those by default, and others?

    You must understand that the statistics system are there different flavors (NOWORKLOAD compared to the workload) and there are two corresponding sets of stats.

    Statistics system NOWORKLOAD complete: cpuspeednw, ioseektim, iotfrspeed

    Note that if you don't explicitly realize the statistics gathering system NOWORKLOAD the optimizer uses a * default * together statistics system NOWORKLOAD based on default, IOSEEKTIM and IOTFRSPEED - this is the default behavior for most of the facilities which do not bother to do something for his stats of individual system.

    Complete system of workload stats: maxthr, slavethr, sreadtim, mreadtim, MBRC, cpuspeed

    Note that for the system of workload statistics some stats could be depopulated if no corresponding activity took place during the gathering stats (no single block reads-online no SREADTIM no readings diluvium-online no MREADTIM, MBRC, no parallel execution-online no SLAVETHR, MAXTHR etc.). In this case, I believe that the official documentation available is not quite right in saying that the missing values will be synthesized / derived from default values, but the calculation will return you to (default) NOWORKLOAD system stats depending on which parameter is missing (e.g. missing / invalid SREADTIM / MREADTIM: these values are essential for the calculation of costs, so come back to NOWORKLOAD)

    Just follow the links (official doc and my series) provided by Martin for more details.

    Randolf

  • can update you links pdf with editing again in the browser?

    I made a website for a client and I was wondering if with the new Assembly browser can they update links in pdf format. (this is a restaurant and they are constantly updating menus). Really wish I could just hand-off for him? Is it possible that they continue to seek access to the site themselves. Ugh... Please help if possible. Thank you!

    An update was released today which includes the new feature with hyperlink change/add to the IBE.

    Please update to the latest version.

    Thank you

    Sanjit

  • I tired many different links and I can't download the browser on my laptop. Windowns 7

    It shows the full percentage, then says it cannot download. It does if I 'run' or 'save'

    You download from Mozilla.com? What browser are
    do you use now? You can take a screenshot and post here?

  • Hyperlinks to named destinations only works IN the browser?

    We have a document with named destinations and it is hosted on our web server.  On our web page, there are hyperlinks to these named destinations.  They work perfectly to open in IE and Firefox when the browser preferences are set to open a PDF file in the browser (Firefox preview, etc.).  However, if the browser settings open PDFs makes Acrobat (Pro, reader, whatever), then the document opens on the first page and ignores named destinations.

    We are doing something wrong, or the insertion of links to named destinations works within the browser?  Thank you in advance for your help!

    If a PDF file is not open in a browser, then the browser download and (maybe) start Reader with the file name. The named destination was long thrown before the browser startup drive.

  • Is it normal to get logged out of sync after closing the browser? In other words I have relog in there everytime I open Firefox.

    After I created an account, all set up and close the browser, next time I open firefox, it says set up sync, instead of sync. So I have to set up synchronization > I already have and account > I don't have the camera with me > etc.

    Windows 7 64-bit.

    Well Yes, "armor" passwords are saved in password under a Manager chrome: / / "the site" address (password Mozilla Services) and (Mozilla Services encryption key). Weave is the original name for the Firefox sync service, when it grew in 2009 and 2010 and uses this name for many internal files within Firefox.

  • Adjust the width of the image and position automatically with the size of the browser.

    Hi, I am trying to place an image on the left edge of the browser window, and the width of the image is 50% the size of browser window. Similar effect can be found on this Web site. Lenzing Instruments

    Note that, like the browser zoom out, the image is half of the width of the browser window and align the right edge of the browser.

    I am new to Muse. Not sure if it is possible to achieve this effect in Muse. I know that Muse adjustable width 100% image browser window, but how about 50%, 75% of the other user-defined proportion?

    Any help will be appreciated!

    By saying that I mean that you can use the features available where pine will set the location of the content, full-width makes the background or the flexible content with edges of browser. Not all items will be covered to significant effect.

    Thank you

    Sanjit

  • Attachment of an element in the browser window - why margins collapsed here?

    Someone at Watch video tutorials form this youtubechannel? I understand everything except this part:


    072 setting an element in the browser window - YouTube

    I read article margins collapse - SitePoint, but in this case I don't understand what the margins are collapsing? We have a header element that has position fixed :

    #header {
        position: fixed;
        width: 1200px;
        background-color: #FFFFFF;
    }
    
    
    
    
    
    

    and we figure element with ID = 'Heroes' (which is just under the header element) with margin-top140px, which is the same as the height of the header:

    #hero {
        margin-top: 140px;
    }
    
    
    
    
    
    

    (HTML):

    
    <div id="wrapper">
      <header id="header">
         ...
      </header>
      <figure id="hero">
         ...
      </figure>
    ...
    </div>
    
    

    )

    But the result is the following:

    Pacific Coastal Highway - Mozilla Firefox 2014-09-04 15.25.42.png

    This problem is solved by adding

    Top: 0px;


    to #header, but I do not understand why the header element also moved down, as it also top of the margin: 140px when there post fixed , which means that it is positioned compared to the browser window:

    An element with fixed position is positioned compared to the browser window.

    Fixed position elements are removed from the normal flow. The document and other elements behave as the fixed positioned element does not exist.

    CSS positioning

    Let's see if I can explain it and no sense of it...

    Because the #header element is pulled out of the natural flow of the document through its position: setting fixed, #hero next item margin collapses with #wrapper since there is nothing in the #wrapper to stop him doing that. In this case, the addition of HTML in the #wrapper, before the item #header or by adding a css padding-top or border-top to #wrapper are otherwise, you can stop thecollapse.

    A fixed element itself doesn't fix left/top of the default browser window (i.e. What are the top and left parameters for), it attaches to its own location in the normal document flow. The rest of the content of the document does not account this positioning and moving as if the fixed element is not there. You can see very well if you give a fixed position to one of your

  • elements and let all the top, left, bottom or right settings. The
  • items under the fixed we will move upward as if fixed is just not there, yet one fixed will always be in its normal flow position dictated by the html code.

    That being said, the 'normal' position of the fixed element #header in the document would be 0/0 of the #wrapper. The #wrapper that has a margin of 140px instance collapse of her second child, because this second child is now the first child, with the removed #header element in the normal flow of the document by post: fixed. Then, without high settings or to the left, the #header knows he must be 0/0 of the #wrapper which is lower in the page because of the collapse. That's why the addition of the question in patches of higher setting, he tells the #header away #wrapper 0/0 to the top viewport: 0px.

    Clear as mud?

  • Media downloads open in the browser

    Recently, I noticed a quirk with the downloading of media. On the homepage of the thecompass.net of the site, the first image of rotation is linked to a file/PDF file that was transferred via FTP, and when you click it, the file opens in Safari and Chrome.

    However, a link in the lower left corner that says "Download the Guide" is related to an element of documentation, which is also a PDF document, but was transferred via the media downloads feature, but when you click it, it will automatically download the file... it is not to open it in the browser.

    No idea why these two links to a PDF file cause the browser to behave differently?

    Supposed to be like that, because they are the elements of media if you look at the URL is a reference and no file extension so that the browser does not support it. This then allows a straight download and therefore allows to record stats for the download.

    It is itended and wanted characteristic because if downloading media, you want to do just that, download the item not display in the browser

  • How to set the 1st online number = 10 and increment 10 whenever you press the button to add a new line. Also enable users to enter the generic numbers, IE 13 and still increment of 10 23 or whatever.

    How to set the 1st online number = 10 and increment 10 whenever you press the button to add a new line. Also enable users to enter the generic numbers, IE 13 and still increment of 10 23 or whatever.

    I already have my chart updated in place with a button that will add new lines when pressed.

    Now, I want to clarify that the 1st row is 10 and all the other rows after this increase by 10. It will also allow users to enter any number they want, and the next line will increment of 10.

    Help please.

    Try changing the line button Add the following JavaScript code

    newRow var = Table1._Row1.addInstance)

    If (newRow.index > 0)

    {

    newRow.NumericField1.rawValue = newRow.resolveNode ('Row1 [-1].) NumericField1') .rawValue + 10;

    }

    You need to change this code to match your name on the form, but basically the method addInstance() returns the new row, the newRow.resolveNode ("Row1 [-1]... will get the value of the previous row and then add 10.

    Concerning

    Bruce

  • Some columns of the values of the selected line returns NULL in the table of the adf.

    Hello..

    My version of jdev 11.1.1.5.0

    I have a vision with some columns. This view is mapped to a table of adf with some of the displayed columns. My task is to get the column values selected line (including the values of the column not displayed).
    But I'm certain values such as null, although there are values present when I run the query from the view.
    My code:
    DCIteratorBinding tableVO = ADFUtils.findIterator ("myVO");
    ViewObject voTableData = tableVO.getViewObject ();
    Line rowSelected = voTableData.getCurrentRow ();


    + / / codeto display column and the values +.
    int x = 0;
    * for (the names of the objects: rowSelected.getAttributeNames ()) {*}

    * for (int i = x; i < rowSelected.getAttributeValues () .length; i ++) {*}
    * System.out.println (x + "." + name + "=" + rowSelected.getAttribute (i)); *
    break;
    *}*
    x ++ ;
    continue;
    *}*


    MY table:
    * < af:table value = "#{bindings.myVO.collectionModel}" *.
    * var = "row" rows = "#{bindings.myVO.rangeSize}" *.
    * EmptyText = "#{Bindings.myVO.Viewable?" "{'No data to display.': 'Access Denied.'}". *
    * fetchSize = "#{Bindings.myVO.rangeSize}" *.
    * rowBandingInterval = "0."
    * filterModel = "#{Bindings.myVO.queryDescriptor}" *.
    * queryListener = "#{Bindings.myVO.processQuery}" *.
    * filterVisible = "true" varStatus = "vs."
    * selectionListener = "#{myBean.method_onRowSelect}" *.
    * rowSelection = "single" id = "t1" styleClass = "AFStretchWidth."
    "* partialTriggers =": sbcClose: sbcOpen: socWarehouse. "
    * inlineStyle = "height: 217px;" / > *.


    Thank you

    Question: the attributes are not null in the DB?
    The attributes are part of the past of the query select?
    And they are part of the binding of the tree?

    Timo

  • Can I set null for the 'DiscoGroup.0.stdout '?

    Hi all:
    Can I set null for the 'DiscoGroup.0.stdout '?
    Because this file is too big, 22G, so I want to set to null to this file, I can do this action?
    [appfmrlt@csslxa02 jvm] $ pwd
    / U01/Oracle/fmrlt/ora/IAS/Apache/JServ/logs/JVM
    -rw - r - r - 1 appfmrlt s/n 22G 18 May 09:33 DiscoGroup.0.stdout





    My environment: oracle ebs 11.5.9. Red Hat 3.0 | Oracle 9.2.0.3




    Concerning
    Terry

    Terry,

    Yes, it is safe to do so. You can make a backup of the files or rename it, and you better stop Apache before doing so to raise again.

    Thank you
    Hussein

  • activeDocument null after the events focused on LCD screens

    ====================================================

    Problem:

    ====================================================

    Prob 1) in a TitleWindow popup, I a Dataservice oriented LCD screens that populates an ArrayCollection «pictures» collection  See source below PreviewImage.mxml.  On a CollectionChange event on 'photos', I have a listener "dataChangeListener(event:CollectionEvent)."  In turn, this listener calls a static method NewsAgencyPhotoshop.updateMetadata (args).

    When an image is open in PS, depending on the NewsAgencyPhotoshop.updateMetadata (args) get the reference of the Photoshop document active, check if it is not zero, and proceed to update the metadata of activedocument via the "info" property  Example:

    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    If (docRef! = null) {}
    var docInfo:DocumentInfo = docRef.info;

    .....

    However, every time I check if docRef is null, is null.  I use the same lines of code to get a reference to the current document in other functions like close() or writeWatermark(), and in each of these cases, the docRef object is valid (non-null).

    It seems that when a static function is called on the NewsAgencyPhotoshop manually by clicking a button or the activeDocument reference is good, but when calling a static function as an event listener for an event linked screens LCD LIQUID, then the activeDocument is always null.

    Why?

    Prob 2) I tried also to the activeDocument reference a static class variable, then the references in access to static functions.  In the open function (filePath), I instantiated the class static variables, like this:

    public static void open(filePath:String):void
    {
    App = Photoshop.app;
    var file:File;
    = new File (filePath);
    App.Open (file);
    app.activeDocument = docRef;
    }

    Using this approach, manual event-driven functions are working and have good docRefs, like this:

    Public Shared function writeWaterMark (): void
    {
    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    var myTextLayerRef:ArtLayer = docRef.artLayers.add ();

    However, this works only in part with the function called by my LCDS change event listener, since the docRef is then not null it penetrates into the code block and attempts to write metadata to the activedocument, like this:

    public static void updateMetadata(filePath:String,_data:Object):void
    {
    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    If (docRef! = null) {}
    var docInfo:DocumentInfo = docRef.info;
    docInfo.copyrightNotice = data.copyrightNotice;

    The problem here is that the docInfo.copyrightNotice line throws the following exception in Flash Builder:

    17/02/2011 00:08:44.226 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    : Error General Photoshop. Maybe this feature is not available in this version of Photoshop.
    -no additional information available >
    at flash.external::HostObject/__set()
    at com.adobe.csawlib::CSHostObject/hostSet()
    at com.adobe.photoshop::DocumentInfo/set copyrightNotice()
    to NewsAgencyPhotoshop$ /updateMetadata () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/NewsAg encyPhotoshop.as:52]
    to PreviewImage / dataChangeListener () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/PreviewIma ge.mxml:103]

    Your advice is appreciated.

    Thank you

    Steven Erat

    ====================================================

    Environment

    ====================================================

    Photoshop CS5 Extended 12,01 x 32

    Flash Builder 4

    CS SDK 1.02

    Extension Builder SDK 3.4

    MacBook Pro / OS X 10.5 / Intel Core 2 Duo clocked at 2.66 GHz / Procs: 1 / Cores: 2 / memory: 8 GB

    App, configured for Photoshop CS5 and Photoshop CS5 Extended

    ====================================================
    PreviewImage.mxml (popup)

    ====================================================

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:TitleWindow ' http://www.Adobe.com/2006/MXML "xmlns =" com.stevenerat.news. * ""
    title = "Preview Image" horizontalAlign = "center" verticalAlign = "middle" horizontalScrollPolicy = "off" verticalScrollPolicy = "off".
    paddingBottom = "20" paddingLeft = "20" paddingRight = "20" paddingTop = "20" width = "270" height = "550".
    creationComplete = "init (); ">

    ....

    < mx:Script >
    <! [CDATA]
    import flash.events.TimerEvent;
    import flash.utils.Timer;

    Import mx.events.CollectionEvent;
    Import mx.managers.PopUpManager;
    Import mx.utils.ObjectUtil;

    ....


    public void init (): void {}
    DS. Fill (pictures);
    ....
    }

    ....
    private void dataChangeListener(event:CollectionEvent): void
    {
    If (lblStatus appearing! = null & & imgIsOpen) {}
    lblStatus.text = "update of METADATA";
    setButtonState (false, true, true);
    Table: data var = event.currentTarget.list.localItems;
    for (var i: int = 0; i < data.length; i ++) {}
    If (.) Data filename [i] == this.fileName) {}
    NewsAgencyPhotoshop.updateMetadata(data[i].dirPath+data[i].fileName,data[i]);
    break;
    }
    }
    }
    }

    ....

    < mx:DataService id = "ds" destination = "NewsAgencyPhotos" autoSyncEnabled = "true" autoCommit = "false" / >
    < mx:ArrayCollection id = 'photos' collectionChange = "dataChangeListener (event)" / >
    < LocaleInvitez / >

    ====================================================

    NewsAgencyPhotoshop.as

    ====================================================

    package
    {
    import com.adobe.csawlib.photoshop.Photoshop;
    com.adobe.photoshop import. *;

    import flash.filesystem.File;
    Import mx.utils.ObjectUtil;

    public class NewsAgencyPhotoshop
    {
    public static var App: application;
    public static var docRef:Document;

    public static void open(filePath:String):void
    {
    App = Photoshop.app;
    var file:File;
    = new File (filePath);
    App.Open (file);
    app.activeDocument = docRef;
    }
    ....


    public static void updateMetadata(filePath:String,_data:Object):void
    {
    App: application var = Photoshop.app;
    var docRef:Document = app.activeDocument;
    If (docRef! = null) {}
    var docInfo:DocumentInfo = docRef.info;
    docInfo.copyrightNotice = data.copyrightNotice;
    docInfo.headline = data.headline;
    var keywordSt:String = data.keywords;
    var keywordAry: Array = keywordSt.split(",");
    for (var i: int = 0; i < keywordAry.length; i ++) {}
    docInfo.keywords [i] = keywordAry [i];
    }
    docInfo.caption = data.description;
    docInfo.city = data.city;
    docInfo.country = data.country;
    docInfo.provinceState = data.state;
    }

    ====================================================

    Console

    ====================================================

    [SWF] StageManager - 2.0.swf - 1 188 270 bytes after decompression
    17/02/2011 creationComplete() com.adobe.csxs.stagemanager.StageManager 00:08:18.971 [INFO]
    17/02/2011 00:08:18.981 [INFO] com.adobe.csxs.stagemanager.external.ExternalEventReceiver ExternalInterface callback registered.
    17/02/2011 00:08:18.982 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver ExternalInterface callback registered.
    17/02/2011 com.adobe.csxs.command.GetPendingStageManagerIdCommand 00:08:18.984 [INFO] call GetPendingStageManagerId via ExternalInterface
    17/02/2011 00:08:18.993 [INFO] com.adobe.csxs.command.GetPendingStageManagerIdCommand returned branchezBranchez StageManager ID. execute()
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.026 [INFO] adding extension CH
    17/02/2011 00:08:19.027 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.example.helloworld.extension1
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.028 [INFO] adding extension BASICAMFCONNECTOR
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.028 [INFO] adding extension CSREVIEW
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.028 [INFO] adding extension HELLOPHO
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.029 [INFO] adding extension KLR
    17/02/2011 00:08:19.029 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.stevenerat.news.extension1
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.029 [INFO] adding extension CREATENEWCSREVIEW
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.030 [INFO] adding extension NETAVERAGES
    17/02/2011 00:08:19.030 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.adobe.rc.mymessages
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.030 [INFO] adding extension CHWE
    17/02/2011 00:08:19.031 [INFO] com.adobe.csxs.stagemanager.model.ExtensionManager add extension com.adobe.rc.operationalmessages
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.031 [INFO] adding extension HISTORY
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.032 [INFO] adding FRIO extension
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.032 [INFO] adding extension MINIBR
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.032 [INFO] adding extension BLCSLIVE
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.033 [INFO] adding extension CHSIGNIN
    17/02/2011 com.adobe.csxs.stagemanager.model.ExtensionManager 00:08:19.033 [INFO] adding extension swfpanel-onOne-0
    17/02/2011 00:08:19.034 [INFO] com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader ExtensionLoader() record ExternalInterface callback loadExtension
    17/02/2011 00:08:19.034 [INFO] com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader ExtensionLoader() record ExternalInterface callback unloadExtension
    17/02/2011 checkLoadingQueue() com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader 00:08:19.035 [INFO]
    17/02/2011 com.adobe.csxs.command.GetLoadingQueueCommand 00:08:19.037 [INFO] call GetLoadingQueue via ExternalInterface
    17/02/2011 00:08:19.041 [INFO] com.adobe.csxs.command.GetLoadingQueueCommand execute() branchezBranchez returned to load extensions.
    17/02/2011 00:08:19.042 [INFO] com.adobe.csxs.stagemanager.extension.impl.ExtensionLoader loadExtension() com.stevenerat.news.extension1
    17/02/2011 00:08:19.045 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager Extension com.stevenerat.news.extension1 is not an extension plugin-> validate.
    17/02/2011 com.adobe.csxs.stagemanager.security.impl.ExtensionValidator [INFO] 00:08:19.049 in debug mode, the signature of the extension is not validated.
    17/02/2011 com.adobe.csxs.command.SetExtensionSignedCommand 00:08:19.053 [INFO] call SetIsSigned via ExternalInterface
    17/02/2011 00:08:19.133 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager doLoadExtension() Extension loaded com.stevenerat.news.extension1.
    17/02/2011 onCreationComplete() com.adobe.csxs.stagemanager.window.ExtensionWindow 00:08:19.230 [INFO]
    [SWF] / Users/stevenerat/Library/Application Support/Adobe/CS5ServiceManager/extensions/com.stevenerat.news/NewsAgencyPhotos.swf - 1 976 113 bytes after decompression
    17/02/2011 com.adobe.csxs.stagemanager.window.ExtensionWindow 00:08:19.369 [INFO] com.stevenerat.news.extension1 of the extension loading complete.
    17/02/2011 com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher 00:08:19.371 [INFO] com.stevenerat.news.extension1 of the extension loading complete.
    17/02/2011 00:08:19.396 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:19.397 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 onExtensionComplete() com.adobe.csxs.stagemanager.extension.impl.ExtensionLifeCycleNotifier 00:08:20.230 [INFO]
    17/02/2011 com.adobe.csxs.command.SetExtensionLoadedCommand 00:08:20.231 [INFO] call SetIsLoaded via ExternalInterface
    17/02/2011 dispatchInvokeEvent() com.adobe.csxs.stagemanager.extension.impl.ExtensionLifeCycleNotifier 00:08:20.233 [INFO]
    17/02/2011 com.adobe.csxs.command.CheckStartOnEventCommand 00:08:20.236 [INFO] CheckStartOnEvent via ExternalInterface call for com.stevenerat.news.extension1
    17/02/2011 onExtensionComplete() com.adobe.csxs.stagemanager.window.impl.WindowStateManager 00:08:20.245 [INFO]
    17/02/2011 00:08:20.252 [INFO] com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher dispatchEventToExtension() routing event type extension com.stevenerat.news.extension1 com.adobe.csxs.events::StateChangeEvent
    17/02/2011 00:08:20.257 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:20.258 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:31.858 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:31.859 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:33.333 [INFO] com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher dispatchEventToExtension() routing event type extension com.stevenerat.news.extension1 com.adobe.csxs.events::StateChangeEvent
    17/02/2011 00:08:36.394 [INFO] com.adobe.csxs.stagemanager.window.impl.SWFEventDispatcher dispatchEventToExtension() routing event type extension com.stevenerat.news.extension1 com.adobe.csxs.events::StateChangeEvent
    17/02/2011 00:08:36.683 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:36.683 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:36.718 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all

    .......
    17/02/2011 00:08:44.132 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:44.190 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:44.191 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:44.209 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:44.209 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    17/02/2011 00:08:44.225 [INFO] com.adobe.csxs.stagemanager.external.CSXSEventReceiver receiveExternalEvent() send CSXSEvent to all extensions...
    17/02/2011 00:08:44.226 [INFO] com.adobe.csxs.stagemanager.window.impl.WindowManager routing event of type com.adobe.csxs.internally.events.BroadcastEvent to all extensions.
    : Error General Photoshop. Maybe this feature is not available in this version of Photoshop.
    -no additional information available >
    at flash.external::HostObject/__set()
    at com.adobe.csawlib::CSHostObject/hostSet()
    at com.adobe.photoshop::DocumentInfo/set copyrightNotice()
    to NewsAgencyPhotoshop$ /updateMetadata () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/NewsAg encyPhotoshop.as:52]
    to PreviewImage / dataChangeListener () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/PreviewIma ge.mxml:103]
    to PreviewImage / __photos_collectionChange () [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/Pre viewImage.mxml:163]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.collections::ListCollectionView/dispatchEvent() [C:\autobuild\3.4.0\frameworks\projects \framework\src\mx\collections\ListCollectionView.as:862]
    at mx.collections::ListCollectionView/handlePropertyChangeEvents() [C:\autobuild\3.4.0\framew orks\projects\framework\src\mx\collections\ListCollectionView.as:1224]
    at mx.collections::ListCollectionView/listChangeHandler() [C:\autobuild\3.4.0\frameworks\proj ects\framework\src\mx\collections\ListCollectionView.as:1096]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.data::ConcreteDataService/dispatchCollectionEvent() [C:\depot\flex\branches\enterprise_ bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:4404]
    at mx.data::ConcreteDataService/itemUpdateHandler() [C:\depot\flex\branches\enterprise_bridge man_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:4946]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.stevenerat.news::NewsPhoto/dispatchEvent() [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/s rc/com/stevenerat/news/NewsPhoto.as:26]
    at mx.data.utils::Managed$/setProperty() [C:\depot\flex\branches\enterprise_bridgeman_final_h otfixes\frameworks\mx\data\utils\Managed.as:383]
    to com.stevenerat.news::NewsPhoto/set description() [/ opt/Adobe_Flash_Builder4/NewsAgency_Ext/src/com/stevenerat/news/LocaleInvitez. as: 13]
    at mx.data::ConcreteDataService/updateManagedProperty() [C:\depot\flex\branches\enterprise_br idgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:5618]
    at mx.data::ConcreteDataService/updateMergedItem() [C:\depot\flex\branches\enterprise_bridgem an_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:5638]
    at mx.data::ConcreteDataService/mergeUpdate() [C:\depot\flex\branches\enterprise_bridgeman_fi nal_hotfixes\frameworks\mx\data\ConcreteDataService.as:5155]
    to mx.data::ConcreteDataService / http://www.Adobe.com/2006/Flex/MX/internal:mergeMessage ([C:\depot\flex\branches\enterpri se_bridgeman_final_hotfixes\frameworks\mx\data\ConcreteDataService.as:2555])
    at mx.data::ConcreteDataService/messageHandler() [C:\depot\flex\branches\enterprise_bridgeman _final_hotfixes\frameworks\mx\data\ConcreteDataService.as:5199]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    to mx.messaging::AbstractConsumer / http://www.Adobe.com/2006/Flex/MX/internal:messageHandler ([C:\autobuild\3.4.0\frameworks \projects\rpc\src\mx\messaging\AbstractConsumer.as:765])
    at mx.messaging::ConsumerMessageDispatcher/messageHandler() [C:\autobuild\3.4.0\frameworks\pr ojects\rpc\src\mx\messaging\ConsumerMessageDispatcher.as:261]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.messaging::ChannelSet/messageHandler() [C:\autobuild\3.4.0\frameworks\projects\rpc\src\ mx\messaging\ChannelSet.as:1457]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.messaging.channels::NetConnectionChannel/receive() [C:\autobuild\3.4.0\frameworks\proje cts\rpc\src\mx\messaging\channels\NetConnectionChannel.as:318]

    Steven,

    You have run into a bug Photoshop Mac involving events, a description, the workaround and the library are described here:

    http://cookbooks.Adobe.com/post_Creative_Suite_5_Extensions_and_Photoshop_CS5_Redu-17727.h tml

    You can download the library.swf as a sample project from this page. As you've seen, the problem is that after receiving an event, the active document as well as other references of Photoshop DOM will be null. Workaround kicks Photoshop by the valid DOM, essentially re - run your function with a valid context.

    As the book post was written by Bob, I used workaround often successfully, of course we are also working closely with the team of Photoshop for repair. Once again, as you have seen, it is a problem for LCD screens, but it is also necessary in frameworks such as PureMVC as well as FlexUnit.

    Here is my version of a line of code, that I put at the top of each function called by these events.

    If (Utilities.shouldForceClean ()) if (PsEventScrubber.getInstance () .forceClean (this, arguments, arguments.callee)! = null) return; Workaround

    Note you mentioned creating a static function, with a static, you can't use 'this', simply replace this with your class:

    If (Utilities.shouldForceClean ()) if (PsEventScrubber.getInstance (.forceClean (MyClassHere, arguments.callee, arguments))! = null) return; Workaround

    Finally, the Utilities.shouldForceClean () is my simple check that prevents even to make the call. Although Bob wrote PsEventScrubber to do an audit of the platform, I put this to avoid calling even when not on a mac. It is also for a function that could detect bugs and avoid making the call in a future version, when it is fixed.

    /**

    * Utility to specifically target Photoshop Mac Bug - Ps Bug # 2584580

    */

    public static void shouldForceClean(): Boolean {}

    Return (flash.system.Capabilities.os.indexOf ("Mac OS") == 0);

    }

    Let us know how it works for you.

    -Mark

Maybe you are looking for