Why isn't possible to have ID attribute with a root tag

Hi ,
Why is it not possible to have a id associated with a Root tag ??
Thanks in advance.

CustomClass.mxml
<Canvas id="i_got_a_root_tag_id" >
</Canvas>
Now remember , the id is declared when we declare the class right so even though we don't specify the id in the Application.mxml class , it is a property of the CustomClass.
Main.mxml
<Application>
  <CustomClass />
  <CustomClass />
   <Script>
     public function somethingFunction():void
        i_got_a_root_tag_id.addEventListener(Do.SomethingEvent , handleEvent);
So in the previous example , which instance gets the listener added to it ?  See how root id tags hurt everyone everywhere ?
If this post was helpful please mark it as such.
Sincerely ,
  Ubu

Similar Messages

  • Why does my application icons have a cirle with a slash on them?

    why does my application icons have a cirle with a slash on them?

    That means those applications cannot be run on your computer.
    There are many different reasons why that situation could arise, but without more information all we can do is speculate / guess. For example, you upgraded the OS and the apps will not run in the new OS.
    If you need more specific answers.ost back with more information, e.g. what version of Mac OS X? when did this first occur?

  • Is it possible to have a dropdown with a blank option

    Is it possible to have a dropdown with a blank option
    1) When desigining a form is it possible to have a dropdown with a blank option as the first option.
    2) Also if the field is a required field will the application prompt the user if the blank option is selected.

    1) If you are using any dynamic data from database tables then you can use below sample query:
    select  * from (Select ' ' QueueName, ' '  QueueValue from tabXYZ where  columnname = <provide some value that is not available in this  column>
    union
    Select columnname QueueName, columnname QueueValue from tabXYZ) s
    order by QueueValue
    2) Onsumbit of the form in ISF you need to capture the empty value(' ') for validation

  • Is it possible to have a server with both a 2007 DP role and 2012 DP role?

    Is it possible to have a server with both a 2007 DP role and 2012 DP?
    A client has been sold that as part of the migration the vendor will continue use the existing 2007 servers as DPs, and add the 2012 DP role as part of the migration - then at some future point remove the 2007 role.
    Sounds a bit wonky to me, it would be great to have your insights, some MS documentation or case study - to either provide a level of comfort or give me some foundation to chime in and request they adjust their expectations... I haven't found anything yet.
    It's not side by side technically, more of concurrent migration?
    Thank's for your insights.

    Shared DPs are available if you are performing a migration but that's about it.
     https://social.technet.microsoft.com/Forums/en-US/5185f83d-af0b-47a2-a6e9-5940a2cef7e2/can-sccm-2012-dp-and-sccm-2007-distribution-point-share-a-server-without-migrating?forum=configmanagergeneral
    http://windowsitpro.com/system-center/q-can-i-share-distribution-point-between-configuration-manager-2007-and-configuration-
    http://blogs.technet.com/b/system_center_in_action/archive/2012/04/26/distribution-point-migration-from-configuration-manager-2007-using-the-migration-feature-of-system-center-2012-configuration-manager.aspx
    -Nick O.

  • Is it possible to have a menu with just one button highlight when someone rolls over it?

    is it possible to have a menu with just one button highlight when someone rolls over it? if so how would you do it as i tried doing an invissble button but it didn't work?

    Get yourself a copy of Total Training for Encore DVD 1.5 by Daniel Brown.  This exact scenerio was explained in section 4) Building Menu and
    section 7) Advanced techniques.
    I refer to Dan's video time & time again.  It's from 2004 but he's still right on the mark regarding the generation of every aspect of creating a DVD.
    They now offer their entire online.
    www.totaltraining.com
    Good luck

  • Why doesn't af:switcher have PartialTrigger attribute?

    Hi OTN,
    af:switcher is definitely one of the most dynamically changed "layout" component.
    And I'm really surprised not to find PartialTrigger attribute for the switcher.
    Why doesn't it have the attribute? I need to enclose it into additionaal container like panelStretchLayout and set Partialtrigger - WHAT FOR?
    Should I file an ER for this feature?
    Thanks.
    JDev 11.1.1.4

    To further what Timo says - filing an ER for this will not help you. The reason for this is that in order for a component to have a partialTrigger, it must be rendered on the client side; you may have seen this when you try to use partial triggers on a component with rendered=false - it cannot work because of the way PPR works. The tag docs for af:switcher say, in fact (as Timo says):
    The switcher is a purely logical server-side component. It does not generate any content itself and has no client-side representation (no client component). Hence switching which facet of the switcher renders requires a server round-trip.which does imply, albeit indirectly, that PPR wouldn't work. As Timo says, you would need to PPR a parent component of af:switcher.
    If you wanted to file an SR with Oracle, my best guess is that this should be a doc bug, and it would be helpful to add some info to the af:switcher document to explain that PPR is not possible.
    John

  • Is it possible to have 2 trans with the same tcode but different langs

    Dear forum members,
    I would like to know if it is possible to have in the TSTCT table u2013 two entries with the same TCODE value but different SPRAS value (the language field)
    Thanks for your help,
    Roy

    Hi Roy,
    It is possible. Just go to TSTCT table and check for the entries. On the selection screen give some Tcode (say OKEU) and execute. You can see different languages in which it is maintained.
    Regards,
    Swapna.

  • Is it possible to have 2 tables with the same name in an Orable database?

    Hello,
    I'm a complete Oracle newbie so please excuse my question if it's stupid.
    I was trying to create 2 tables with the same name using different tablespaces but it does not seem to work. Like this (second time just change the name of the tablespace):
    CREATE TABLE test_tbl (
      id INTEGER,
      status VARCHAR2(10),
      last_modified DATE DEFAULT SYSDATE
    TABLESPACE tblspc1Is it in general in Oracle possible to acquire this goal?
    Thanks a lot!
    P.S. I have already created the needed tablespaces
    CREATE TABLESPACE tblspc1 DATAFILE 'tblspc1.dbf' SIZE 10MEdited by: 808239 on 02-Mar-2011 02:18

    It is not possible to create two tables with same name in same schema.
    A user can own one schema with his own name and another with the schema name SYS.
    For this you have to grant sysdba privilage to the user and then have to connect using sys password or with the password specified in password file.
    But this still you have to access to the table in sys schema using sys.table_name.
    Hope Answered tthe Question.

  • Is it possible to have 2 lines with BT Infinity Un...

    As you will know, BT Infinity Unlimited broadband has a 100GB threshold, which when met will then throttle your speed to about 1Mb download which renders your internet all but useless except for the most basic tasks.
    I use around 150GB in down/upload each month due to watching movies online and live webcam sites like Justin.tv etc.
    What I want to know is, would it be possible to have 2 telephone lines at the same address with 2 lots of BT Infinity Unlimited broadband, thus giving me 100GB limit on each and 200GB in total.  I could use one line until nearing 100GB useage on one line, then switching to the other line for the rest.
    Is this possible and do BT allow it?
    Solved!
    Go to Solution.

    the threshold is being increased
    http://community.bt.com/t5/BB-in-Home/WHERE-IS-OUR-USAGE-MONITOR-BT/td-p/35371/page/5
    mods post yesterday
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Is it possible to have two files with the same name on my Zen To

    Hia,
    Is it possible to have two mp3 files with the same name?; I.e if I'm ripping a Bach CD, there are several tracks that have the name preludium, and I hate to do the rename.
    Also, will I be able to sync my Zen so that It will only recieve new files that have been added since I last connected my Zen to my computer?
    regards,
    Fredrik

    I believe same filename is OK because the Zen Player does not really care about filename. As far as I know, the Zen database of the tracks in the player is based on the track information such as Title, Artist, Album and Genre. This means you cannot have two tracks of the same Title, Artist, Album and Genre in the Zen Player.

  • Is it possible to have undefined attributes for an item type...see more in the messag

    I want to create an item called 'book' with attributes like title, date of publish, language, pages....and author, but i want that users can assign many authors (as much as users want)....is this possible?? How can I realize it??? Could I create author like a item type too?
    Thanks for all

    You can have any number of multi table mappings in an item descriptor.
    Take a look at the following example
    http://docs.oracle.com/cd/E23507_01/Platform.20073/RepositoryGuide/html/s1204repositoryexampleconetomanywitha01.html
    You can also open any repository in dyn/admin say userProfile.xml in ProfileAdaptorRepository and see the existing one to many (multi table) mappings.
    It just depends on how many multi properties you have in your requirements, create as many multi table relationships.
    ~Gurvinder

  • External Requirements - Why isn't possible to change Price in SOCO ?

    Hi SRM Gurus,
    I'm currently working with SRM_SERVER 500(SAPKIBKS09) release, in Sourcing Cockpit why is it not possible to change the gross price of a 'limit item' sent from backend to SRM system ? Such kind of requirements changes are possible in worklist area for other purchase requisitions.
    Thx - Rafi.

    This solved my problem.
    http://derflounder.wordpress.com/2013/06/29/erasing-a-filevault-2-encrypted-volu me/

  • Is it possible to have an attribute whose label is dynamic on an Entity Screen?

    Hi,
    I have an entity control on a screen that has an attribute which uses a label(say, %label%) as the question text. This text is supposed to change dynamically depending on the value selected for another attribute on the same screen. This doesn't seem to be happening, the attribute displays "%label%" in all the entity instances instead of the dynamic text. Is there a work around for this problem?
    Thanks in advance,
    Shwetha

    You must use custom javascript or some other means to modify the appearance of a screen without submitting it (i.e based on something on the same screen).  In OPA, an attribute only has a value once the screen is submitted, not at the time when the HTML control is edited.  Subsequent screens can use values of attributes from prior screens for dynamic labels, but not on the same screen.

  • Why isn't possible to open in iBooks?

    WHy can't I open my documents in iBooks on my iPas and on my iPhone?

    This forum is for Adobe Reader, an app to view PDF files.
    You're asking about Apple's iBooks app. Ask in the Apple forums: www.apple.com.

  • Why isn't entire iTunes library showing up with iTunes Match activated?

    Hi all,
    I'm just getting started with Apple TV 3rd generation (running iTunes 11.1.2 on a 2-year old MacBook Pro running OS 10.8.5), and I'm very, very frustrated with how difficult it is to get my enitre iTunes library to show up on Apple TV. I thought it was possible to sync my library to the device, and wasted a lot of time trying to figure out how to do it before coming to the realization that this feature seems only to have been available in earlier generations of Apple TV. So last night I subscribed to iTunes Match and *finally* had access to my entire music library through Apple TV. But this afternoon when I turned on Apple TV, lo and behold it was back to displaying only my purchased music. I only briefly saw the "Turn on iTunes Match" message, and it was indeed turned on, but now I'm not even seeing that prompt. Can anyone tell me what the heck is going on, and how I can get Apple TV to display my entire iTunes library EVERY time I turn it on? Thanks much!

    This may or may not work. But have you tried setting your home country as the US? Another possibility - go to Settings --> General --> Parental Controls - make sure Netflix is set to show.
    If neither of those works. Sorry not sure why its not coming up.

Maybe you are looking for

  • 1080i/24p to Film Out in Final Cut Pro

    A client of ours shot a project with the *Panasonic HVX-200* in 1080i/24p (not 1080i/24pa) and they are asking if they will have a problem with the footage when they output to film. They are using *Final Cut Studio 2* on an *8-core Mac Pro*. I told t

  • Ipod 4th gen had no picture with AV hdmi adapter

    I've got the apple 30pin to hdmi adapter, and it works great on the iphone 4/4s and ipad2 to the TV. When I connect it to our daughter's ipod (4th gen) there is sound with no picture on the TV. The ipod recognises the adapter as it appeas the the set

  • Problem about using the airplay?

    I want to know that is that the airplay can connect to the klipsch gallery G-17 by using the ipad apps just to play the video sound like example good player apps?

  • How can i get my location to work on my ipad?

    I am trying to use an app on my ipad that uses my location.  I have turned my location on but it still isn't working.  I have tried turning off and back on, but that doesn't work.  Any suggestions? 

  • Where can i find the infoobjects in the datasources in the ecc

    hi frnds, i have some 30 info objects , i have to find in which datasources they are........there are lot of datasources here..........can anybody help me with ur answer and i have to find this only in ECC..........