Problem Extending the  Dialog component from Flex

I'm trying to extend the flex Dialog component () for usage in Xcelcius, I can package my component successfully and add it to the add-ons in Xcelsius. The problem is that if I try to drag and drop the component to the Xcelsius workspace, the component appears blank and halts the IDE a bit. Does anyone have an idea what I might be doing wrong?
my code is as follows:
package com.component.xcelsius.component
     import flash.text.TextFormatAlign;
     import mx.containers.TitleWindow;
     import mx.controls.Label;
     import mx.core.ScrollPolicy;
     [CxInspectableList ("title", "showTitle")]
     public class ErrorMessageHandler extends TitleWindow
          private var _titleChanged:Boolean = true;
          private var _valueChanged:Boolean = true;
          private var _titleText:String = "My Own";
          private var _showTitle:Boolean = true;
          private var _visible:Boolean = true;
          public function ErrorMessageHandler()
               super();
          [Inspectable(defaultValue="Title", type="String")]
          public override function get title():String
               return _titleText;
          public override function set title(value:String):void
               if (value == null)  value = "";
               if (_titleText != value)
                    _titleText = value;
                    _titleChanged = true;
                    invalidateProperties();
          override protected function createChildren():void
               super.createChildren();
               // Allow the user to make this component very small.
               this.minWidth = 200;
               this.minHeight= 25;
               // turn off the scroll bars
               this.horizontalScrollPolicy = ScrollPolicy.OFF;
               this.verticalScrollPolicy = ScrollPolicy.OFF;
          override protected function commitProperties():void
               super.commitProperties();
               if (this._titleChanged)
                    this.title = _titleText;
                    this.visible = true;
                    this.showCloseButton = true;
                    invalidateDisplayList();  // invalidate in case the titles require more or less room.
                    _titleChanged = false;
               if (this._valueChanged)
          // Override updateDisplayList() to update the component
        // based on the style setting.
          override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
               super.updateDisplayList(unscaledWidth, unscaledHeight);

Hi,
First of all make sure you compile your Flex project with Flex SDK 2.0.1 Hotfix 3?
In the Add-on Packager carefully check your classname (the full class path + class name) because Xcelsius creates an instance of that class when you drag the add-on onto the canvas, so if it doesn't create anything usually it means your classname is wrong in the packager.
In your case:   
com.component.xcelsius.component.ErrorMessageHandler
If none of that works try extending from VBox as the top-level add-on class instead and see if that works (I have never tried with a TitleWindow).
Regards
Matt

