To refer to an element in a TileList

When a TileList component using its itemRenderer property, i.e.;
myItemRenderer.mxml - is a VBox component
tileListInstance.itemRenderer = new ClassFactory (myItemRenderer);


.. . How can we refer to an element (in the tileListInstance component) via ActionScript?

I hope that this failure of the attempt will highlight my goal.
tileListInstance [2] .alpha =. 5;

Thanks again, I understand now.

Tags: Flex

Similar Questions

  • Set a key to refer to an element

    Hello

    As far as I know, in a map, you can set a key to refer to a topic:

    < keydef href = "Concepts/c_access_control_policies.xml.

    keys = 'access control policies' type = 'concept' > < topicmeta >

    political access control < navtitle > < / navtitle > < / topicmeta > < / keydef >

    For all subjects, that's fine: I can then use they key "access control policies" whenever I need to refer to this subject.

    However, I would like to be able to reference an element within a section. For example, to have a section that lists all the clauses and phrases; each of these elements would have unique ID etc. In the plan, I would then create keydefs to refer to these elements. So far, I was unable to do so.

    I can easily create references to these terms and phrases through conrefs, but whenever I want to create a conref, I have to go through the process of localization of the file etc. I would have thought that the keys would be easier.

    Any help gratefully received.

    Peter

    Hello

    For references to themes, cards and non-DITA resources, the value of the @keyref attribute is simply a key name: = keyref 'key topic'. However, for references to the elements non-sujet in the subjects and non-topicref in cards, the value of the @keyref attribute is a key name, a forward slash ("/") and the ID of the target element: keyref = "topic-key/some-element-id"

    For example, consider the matter in the document 'file.dita ':

    Example referenced topic

    Some content.

    And this key definition:

    href = "file. DITA "/ >"

    A form 'myexample/para-01' keyref decides of the

    element in the section. Let me know if I understood your question.

    Kind regards

    Ajit

  • To refer to an element in a list

    I use a list for navigation. I have 5 items in the list (white, black, green, blue and yellow). I have five regions defined for each item in the list. Click about to say white, only the white of the region should be displayed and others hidden. How to refer to an item in the list. If the navigation button, I can easily associate a dynamic action with the button and control areas. Here, I am unable to reference as to who was clicked point. No idea how to go about this problem.

    Thanks in advance

    Rambeau

    This is a simple example showing how do:

    https://Apex.Oracle.com/pls/Apex/f?p=31517:318

    Denes Kubicek

  • APEX 5 - missing values in link for the PAGE that is modal if it has used some PAGE ELEMENTS in the VALUE of the

    Hi Experts,

    There is a problem in the APEX when I open a modal page-> submit modal page and refresh parent region (report one).

    When I first open a report from the region and click the modal page, everything is ok:

    Modal page values are defined in the sense of link that open to it.

    Submit after modal page by button (there is a process of dialogue), the dialog box is closed. On the parent page, there is a DA - dialogue close report parent refresh.

    After update - waiting indicator is indicated - all the element referenced in the link to open modal values are defined as empty values.

    Is there a problem in the links when I use it it set the values of the elements of the page? (not report items)

    I reproduced the problem on apex.oracle.com:

    https://Apex.Oracle.com/pls/Apex/f?p=16502:9

    user/pass: demo/demo

    "Just check the link in 1 region report-#OPEN_MODAL" report item. You can check the link with the appropriate values.

    After opening modal, simply click on the button. Dialog box is closed and updated in the region. Check the link again. Link is not valid because the values are empty. (screenshots above)

    concerning

    J

    Hi Jozef,

    the values of your page P9_NEW1 - P9_NEW5 items are not in persistent session state, they are only available in memory at the time when the page is rendered. Every time when you want to refer to an element in your report, and no matter if it is in the report SQL statement or as a substitution in a link, it must present the server as part of the "Refresh" / AJAX call so that the server can initialize this session state and you are able to reference it. You can do this by setting "Page elements must send" your report. In your case, you must set it to P9_NEW1, P9_NEW2, P9_NEW3, P9_NEW4, P9_NEW5. See the example updated, you provided.

    Concerning

    Patrick

  • elements of understanding

    db11gxe, apex 4.0, firefox 24,

    Hi all

    I'm trying to understand how to deal with the elements, and after that I looked in the documentation

    APEX_APPLICATION

    It is said that each entry point must has a name that starts with F01 to F50? RIGHT? , - as an html element.

    > You can reference the values validated by an HTML form using the PL/SQL variable APEX_APPLICATION . G_F01 to APEX_APPLICATION . G_F50 .

    Because this item is an array, you can reference values directly, for example:

    BECAUSE me IN 1.APEX_APPLICATION. G_F01. COUNTING LOOP

    HTP.p (' element ' |) I: ' has the value ' | APEX_APPLICATION. G_F01 (i));

    END LOOP;

    I do not understand how the item is an array, which means that it can contain multiple values, I don't understand how this could be?

    and if I can refer to the element with APEX_APPLICATION. G_F01, then what is. APEX_APPLICATION. G_F01. COUNTY, which is '.count"used for, what it means?

    3 - What is this line:

    HTP.p (' element ' |) I: ' has the value ' | APEX_APPLICATION. G_F01 (i));?

    Newbi_egy

    The elements of tabular presentation of reference apex_application.g_fXX / columns.

    So, there are several input elements html on the page with the same name attribute.

    The value of each of the input elements are placed in the table referencing the column of the input element is in.

    Check the HTML displayed in the form of tables to see what I mean.

    So not 1 specific entry point is in the table, but rather all the values in a column. There are as many values in the table as there are lines on the page.

    If you use a loop with apex_application.g_f01.count a loop on all lines.

    The code loops through the rows to display the value of each line on the saved page.

    Nicolette

  • How to list the elements IR hidden via API?

    I have several elements hidden, created at the time of the design in the area of IR report, such as, P10_ITEM1, P10_ITEM2 etc.
    I need to create the PL/SQL code that needs to loop through all the hidden objects
    Something like
    for i in 1..APEX_APPLICATION.G_F01.COUNT LOOP
    --logic
    end loop;
    But if I'm just doing me, code fragment above does not deal with the elements created at design time;
    So is it possible to refer to the elements of design in a loop, i.e. without knowing their names assigned to its creation?

    Hello

    You can use APEX_UTIL. SET_SESSION_STATE
    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35127/apex_util.htm#autoId113

    FOR c1 IN(
    select ITEM_NAME
    from APEX_APPLICATION_PAGE_ITEMS
    where APPLICATION_ID = :APP_ID
    and PAGE_ID = :APP_PAGE_ID
    )loop
      APEX_UTIL.SET_SESSION_STATE(c1.item_name, 'some value');
    end loop;
    

    But I do not know is that what you really want.
    If you explain in detail requirement, it would be useful.

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Reference to a Page element in the expression of the dynamics of the Javascript Actions

    I hope it is easy enough for the experts here!

    I have a dynamic as action below

    Event - lose Focus
    Selection type - jQuery Selector
    jQuery Selector - entry: text
    Condition - Javascript expresion
    value - this.triggeringElement.value > 37.5

    instead of the 37.5 I would like to make reference to: P16_HOURS

    What is the syntax to refer to this element of the page, I tried as above and P16_HOURS v ('P16_HOURS'), $v('P16_HOURS').value

    nothing works (as you can see javascript is not my forte!)

    Thanks in advance

    Chris

    Hello

    Did you try

    $v('P16_HOURS')
    

    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35127/javascript_api.htm#autoId34

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Missing photos of 8 elements in Revel

    I found my photos in Revelle but they want only Nov 2010, where the other photos I had on 8 MONKEY would go?

    9030 photos of you in your library to Revel. If you refer to Photoshop Elements, we have migrated photos from there. Photos migrated from Photoshop.com to Revel, if you had not chosen. If you had your organizer of items set up to synchronize with Photoshop.com and it was up-to-date at the time of migration, then these files (jpg only) would have migrated to Revel.

    If you are looking for files that were not in Photoshop.com, then you can load their revel from your hard drive. You can also download it from 11 items or post pictures of Revel from lightroom.

    FAQ: How can I add files (upload) of Revel? http : / / forums.adobe. com /thread/1162795? TSTART =0

    Guinot

  • XML file too large or too large XML element

    I try to import an xml file into the repository and have it shred in the object-relational tables. I signed up a diagram and it created types, triggers and object-relational xml_tables. The complete xml file is > 80 MB. XDB created all fields VARCHAR2 (4000).

    error code when you import the complete XML file. That's what I need to fix in the end.
    DECLARE
      res BOOLEAN;
    BEGIN
      res := DBMS_XDB.createResource('/home/pharma/drugbank.xml', 
                    bfilename('XMLPHARMA', 'drugbank.xml'),
                    nls_charset_id('AL32UTF8'));
    END;
    /
    COMMIT;
    
    XML file encounters errors on the import.
    An error was encountered performing the requested operation
    ORA-30951: Element or attribute at Xpath references exceeds maximum length
    ORA-06512 at "XDB.DBMS_XDB", line 315
    ORA-06512 at line 4
    30951.00000 - "Element or attribute at Xpath %x exceeds maximum length"
    *Cause: An attempt was made to insert a node of length exceeding the maximum length (specified by the maxLength facet) into an XML document.
    *Action: Do not attempt to add a node exceeding the maximum length to XML documents.
    Vendor code 30951Error at Line:18
    I guess that some fields have lengths > 4000 max. I intend to annotate the schema with SQLType = 'CLOB', but there are fields to change. I could copy the xml file and reduce this xml file to a record of any in the tables. My plan was to write a review on the bfile to get the lengths of some fields, annotate the .xsd with CLOB when needed and then import it again. To do this, I have a 1 imported in a table and as a bfile type recording file.

    Here is my code selection length in a generated object-relational table as a single folder.
    CREATE OR REPLACE VIEW pharma.drugs_vw AS
    SELECT d.*
    FROM drugs, XMLTABLE
      ('/drugs' PASSING OBJECT_VALUE COLUMNS
        drugbank_id        VARCHAR2(20)   PATH 'drug/drugbank-id',
        name               VARCHAR2(50)   PATH 'drug/name',
        description        VARCHAR2(4000) PATH 'drug/description'    
      ) d
    /
    
    select max(length(drugbank_id)) as dbidlen,
          max(length(name)) as nmlen,
          max(length(description)) as desclen
    from drugs_vw;
    
            DBIDLEN           NMLEN         DESCLEN
    --------------- --------------- ---------------
                  7               9             229
    
    1 row selected.
    Here's the code for the bfile. Same results, but using deprecated functions. I read the white paper, Oracle XML DB: best practices for optimal performance of queries XML. It is said that the function extract(), extractvalue(), Table (XMLSequence ()) and XMLType() are deprecated in 11 GR 2.
    -- Note extractvalue is deprecated in 11gr2 replaced by W3C standard
    --                                          XMLCast(XMLQuery())
    -- TABLE(XMLSequence) is replaced by XMLTable
    -- XMLType() is replaced by XMLParse()
    SELECT max(length(extractvalue(column_value, '/drug/drugbank-id'))) dbidlen,
           max(length(extractvalue(column_value, '/drug/name'))) nmlen,
           max(length(extractvalue(column_value, '/drug/description'))) desclen
    FROM TABLE(XMLSequence(XMLTYPE(bfilename('XMLPHARMA',
    'db00001.xml'),nls_charset_id('AL32UTF8')).extract('/drugs/drug'))) d
    WHERE ROWNUM <= 5;
    
            DBIDLEN           NMLEN         DESCLEN
    --------------- --------------- ---------------
                  7               9             229
    Is this better code to get the maximum length of a bfile type xml fields? Here's what I have so far. It works on a simple drugbank id.
    SELECT max(length(drugbank_id)) AS dbidlen,
           max(length(name)) AS nmlen,
           max(length(description)) AS desclen
    FROM (XMLTABLE('*'
                    PASSING (XMLType(bfilename('XMLPHARMA', 'db00001.xml'),nls_charset_id('AL32UTF8')))
                    COLUMNS
        drugbank_id        VARCHAR2(20)   PATH 'drug/drugbank-id',
        name               VARCHAR2(50)   PATH 'drug/name',
        description        VARCHAR2(4000) PATH 'drug/description'
      )
    );
    I try to run it on the full file and get this error
    Error report:
    SQL Error: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00007: unexpected end-of-file encountered
    31011. 00000 -  "XML parsing failed"
    *Cause:    XML parser returned an error while trying to parse the document.
    *Action:   Check if the document to be parsed is valid.
    The code to create patterns and object-relational tables. It worked well.
    set serveroutput on
    -- Create resource file for schema
    DECLARE
      res BOOLEAN;
    BEGIN
      res := DBMS_XDB.createResource('/home/pharma/drugbank.xsd', 
                    bfilename('XMLPHARMA', 'drugbank.xsd'),
                    nls_charset_id('AL32UTF8'));
      COMMIT;
    END;
    /
    
    -- optional debugging of create types and tables if you want a trace
    ALTER SESSION SET EVENTS = '31098 TRACE NAME CONTEXT FOREVER';
    
    BEGIN
      DBMS_XMLSCHEMA.registerSchema(
          SCHEMAURL => 'http://localhost:8080/home/pharma/drugbank.xsd',
          SCHEMADOC => bfilename('XMLPHARMA', 'drugbank.xsd'),
          CSID      => nls_charset_id('AL32UTF8'),
          LOCAL     => TRUE,
          GENTYPES  => TRUE,
          GENTABLES => TRUE,
          OWNER     => 'PHARMA');
      COMMIT;
    END;
    /
    SQL> select * from v$version;
    BANNER
    ---------------------------------------------------------------
    Oracle Database 11g Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    Follows the xml schema. Sorry for the length, but I think I might break something if I he snipped.
    <?xml version="1.0" encoding="UTF-8"?>
         <xs:schema  
         xmlns:xs="http://www.w3.org/2001/XMLSchema"  
         xmlns:xdb="http://xmlns.oracle.com/xdb"
         >
    
         <!-- General type definitions -->
         <xs:simpleType name="DecimalOrEmptyType">
              <xs:union memberTypes="xs:decimal EmptyStringType"/>
         </xs:simpleType>
         <xs:simpleType name="EmptyStringType">
              <xs:restriction base="xs:string">
                   <xs:enumeration value=""/>
              </xs:restriction>
         </xs:simpleType>
    
         <!-- Element Definitions -->
         <!-- Drug secondary accession number definition begins -->
         <xs:element name="secondary-accession-numbers" xdb:defaultTable="SECONDARY_ACCESSION_NUMBERS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="secondary-accession-number" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug secondary accession number definition ends -->
         <!-- Drug groups definition begins -->
         <xs:element name="groups" xdb:defaultTable="GROUPS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="group">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="approved"/>
                                       <xs:enumeration value="illicit"/>
                                       <xs:enumeration value="experimental"/>
                                       <xs:enumeration value="withdrawn"/>
                                       <xs:enumeration value="nutraceutical"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug groups definition ends -->
         <!-- Drug taxonomy definition begins -->
         <xs:element name="substructure">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="class" type="xs:string" use="required"/>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
         <xs:element name="substructures" xdb:defaultTable="SUBSTRUCTURES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="substructure"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="taxonomy" xdb:defaultTable="TAXONOMY">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="kingdom" type="xs:string"/>
                        <xs:element ref="substructures"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug taxonomy definition ends -->
         <!-- Drug brands definition begins -->
         <xs:element name="brands" xdb:defaultTable="BRANDS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="brand" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug brands definition ends -->
         <!-- Drug mixtures definition begins -->
         <xs:element name="mixture">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name" type="xs:string"/>
                        <xs:element name="ingredients" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="mixtures" xdb:defaultTable="MIXTURES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="mixture"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug mixtures definition ends -->
         <!-- Drug packagers definition begins -->
         <xs:element name="packager">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name" type="xs:string"/>
                        <xs:element name="url" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="packagers" xdb:defaultTable="PACKAGERS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="packager"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug packagers definition ends -->
         <!-- Drug manufacturers definition begins -->
         <xs:element name="manufacturer">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="generic" type="xs:string" use="required"/>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
         <xs:element name="manufacturers" xdb:defaultTable="MANUFACTURERS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="manufacturer"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug manufactures definition ends -->
         <!-- Drug pricing definition begins -->
         <xs:element name="cost">
              <xs:complexType>
                   <xs:simpleContent>
                        <xs:extension base="xs:string">
                             <xs:attribute name="currency" type="xs:string" use="required"/>
                        </xs:extension>
                   </xs:simpleContent>
              </xs:complexType>
         </xs:element>
         <xs:element name="price">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="description" type="xs:string"/>
                        <xs:element ref="cost"/>
                        <xs:element name="unit" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="prices" xdb:defaultTable="PRICES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="price"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug pricing definition ends -->
         <!-- Drug categories definition begins -->
         <xs:element name="categories" xdb:defaultTable="CATEGORIES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="category" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug categories definition ends -->
         <!-- Drug affected orgainsms definition begins -->
         <xs:element name="affected-organisms" xdb:defaultTable="AFFECTED_ORGANISMS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="affected-organism" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug affected organisms definition ends -->
         <!-- Drug dosage definition begins -->
         <xs:element name="dosage">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="form" type="xs:string"/>
                        <xs:element name="route" type="xs:string"/>
                        <xs:element name="strength" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="dosages" xdb:defaultTable="DOSAGES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="dosage"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug dosages definition ends -->
         <!-- Drug ATC codes definition begins -->
         <xs:element name="atc-codes" xdb:defaultTable="ATC_CODES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="atc-code" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug ATC codes definition ends -->
         <!-- Drug AHFS codes definition begins -->
         <xs:element name="ahfs-codes" xdb:defaultTable="AHFS_CODES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="ahfs-code" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug AHFS codes definition ends -->
         <!-- Drug Patent definition begins -->
         <xs:element name="patent">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="number" type="xs:string"/>
                        <xs:element name="country" type="xs:string"/>
                        <xs:element name="approved" type="xs:string"/>
                        <xs:element name="expires" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="patents" xdb:defaultTable="PATENTS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="patent"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug patent definition ends -->
         <!-- Drug food interactions definition begins -->
         <xs:element name="food-interactions" xdb:defaultTable="FOOD_INTERACTIONS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="food-interaction" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug food interactions definition ends -->
         <!-- Drug drug interactions definition begins -->
         <xs:element name="drug-interaction">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="drug" type="xs:integer"/>
                        <xs:element name="description" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="drug-interactions" xdb:defaultTable="DRUG_INTERACTIONS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="drug-interaction"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug drug interactions definition ends -->
         <!-- Drug protein sequences (biotech) definition begins -->
         <xs:element name="protein-sequences" xdb:defaultTable="PROTEIN_SEQUENCES">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element name="protein-sequence" type="SequenceType"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug protein sequences (biotech) definition ends-->
         <!-- Drug external links definition begins -->
         <xs:element name="external-link">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="resource" type="xs:string"/>
                        <xs:element name="url" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="external-links" xdb:defaultTable="EXTERNAL_LINKS">
              <xs:complexType>
                   <xs:sequence maxOccurs="unbounded" minOccurs="0">
                        <xs:element ref="external-link"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug external links definition ends -->
         <!-- Drug targets definition begins -->
         <xs:element name="targets" xdb:defaultTable="TARGETS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="target" type="TargetBondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug targets definition ends -->
         <!-- Drug enzymes definition begins -->
         <xs:element name="enzymes" xdb:defaultTable="ENZYMES">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="enzyme" type="BondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug enzmes definition ends -->
         <!-- Drug transporters definition begins -->
         <xs:element name="transporters" xdb:defaultTable="TRANSPORTERS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="transporter" type="BondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug transporters definition ends -->
         <!-- Drug carriers definition begins -->
         <xs:element name="carriers" xdb:defaultTable="CARRIERS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="carrier" type="BondType" minOccurs="0" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Drug carriers definition ends -->
         <!-- Partner  Pfams definition begins -->
         <xs:element name="pfam">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="identifier" type="xs:string"/>
                        <xs:element name="name" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="pfams" xdb:defaultTable="PFAMS">
              <xs:complexType>
                   <xs:sequence minOccurs="0" maxOccurs="unbounded">
                        <xs:element ref="pfam"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Partner  Pfams definition end -->
         <!-- Partner  GO Classification definition begins -->
         <xs:element name="go-classifier">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="category" type="xs:string"/>
                        <xs:element name="description" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="go-classifiers" xdb:defaultTable="GO_CLASSIFIERS">
              <xs:complexType>
                   <xs:sequence minOccurs="0" maxOccurs="unbounded">
                        <xs:element ref="go-classifier"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <!-- Partner  GO Classification definition ends -->
         <!-- Partner Essentiality definition begins -->
         <xs:element name="essentiality">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Essential"/>
                        <xs:enumeration value="Non-Essential"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <!-- Partner Essentiality definition ends -->
         
         <!-- Complex Type Definitions -->
         <xs:complexType name="SequenceType">
              <xs:sequence>
                   <xs:element name="header" type="xs:string"/>
                   <xs:element name="chain" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="PropertyType">
              <xs:sequence>
                   <xs:element name="kind">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:enumeration value="logP"/>
                                  <xs:enumeration value="logS"/>
                                  <xs:enumeration value="logP/hydrophobicity"/>
                                  <xs:enumeration value="Water Solubility"/>
                                  <xs:enumeration value="caco2 Permeability"/>
                                  <xs:enumeration value="pKa"/>
                                  <xs:enumeration value="IUPAC Name"/>
                                  <xs:enumeration value="Molecular Weight"/>
                                  <xs:enumeration value="Monoisotopic Weight"/>
                                  <xs:enumeration value="SMILES"/>
                                  <xs:enumeration value="Molecular Formula"/>
                                  <xs:enumeration value="InChI"/>
                                  <xs:enumeration value="InChIKey"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
                   <xs:element name="value" type="xs:string"/>
                   <xs:element name="source">
                        <xs:simpleType>
                             <xs:restriction base="xs:string">
                                  <xs:enumeration value="JChem"/>
                                  <xs:enumeration value="ALOGPS"/>
                                  <xs:enumeration value=""/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="PropertiesType">
              <xs:sequence>
                   <xs:element name="property" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="SynonymsType">
              <xs:sequence maxOccurs="unbounded" minOccurs="0">
                   <xs:element name="synonym" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="IdentifiersType">
              <xs:sequence maxOccurs="unbounded" minOccurs="0">
                   <xs:element name="external-identifier">
                        <xs:complexType>
                             <xs:sequence>
                                  <xs:element name="resource" type="xs:string"/>
                                  <xs:element name="identifier" type="xs:string"/>
                             </xs:sequence>
                        </xs:complexType>
                   </xs:element>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="BondActionsType">
              <xs:sequence maxOccurs="unbounded" minOccurs="0">
                   <xs:element name="action" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="BondType">
              <xs:sequence>
                   <xs:element name="actions" type="BondActionsType"/>
                   <xs:element name="references" type="xs:string"/>
              </xs:sequence>
              <xs:attribute name="position" type="xs:integer" use="optional"/>
              <xs:attribute name="partner" type="xs:integer"/>
         </xs:complexType>
         <xs:complexType name="TargetBondType">
              <xs:complexContent>
                   <xs:extension base="BondType">
                        <xs:sequence>
                             <xs:element name="known-action">
                                  <xs:simpleType>
                                       <xs:restriction base="xs:string">
                                            <xs:enumeration value="yes"/>
                                            <xs:enumeration value="no"/>
                                            <xs:enumeration value="unknown"/>
                                       </xs:restriction>
                                  </xs:simpleType>
                             </xs:element>
                        </xs:sequence>
                   </xs:extension>
              </xs:complexContent>
         </xs:complexType>
         
         <xs:complexType name="PartnerType">
              <xs:sequence>
                   <xs:element name="name" type="xs:string"/>
                   <xs:element name="general-function" type="xs:string"/>
                   <xs:element name="specific-function" type="xs:string"/>
                   <xs:element name="gene-name" type="xs:string"/>
                   <xs:element name="locus" type="xs:string"/>
                   <xs:element name="reaction" type="xs:string"/>
                   <xs:element name="signals" type="xs:string"/>
                   <xs:element name="cellular-location" type="xs:string"/>
                   <xs:element name="transmembrane-regions" type="xs:string"/>
                   <xs:element name="theoretical-pi" type="DecimalOrEmptyType"/>
                   <xs:element name="molecular-weight" type="DecimalOrEmptyType"/>
                   <xs:element name="chromosome" type="xs:string"/>
                   <xs:element ref="essentiality"/>
                   <xs:element name="references" type="xs:string"/>
                   <xs:element name="external-identifiers" type="IdentifiersType"/>
                   <xs:element name="synonyms" type="SynonymsType"/>
                   <xs:element name="protein-sequence" type="SequenceType" minOccurs="0"/>
                   <xs:element name="gene-sequence" type="SequenceType" minOccurs="0"/>
                   <xs:element ref="pfams"/>
                   <xs:element ref="go-classifiers"/>
              </xs:sequence>
              <xs:attribute name="id" type="xs:integer" use="required"/>
         </xs:complexType>
         <xs:complexType name="DrugType">
              <xs:sequence>
                   <xs:element name="drugbank-id" type="xs:string"/>
                   <xs:element name="name" type="xs:string"/>
                   <xs:element name="description" type="xs:string"/>
                   <xs:element name="cas-number" type="xs:string"/>
                   <xs:element name="general-references" type="xs:string"/>
                   <xs:element name="synthesis-reference" type="xs:string"/>
                   <xs:element name="indication" type="xs:string"/>
                   <xs:element name="pharmacology" type="xs:string"/>
                   <xs:element name="mechanism-of-action" type="xs:string"/>
                   <xs:element name="toxicity" type="xs:string"/>
                   <xs:element name="biotransformation" type="xs:string"/>
                   <xs:element name="absorption" type="xs:string"/>
                   <xs:element name="half-life" type="xs:string"/>
                   <xs:element name="protein-binding" type="xs:string"/>
                   <xs:element name="route-of-elimination" type="xs:string"/>
                   <xs:element name="volume-of-distribution" type="xs:string"/>
                   <xs:element name="clearance" type="xs:string"/>
                   <xs:element ref="secondary-accession-numbers"/>
                   <xs:element ref="groups"/>
                   <xs:element ref="taxonomy"/>
                   <xs:element name="synonyms" type="SynonymsType"/>
                   <xs:element ref="brands"/>
                   <xs:element ref="mixtures"/>
                   <xs:element ref="packagers"/>
                   <xs:element ref="manufacturers"/>
                   <xs:element ref="prices"/>
                   <xs:element ref="categories"/>
                   <xs:element ref="affected-organisms"/>
                   <xs:element ref="dosages"/>
                   <xs:element ref="atc-codes"/>
                   <xs:element ref="ahfs-codes"/>
                   <xs:element ref="patents"/>
                   <xs:element ref="food-interactions"/>
                   <xs:element ref="drug-interactions"/>
                   <xs:element ref="protein-sequences" minOccurs="0"/><!-- Only present for biotech drugs -->
                   <xs:element name="calculated-properties" type="PropertiesType" minOccurs="0"/><!-- Only present for small molecule drugs -->
                   <xs:element name="experimental-properties" type="PropertiesType"/>
                   <xs:element name="external-identifiers" type="IdentifiersType"/>
                   <xs:element ref="external-links"/>
                   <xs:element ref="targets"/>
                   <xs:element ref="enzymes"/>
                   <xs:element ref="transporters"/>
                   <xs:element ref="carriers"/>
              </xs:sequence>
              <xs:attribute name="type" use="required">
                   <xs:simpleType>
                        <xs:restriction base="xs:string">
                             <xs:enumeration value="small molecule"/>
                             <xs:enumeration value="biotech"/>
                        </xs:restriction>
                   </xs:simpleType>
              </xs:attribute>
              <xs:attribute name="updated" type="xs:string" use="required"/>
              <xs:attribute name="created" type="xs:string" use="required"/>
              <xs:attribute name="version" type="xs:decimal" use="required"/>
         </xs:complexType>
         
         <xs:element name="drugs"  xdb:defaultTable="DRUGS">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="drug" type="DrugType" minOccurs="0" maxOccurs="unbounded" />
                        <xs:element name="partners">
                             <xs:complexType>
                                  <xs:sequence>
                                       <xs:element name="partner" type="PartnerType" minOccurs="0" maxOccurs="unbounded" />
                                  </xs:sequence>
                             </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         
              <xs:keyref name="targetPartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/targets/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:keyref name="enzymePartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/enzymes/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:keyref name="transporterPartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/transporters/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:keyref name="carrierPartnerIdKeyRef" refer="partnerIdKey">
                   <xs:selector xpath="drug/carriers/*"/>
                   <xs:field xpath="@partner"/>
              </xs:keyref>
              <xs:key name="partnerIdKey">
                   <xs:selector xpath=".//partner"/>
                   <xs:field xpath="@id"/>
              </xs:key>
         </xs:element>     
    </xs:schema>
    Optimization white paper request
    http://www.Oracle.com/technetwork/database/features/xmldb/xmlqueryoptimize11gr2-168036.PDF

    Well Yes... You need not put GENTABLES-online TRUE when recording object relational. There are no structures in XML schema that require tables on online storage...

    SQL> DECLARE
      2    V_XMLSCHEMA XMLTYPE := xmltype(bfilename('&USERNAME', 'drugbank.xsd'),nls_charset_id('AL32UTF8'));
      3  BEGIN
      4          DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XMLSCHEMA);
      5          DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDOM(V_XMLSCHEMA);
      6          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'BondType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'references','CLOB',TRUE);
      7          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'PartnerType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'references','CLOB',TRUE);
      8          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'DrugType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'general-references','CLOB',TRUE);
      9          DBMS_XMLSCHEMA_ANNOTATE.setSQLType(V_XMLSCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'SequenceType',DBMS_XDB_CONSTANTS.XSD_ELEMENT,'chain','CLOB',TRUE);
     10    DBMS_XMLSCHEMA.registerSchema(
     11        SCHEMAURL => :SCHEMAURL,
     12        SCHEMADOC => V_XMLSCHEMA,
     13        LOCAL     => TRUE,
     14        GENTYPES  => TRUE,
     15        GENTABLES => TRUE);
     16  END;
     17  /
    old   2:   V_XMLSCHEMA XMLTYPE := xmltype(bfilename('&USERNAME', 'drugbank.xsd'),nls_charset_id('AL32UTF8'));
    new   2:   V_XMLSCHEMA XMLTYPE := xmltype(bfilename('PHARMA', 'drugbank.xsd'),nls_charset_id('AL32UTF8'));
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:01.65
    SQL> CREATE TABLE drugs_xmltype OF XMLTYPE
      2  XMLSCHEMA "http://lims.drugbank.ca/docs/drugbank.xsd"
      3  ELEMENT "drugs"
      4  /
    
    Table created.
    

    results in

    SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 29 16:14:00 2011
    
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> select table_name from user_xml_tables;
    
    TABLE_NAME
    ------------------------------
    DRUGS_XMLTYPE
    
    SQL> select count(*) from user_nested_tables;
    
      COUNT(*)
    ----------
            36
    
    SQL>
    
  • Value of the element in the referring URL

    I want to use a URL to connect to an application/page to a page of application/2nd and pass a value of an item on the 1st page/application at a point in the 2nd page/application - and within the URL also submit application 2/page.

    The first application/page reflects the details of an employee, with a button to access the 2nd app to view the details of active employees.

    The application/2nd page has two parts, one for a parameter for the employee ID field and a "run" button the second is a report of the property using the parameter as a filter for the report field. The report runs on the loading of the page - when the key - a branch to the same page comes to reload the page, this time with a filter to display the filtered report.

    On the 1st application, I use a button and creates a branch to/url of the page before the treatment.
    I can't conceive the URL in order to pass a value to a page element in the 2nd request if I hard code of the 'value' for the item:
    f? p = 106:1: & SESSION. : RUNQUERY:P1_EMPL_ID:12:

    This will go to a page in app 106, keeping the Session ID and put a value of 12 in the item page (parameter field) P1_EMPL_ID.

    Question:
    (1) how do I (or can I) refer to a value of the element application 1 in the URL instead of the real value? v (P2_ID) instead of 12?

    (2) even if you use a hard-coded as above, using 12... the parameter field gets the value, send the page seems to work - but the report does NOT get updated until I press the new button. The button - submit on 'RUNQUERY' - there is a branch back to page 1 on submit after transformation when you press the button: RUNQUERY (Submit).

    So 2 questions:
    How to refer to an element value in a URL?
    I'm referencing the part of the submission of the URL correctly?

    Thanks in advance...

    Rich

    try to:

    &P2_ID.
    
  • Application based on the strange error in sharedObject led tilelist

    I recently made a request (with the great help of this forum) which allows users to drag items between tilelists and then save the changes to the tilelists via sharedObject method simply by clicking on save button so that the next time they open the application that changes will always be there but I have an error strange now message that appears.

    What happens is if the user is dragging ALL items in the tilelist left hand in hand right tilelist saves their changes, and then close and reopen the app then left tilelist contains no items and the right tilelist contains all the elements that goes well so far HOWEVER if now, the user clicks on the button without interacting with the tilelists an error pops up something in the sense of "save Error #1009". ': Cannot access a property or method of a null object reference. It seems harmless but when I finalize the app I don't want users to add all the elements of the tilelist right not save changes, close and reopen and then get an error, if happen them to click on save again.

    I can't understand it, but here is the code of the application: -.

    <? XML version = "1.0" encoding = "utf-8"? >

    < mx:Application ' xmlns:mx = ' http://www.Adobe.com/2006/MXML "layout =" " absolute "creationComplete ="initprofile1NewsAndSportSO ();" >

    < mx:Script >

        <! [CDATA]

    import mx.collections. *;

    import flash.net.SharedObject;

    public var profile1NewsAndSportSO:SharedObject;

    private var profile1NewsAndSportaddLinksFullAC:ArrayCollection = new ArrayCollection([ )

    {link: 'www.bbcnews.com', label:' BBC News ', icon:'image7', largeImage:"assets/images/bbcnews_small.png", title:' BBC News ', description:"BBC News description will go here"},

    {link: "www.itv.com/", label:'ITV', icon:'picture5', largeImage:"assets/images/itv_small.png", title:'ITV', description:"ITV Description will go here"},

    {link: "www.skynews.com", label:' Sky News ', icon:'image10', largeImage:"assets/images/skynews_small.png", title:' Sky News ', description:"Sky News Description will go here"}

          ]);

    private var profile1NewsAndSportaddLinksAC:ArrayCollection = new ArrayCollection([ )

    {link: 'www.bbcnews.com', label:' BBC News '},

    {link: "www.itv.com/", label:'ITV'},

    {link: "www.skynews.com", label:' Sky News '}

          ]);

    private function profile1NewsAndSportReset():void{ }

    resetprofile1NewsAndSportAC();

    profile1NewsAndSportAddLinksTilelist.dataProvider

    = profile1NewsAndSportaddLinksAC;

    profile1NewsAndSportLinkChoice.dataProvider = new ArrayCollection([]);

          }

    private function resetprofile1NewsAndSportAC():void{ }

    profile1NewsAndSportaddLinksAC.removeAll ();

    for every()var obj:Object in profile1NewsAndSportaddLinksFullAC) { }

    profile1NewsAndSportaddLinksAC.addItem (obj);

            }

          }

    private function initprofile1NewsAndSportSO():void{ }

    profile1NewsAndSportSO = SharedObject.getLocal ("profile1NewsAndSport");

    If(profile1NewsAndSportSO.size > 0) { }

    If(profile1NewsAndSportSO.data.profile1NewsAndSportaddList) { }

    If(profile1NewsAndSportSO.data.profile1NewsAndSportaddList! = 'empty') { }

    var profile1NewsAndSportaddList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportaddList.split (',');

    var profile1NewsAndSporttempAC1:ArrayCollection = new ArrayCollection();

    for every()var str:String in profile1NewsAndSportaddList) { }

    for every()var obj1:Object in profile1NewsAndSportaddLinksAC) { }

                      if (str == obj1.label) { }

    profile1NewsAndSporttempAC1.addItem (obj1);

                        continues ;

                      }

                    }

                  }

    If(profile1NewsAndSporttempAC1.length > 0) { }

    profile1NewsAndSportAddLinksTilelist.dataProvider = profile1NewsAndSporttempAC1;

                  }           

                }

              }

    If(profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList) { }

    var profile1NewsAndSportchoiceList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList.split (',');

    var profile1NewsAndSporttempAC2:ArrayCollection = new ArrayCollection();

    for every()var str2:String in profile1NewsAndSportchoiceList) { }

    for every()var obj2:Object in profile1NewsAndSportaddLinksAC) { }

    If(str2 == obj2.label) { }

    profile1NewsAndSporttempAC2.addItem (obj2);

                      continues ;

                    }

                  }

                }

    If(profile1NewsAndSporttempAC2.length > 0) { }

    profile1NewsAndSportLinkChoice.dataProvider = profile1NewsAndSporttempAC2;

                }           

              }

            }else{

    profile1NewsAndSportReset();

            }

          }

    private function saveprofile1NewsAndSport(event:MouseEvent):void{ }

    var profile1NewsAndSportaddList:String = ""; .

    If(collection ArrayCollection (profile1NewsAndSportAddLinksTilelist.dataProvider) .length > 0) { }

              for each(var obj1:Object in

    profile1NewsAndSportAddLinksTilelist.dataProvider) {}

    profile1NewsAndSportaddList += obj1.label + ','

              }

            }else{

    profile1NewsAndSportaddList = 'empty'

            }

    profile1NewsAndSportSO.data.profile1NewsAndSportaddList = profile1NewsAndSportaddList;

    var profile1NewsAndSportchoiceList:String = ""; .

            for each(var obj2:Object in

    profile1NewsAndSportLinkChoice.dataProvider) {}

    profile1NewsAndSportchoiceList += obj2.label + ','

            }

    profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList = profile1NewsAndSportchoiceList;

    profile1NewsAndSportSO.flush ();

          }

        ]] >

    < / mx:Script >

    < mx:Button click = "profile1NewsAndSportReset ()" id ="reset"" «»

        label=" Reset " y=" 5 "height =" 25 " x=" 5 " />

    "" < mx:TileList id = "profile1NewsAndSportLinkChoice" fontWeight =""BOLD"" " "

    dragEnabled = "true"dragMoveEnabled = "true" dropEnabled ="true" height ="129" " "

    "" " width = '650" top ="5" left = "521" columnCount = "5" rowHeight ="145" " "

    "" = columnWidth '125"backgroundColor ="#000000"color ="#FFFFFF"""/ >

    "" < mx:TileList id = "profile1NewsAndSportAddLinksTilelist" fontWeight =""BOLD"" " "

    dragEnabled = "true"dragMoveEnabled = "true" dropEnabled ="true" height ="129" " "

    "" width = '385"top ="5"left ="128"columnCount ="3"rowHeight ="145"columnWidth ="125"" "

    " backgroundColor ="#000000"color ="#FFFFFF"""/ > "

    " < mx:Button click =" saveprofile1NewsAndSport (event) "id ="Save"label ="save changes"" ""

        x=" 5 " y=" 38 "width =" 113 "height =" 25.5 " />

    < / mx:Application >

    This should fix it.

    If this post answers your question or assistance, please mark it as such.

    
    
      
         0){
              if(profile1NewsAndSportSO.data.profile1NewsAndSportaddList){
                if(profile1NewsAndSportSO.data.profile1NewsAndSportaddList != "empty"){
                  var profile1NewsAndSportaddList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportaddList.split(",");
                  var profile1NewsAndSporttempAC1:ArrayCollection = new ArrayCollection();
                  for each(var str:String in profile1NewsAndSportaddList){
                    for each(var obj1:Object in profile1NewsAndSportaddLinksAC){
                      if(str == obj1.label){
                        profile1NewsAndSporttempAC1.addItem(obj1);
                        continue;
                      }
                    }
                  }
                  if(profile1NewsAndSporttempAC1.length > 0){
                    profile1NewsAndSportAddLinksTilelist.dataProvider = profile1NewsAndSporttempAC1;
                  }
                }
              }
              if(profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList){
                var profile1NewsAndSportchoiceList:Array = profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList.split(",");
                var profile1NewsAndSporttempAC2:ArrayCollection = new ArrayCollection();
                for each(var str2:String in profile1NewsAndSportchoiceList){
                  for each(var obj2:Object in profile1NewsAndSportaddLinksAC){
                    if(str2 == obj2.label){
                      profile1NewsAndSporttempAC2.addItem(obj2);
                      continue;
                    }
                  }
                }
                if(profile1NewsAndSporttempAC2.length > 0){
                  profile1NewsAndSportLinkChoice.dataProvider = profile1NewsAndSporttempAC2;
                }
              }
            }else{
                profile1NewsAndSportReset();
            }
          }
          private function saveprofile1NewsAndSport(event:MouseEvent):void{
            var profile1NewsAndSportaddList:String = "";
            if(profile1NewsAndSportAddLinksTilelist.dataProvider){
              if(ArrayCollection(profile1NewsAndSportAddLinksTilelist.dataProvider).length > 0){
                for each(var obj1:Object in
                  profile1NewsAndSportAddLinksTilelist.dataProvider){
                  profile1NewsAndSportaddList += obj1.label + ",";
                }
              }else{
                profile1NewsAndSportaddList = "empty";
              }
            }
            profile1NewsAndSportSO.data.profile1NewsAndSportaddList = profile1NewsAndSportaddList;
            var profile1NewsAndSportchoiceList:String = "";
            for each(var obj2:Object in
              profile1NewsAndSportLinkChoice.dataProvider){
              profile1NewsAndSportchoiceList += obj2.label + ",";
            }
            profile1NewsAndSportSO.data.profile1NewsAndSportchoiceList = profile1NewsAndSportchoiceList;
            profile1NewsAndSportSO.flush();
          }
        ]]>
      
      
      
      
      
    
    
    
  • 3.1.2 upgrade - display text for the element

    We have updated a v2 app that has an element with Post following text element & P3_END_DATE_ICON.

    The P3_END_DATE_ICON element is hidden and calculated when loading either provide an icon with javascript or null.

    Following the upgrade, HTLM with escape sequence text, not just the HTML code as before so the javascript does not work.

    Before I dig deeper, it is a known problem please?

    Phil

    UPDATE

    In addition, some fields have an icon that allows a user to clear the value. It's text post element too with the following:
    <a href="javascript.clearField('P3_PRF_ID');"><img src="\i\deleteicon_enabled.gif" alt="Clear Field"></a>
    It works, but the icon is placed on the next line, while in v2 it was displayed immediately after the element.

    Published by: Phil UK on May 7, 2009 16:15

    It is an intentional change of v2 (2.0, 2.2). Now you need to refer to an element of the request, or a display text (does not save the State) the point (with display condition the Never value) to avoid having the code HTML escaped.

    I do not know the other problem.

    Scott

  • AppleScript: ask a user to enter one or more numbers online

    Hello

    How can I apply in the dialog box display one several channels in a window like this:

    Entry three letters in the right column

    window show me asks me to enter

    first letter]

    second letter]

    third letter]

    Implementation of the language of the AppleScript to display dialog box does not offer multiple inputs, or formatting. However, you can separate your entries with a delimiter and then place these items in a list, where you can refer to these elements.

    Here is a demonstration of AppleScript. You enter the text (for example) in this format: A1, B1, C1

    use scripting additions
    
    set msg to "Input three letters for each of first letter, second letter, and third letter. Separate your responses by a comma (e.g. aaa,bbb,ccc)"
    set delimAnswer to text returned of (display dialog msg default answer "")
    
    set {TID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, ","}
    set dialogList to text items of delimAnswer
    set {TID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    display dialog "Items are: " & return & (items of dialogList) & return & "Item 1: " & (item 1 of dialogList) as text
    set AppleScript's text item delimiters to TID
    return
    
  • conversion string table file

    I'm new to LabVIEW and was thrown in the middle of a project, so I need to get a job quick code! Can someone help me understand why the VI I joined does not work? I want to have a text file that contains a list of integers that will be used to refer to specific elements in groupings within my program. I tried to follow an example that I found, but the output that should only be an array will come out as a Measurer. Any help would be great appreciated! Thank you!

    First, we will explain the cause of your error: the reason why this is happening, is that you try to do two different things at the same time. You are auto-indexation of the table and you are trying to index the table inside the loop. When you wire up a table one to to loop the loop auto-index. LabVIEW sense knows how often to perform the loop - there is no need to wire to the N. Also, the wire inside the loop will be an instance of the element of the array, not the table. Thus, the wire inside the loop is a scalar. Thus, the reason for the cut wire - you cannot index a scalar.

    Also, I'm not sure what you're trying to do with indexing of one of the elements of the cluster. The cluster is empty, so there is nothing to index. Without doubt, the file is there to tell you which items to remove from the table 'Amp2"of the cluster. If so, remember that automatic indexing works in two ways. If you connect a cable "out" on the edge of a loop that he auto-indexé it, which means that the output will be an array.

    Please read the help of LabVIEW on automatic indexing.

    Now, in light of all this, here's what your code should look like:

    Note the use of the reading of spreadsheet files VI. It makes your life easier.

  • Is it gets adds a reference as a member of a user class?

    Hello

    Everything is in the title

    I would like to know if I can get a reference to an object in a class member? I created a class that obtain information of a material. I want to "point" a digital display for each class.

    Thank you very much.

    Dominique

    Yes, you can. You will need a VI accessor that sets the benchmark in the class to refer to an element of real façade.

Maybe you are looking for

  • Previous messages does not - iMessage

    I noticed today that for a single contact, if I try to go back in the history of my conversation in iMessage, it will not load the previous messages.  However, and this is where it gets strange... random, it seems that if this person sends me a text,

  • Display 7 segments of the keyboard still shows a six

    Hello, I am a student of renewable energy engineering and I have a problem with a circuit that I made. This circuit is composed on a 0-9 keyboard connected to a 74HC147, which is connected to a 4511BD, which is then connect to a red screen of seven s

  • missing coprocessor

    I need help, I have problem with coprocessor missing... my laptop is hp dv2928se... help me...

  • Disc and DVD player read not only draw message get open no disc in the drive, again with the same results.

    Sought to follwed and previous forum information steps to unload the upper and lower registry filters but none are included. Have you tried devcon in back and get the followin message "devcon is not recognized as a builtin or external operable progra

  • Cisco VCS and integration Lync2013

    Hello! Could you tell me please, when CISCO officially support Lync2013 - free new software for VCS - C and documentation on integration? The main interest is the possibility of transferring video between CISCO/MCU and Lync endpoints on the H.264 Pro