the use of attributes in Datagrid - beginner

Hi - I am new to Flex and just try to get the grounding. I hope that my problem is simple. I am following the tutorial of RSSViewer but change the XML to meet my needs. I would like to use attributes in the columns of a datagrid. for example

< root >
< book CP = "23" CPDESC = "The Hobbit" / >
< book CP = '24' CPDESC = 'The Lord of the Rings' / >
< book CP = '249' CPDESC = 'Web Designers Bible' / >
< / root >

I know to use the notation by point if its nodes but how do I get in on these attributes. I am trying to use. @, but like the yet to get anything but empty.

If someone could point me in the right direction, I would be very grateful.

See you soon

In fact correct Vygo, dataField will take the @ attribute expression. I just tried this in a sample application. This must be an exception to the rule of the "string only.

As a note attached, if the data that you want to display in the text of the element node, then you can specify using the ' * ': dataField = "" * "another exception?"

TimP06, if you still have trouble post back.

I posted my example on cflex.net:
v http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=563

Tracy

Tags: Flex

Similar Questions

  • The use of attributes to calculate values

    Hello... I'm struggling with something that I think should be easy... but I can't understand a simple way to do it, so am hoping someone here can give me a simple solution (which does not imply having to store or copy additional values).

    This is a light version of what I'm trying to do:

    I made plans with an attribute called 'Contract Type' against the Bills (which are in the entity dimension).

    _ (Account)
    ___Revenue
    Project A___10
    Project B___25
    Project C___30
    ==================
    Total___65
    ==================

    Projects A and C have a 'Contract Type' 'Secure' attribute and project B has an attribute "unsecured".

    Then, I want to have two DC accounts known as "Revenue secured" and "unsecured", which would all be two calculate 40 and 25 respectively.

    All other dimensions are standard and I would calculate dynamically "Revenue secured" and "unsecured", so would develop a formula that says actually revenue-> secure; Recipes - > unsecured; but it does not work.

    Put recipes; pull the amount of appropriate receipts, but how to filter on the attribute also (when I do this against Auditors, but the attribute is against the project)?

    The reason is so that I can tell you the Type contract totals for projects / entities easily and then lots of metric calculations basic accounts.

    Thanks a lot for your help.

    Yes, it will be a little slow because of the need to dynamically the sum together all members not secured/Secured and depending on how much there is that it would be very slow. If you calculate the value as a form of stored member or in a business rule, then the form should load OK, but a form of dynamic member calc might just be too slow.

  • After the upgrade to El Capitan, I get "the scanner is attributed to ImageCapture. Using the scanner with TWAIN? What to say?

    I have XP Epson-610 and have scanned on it successfully for years. To date, but when tried to open I get the ap scanner, the scanner is attributed to ImageCapture. Using the scanner with TWAIN? ImageCapture does not work on El Capitan? What is TWAIN, a printer-scanner driver?

    Thank you.

    TWAIN is an old scanner interface. OS X now use ICA, Architecture (?) of Capture of Image.

    Never seen this message, but I guess that means Capture of Image is using the scanner, or is configured to use the scanner and it is not necessary for the third party software. You open picture Capture, or did the scanning software provided with the scanner by Epson?

  • Write to the file of measurement with a loop For using the value of the dynamic data attributes

    I looked and looked, but couldn't find a solution for this.

    I currently have 15 points of different data that I try to write in an Excel file.  I have all combined in a table and lie with the function "write into a file position.  However, the column names are always "Untitled", "Untitled 1" etc.  I then used the function 'Set the Dynamic Data attributes'; but for this I have to do 15 different functions "set data dynamic attributes.  It was suggested to use a loop with the function 'Set the Dynamic Data attributes' inside of her, but I can't find how do.

    I have several arrays consisting of 15 different values for 'Signal Index' 'Name of Signal' and 'Unit', but also a unique 'get Date/Time In Seconds' related to 'Timestamp '.  The problem is that the error I get when I try to connect the output with Scripture at the entrance to measure file:

    The source type is dynamic data table 1 d.  The type of sink is Dynamic Data.

    How can I fix it?  I have attached a picture of my installation; Sorry if this is gross (I'm new on this!).  Thank you!

    It will get rid of the error, but it is not quite correct. What you need to do after that is to click on the output or the tunnel entry and select 'replace with the shift register. In addition, the array of values that you have wired to the Signal Index is wrong. Arrays are 0 based. Just wire the iteration Terminal here. And, finally, take the size of the table and this connection to the N terminal are stupid. Don't wire nothing to this.

  • How we can filter the members of attributes using MDX ASO

    How can we filter the members of attributes using MDX ASO?

    SELECT {Descendants ([1_Account], LEVELS([1_Account],0))}

    ON COLUMNS,

    {Filter (different 1_Cost [Online], 1_Cost [Online]. CurrentMember = [1_AllocAccountR]. [85151010])} on the LINES

    OF Alloc1R.Alloc1R

    WHERE ([DC], [GenealogyAllocation], [Bill], [FY14],

    2_Cost [Online]. [Impact], [3_Cost online]. [Impact], [4_Cost online]. [Impact], [5_Cost Center_intra]. [Impact], [2_Project]. [Impact], [1_Project]. [Impact]

    )

    The code marked in yellow, is suppose to filter and to provide an output only the cost that has 85151010 attribute tag - Center but it generates all cost centers


    Thank you

    Vishal

    How about using attribute or WithAttr

    Concerning

    Celvin Kattookaran

  • Remove the read-only attribute from all files in a folder

    How to remove the read-only attribute from all files in a folder. I tried to use the properties and used the attrib command, but all I see is when I right click on the folder, selecting Properties, it shows once again

    I followed the forums, but I'm really confused. Can someone help me with this. Thanks in advance

    I would like to start by finding which file is read-only again. This is probably a file as well as a miniature file desktop.ini.  An easy way to find it is to go to the details view, turn on the column heading "Attributes" and search for all files with the attribute value "R":

    In this example, the key of SB file is read-only:

  • I can't turn my photos because I can't disable the 'read only' attribute of my files.

    Whenever I go into the Properties uncheck the read-only attribute of my files, it won't let me, but he will return back as soon as I click on ' OK. "

    I tried to change the property, as well as the opening of full control.

    I'm already administrator.

    It happens even when I create new folders on my desktop. It it automatically read-only, and I am able to uncheck with him coming back after I click OK without worrying.

    Help, please.

    The photos are from my phone. Open them in the image viewer and I'm just turning them using that, or good right click to rotate.

    This also happens with the new cases, I create and save all the images that I have on my computer.

    The images themselves are not read-only. The folder attribute is the problem.

    Again, there is no attribute of read-only files.

    If you use an iPhone, the photos can contain metadata that preventing rotation.

    See this thread.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-pictures/cant-rotate-some-photos-in-Windows-7-but-can/3a809845-9144-4BB1-9bb3-ab4f5b856524

  • BlackBerry Smartphones Helpp! The "MIDlet-Name" attribute is missing

    I can't use my app world because I need to update, but whenever I have it try indicates

    "manifesto of inavlid or applicationdescriptor.

    The "MIDlet-Name" attribute is missing

    I have a bb 9360, I just got yesterday, what do I do? Please help me

    1. Options > device > application, scroll to BlackBerry AppWorld and delete it.
    2. Perform a simple reboot on the BlackBerry this way: with smart BlackBerry poweredphone, remove the battery for a minute and then reinsert the battery to restart.
    3. Now, using your BlackBerry browser, go to the www.blackberry.com/appworld and redownload the AppWorld. It will update your BlackBerryID as well.
    4. Opening of session.
  • What is the use of the field status ACS 5.3

    whose status is disabled manually don not struggle to authenticate users and access management of network devices. which makes me wonder what is the difference between the enabled and disabled state?

    Thank you

    Kerim

    Kerim,

    I can't work Ray the way he used to in acs4.2. It's as if the RADIUS is dedicated to default network rather than deault network admin access.

    You're right, the default network access model is for authentication radius based, cannot assign a profile shell since it is of Ganymede... When you create a new access service - it uses either a model Ganymede or radius.

    even when I left RADIUS default netowrk access, I was not able to associate the profile shell, which allows private-level 15.

    Make sure your authorization profile has the right assigned cisco-av-pair (shell: priv-lvl = 15).

    GBA 4.2 If you're admin group u just see # switch invited him but ACS5.3 If you use RADIUS you switch > prompt.

    If you pass the attribute above make sure that the 'radius of group by default aaa authoration exec' command is configured

    How can I solve this? the other problem that I am facing is, when my two instances of the acs are autonomous, they work fine, but as soon as I do one of their secondary, secondary education cannot authenticate to server RSA he just authenticates users the only. whay is it? I think that if we can solve this am ready to go into production with 5.3.

    I see no reason why this is the case right now the top of my head. Your best bet for this problem is to open a tac case to install a webex and take a look. I'm sure it's something simple, but webex is the fastest method because all the parts it takes to do this job.

    Thank you

    Tarik Admani
    * Please note the useful messages *.

  • Chains of substitution in the column link attributes

    I use this attribute a lot recently to activate the link columns in reports to the pleasant appearance buttons, using the same set of classes used by the button model options, for example:

    class="t-Button  t-Button--warning t-Button--simple t-Button--stretch"
    

    Instead of use the chain, I would like to set it either by using a chain of substitution of application to create consistency, or the columns of the region to provide classes based on a condition of level line.

    link_attribs.png

    I spotted some differences in behavior between classic and IR and 5.0.1 and 5.0.2. I am not too concerned by version differences because the progress is there, but I want to ensure further progress.

    I have an example here, ws (swesley/otn/forum) connection details

    https://Apex.Oracle.com/pls/Apex/f?p=88776:3

    For both types of reports, the EMPNO uses & BTN_CSS. to supply the value of a string substitution of application. It works for the IR, but not for the classic. Instead, I see

    <a href="javascript:void(0);" &btn_css.="">7369</a>
    

    The ENAME field uses #LINK_ATTRIBS # the source of the value of the SQL. The caveat here is that the LINK_ATTRIBS column must escape special characters the value no. It works in 5.0.2 but not 5.0.1. The latter treats the string as if it has not been dropped?

    pasted_image_at_2015_11_03_09_22_pm.png

    My solution is to provide

    class="#LINK_ATTRIBS#"
    

    where the sql returns just the set of classes, not the full html tag.

    This problem has recently been described in the mou channel # _Suit.

    Hi Scott - thank you for viewing this issue, I am agree that traditional reports that should support the do of reports interactively. So, I advanced and implemented this change for APEX 5.1.

    Marc

  • Custom icon in the icon of the CSS class attribute

    Hello world

    Apex version: 5.0.1

    Universal theme

    Oracle version: 11 GR 2

    I created a custom page, sign in as the picture below. In the icon attribute set spinner fa temporarily CSS classes, instead I need to put a custom, icon that I made icon. I don't know where to add the new icon? I've added an icon in the shared components > files to workspace static but I can not reference an Image of workspace of the class CSS of the icon attribute.


    Can someone tell me where and how to create a new icon for use with the attribute of CSS icon classes?

    Thank you

    customlogin.PNG

    The CSS style related to the use of the property of the icon of the CSS Classes is set up specifically to manage the icons great fonts. Rather than trying to substitute these for host your custom image, it's easier not to specify a class icon CSS and a simple CSS rule allows you to set your picture as a background on the header area of connection:

    .t-Login-header {
      background: url(&WORKSPACE_IMAGES.logo_GUATEFAC.ico) top center no-repeat;
    }
    

    This can be applied on the page of connection Inline CSS property, either as a custom theme CSS Roller rule.

    Also note that even if the property is called "Icon of CSS Classes", the ICO file format is not normally used and in fact may not be returned by all browsers. (Fonts Awesome 'icons' are in fact a vector font glyphs). In this case you would be advised to use a version of the superior image quality of your logo in PNG format.

  • Question the use of the certificate for ODSEE 11.1.1.7.0

    Hello

    I have a few questions about certificates.

    (1) do I need to renew the original self-signed certificates created when the DS was created, if I'm not currently using the secure port?

    (2) do you have any suggestions as to a good resource to explain the use and implementation of certificates in ODSEE?

    Thank you

    Bill

    Hello

    Use of ldaps (LDAP over SSL) is optional, so no need to renew the certificates if you do not use encryption to access or LDAPS attribute

    Certificates are used with SSL for secure LDAP channel. SSL implementation used by Department based on NSS https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS

    Sylvain

    Please mark this answer as correct or helpful, when it is appropriate to make it easier for others to find

  • form in a widget library makes the empty alt attributes

    the single form in the widget library makes the empty alt attributes, was go threw with seo test and there were more than 40 empty alt attributes?

    does anyone have a solution for this?

    Hi Leif,

    I will suggest you export the .muse as HTML file (file > export as HTML), this will create .html files in the local computer.

    Now you can use an editor like Dreamweaver HTML to change the value for the ALT tags

    Download the .html files and folders exported to your accommodation.

    Now, Muse have not any possibility to add the ALT tag for form elements.

    Thank you

    Prabhakar Kumar

  • Please how can I insert a value of richinputtext in the database string attribute

    Please how can I insert a value of richinputtext in the database string attribute

    If you can get its value at the bean and then call your insert statement to put it in the DB table

    and if you want to know about the execution of SQL query

    then check - Ashish Awasthi (Jdev/ADF) Blog: SQL to run in an ADF Application using DataSource DBTransaction & JDBC query

    Ashish

  • Writing javascript code to a box that when activated, it removes the read-only attribute in another area and allows a number against the default calculation that occur.

    I have an order entry form that calculates a sum of $ calculate markup by a formula in the section rating field simplified in the field on the tab properties.  The field of markup is set to read-only.  I also have a configuration like a checkbox.  If the user selects the check box, I need this field of markup to become editable (remove the read-only attribute) to allow a number to be entered in the field.  I guess I'd also need programmatically delete the calculation in the simplified field notation when the box has been activated.  I think I need a custom java script to trigger on mouse enter?  I could also use some help setting java script.  Someone has it all done something similar?

    Thanks in advance.

    You can no longer use the method of the "simple field notation" If you change the field in certain situations. The following script assumes that you just want to add two fields and use 25% of this amount as your markup, unless the box named "CheckBox" is checked, then the field will become editable and you can enter what you want:

    // get the state of the "CheckBox" - modify the field name to match your form
    var cb = this.getField("CheckBox");
    
    if (cb.value == "Off") {
        // Checkbox is unchecked, so perform the calculation and make sure the field is read-only
        event.target.readonly = true;
         // simple calculation - you need to modify this
        var result = (Number(this.getField("Field1").value) + Number(this.getField("Field2").value)) * 0.25;
        event.value = result;
    }
    else {
        // Checkbox is checked, so do not modify the value, set the field to read/write and let the user enter anything they want.
        event.target.readonly = false;
    }
    

Maybe you are looking for