CreationComplete event handler called twice in the customized for TileList item converter

I have a TileList component with a component converter custom:

< mx:TileList

id=" _imageList " " itemRenderer =" com.technificent.renderers.ImageTileItemRenderer " " > "

The ImageTileItemRenderer is a component MXML that indicates a creationComplete handler in the root tag:

< mx:HBox

' xmlns:mx = ' http://www.Adobe.com/2006/MXML " creationComplete = "initComponent () '... '"

The problem is that initComponent is called twice for some reason any.  The following code inserts into initComponent:

public function initComponent (): void

{

trace (_someStringMember);

_someStringMember = "test";

}

results in the following:

null

null

No idea why this is happening?

Thank you in advance for your help!

Moshe

The TileList emit a hidden converter used to measure, to determine the size of the tile.  As renderers can be recycled, assuming that the number of events you will get probably isn't a good idea.

Alex Harui

Flex SDK Developer

Adobe Systems Inc..

Blog: http://blogs.adobe.com/aharui

Tags: Flex

Similar Questions

  • Problems with call connected to the customer

    Hi all, long time administrator/user of the Service Manager/Infra, for the first time poster

    Came across something the other day and was just after some help/help where possibly seek to solve.

    We are currently on version 9.1.3. When installing more than 2 years ago I created a post template specific for the call connected to the customer (call screen set/IPK). I tested this on setup and I'm 100% sure used to work, but seems somehow its has stopped working. I tested it on 3 scenarios as shown below, and it only sends the confirmation message to the client when we use the customer portal;

    • Call created directly within vSM - send an e-mail to customer record
    • Mail sent to our servicedesk - send an e-mail to customer record
    • Created via the customer portal - sends an e-mail

    Could someone point me in the right direction that maybe why this happened and how I would go about solving of this? What is the feature in the MSM that allows it to be sent through the portal?

    Appreciate any feedback

    See you soon

    Each message model used in Workflow IPK rules should be specified as "IPK Workflow — Notification" message type.

  • Facing a problem with writing the custom for WLS identity assertion provider

    I am facing a problem with writing the custom for WLS identity assertion provider.

    Requirement:

    Asserter identity configured in WLS should get called when the following cookie is sent in a request by my application
    cookie name: OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I added the name of the cookie as a token of support and Active token in WeblogicCustomIdentityAsserter.xml

    < MBeanAttribute
    Name = "SupportedTypes.
    Type = "java.lang.String [].
    Writeable = "false".
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >
    <!-ActiveTypes attribute contains the subset of your mbean SupportedTypes who are active in the area. ->
    < MBeanAttribute
    Name = "ActiveTypes".
    Type = "java.lang.String [].
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >

    Problem:

    Identity asserter provider is not invoked for the request that has the cookie named OAMAuthnCookie_blr1234567.idc.oracle.com:7777.

    I did some experiments with the cookie name, to see where the problem could be

    Identity asserter provider is triggered for the following cookies:
    OAMAuthnCookie_blr1234567.idc.oracle.com7777.
    blr1234567. IDC. Oracle
    blr12_XXX. IDC. Oracle.com

    and it does not work for cookie name - OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I think that the name of the token supports not the colon. I don't have control over the name of the cookie, two points will always be

    Tried it with giving the name of the cookie after the encoding of the colon

    < MBeanAttribute

    Name = "SupportedTypes.

    Type = "java.lang.String [].

    Writeable = "false".

    Default = "new String() {& quot; OAMAuthnCookie_blr2211441.idc.oracle.com & #58;. 7777 & quot ;} »

    / >


    But still does not work
    Am I missing something? Any help will be appreciated.
    Help, please!

    colon ': ' is an illegal character in the name of the cookie.

    RFC 2616, Section 2.2 says:

    token = 1 *.

    separators = "(" | ")" | " <" |="" "="">" | " @"

    | "," | ";" | ":" | " \" |<">

    | "/" | "[" | "]" | "?" | "="

    | "{" | "}" | SP | HT

    It is clear ":" a "separator" and thus not allowed in a token or a cookie name.

  • link to an interactive report AND apply the filter for 2 items.

    Hi can you help me out here on how to create a link to an interactive report AND apply the filter for 2 items.

    Here is my code

    I have a list of table, clicking the selected item should link to interactive report and create the filter. Below the code does not work for a filter. can you help me what to do with 2 filters.

    A filter = > works very well

    sys. HTP.p ("< ul class =" uChartList"> ');

    sys. HTP.p ("< class li =" uNumber uGrid col_2 col_sart"> ');

    sys. HTP.p ("< a href =" "|") sys. HTF.escape_sc ('f? p ='|: APP_ID |': 0 0 :'||: APP_SESSION |':00:P00_XXX:000, RIR:IREQ_XXX:Test :') |) » » >') ;

    sys. HTP.p ("< class =" uValue"> ' | l_tester |) ("< / big >");

    sys. HTP.p ("< small class =" uLabel"> < /small > Tester ');

    sys. HTP.p ("< /a > '");

    sys. HTP.p ("< /li >" ");

    Scenario 2:

    Two filters = > does not

    sys. HTP.p ("< ul class =" uChartList"> ');

    sys. HTP.p ("< class li =" uNumber uGrid col_2 col_sart"> ');

    sys. HTP.p ("< a href =" "|") sys. HTF.escape_sc ('f? p ='|: APP_ID |': 0 0 :'||: APP_SESSION |':00:P00_XXX:000, RIR:IREQ_XXX:Test:P00_YYY:001:IRC_YYY:test2 :') |) » » >') ;

    sys. HTP.p ("< class =" uValue"> ' | l_tester |) ("< / big >");

    sys. HTP.p ("< small class =" uLabel"> < /small > Tester ');

    sys. HTP.p ("< /a > '");

    sys. HTP.p ("< /li >" ");

    Thanks in advance

    actually the syntax wrong values in the syntax of the passes to several elements.

    is

    f? p = 6000:6004: & APP_SESSION. : NO:6003:MY_ITEM1, MY_ITEM2, MY_ITEM3:1234, 5678

    Use above scenario and verification.

    Go

  • How to write a procedure to call and run the custom package backend

    Hi all

    Oracle 10g
    Oracle Apps R12

    I work with here oracle order management, we have a package called (Pick Release) to customize. Due to a problem, we have this concurrent program execution manually giving Route_id as parameter. The route_id comes from the road to the Table. By using this query

    Select distinct route@DB_LINK_APPS_TO_ROADSHOW route_id
    When trunc (route_date) = trunc (sysdate + 2).

    on a daily basis, we have almost 42 routes and we run this simultaneous program manually close times.

    so now how to write a procedure for this

    Step 1 make the route to the routing table. (By cursor we can get the route_id accordingly)

    Step 2 How to trigger custom backend package and run accordingly to this output of the cursor (route_id)

    If 40 routes of cursor get is - that the simultaneous program runs 40 times according to this route_id.


    can some could provide the steps to do this


    Thanks and greetings

    Srikkanth.M

    To submit a competing request from the back - end:

    FND_REQUEST. SUBMIT_REQUEST (Client or server)

    Summary

    function FND_REQUEST. SUBMIT_REQUEST

    (application IN varchar2 default NULL,

    program IN varchar2 NULL by default,

    Description IN varchar2 default NULL,

    start_time IN varchar2 default NULL,

    sub_request IN default boolean FALSE

    Argument1,

    argument2,..., argument99.

    Return to argument100 number);

    Description

    Submits a competing treatment by a simultaneous Manager. If the query is successful, this function returns the ID of the concurrent request; Otherwise, it returns 0.

    ATTENTION: FND_REQUEST needs to know information about the user and accountability whose application is submitted. Therefore, this feature works of concurrent programs or forms within the Oracle Applications.

    The FND_REQUEST. SUBMIT_REQUEST function returns the ID of the concurrent application after successfully. It is up to the caller to issue a commit to complete the application.

    Your code should retrieve and handle the error message generated if there is a problem of presentation (the ID of the concurrent request returned is 0). Use FND_MESSAGE. RETRIEVE and FND_MESSAGE. ERROR to retrieve and display the error (if the application is made on the client side).

    Related essays: overview of the Message dictionary (see page)

    You must call FND_REQUEST. SET_MODE before calling FND_REQUEST. SUBMIT_REQUEST of a database trigger.

    If FND_REQUEST. SUBMIT_REQUEST fails to go anywhere but a database trigger, database changes are cancelled until the time of the function call.

    After a call to the FND_REQUEST. SUBMIT_REQUEST function, installation of all parameters are reset to their default values.

    Arguments (input)

    short name of the application associated with the concurrent request for enforcement.
    short simultaneous program (not the executable) name of the program for which the application must be made.
    Description Description of the application that appears in the form of concurrent requests (optional).
    start_time time during which demand is expected to start running in the (optional) HH24 or HH24:MI:SS format.
    sub_request set to TRUE if the request is made by another application and should be treated as a subquery.
    From version 11, this parameter can be used if you submit requests for in a concurrent program of PL/SQL stored procedure.
    argument1... 100 arguments for the concurrent request; up to 100 arguments are allowed. If the Oracle Forms submitted, you must specify all arguments of 100.

  • My touch screen blackBerry smartphones does not how to contact the customer for Filipino blackberry service

    help me get the contact number of the customer service of blackberry in the philippines

    Do a battery pull should fix your problem and prevent you having to make a phone call.  Just remove the battery while your phone is on and replace it a few seconds later.

    Let us know if that helps you.

  • How to select the resolution of the PC to the customer for the execution of LV App?

    Hello

    My GUI is 1250 x 812. (assuming that it is the value of a pixel. This is measured using the width and height-> resize option object).  What resolution PC should I offer for the customer who is going to run this GUI?

    Thank you!

    1280 X 1024.

    List of common resolutions

    SXGA (1280 x 1024)

  • First file type of the elements for organizing items

    I use the editor and organizer of PSE13 (for photos and films). I recently bought the first elements 13 and just edited my first film.

    I would like to only first Elements of access via the Photoshop Elements Organizer, but I'm not sure what file type to save my first editing of files, so that they can be imported and marked in the elements Organizer and also played through the elements Organizer.

    I want to just run an organizer. Is this possible and what should I save my first finals as after having been edited files. (in the same way that I save a PSD file JPG once editing is finished in the element Editor.)

    Thank you

    kel30

    Your choice of export in order to comply with the support of the elements Organizer seems to limit for me. But...

    If I have a 1080 p 30 timeline in first 13 elements project editor and export it

    Publish + share

    Computer

    AVCHD

    with Presets = MP4 H.264 1920 x 1080 p 30

    This file is saved on the hard disk of the computer can be taken in organizing elements 13

    a. to view a thumbnail with a frame of the video

    and

    b. can be read in the drive of organizing items 13.

    I didn't by all export choices to unravel the formats will do the same. But this particular result of AVCHD.mp4 (1920 x 1080 p 30) is

    as described.

    What is your choice of export now and is importation of final product in organizing elements 13 showing here and reading here?

    RTA

  • Ungroup a group and keep the scriptlabel for each item in the Group

    Hello

    does anyone know how to ungroup a group of rectangles with a certain tag (example groupA) give one every rectangle a clean label (the same text groupA)

    I can find the Group and ungroup it but I can't label the rectangles...

    var oPageItems = app.activeDocument.allPageItems;

    for (var j = oPageItems.length - 1;)  j > = 0; d-) {if (oPageItems [j] .label == ("groupA")) {oPageItems [j] .ungroup ()))}}

    ...???

    Help, please

    Hello

    front

    oPageItems [j] .ungroup ();

    go through the loop and set a label for each item within the Group:

    for (var k; k)< opageitems[j].length;="">

    oPageItems [j] [k] .label = "groupA";

    assuming that your oPageItems [j] is a group indeed.

    I hope that...

  • Received a call saying that the license for my computer had been corrupted by a virus.

    So about half an hour ago I received a call from a man claiming to be windows saying my computer driver's license starting with numbers ' #$@ "(don't remember figures, he gave me), had his 'corrupted some virus licence' (I think his exact words). I immediately thought that it was potentially a scam because I heard other scam type things that happen on the phone these days, but temporarily, I said 'ok' and he told me that they had tried to contact my computer and have been unable to do so and that he needed to look at my driver's license and give him some info to check that it has not been damaged. That's when the alarm went off in my head and I told him "that I currently have on my computer and it was very good and for him not to worry about it" and then, without waiting for an answer, I hung up.

    This is the story, I didn't give any information other than that I was on my computer as he called it. I wonder if it was a scam, I just played it, and if my computer could potentially be compromised. I run Malware bytes now to scan my computer, but I'm always a little worried.

    Fake phone calls to technical support

    Calls unrequested telephone of this nature are almost always a common scam. Do not let them give any info, do not give access to your PC, not give them all the money and do not go to all the websites that they suggest. One moment.

    Please see:

    http://www.microsoft.com/en-gb/security/online-privacy/msname.aspx .

    Microsoft issues never not solicited for phone calls of support or security.

    These types of callers can use completely fictitious names or bogusly claim to be of real companies other than Microsoft as well.

  • support the customer for McAffee

    How do customer support for McAfee?

    Hello

    This should help you.

    http://service.McAfee.com/default.aspx

    Or use the McAfee Support forums.

    https://community.McAfee.com/welcome

    See you soon.

  • Make a phone call by program - the wait for the user to input?

    Hello

    I use the following code to place a phone call from my application:

    Invoke.invokeApplication(Invoke.APP_TYPE_PHONE, new PhoneArguments(PhoneArguments.ARG_CALL, phoneNumber));
    

    and it seems to work, at least in the Simulator.  However, when this line running the Simulator dials the number immediately.  Peux-I rather the phone displays the number and wait that the user press 'call '?

    I know that I can warn the user with Dialog.ask (...), and if it's the only thing to do I will do.  I'm just curious to know if I can get the phone to do so.

    arkadyz wrote: instead can have the phone displays the number and wait that the user press 'call '?

    No, this is not currently supported.  You can use a dialog box inside your own application as you describe.

  • The custom for Image path option is grayed out and is not available

    I just downloaded the demo version of Illustrator CC and I try to do a trace of the image of a photo, but is greyed out customized to Trace out and not available. Why is this and how do I make it available?

    You can still save your own custom options set and then accessing it in the menu if that's what you want.

  • Is it Possible to ignore the prompt from the view of the customer for the selection of pool?

    Customer view has the serverURL - and command line parameters - desktopName that work well to specify the Server View Manager or Office to connect to in a one to one relationship but I would ignore the selection of pool as well. I have thin client Labs in our school libraries that use a pool View. I want to clarify the pool when the user clicks on the icon view rather than motivates students to choose the correct pool in the list. I know I can limit the pools shown to students in making our more granular ad groups and allowing only the groups we want to using each pool, but when you have 16 schools, K - 12 classes and thousands of potential users it becomes a management nightmare. It would be much easier to choose the correct pool for them.

    One of the ways I've found to make a direct link with the desktopName - but if we do lose us the benefits of the management of the pools.

    Any help is very appreciated,

    Thank you

    Ty

    Yes! I tested it: you choose the display name that appears in the list on the client from the view.

  • Create the custom for more than one table, and then another user authentication scheme

    Hello

    I already test to create an courable authentication scheme. It works very well!

    My problem is that I designed a database on the data requirements. So the results are two different user tables - one record data of the company and the other to consist of data from dealers. Both can register on my web application with e-mail address (Unique).

    The authentication scheme in APEX checks the table right on a data user!

    A possible solution is to call the company with the dealer table table. But in the picture of society isn't some attributes wich find no need in the dealer table and vice versa.
    Further, that it is not possible that the concessionaire may register that they self as a company with the same which e-mail they use for registration as a reseller.

    Can you give me some more ideas how slove/manage this problem...

    I am using APEX 4.0.2 on an Oracle 10 g database.

    NEDO

    Edited by: Mr.Nedo the 12.05.2011 02:16

    >
    The authentication scheme in APEX checks the table right on a data user!

    A possible solution is to call the company with the dealer table table. But in the picture of society isn't some attributes wich find no need in the dealer table and vice versa.
    Further, that it is not possible that the concessionaire may register that they self as a company with the same which e-mail they use for registration as a reseller.
    >

    Create a view which combines common elements of the user of the 2 tables and the authentication scheme based checks on the view.

Maybe you are looking for

  • regarding the return on line

    Opera browser uses a return to the very effective line. This makes the use on my very simple phone. How is it, Firefox doesn't have the same function?

  • What is the hot key to "stop loading this page?

    I just want to know what is the key of the keyboard I can press on when I want to stop a certain loading Web page while it is still fast loading.

  • Looking for a replacement for iPhoto

    I am currently using iPhoto 9.6.1.  I have all my photos by folders, subfolders, albums. I have been unable to organize the new application 'Photos' in the same way, and the program just looks very difficult to use. I'm running an iMac 27 inches, uni

  • Kan geen tot Windows install-service will access

    Kan geen tot of Windows-installation service will access is foutmelding nagaoui 10 automatic updates of juli Hotel worden niet geinstalleerd. 10F KB2855265 update for Microsoft Essentials Inclusief. Software want to lukt due design ook niet installer

  • Help! Static route between two router WRT160NL

    Hi all I have my internet connection to connect to my main router from Linksys WRT160NL (192.168.1.1) with 192.168.1.x. My 2nd Linksys router to connect to the first gateway as well.The 2nd router has the ip 192.168.1.100 WAN and it's a local subnet