Objects with IDs not instantiated inside Accordian using SWFLoader

Flex SDK 3.2.1
We are using SWFLoader to load one application from another application.
The second (child) application uses Accordian component which contains datagrid with a specified ID attribute.
When the code tries to access the datagrid using the specified ID the application throws the following error.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
Any help will be greatly appreciated.
Thank you,
Srini

I figured it out!
For anyone else out there who might be looking for the same effect, here's how you do it:
1) Create a cool shape with a cool stroke in Illustrator. 
2) The stroke can be any color, but make sure that the Fill is white (not transparent).
3) Copy and paste to InDesign. 
4) Once in ID, the object will apear as a Group.  Go to Object -> Ungroup.
5) Because the white centre of the object is filled with white, this will apear as one of the items in the group.  It will have it's own object frame. 
6) Go to File -> Place.  Choose a photo and place it in the frame of the white space.  You'll get a lovely effect that can be manipulated as per usual in ID!

Similar Messages

  • Send Object With a Note

    Hi
    When selecting 'Send object with a note' from a purchase order and clicking on the 'Attributes' tab the Sensitivity is set to '502 Confidential'.  Can you please advise how to change the sensitivity to '501 Standard'?
    Thanks

    Hi all,
    I have found the solution for it.
    Share with you.
    Inside Function Group:CRM_1O_UI
    Include LCRM_1O_UIF17
    for the 'is_disabled' field control the status of the corresponding fcode.
    Update following code:
    {   INSERT         xxxxx                                      1
    if sy-cprog = 'SAPMCIC0'.
        CALL METHOD toolbar_create_process0->add_button
          EXPORTING
            fcode       = lv_fcode
            icon        = lv_icon
            butn_type   = lv_type
            text        = lv_text
            quickinfo   = lv_tip
            is_disabled = 'X'.
    else.
    *}   INSERT
        CALL METHOD toolbar_create_process0->add_button
          EXPORTING
            fcode       = lv_fcode
            icon        = lv_icon
            butn_type   = lv_type
            text        = lv_text
            quickinfo   = lv_tip
            is_disabled = ' '.
    *{   INSERT         xxxxx                                       2
    endif.
    *}   INSERT

  • BC4J Objects with PKs based on two columns using multiple sequences

    I have implemented a BC4J object that is based on a DB table that has two columns as the primary key. For example Table A's primary key is Group and ID and there is a DB sequence for each Group.
    I use the BC4J object using servlets and JSPs and I have been able to implement an Update form.
    I now want to implement a Create (New) form. I've read forum postings and info on the help regarding using the SequenceImpl class to override the EntityImpl object's create method as shown below:
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    SequenceImpl mySeq = new SequenceImpl("MY_SEQ",getDBTransaction());
    setMyObjectId(mySeq.getSequenceNumber());
    But as you can see I need to know the value of the group attribute before I can get the next value sequence:
    For new EO belonging in Group1 I need sequence from "GROUP1_SEQ", Group 2 from "GROUP2_SEQ", etc.
    I would like to put this code in the Entity Object where it belongs. I guess my problem is simply how to create a new row in the View Object with a passed parameter which is the value of Group.
    Thanks in advance!

    Angelo:
    How is the EO suppose to receive the group id? Is it from the view row? If so, the VO can pass that group id to the EO through the attribute list and calling the
    public Row createAndInitRow(AttributeList nvp);
    API.
    Example code would be:
    ViewObject myVO;
    // myVO is initialized
    AttributeList nvp = new oracle.jbo.NameValuePairs();
    // GroupID is the attr name of the Group ID
    nvp.setAttribute("GroupID", <some-value>);
    Row row = myVO.createAndInitRow(nvp);
    If you do that the create(AttributeList attributeList) method of the EO will receive the GroupID value coming from the VO.
    Then, you can use that for your sequence.
    Thanks.
    Sung

  • Scripts: Select an object with a note, duplicating and applying swatch

    I am trying to write a Javascript that can do the following:
    1) Select an object whose note has <Object Name> (so its layers is also selected)
    2) Duplicate the layer of that object
    3) Rename the new layer to <Layer Name>
    4) Apply a swatch to the object on the new layer (the object is only single colour)
    5) Apply a new note to the object (over-writing the original note).
    I also want to write a separate script that can do the following:
    1) Select an Object whose note has <Object Name> (so its layer is selected as well)
    2) Hide all other layers
    3) Save a copy of the document with a specific name
    I can do this as an Illustrator action. However, I need several different copies of the scripts where the Object Name, Layer Name, Swatch and File Name changes.
    Re-recording the action to change the names is cumbersome.
    I have looked at the Illustrator scripting reference, but cannot see any commands for select objects by their notes.
    I was wondering if someone could give me some pointers on how to proceed (Or possibly, if feeling very generous, could write the script for me )

    That's my error changing variables before posting… I can't edit that post now but this should fix it… Plus give you a very basic UI to enter a value…
    #target illustrator
    var n = prompt( 'Please enter your \'Note\' string…', 'muppet', 'Note finder' );
    findNote( n );
    function findNote( n ) {
              var doc = app.activeDocument;
              var allMyArt = doc.pageItems;
              var toSelect = Array();
              for ( var i = 0; i < allMyArt.length; i++ ) {
                        if ( allMyArt[i].note == n ) { toSelect.push( allMyArt[i] ) };
              doc.selection = toSelect;
    Oh I didn't mean b4 n after running a duff script… What you do with actions so I can see what objects are duplicated where then coloured…

  • Sync Palm With Lotus Notes 8.5.1 Using EasySync 4.2.7: Calendar does not show location

    I have a Garmin iQue3600, which is basically a Palm III with a GPS built in.  I could sync my Outlook 2007 contacts and calendar flawlessly.  (Palm Sync 6.0.1, Palm Desktop 4.1.4). Company was purchased, now we are using Lotus Notes 8.5.1.  No native Palm support, so I tried EasySync 4.2.7.  This actually works pretty well, except that the calendar entries do not sync the location of the meeting; this is rather important to me.
    Is there a setting somewhere that can fix this?  Years ago I used Intellisync to do this, but that company is gone now.
    Someone suggested Companionlink, but the on-line reviews for that product are pretty bad.
    Thank you.

    Lisa,
    Welcome to the Palm forums and thanks for that great feedback!
    Alan G
    Post relates to: Treo 755p (Sprint)

  • XML does not render inside iframe using the built-in Firefox renderer as of Firefox 17.0.1

    We make a Content Management system that renders XML inside of iframe in a few different areas. As of Firefox 17, these iframes no longer render using the built-in Firefox XML renderer but instead as plain text.

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.
    It is probably best if you have a web page with example code, so they can test this themselves.

  • Stored procedure with temp table creation inside and using it

    I want to create a temp table inside a stred procedure and make use of it . I want perform some delete statements based on select statemets .An I want to drop the table at the end .
    When I tried to create a table inside the stored procedure using exxecute immediate statement ,.
    sql_stmt := 'CREATE GLOBAL TEMPORARY TABLE pattern_str_temp as select * from pattern_structure';
         EXECUTE IMMEDIATE 'CREATE GLOBAL TEMPORARY TABLE pattern_str_temp as select * from woc_pattern_structure' ;
    Then my select statements that contain this table do not identify the table name.
    I got compilor error when I use it in hte stored procedure in the select statement .Then I did like this-
    WHENEVER SQLERROR CONTINUE
    DROP TABLE pattern_str_temp;
    CREATE TABLE pattern_str_temp AS SELECT * FROM pattern_structure ;
    COMMIT;
    CREATE OR REPLACE PACKAGE BODY Woc_Delete_Model_Data
    AS
    NAME: Woc_Delete_Model_Data
    PURPOSE:
    REVISIONS:
    Ver Date Author Description
    1.0 11/01/2008 gtutika 1. Deletes given Product Model
    PROCEDURE deleteCategory(p_product_model IN varchar2,
                   p_request_status OUT VARCHAR2,
                   p_err_mesg OUT VARCHAR2
    IS
    l_category VARCHAR2(200);
    l_count NUMBER;
    CURSOR getAttribute IS
         SELECT Category_Name
         FROM
    Woc_Attribute_Category
    WHERE Attribute_Name in
    (SELECT Child_Name FROM pattern_structure
    WHERE Child_Type = 'Attribute' and product_Model_Name = p_product_model)
    FOR UPDATE;
    BEGIN
         DBMS_OUTPUT.ENABLE(1000000);
         --dbms_output.put_line('START-Inside DeleteCategory Procedure .........');
         --sql_stmt := 'CREATE GLOBAL TEMPORARY TABLE pattern_str_temp as select * from pattern_structure';
         --EXECUTE IMMEDIATE 'CREATE GLOBAL TEMPORARY TABLE pattern_str_temp as select * from pattern_structure' ;
         OPEN getAttribute ;
    LOOP
         FETCH getAttribute INTO l_category ;
         EXIT WHEN getAttribute%NOTFOUND;
         l_count := Is_Category_Used(p_product_model , l_category);
    IF (l_count=0) THEN
         DELETE FROM WOC_ATTRIBUTE_CATEGORY where CATEGORY_NAME = l_category;
         DELETE from woc_item_category
         where CATEGORY_NAME = l_category;
         DELETE FROM WOC_CATEGORY WHERE CATEGORY_NAME = l_category;
    END IF;
         END LOOP;
         --(getAttribute%ROWCOUNT);
         CLOSE getAttribute;
         --dbms_output.put_line('END-Inside DeleteCategory Procedure .........');
    EXCEPTION
         WHEN OTHERS THEN
         dbms_output.put_line(SQLERRM);
              p_err_mesg := 'ERROR IN CUSOR';
              --dbms_output.put_line('ERROR in CUSOR');
              ROLLBACK;
    END;
    FUNCTION Is_Category_Used(p_product_model IN varchar2 , p_category IN Varchar2)
         RETURN NUMBER IS
         l_count NUMBER;
         l_attribute VARCHAR2(40);
         l_pattern varchar2(30);
         CURSOR getAttribute IS
         SELECT attribute_Name from
         WOC_ATTRIBUTE_CATEGORY WHERE category_name = p_category and Attribute_Name in
         (Select Child_Name from pattern_str_temp
         where child_type = 'Attribute' and product_Model_Name = p_product_model);
    BEGIN
    DBMS_OUTPUT.ENABLE(1000000);
         SELECT count(*) into l_count from
         WOC_ATTRIBUTE_CATEGORY WHERE category_name = p_category and Attribute_Name in
         (Select Child_Name from pattern_str_temp
    where child_type = 'Attribute' and product_Model_Name <> p_product_model);
         OPEN getAttribute;
    LOOP
         FETCH getAttribute INTO l_attribute;
         EXIT WHEN getAttribute%NOTFOUND;
         DELETE FROM pattern_str_temp WHERE Product_Model_Name=p_product_model
         and child_type = 'Attribute' and child_Name= l_attribute;
         END LOOP;
         CLOSE getAttribute;
         RETURN l_count;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line(SQLERRM);
              --dbms_output.put_line('ERROR in CUSOR');
              ROLLBACK;
    END;
    PROCEDURE delete_batch_woc_model(p_product_model IN VARCHAR2,p_flag IN VARCHAR2,
    p_err_mesg OUT VARCHAR2)
         IS
         p_request_status VARCHAR2(30);
    BEGIN
         deleteCategory(p_product_model,p_request_status ,p_err_mesg );
    EXCEPTION WHEN OTHERS THEN
         dbms_output.put_line(SQLERRM);
              p_err_mesg := 'ERROR IN CUSOR';
              dbms_output.put_line('ERROR in CUSOR');
              ROLLBACK;
    END;
    END Woc_Delete_Model_Data;
    --drop table pattern_str_temp ;
    SHOW ERRORS;
    But once the data is deleted , the data in the temp table is deleted when I load the data and try to delete it agian since I have no data in temp table ,the data is not deleted .So I need to create the temp table every time the stored procedure is called ,delete accordingly and drop the table at the end .
    Please suggest how to do it.
    Thanks.

    I'm not sure I understand what you're attempting to do...
    What is the benefit of a temporary table that stores the same set of data that is in the master table? Why not just
    DELETE FROM child_table1
    WHERE foreign_key IN (
        SELECT primary_key
          FROM master_table
         WHERE some_condition);
    DELETE FROM child_table2
    WHERE foreign_key IN (
        SELECT primary_key
          FROM master_table
         WHERE some_condition);
    DELETE FROM child_table30
    WHERE foreign_key IN (
        SELECT primary_key
          FROM master_table
         WHERE some_condition);
    DELETE FROM master_table
    WHERE some_condition;or
    FOR x IN (SELECT * FROM master_table WHERE some_condition)
    LOOP
      DELETE FROM child_table1 WHERE foreign_key = x.primary_key;
      DELETE FROM child_table2 WHERE foreign_key = x.primary_key;
      DELETE FROM child_table30 WHERE foreign_key = x.primary_key;
      DELETE FROM master_table WHERE primary_key = x.primary_key;
    END LOOP;Justin

  • Connection with Lotus Notes 8.5 DB using Jdeveloper

    Hi All,
    I am trying to find out the proper jdbc driver to access the Lotus Notes Database using Jdeveloper but couldn't able to get any useful information while googling the same.
    Did anybody tried connecting to Lotus Notes from Jdeveloper , if yes then please provide me the details about how should i go ahead and connect it.
    Thanks in advance.!!
    Regards,
    Shah

    Thanks Abhi.
    So how should i connect to Lotus Notes. I am not sure what would be the approach. Since my Weblogic Server is setup on linux machine and i think the Lotus Notes 8.5 supports the ODBC Drivers. Could please help me out here.
    Regards,
    Shah

  • Can someone tell me the best stylus to use with good note app.

    Can someone tell me the best stylus to use with good note app?

    I use the Jot Script stylus with Good Notes on a daily basis, and I'm realy satisfied. I recently did some videos to show how this works for me, you could check it out, and I hope it'll help you find the perfect stylus and app!
    https://www.youtube.com/user/AurelienChe

  • Master page objects with drop shadows crossing over spreads

    Mac 10.5.4 - INDesign CS3
    I have a book file that is giving me a pretty hard time. There are several master page spreads that do not show as spreads in the book file. The left page from one set of masters with the right page from another set. There is a grouped row of circles that has drop shadow applied that appears on several master spreads. This is built as two groups that meet in the gutter to give the appearance of a row all the way across the spread. When the group is on the gutter between the two pages of the master spread, The object will show up on the both pages of the book spread, on top of the data from the left page master. If we shut off the drop shadow, no problem. If we move the group 0p5 away from the gutter no problem. The problem is that in the end we want this element to have a drop shadow and to run into the gutter.
    Does InDesign count the spread of the object effect as part of the object itself? That seems like what is happening. Is there a fix (work around) for this?

    The easiest workaround I know of is to paste the object with the drop shadow inside another box such that you can clip it at the gutter. We've cursed this "feature" for years.

  • Objects with invalid references

    hello everybody,
    since 1 month in our PI dev we have a strange situation.
    Inside every SC we see a tree named "objects with invalid references" that inside cointain the Namespace.
    I notify we have this situation after a massive transport from PI prod to PI dev .
    we decide to do this because no more develop are necessary and we decided to sincronizate the 2 systems.
    It's possible remove this ?
    thanks
    Alessandro

    Hi
    Please check if the Prod and Dev SLD is sync and has all the SWC with same configuration.
    Please also check the dependency maintain in Prod and Dev SWC.
    refer the below discussion
    SWCV deleted from SLD accidently
    regards,
    Harish

  • I'm having problems with the Notes App

    Hi Everyone.
    Just upgraded from the original iPhone to the 3G.
    Everything transfered over fine and I've got all my settings set up like I want them. However, I'm having trouble with the Notes App and I used it all the time on my original iPhone.
    When I type in notes the words don't wrap. As I type notes just writes one really long sentence. It will eventually wrap but not after typing a lot of words.
    If I hit done after typing then the iPhone will save the new additional text I added but it will not let me edit the not again. I have to leave the app, open it back up again, select my note and then I can edit it again. Also, if I do have the ability to edit and add/delete text the previously entered text "floats" a little bit. I can grab it and slide it as a group all over the screen.
    This is a note that I transfered from my original iPhone and it's a touch long. I use it to jot down creative ideas and brain storming. So I'm kind of constantly adding to it.
    Thanks!
    -D

    Hi
    I have just upgraded from an iPod touch to iPhone and the notes app won't work at all. It imported note from my iPod (which used to work fine) but will not let me add or delete notes and the contents of the notes are also screwed up. If it was a computer app I would bin it and reload but how do you that with an iPhone.
    I can't face calling the Apple help line. Anyone any suggestions?

  • How can I use methods of an object with private instantiation in my ABAP?

    Hello all,
    What is the work-around on using methods of an object marked as private instantiation? I tried to use concepts of <b>INHERITANCE</b> or <b>FRIENDS</b> of an object (<u>BCONTACT </u> in my case - a SAP standard object) but it did not work, or at least, I do not know how to properly code the statements in my ABAP program.
    Any code samples, other ideas?
    Your help is greatly appreciated.

    I am closing this question as there has been no answer.
    Message was edited by:
            Goharjou ardavan

  • I have a folder with 10 folders inside it, 8 of the folders will not function when I use "show view options".

    I have a Folder with 10 Folders inside it, 8 of the Folders will not function when I use "show view options", they always default back the default.  The "show view options" works on all my other Folders in my system, even on the first two of the Folder in question.  How can I correct it?  I have tried every thing I can think of, even deleting the Folders & reintalling them.  For some strange reason the "show view options" only does not work on the last 8 Folders in the Folder in question.

    Instead GarageBand recognize my keyboard and i can play normally, also, if it can help, those are the Audio and Midi Logic Preferences and the Controller Surfaces Setup with the keyboard connected :

  • How can I use a COM object that does not have a type library?

    Hello,
    I've created a com server in python for which I do not have a type library. I am able to call functions for this application in Python, TCL, I'm sure VB, etc. without the type library.
    Must I have a type library registered to use this COM object with Labview? I was hoping I could simply supply the name to the refnum (or the GUID) then call functions by passings strings to the invoke node. This does not seem to be possible - am I missing something?
    In the event that I cannot use a com server without a type library. Any recommendataions on how to create one? I'm wondering if I can use the same GUID and create a shell in LabWindows which generates the IDL/TBD file I need for Labview to see my
    com server.
    Any help is greatly appreciated.
    73,
    Timothy

    Timothy Toroni wrote:
    > Thanks for the info, however their example is labview server and
    > python client. I'm going the other way. It's good to know about
    > LabPython though...
    >
    > As of now, it seems to be there is no way to use a COM object without
    > a type library from inside LabView.
    Yes that is true. LabVIEW needs that to configure the Property and
    Methode Nodes correctly. Otherwise it would need to have a special
    Property and Method Node with a configuration dialog similar to the Call
    Library Node, but a LOT more complicated. Not sure many people could
    make use of that, and it would be a very tiring experience trying to get
    things setup in that way, by going through the edit, test, and crash
    cycle over and over again.
    Rolf Kalberm
    atter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • New to JAVA, but old school to programming

    Objects & Classes & Methods, Oh my! I'm pretty new to java, but I've been programming in several languages over the years. I thought it was about time to update my skill set, especially with the job market as it is today. I wanted to go JAVA because

  • Itunes is using the wrong drive

    I installed I tunes on my D drive (60 gigs) and have specified to the program at least 3 times to save on the D drive. For some reason it continues to go back to the the C drive which is only 15 gig and fill the whole thing up. how can i stop this? I

  • How do you determine the optimal size for Mozilla Firefox?

    How do you determine the optimal size for cache in Mozilla Firefox? I am using Firefox 7.0.1 on a 64-bit Windows 7 Ultimate operating system with 3GB RAM and 300 GB hard drive, but I have other computers running Windows XP. If the answer doesn't appl

  • Citrix engineer report PB app memory issue using XenApp 6.5 and PB 12.5.1

    I opened an Incident with SAP as this could be a big issue for our PB 12.5.1 application recently migrated from PB 9.02 deployment.   We are in the process of piloting our PB 12.5.1 application.  We are using Pcode for a rather large application.   E

  • Urgent: Add a custom line in Hierarchical ALV.

    Hi I am using the FM 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' to display the header and item table details.  However I would like to add a custom line below the item details of each section so that I can calculate the total (total of a particular field in th