Similar Messages

  • How extend the Forum component?

    Hi I'm trying to extend the Forum component from CQ5.4 but I'm unable to get it working when the user enter the first post for a topic creation the Servlets that ends with the request is the SlingPostServlet, and I ended with the properties for the current node in the parsys added or modified with the title and message for the new topic, for some reason I'm unable to get the com.day.cq.collab.forum.impl.CreatePostServlet, to handle the request. I tried bny extending the com.day.cq.collab.forum.impl.CreatePostServlet creating my own version of the Servlet, but when I display the status of the component in the Apache Felix console the service seems unable to resolve a reference to the UserManagerFactory and says unsatisfied reference.
    Any one has tried to do anything like this before? Is this feasible?
    thanks in advance.!

    Hi,
    it should be UnifiedImageTag.class in adf-richclient-impl-11.jar
    Frank

  • I cannot remove the dialog box from my ipad. It says 'not enough storage' I click on settings and close, but still there. I need help. thx

    I cannot remove the dialog box from my ipad. it says 'not enough storage'. I click on settings and close but still there. How can i remove this message? Thnx

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • How to delete/remove the software component from integration repository

    Dear All
    How to delete/remove the software component from integration repository which we have created some Data and message types.
    Regards
    Blue

    Hi,
      Follow the steps below to delete the Software component:
    1. Delete the created Data Types, Message Types, Message Interfaces, Message Mappings, Interface Mappings and other imported objects like RFC's or IDoc's. Activate all changes.
    2. Then delete the namespace and the default datatypes present with the namespace after checking "objects are modifiable".
    3. Then delete the SW component, after placing the radio button in "Not permitted".
    Regds,
    Pinangshuk.

  • Is it possible to extend the TSM component's expired date?

    Dears,
    Is it possible to extend the TSM component's expired date?
    Thanks!

    Definitely it is possible, however, it is unlikely this feature would be implemented in ME 5.2 but rather in further releases.
    And someone should contact e.g. Consulting team to "submit the request".
    Regards,
    Sergiy

  • Extending the Dialog Class

    Hey, I'm trying to extend the Dialog class into something called a DialogErrorBox, which is just what it sounds like: a dialog box specifically for telling the user about errors it encounters. Here's the code:
    import java.awt.*;
    import java.awt.event.*;
    class DialogErrorBox extends Dialog implements ActionListener {
         public DialogErrorBox (Frame parent) {
        ...//modified to give a vague error message
         }//end constructor
    public DialogErrorBox (Frame parent, String title, String message) {
        ...//worked as a function in my program
         }//end constructor
    public void actionPerformed (ActionEvent evt) {
              this.dispose();
    }The compiling error I recieve at both constructors is:
    ...cannot resolve symbol
    symbol  : constructor Dialog  ()
    location: class java.awt.Dialog
            public DialogErrorBox2 (Frame parent, String title, String message) {I can't figure out why this error would happen. I've made a class extending Frame(Frame and Dialog both extend Window) that looks almost exactly the same and it has no errors.
    Help would be much appreciated.

A: Extending the Dialog Class

This is a short and spotty explanation, to get the full skinny you might read pages 69 and 70 of The Java Programming Language 3rd Edition, Gosling, et. al.
If you don't use the superclass's constructor or one your own as the first executable statement , the superclass's no arg constructor gets called. This means that super() will get called automagically! I don't believe that Dialog has a no arg constructor, so you are forced to do something.
You could also do something like this:
public DialogErrorBox(Frame frame, String title) {
   this(frame, title, true);
}Now the two argument constructor invokes the three arument constructor with a default value of true.
Do you see why this must happen?

This is a short and spotty explanation, to get the full skinny you might read pages 69 and 70 of The Java Programming Language 3rd Edition, Gosling, et. al.
If you don't use the superclass's constructor or one your own as the first executable statement , the superclass's no arg constructor gets called. This means that super() will get called automagically! I don't believe that Dialog has a no arg constructor, so you are forced to do something.
You could also do something like this:
public DialogErrorBox(Frame frame, String title) {
   this(frame, title, true);
}Now the two argument constructor invokes the three arument constructor with a default value of true.
Do you see why this must happen?

  • Secure printing problems with the dialog box

    Hi!
    Some one which has problem with the scure dialog box then using secure printing?
    then we print in Adobe acrobat reader X 10.0.1 the dialog box for entring your pin nummer appearing under acrobat, causeing the program to locking until you go to the dialog box and clicking on it and enter the pin. The problem is that adobe not showing the dialog box in front of the printing overall dialog.
    had nog problem with the old 9, it started then we uppgraded. Haw tride a nother driver but haw same issue. And all other programs works greate, word, notepat etc so it is just Adobe that has the problem.. ?
    /J

    Hi!
    Its´s XP sp3 and the printer is a network printer(Toshiba e-studio 4520c)  running a PCL6 driver.
    Screen capture is not so much to see i think, running Swedish interface to. The ordinary dialogbox för printing is the first thing thats pops up, and then adobe reader frezes because the secund box pops up under adobe, you can click on it in the "toolbar" to continue. One thing that is diffrent when you print in adobe is that you can se on the "toolbar" for the popup box for the pin/password box is a Adobe icon on it. It is not so in example when printing in word, ie8 etc.
    The problem is that many users dont see it and thinks the program has stopt working.
    Im now going to try the PS driver from toshibas homepage..
    thanks for help!

  • Problem refreshing the Tree Component icons

    Hello,
    I'm using the Tree, adding the nodes dinamically, following the example: http://www.netbeans.org/kb/55/vwp-databasetree.html
    This Tree shows the access permissions from the users, and show a red icon on the itens without permissions and a green icon on the itens with permissions.
    In the nodes, I add an action that change this permissions when the user click.
    If the permission is Ok on the clicked item, the action remove this permission and vice-versa.
    The action is working fine, but the problem is the refresh of the tree after click. The icons stay like before the click. It is refreshed only if I navigate to another page and return after. Then the icons are showed correct.
    In the method that add the nodes, I select the node icons like this:
    if (havePermissionModulo(grupo, modulo)){
    moduloNode.setImageURL(imgPermissaoOk);
    }else{
    moduloNode.setImageURL(imgPermissaoNegada);
    Where imgPermissaoOk and imgPermissaoNegada have the path to the images.
    Sorry by my english :)

    It is hard to tell
    When the user clicks on an icon, is the page submitted to the server and the page redisplaying itself?
    Is the tree's clientSide property cleared (that is, false).
    Is the browser caching the images? What if you hit a Shift-Reload?

  • Problems importing the same clips from diferents cards  IMAC and CS5

    Hi, I'm having trouble importing my clips recorded in The ex1, I'm using CS5 with an imac, The problem is that when I import the same clips recorded in two cards, the second card comes exactly with what is inside the first card.  It does not have what was originally in it, it just copies what was on the first card or vice versa.  But the original folder in my drive is intact with the two cards intact. The problem is when I import it to CS5 on IMAC.  When i import the video the imac makes a long file with all the clips an puts them together except the clips from the previous card, it shows but with the same video that is in the begining of the second card or the last clip recorded in the second card .I tried to import the clip again from the first card and it comes with the same video from the second card again.

    1) Don't know why this is happening. It may have something to do with
    I downloaded from iCloud the same library I was working with
    I'm not clear what procedure you're using here. Using a cloud for storage might change some file tags. Generally users I think keep the library on the same drive as the media, keeping the library backups on the system. There is no real benefit in keeping the media in a separate location. Often users will keep the library in the same folder as the media. It makes backing up using tools like Carbon Copy Cloner very efficient.
    1a) This can be difficult to find as there sometimes is no obvious indicator. It might be a missing element in a compound clip, a missing or altered layer in a graphics file, a missing font, a missing effect. These will show up inside the item involved, but may not be apparent in the browser. A missing transition for instance will not be seen until you skim over the project or try to export it.
    2) The 43 MB is a small amount of optimized media. This never prevents relinking. The library is always looking for original media, or proxy media if you're in proxy playback. It never looks for optimized media. If it has it, it uses it, if it doesn't, it uses the original media. If you are using original/optimized playback, you must have the original files. The optimized files are not enough.

  • Problems with the WD2GO app from Western Digital

    I have a Western Digital Mybooklive and have downloaded the WDPhoto and WD2Go apps.
    The WDPhto app works perfectly, however the WD2Go app doesnt.
    I have been in discusson with WD and they have put forward numerous suggestions but I have found nothing that works.
    They belive the proble is with the Ipad, although I am not convinced.
    When I launch the app, I get a Mybooklive icon to sekect.
    After selecting the mybooklive I can see all my public shares.
    If I click on one I see the next level in the folder structure but after this when I click on a folder the Ipad gives the busy circle and eventaually I get the message
    "Device Offline".
    If I the come out of the app and go back in I get the "Device offline " message when I click on the Mybooklive icon.
    I can get access to the Mybooklive from my andcroid phone both within my own wifi neetwork and using 3G.
    So I know that port forwarding on the Mybooklive is working properly as the android phone and router and mybooklive all talk to each other.
    Has anyone got a reason why the Ipad has these issues.

    I had exactely the same problems you have described! No useful help from WD assistance but the problem is quite well known between the users and not so rare.
    I have found the solution of my problems following the suggestions you can find here http://community.wd.com/t5/WD-Mobile-Apps/WD-2Go-App-iPad-amp-iPhone/m-p/538735# M2125
    Now everything is OK!
    Bye

  • Does a second airport express extend the wireless signal from the first?

    After a long search on his forum and not finding an answer, this is my question:
    I have a Time Capsule connected to a Speedtouch router/modem. The Time Capsule has its own network. Because of the distances in my house, I use an Airport Express to extend the wireless range for my MBP. This doesn't seem to be enough to cover the whole distance (app. 35 meter) there is poor or no connection. So, my question is: can I use a second AE to extend the range even further? Will it pick up the signal from the first AE or do all the AE's in use need to connect with the Time Capsule?
    The first AE is app. 12 meter from the TC.
    many thanks,
    Inge

    Welcome to the discussions!
    The answer is yes and no.
    No, if you are using the "extend a wireless network" feature because each AirPort Express communicates directly to the Time Capsule, not to another AirPort Express. It's like the hub and spokes on a wheel. The Time Capsule is the hub and the Express devices are at the ends of the spokes. The devices at the ends of the spokes communicate directly to the hub, not to another spoke.
    Yes, if you are using the "WDS" feature because this type of setup allows a "main", "relay", and "remote" device to be configured. But, there is a big penalty with this type of system:
    o The network will operate at "g" wireless speeds only
    o The bandwidth on the network will drop 50% for each "relay" or "remote" device. So, with two devices, the first cuts half of the bandwidth. The second devices cuts half again. So, you are down to only 25% of the original bandwidth.

  • Problem with the return value from a tablemodel after filtering

    I have a form (consult that return a value) with a jtextfield and a jtable. when the user types in the textfield, the textfield call a method to filter the tablemodel.
    everything works fine, but after filtering the model, the references are lost and the return value does not match with the selected row.
    I read that convertColumnIndexToView, convertRowIndexToView, vertColumnIndexToModel and convertRowIndexToModel, solve the problem, but I used all and nothing.
    **** This is the code to fill the jtable
    DefaultTableModel modelo=(DefaultTableModel)this.jTable1.getModel();
    while(rs.next()){
    Object[] fila= new Object[2];
    fila[0]=rs.getObject("id_categoria");
    fila[1]=rs.getObject("nombre");
    modelo.addRow(fila);
    this.jTable1.getColumnModel().removeColumn(this.jTable1.getColumnModel().getColumn(0));
    // I delete the first column because is a ID, I dont want that the user see it. the value is only for me**** this is the method to filter from the jtextfield
    private void FiltrarJtable1() {
    TableRowSorter sorter = new TableRowSorter(this.jTable1.getModel());
    sorter.setRowFilter(RowFilter.regexFilter("^"+this.jTextField1.getText().toUpperCase(), 1));
    this.jTable1.setRowSorter(sorter);
    this.jTable1.convertRowIndexToModel(0);
    }*** this is the method that return the ID (id_categoria) from the tablemodel
    private void SeleccionarRegistro(){
    if(this.jTable1.getSelectedRow()>-1){
    String str_id =this.jTable1.getModel().getValueAt(this.jTable1.getSelectedRow(),0).toString();
    int_idtoreturn=Integer.parseInt(str_id);
    this.dispose();
    }else{
    JOptionPane.showMessageDialog(this,"there are no records selected","Warning!",1);
    }Who I can solve this problem?

    m_ilio wrote:
    I have a form (consult that return a value) with a jtextfield and a jtable. when the user types in the textfield, the textfield call a method to filter the tablemodel.
    everything works fine, but after filtering the model, the references are lost and the return value does not match with the selected row.
    I read that convertColumnIndexToView, convertRowIndexToView, vertColumnIndexToModel and convertRowIndexToModel, solve the problem, but I used all and nothing.
    You're right in that you have to use convertRowIndexToModel(), but you are using it wrong. That method takes as input the index of a row in the view, i.e. the table, and returns the corresponding row in the underlying TableModel. No data is changed by the call, so this:
    this.jTable1.convertRowIndexToModel(0);is meaningless by itself.
    What you need to do is the following:
    int selectedRow = this.jTable1.getSelectedRow(); // This is the selected row in the view
    if (selectedRow >= 0) {
        int modelRow = this.jTable1.convertRowIndexToModel(selectedRow); // This is the corresponding row in the model
        String str_id =this.jTable1.getModel().getValueAt(modelRow, 0).toString();
    }Hope this helps.

  • Problems Using the iTunes store from AppleTV

    Over the last month I've had large problems downloading content from the iTunes store using my AppleTV. For instance 3 weeks ago it took several attempts to rent a movie. Ever since Saturday I've been trying to purchase a season pass for Season 3 of Robot Chicken. Every time it would say "This content is being modified, please try again later." Got that again 10 minutes ago, got fed up and I went and pulled on the iTunes store on my computer and tried and it went right through, just like it should. I wanted to go this route, because if I buy it on AppleTV new episodes will be downloaded to it (I've found a way to download season pass shows I bought on AppleTV to my computer first, but not a way to do the reverse).
    More importantly, I've had just numerous problems and errors purchasing content from AppleTV. As iTunes on a computer doesn't have these issues, the only thing I can figure out is that the software still isn't right.
    Andy

    I posted a similar problem last week about the inability to move past "See All" in Podcasts. What was happening to me was that I would click "See All" and I'd get a message saying the request could not be completed. After getting no response here, I called up an Apple Expert about the problem. When I described the problem, the Expert tried it on her Touch and ran into the same problem. She called up the iTunes folks and reported that there was a problem and they were working on getting it fixed.
    A couple of days later, instead of getting the "Your response could not be completed" it went to the default Music section as you describe. They must be working on it, but don't know why it hasn't been fixed yet. The Apple Expert said to call back if the problem persists, but I haven't had the time yet.

  • Problem downloading the Corporate Adressbook from internal Lync Website

    Hello everybody,
    i hope you could assist me to find a solution for my big Problem in my Environment.
    The Problem :
    When my Lync 2013 Clients (with latest Updates) try to connect to our Lync 2013 Standard Frontend Server (latest CU5) + kbs installed - i can see in the IIS Logfile Problems connecting to the internal published Website:
    2014-08-18 18:11:52 W3SVC34577 FRONTENDSERVER1 172.16.169.160 GET /abs/handler/C-1358-136a.lsabs - 443 - 172.16.176.111 HTTP/1.1 OC/15.0.4641.1000+(Microsoft+Lync) - FRONTENDSERVER1.fullqualified.loc 401 0 0 5
    2014-08-19 08:23:54 W3SVC34577 frontendserver1 172.16.169.160 POST /groupexpansion/service.svc/WebTicket_Bearer - 443 - 172.16.173.65 HTTP/1.1 OC/15.0.4623.1000+(Microsoft+Lync) - frontendserver11.fullqualified.loc 500 0 0 1186
    In my Application Event Log of the Front End Server i can see :
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 19.08.2014 09:56:55
    Event time (UTC): 19.08.2014 07:56:55
    Event ID: 4744e217cc984c63af16a87fcf366c8f
    Event sequence: 7
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/34578/ROOT/dialin-6-130529086088190776
        Trust level: Full
        Application Virtual Path: /dialin
        Application Path: E:\Program Files\Microsoft Lync Server 2013\Web Components\Dialin Page\Ext\
        Machine name: KPZLYC01
    Process information:
        Process ID: 1744
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: MissingMethodException
        Exception message: Method not found: 'System.Uri Microsoft.Rtc.Management.ServiceConsumer.SimpleUrlReader.GetBaseURLToSimpleDomainMappingForDialin(Microsoft.Rtc.Management.Deploy.Internal.ServiceRoles.WebService, System.Guid)'.
       at Microsoft.Rtc.Internal.Dialin.WebPages.Conference_aspx.IsValidFramingDomain(String baseURL)
       at Microsoft.Rtc.Internal.Dialin.WebPages.Conference_aspx.AddXFrameOptionHeader()
       at Microsoft.Rtc.Internal.Dialin.WebPages.Conference_aspx.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL: https://lnc.mefro-wheels.com:4443/Dialin/Conference.aspx
        Request path: /Dialin/Conference.aspx
        User host address: 172.16.69.63
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 58
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at Microsoft.Rtc.Internal.Dialin.WebPages.Conference_aspx.IsValidFramingDomain(String baseURL)
       at Microsoft.Rtc.Internal.Dialin.WebPages.Conference_aspx.AddXFrameOptionHeader()
       at Microsoft.Rtc.Internal.Dialin.WebPages.Conference_aspx.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Deinstallation, reboot and reinstallation of the Web Component did not do the trick and did not help.
    Thanks for your Help!
    R. Wilke MCP / MCSA / MCSE / CCNA

    Hi Rene,
    How long have you have this problem?
    Did that work before?
    The error you provided is more related with the external dialin page.
    I would like to suggest you run the command Test-CsAddressBookService to test the ability of a user to access the server that hosts the Address Book Download Web service.
    Please check if you can search Lync contact by SIP address.
    If you can, then you can access the address book service. It take some time to download the address book file.
    Best Regards,
    Lisa Zheng
    Lisa Zheng
    TechNet Community Support

  • Problem with the RAW images from Canon 5d Mark III

    hope you are doing good. i need your opinion regarding a phenomena i am observing in the RAW images from Mark iii.
    The following images appear to be absolutely correct in the camera and when viewed through a picture viewer.
    I have tried and tested the following scenarios:
    1. Used a medium speed kingston CF Card (new) and transferred the images through the USB cable supplied with the camera.
    2. Thought the card might be slow OR faulty.. used Sandisk Extreme and Extreme Pro SD Cards but same result.
    3. Transferred SD Card data through the builit in laptop card reader.
    4. Have directly imported the images from SD Card into Lightroom 4.3, copied the data firstly to laptop HDD and then imported, copied the SD card data to an external HDD and then copied. .... same result!!
    5. Have tried the same with both Win7 and Mac OS.
    6. The DPP sw that came with the camera gives the error of 'Decoding Failed' with these images.
    Usually 10-15 images out of 100 give this kinda pattern. so i was hoping if you can guide me what is going wrong here !!!

    The camera and PictureViewer are likely showing you the embedded JPG, while DPP and LR are decoding the raw data which appears to be corrupted.  Assuming you have formatted your SD cards in the camera and the issues are always in the same positions in the same images when you transfer them multiple times from the card to different computers via different methods, then the data is on the card that way.
    If the embedded JPG is ok then the sensor is ok, so something between the sensor-readout and the storage on the card appears to be failing intermittently, and it’s time to talk to Canon, I think.

  • Maybe you are looking for

    • Nano a little wet - how to tell if dead?

      My nano, in it's protective rubber case, somehow got wet (maybe a little splash over from some ice coffee or water while in the car, I doubt sweat from running), probably a week or so ago, and I did not realize it. When I did, I took it out of the ca

    • Aging calculation with Special periods

      Hi all, I have a asset cube (Cumulative movements) to store values by fiscalyear/period including special period (P13-P16) and requirements to get aging report based on fiscal year/period and report as follows.                                 Curent

    • Decode Vs Case Statement

      What will be good for proformance wise: Decode or Case in a sql statement.?????

    • Getting started with Learning Management

      I am just starting with learning management implementation in R12. Can anyone tell me what are the responsibilities for learning management ? Does Learning Management require separte licence? We have Oracle HRMS and Self-Service already implemented i

    • Integrate SSRS Native Mode with Sharepoint 2013

      Hi, I have read numerous posts that go back and forth on the question "is SSRS Native Mode supported to work with SharePoint 2013?" and it seems like the answer is no, it is not. Even with SP1 like some people suggested it seems like it is impossible