Updating the dataprovider of a datagrid

I have a datagrid with an arraycollection as the
dataprovider.In one of the columns there is a combobox used as the
itemeditor.I want the user to select values from the combobox and
when a submit button is clicked the datagrid dataprovider needs to
be updated.
Once the submit is pressed,he should not be able to change
the values using any of the comboboxes where he has already
selected some values.

The only way I can see to do that would be to have the
database default to null values in all the columns, and then check
for that with your edit handler. We use managed collections at
work, which means a second collection would be required; one to
store the temporarily selected values, the other to stay connected
to the data in the dataBase. Edit the temporary collection, and
then when the Submit button is clicked, copy the temporary
collection over to the one linked collection. Maybe one of the more
experienced users on here has another solution? I don't know.
This is the kind of event handler I am talking about,
BTW:

Similar Messages

  • Updating the dataprovider of a datagrid with itemrenderers throws renderers

    Hello all,
    I've run into a problem that I can't seem to figure out.  I have a datagrid that is bound to an arraycollection as the data provider.  A few of my DataGridColumns have itemrenderers.  The renderers work great on the first run, but once the dataprovider is updated, my datagrid renderers fall apart.
    My renderers basically highlight cell items that fall into a particular range. Interestingly, if I have an itemrenderer attached on any dataGridColumn, I get a few repeating/identical rows and itemrenderes that are active in places that they shouldn't be once the dataprovider is updated. Has anyone run into this? How did you solve this? Thanks in advance!!
    Mike

    Another way to create itemRenderer for datagrid is to have a custom components that implements these objects
    mx.controls.listClasses.IDropInListItemRenderer,mx.controls.listClasses.IListItemRenderer, mx.core.IFactory
    For example
    <s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
    implements="mx.controls.listClasses.IDropInListItemRenderer,mx.controls.listClasses.IListItemRenderer, mx.core.IFactory">
    private var _data:Object;
    private var _listData:BaseListData;
    public function newInstance():*
         return new myItemRenderer; // name of your renderer
    public function set data(value:Object):void
         dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
    [Bindable("dataChange")]
    public function get data():Object
    public function set listData(value:BaseListData):void
    public function get listData():BaseListData
    </s:SkinnableContainer>

  • How to get the Dataprovider var of a Datagrid inside an ItemRenderer?

    Hey,
    I have two Datagrids, both of them have a bindable dataprovider. My first Datagrid has an ItemRenderer. I would like to update my dataprovider inside the ItemRenderer. Is it possible? My ItemRenderer is a Combobox. Everytime I change the Combobox I would like to update/refresh the dataprovider for my datagrid. I tried it with but it doesn´t work.(parentDocument
    as filename).dataProvider.source=sth.;
    (parentDocument as filename).dataProvider.refresh();
    Regards
    Kat

    The parent document of an itemRenderer is not always what you expect.
    You're better off using the listOwner property on listData.
    http://livedocs.adobe.com/flex/3/langref/mx/controls/ComboBox.html#listData
    http://livedocs.adobe.com/flex/3/langref/mx/controls/listClasses/BaseListData.html#owner

  • Changing the text in each dataGrid row to a different color

    Okay I am going to try and be as clear as possible with this,
    so bare with me.
    What I am trying to do is make it so that when my
    arraycollection objects that I have retrieved from a web service
    are loaded in (by using the "dataProvider" attribute) my dataGrid
    that some sort of code will take place changing the color of each
    line of text (all the objects stored in the array collection are
    string types) and display each rows text in a different color.
    Now after looking into it, it seems the only way to alter the
    color of the text is to use some sort of style or format but it
    seems it only effects text in a "textArea, textField, textInput"
    etc... SOOO I figured why not create a itemRenderer that contains
    one of those and put it into the dataGrid... Which I did and still
    can't figure out a way to make it so you can dynamically alter the
    color based on a set of rbg values stored in a array the same size
    as the rowCount of the datagrid.
    so I am rather stumpped in what to do.. I DON'T want to
    change the background color of each row, so alternatingItemColor is
    out of the question, I just want the text displayed in each row to
    be a different color.... And I want all this color changing to
    happen either before the data is inputted into the dataGrid
    (manipulating the arraycollection some how..) or when its all
    already in there, it all needs to happen in code no user
    interaction.
    I was thinking perhaps maybe I could create a item Renderer
    object that contains the compenent (the textArea in it) and just
    make a array of item Renderer objects and pass those into the
    dataGrid, but I don't think that is possible.
    ANY IDEAS AT ALL!! On how to change the color of the text in
    each row of the datagrid to a different color would be a HUGE,
    HUGE!!! help. Or any info on how to setup a datagrid listener that
    listens for when a object (a row) from the arraycollection is added
    to the datagrid... Perhaps I could use that info some how to my
    advantage.
    email me, if you like I don't care I just need a answer to
    this its driving me crazy! I can change the background row color
    based on a array of rgb values but I can't change the color of the
    item in that row based on array of rgb values, ARG!
    [email protected]
    thanx in advanced.

    <mx:itemRenderer>
    <mx:Component>
    <mx:Label color = "red" />
    </mx:Component>
    </mx:itemRenderer>
    want to make it so I can change the color of the label on the
    dynamically by calling some sort of method I have created.. is that
    possible? if so coudl you please give a example, thanx!

  • How to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.

    Hi,
    I am trying to update the Query of an existing WEBI document's dataprovider, through the RESTful Web service SDK.
    For this, first i will get the Dataprovider information,
    Example:
    URI: http://localhost:6405/biprws/raylight/v1/documents/11111/dataproviders/DP0
    Expected result;
    <dataprovider>
         <id>DP0</id>
         <name>Query 1</name>
         <dataSourceId>1234</dataSourceId>
         <updated>2014-04-18T11:55:21.000-08:00</updated>
         <duration>1</duration>
         <isPartial>false</isPartial>
         <rowCount>113</rowCount>
         <flowCount>11</flowCount>
         <dictionary>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO1</id>
                    <name>EmpID</name>
                   <description>Employee ID.</description>
                    <dataSourceObjectId>DS0.DO1</dataSourceObjectId>
              </expression>
              <expression qualification="Dimension" dataType="String">
                   <id>DP0.DO2</id>
                   <name>EmpName</name>
                   <description>Employee Name.</description>
                   <dataSourceObjectId>DS0.DO2</dataSourceObjectId>
              </expression>
         </dictionary>
         <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee</query>
    </dataprovider>
    Then Changing the above dataprovider's Query to some thing like below,
    <query>SELECT Employee.EmpID, Employee.EmpName FROM Employee where Upper(Employee.EmpName)='RAJ'</query>
    Please let me know the RESTful Call required to do this.
    Thanks in advance.
    Thanks,
    Mahendra.

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

  • How can we enter the data dynamically from datagrid to an arraycollection?

    Hi All
                        How can we make datagrid fields editable when it is in empty position i mean the datagrid doesn't have any data to display.. and it must accept the data and update the arraycollection dynamically..
                 Now in my Application the datagrid is empty and it is not accepting any values and it still remain ideal..  i am unable to edit the datagrid fields in the datagrid .....
      Please some one tell me how can i achieve this...

    Here is a very basic example.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()">
    <mx:Script>
      <![CDATA[
       import mx.collections.ArrayCollection;
       [Bindable] private var _dataProvider:ArrayCollection;
       private function onCreationComplete():void {
        _dataProvider = new ArrayCollection();
        for(var i:int = 1; i <= 100; ++i)
         _dataProvider.addItem({ROW:i,A:"",B:"",C:"",D:"",E:"",F:"",G:"",H:"",I:"",J:"",K:"",L:"", M:"",N:"",O:"",P:""});
      ]]>
    </mx:Script>
    <mx:Panel title="Editable DataGrid Example" height="472" width="584" horizontalCenter="0" verticalCenter="0">
      <mx:DataGrid id="dg" width="100%" height="100%" rowCount="5" dataProvider="{_dataProvider}" editable="true" horizontalScrollPolicy="on" sortableColumns="false" draggableColumns="false">
       <mx:columns>
        <mx:DataGridColumn dataField="ROW" headerText="" width="30" sortable="false" draggable="false" editable="false" paddingLeft="0" paddingRight="0" textAlign="right"/>
        <mx:DataGridColumn dataField="A" headerText="A" width="100"/>
        <mx:DataGridColumn dataField="B" headerText="B" width="100"/>
        <mx:DataGridColumn dataField="C" headerText="C" width="100"/>
        <mx:DataGridColumn dataField="D" headerText="D" width="100"/>
        <mx:DataGridColumn dataField="E" headerText="E" width="100"/>
        <mx:DataGridColumn dataField="F" headerText="F" width="100"/>
        <mx:DataGridColumn dataField="G" headerText="G" width="100"/>
        <mx:DataGridColumn dataField="H" headerText="H" width="100"/>
        <mx:DataGridColumn dataField="I" headerText="I" width="100"/>
        <mx:DataGridColumn dataField="J" headerText="J" width="100"/>
        <mx:DataGridColumn dataField="K" headerText="K" width="100"/>
        <mx:DataGridColumn dataField="L" headerText="L" width="100"/>
        <mx:DataGridColumn dataField="M" headerText="M" width="100"/>
        <mx:DataGridColumn dataField="N" headerText="N" width="100"/>
        <mx:DataGridColumn dataField="O" headerText="O" width="100"/>
        <mx:DataGridColumn dataField="P" headerText="P" width="100"/>
       </mx:columns>
      </mx:DataGrid>
    </mx:Panel>
    </mx:Application>
    Hope this helps

  • Refreshing a dataprovider into a datagrid

    I´m editing a datagrid and i´m trying to validate
    and update the information inside the ItemEditEnd event, but I
    don´t get see any change into the datagrid. The column
    i´m editing is the one editable, if I debug the dataprovider,
    it changes in the right way, but the datagrid shows the last value
    yet, the refresh method occurs until another object gets the focus
    and shows the cursor in it.
    The code I have written :
    private function
    grd_Detalle_ItemEditEnd(event:DataGridEvent):void
    var strContenido:String;
    if (event.reason != DataGridEventReason.CANCELLED)
    strContenido =
    TextInput(event.currentTarget.itemEditorInstance).text;
    grd_Detalle.selectedItem.Kilos_Dif =
    Number(grd_Detalle.selectedItem.Kilos_Env) - Number(strContenido);
    can someone tell me why this is happening??
    what else I have to do ???

    You are correct that this should happen automatically when
    the dataProvider is updated.
    How are you updating the item?
    Tracy

  • Textinput in all the colums of the first row of datagrid

    Hi
    i need Textinput in all the colums of the first row of
    datagrid.
    can ayone tell me the solution..
    Thx in advance.

    This will not be easy. i see two possible solutions.
    You could use a custom itemRenderer. This will require that
    you find some way to identify the dataProvider collection index
    from within the renderer, and set the renderer to editable when
    that index is 0.
    Or you could create a composite component using two
    dataGrids, one with a single row for the editable columns. There
    are examples available on combining two DGs this way.
    Again, this will be difficult, so be sure that it is
    absolutely required and consider some other UI approach if posible.
    Tracy

  • Can't use a vector as dataprovider in a datagrid

    It appears that you can't use a vector as dataprovider in a datagrid. Am I correct?

    You are correct.
    A class must have a certain functionality to be able to work as a dataprovider for the flex components. Vector is not one of them unfortunately.
    You can replace your vector with an ArrayCollection or convert it to an ArrayCollection right before setting it as the dataprovider.
    I'm not aware of another way of doing this.

  • Updating the BPM workspace view based on the number of instances in view

    Hi All,
    We are using ALBPM 6.0.5 enterprise with Weblogic 10 server. We have a requirement to update dynamically the view name in the left side panel in BPM workspace. Based on the number of instances created, the view(view name ABC) should carry something like "ABC(2)". 2 being the number of instances in the view. It's more like a mailbox client InBox. Depending on the number of mails, the Inbox changes the number highlighting new mails.
    I've tried using the Workspace API to update the cusom decorator class getRow() method to update the view CSS property. But it doesn't seem to work. All I'm able to do with the decorator class is to update the propeties of instances, but not other panels?
    Is there any API to control the panel properties in BPM workspace?
    By the way, I'm using the standard workspace without any changes.
    Any pointer will be much appreciated.
    Cheers.

    Yes, I'm hoping to fill in DataGridA with all records from dc where dc["ENTITY_ID"] = dr["ENTITY_ID"] 
    I tried your statement and received the following errors:
    Error 1
    The left-hand side of an assignment must be a variable, property or indexer
    C:\ISMG_7210\MedicalSequenceDataAnalysisProject\OTCS_Algorithm\OTCS_Algorithm\Form1.cs
    87 71
    OTCS_Algorithm
    Error 2
    Cannot implicitly convert type 'object' to 'int'. An explicit conversion exists (are you missing a cast?)
    C:\ISMG_7210\MedicalSequenceDataAnalysisProject\OTCS_Algorithm\OTCS_Algorithm\Form1.cs
    87 99
    OTCS_Algorithm
    Thank you for your help.
    Joel Fredrickson
    Yes, please follow example provided by Kristin, the error is because of missing comparison operator ==, and that the dr["ENTITY_ID"] is of type object that needs to be converted to int. I've updated my code, if you have Entity_ID in your DB as
    double use Convert.ToDouble instead.
    Fouad Roumieh

  • Changing dataProvider of custom dataGrid to XCelsius Cells

    Hi everybody,
    I have quite a simple question, however, I do not really get a solution for that on my own.
    Actually, all I want to do is extend a usual Datagrid to display my data from XCelsius using the standard propertysheet. The way I tried to do this was to make the dataProvider inspectable.
    My actionscript file:
    package myPackage
         import mx.controls.DataGrid;
         [CxInspectableList("dataProvider")]
         public class MyDG extends DataGrid
              public function MyDG()
                   super();
              [Inspectable(defaultValue="undefined", type="Array2D")]
            [ArrayElementType("Number")]
              override public function get dataProvider():Object
                   return super.dataProvider;
              override public function set dataProvider(value:Object):void
                   super.dataProvider(value);
    When I pack this into an .xlx, I can view it and preview it as long as I do not try to change the dataProvider. When changing it, the preview window stops to load at some point.
    Thanks for your help in advance!

    Hi Sreelekha,
    This is how Flex creates 2d arrays so Xcelsius does the same when it passes a 2d array.
    var cells:Array =
       /* row 1 */   [ column 1, column 2, column 3],
       /* row 2 */   [ column 1, column 2, column 3],
       /* row 3 */   [ column 1, column 2, column 3]
    So in your case:
    var cells:Array =
        [P1, C1],
        [P2, C2]
    So cells.length tells you how many rows are in the 2d array.
    And cells[0].length tells you how many columns are in the first row of the array (assuming there is at least one row).
    So as in Flex if you want to process a Flex 2d array you do something like this:
    for (var i:int = 0; i < cells.length; i++)
        var row:Array = cells<i> as Array;
        for (var j:int = 0; j < row.length; j++)
           var rowColCell:* = row[j];
           // rowColCell has the value for this row/column cell.
    Regards
    Matt

  • Trouble updating the database

    Hi,
    I using java studio creator 2 update 1. I have two pages. The first page contains a table with hyperlinks in serial_no column. When the user clicks on a hyperlink(serial_no) it redirects to another page which displays the details of the product that can be edited as drop down lists and text areas. I am not able to update the database with the edited values. I have been struggling with this since a week. Please help me. The code in the second page is as follows
    public void prerender() {
    serialNo = (String)getExternalContext().getRequestParameterMap().get("SerialNo");
    try
    getSessionBean1().getTblSampleRowSet4().setCommand("select Username, Problem_Type, Priority , Enhancement, Time, Source_req, Assigned_To,substring_index(Comment,'<END>',-1) as 'userComment', Solution, serial_no from tblSample where serial_no = " + serialNo);
    stUserName.setText(getSessionBean1().getTblSampleRowSet4().getString("Username"));
    ddlProblemType.setSelected(getSessionBean1().getTblSampleRowSet4().getString("Problem_Type"));
    String priority = getSessionBean1().getTblSampeRowSet4().getString("Priority");
    outputText1.setValue(priority);
    ddlPriority.setSelected(getSessionBean1().getTblSampleRowSet4().getString("Priority"));
    // ddlp.setSelected(getSessionBean1().getTblSampleRowSet4().getString("Priority"));
    ddlEnhancement.setSelected(getSessionBean1().getTblSampleRowSet4().getString("Enhancement"));
    ddlTime.setSelected(getSessionBean1().getTblSampleRowSet4().getString("Time"));
    ddlSourceReq.setSelected(getSessionBean1().getTblSampleRowSet4().getString("Source_req"));
    ddlAssignedTo.setSelected(getSessionBean1().getTblSampleRowSet4().getString("Assigned_To"));
    taSolution.setText(getSessionBean1().getTblSampleRowSet4().getString("Solution"));
    taUserComment.setText(getSessionBean1().getTblSampleRowSet4().getString("userComment"));
    catch(Exception e)
    * <p>Callback method that is called after rendering is completed for
    * this request, if <code>init()</code> was called (regardless of whether
    * or not this was the page that was actually rendered). Customize this
    * method to release resources acquired in the <code>init()</code>,
    * <code>preprocess()</code>, or <code>prerender()</code> methods (or
    * acquired during execution of an event handler).</p>
    public void destroy() {
    tblSampleDataProvider4.close();
    // tblSampleDataProvider.close();
    public String btnSave_action() {
    // TODO: Process the button click action. Return value is a navigation
    // case name where null will return to the same page.
    try {
    tblSampleDataProvider4.setValue("tblSample.Problem_Type", ddlProblemType.getSelected());
    tblSampleDataProvider4.setValue("tblSample.Priority", ddlPriority.getSelected());
    tblSampleDataProvider4.setValue("tblSample.Enhancement", ddlEnhancement.getSelected());
    tblSampleDataProvider4.setValue("tblSample.Time", ddlTime.getSelected());
    tblSampleDataProvider4.setValue("tblSample.Source_req", ddlSourceReq.getSelected());
    tblSampleDataProvider4.setValue("tblSample.Assigned_To",ddlAssignedTo.getSelected());
    tblSampleDataProvider4.setValue("tblSample.Comment",taUserComment.getText());
    tblSampleDataProvider4.setValue("tblSample.Solution", taSolution.getText());
    tblSampleDataProvider4.commitChanges();
    tblSampleDataProvider4.refresh();
    } catch (Exception ex) {
    outputText1.setValue("error");
    return null;
    If i use
    getSessionBean1().getTblSampleRowSet4().execute(); after setting the command, it doesnt work. But if i comment it out, data corresponding to the serial no passes gets displayed. But I am not able to update the table with edited data.
    S

    Just a quick comment--
    You won't need rowset.getString(..) and dataprovider.setValue(...) if you bind the components and it could make it much simpler.
    There's a step by step tutorial on how to achieve this:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/inserts_updates_deletes.html
    If you can zip up the Project and email to me at CreatorFeedback AT sun DOT com, i can take a quick look at it. I would need your schema/SQL script as well.
    HTH,
    Sakthi

  • How to update the ItemRenderer at runtime..?

    Hi....
    am facing a hectic problem with ITemRenderes..
    My requirement is like i need to insert a Label and Image in
    each item of Horizontal List.
    For this i created a ArrayCollection with Lable and
    ImagePath. And assigning array as a Dataprovider to HorizontalList.
    and am attaching itemrenderer to it (which hold the lable and
    image).
    code:
    var data:ArrayCollection=new ArrayCollection({label:'A',
    path:'a.jpg'}, {label:'B', path:'b.jpg'}{label:'C', path:'c.jpg'});
    var hList:HorizontalList=new HorizontalList();
    hList.dataProvider=data;
    hList.itemRenderer=new ClassFactory(rendererObj);
    rendererObj holds the Lable Component and Image Componnet..
    Now the porblem is am trying to change the horizontal list at
    runtime. Like i want to change the lable of selected item in
    Horizontal list. Am able to update the arraycollection values. But
    its not getting effected in ItemRenderer.
    How to update the itemerenderer at runtime...?
    Thanks in Advance...
    Pratap

    Hi Pratap,
    I was playing with some sample code for this...
    Here is the main.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.utils.ArrayUtil;
    import mx.collections.ArrayCollection;
    import mx.collections.IViewCursor;
    import mx.controls.Alert;
    import mx.events.*;
    import mx.controls.dataGridClasses.DataGridListData;
    import mx.controls.listClasses.BaseListData;
    import mx.controls.HorizontalList;
    import mx.controls.dataGridClasses.DataGridColumn;
    import mx.containers.TitleWindow;
    [Bindable] private var myItemRenderer:ClassFactory;
    private function doit()
    myItemRenderer = new ClassFactory(rendererObj);
    var mydata:ArrayCollection=new
    ArrayCollection([{mylabel:'A', path:'a.jpg'}, {mylabel:'B',
    path:'b.jpg'},{mylabel:'C', path:'c.jpg'}]);
    var myList:HorizontalList = new HorizontalList();
    myList.dataProvider = mydata;
    this.addChild(myList);
    myList.itemRenderer=myItemRenderer;
    ]]>
    </mx:Script>
    <mx:Button x="204" y="191" label="Button"
    click="doit()"/>
    </mx:Application>
    Here is the rendererObj.mxml (component/itemrenderer)
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="110" height="76"
    implements="mx.core.IFactory,mx.controls.listClasses.IDropInListItemRenderer"
    backgroundColor="#BAB3B3" borderStyle="solid" borderThickness="3"
    borderColor="#000000">
    <mx:Script>
    <![CDATA[
    import mx.collections.IViewCursor;
    import mx.controls.listClasses.BaseListData;
    import mx.controls.Label;
    private var _listData:BaseListData;
    public function newInstance():*
    return new rendererObj();
    public function get listData() : BaseListData
    return _listData;
    public function set listData( value:BaseListData ) : void
    _listData = value;
    override public function set data(value:Object):void {
    if (value != null)
    var r:Label = new Label();
    r.text = value.mylabel;
    this.addChild(r);
    ]]>
    </mx:Script>
    </mx:VBox>
    See how that works..you press the button and the itemrenderer
    gets drawn into the horiz. list with the values from the
    arraycollection.
    I didnt implement the picture, but you get the idea on how to
    get
    the values into the hlist..
    hope this helps...

  • I am trying to open CR2 files from a Cannon EOS 1DX camera in Photoshop CS6 and I have already updated the Camera Raw Plug in but Photoshop is still giving me the cannot open files dialog box? Help?

    I am trying to open CR2 files from a Cannon EOS 1DX camera in Photoshop CS6 and I have already updated the Camera Raw Plug in but Photoshop is still giving me the cannot open files dialog box? Help?

    Canon 1DX support was added to ACR in version 6.7, 7.1.  An updated CS6 should be at level ACR 8.6.  If your ACR is not at level 8.6 try using CS6 menu Help>Updates.  If that does not install ACR 8.6 try downloading the ACR and DNG 8.6 converter and see if ACR 8.6 will install into your CS6.
    Adobe - Adobe Camera Raw and DNG Converter : For Windows
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh

  • Error while updating the content in workflow

    Hi,
    I'm getting an error while updating the content in workflow thru the checkout option. i.e. contributor checks in the content - reviewer rejects the content - then contributor checks out and modifies the content as per the reviewer's remarks and while checking in the following error occurs
    Content Server Request Failed
    Unable to check in content item 'HO000128' for workflow. Unable to execute service method 'checkInUpdateRevByID'. (System Error: Runtime error: java.lang.NullPointerException
    at intradoc.server.DocServiceHandler.checkInRevByID(DocServiceHandler.java:248)
    at intradoc.server.DocServiceHandler.checkInUpdateRevByID(DocServiceHandler.java:240)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
    at intradoc.server.Service.executeServiceEx(Service.java:3492)
    at intradoc.server.Service.executeService(Service.java:3476)
    at intradoc.server.DocServiceHandler.determineWorkflowCheckin(DocServiceHandler.java:3833)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1071)
    at intradoc.server.Service.executeSubServiceCode(Service.java:3497)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:942)
    at intradoc.server.Service.executeServiceEx(Service.java:3492)
    at intradoc.server.Service.executeService(Service.java:3476)
    at intradoc.server.Service.doSubService(Service.java:3465)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:279)
    at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:264)
    at intradoc.server.Service.doCodeEx(Service.java:507)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1121)
    at intradoc.server.Service.executeActions(Service.java:433)
    at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:635)
    at intradoc.server.Service.doRequest(Service.java:1707)
    at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
    at intradoc.server.IdcServerThread.run(IdcServerThread.java:197))
    Please help to resolve.
    Thanks in advance
    Prasad

    I also get error while updating the content in workflow thru the checkout option as reviewer. i.e. contributor checks in the content - then reviewer either updates the metadata or checks out and modifies the content and while checking in the following error occurs
    Content Server Request Failed
    Unable to update the content item information for 'HO000128'.
    The content ID must be specified.
    Please help to resolve.
    Thanks in advance
    Prasad

Maybe you are looking for

  • IWeb and galleries - Why cant I make a gallery-page??

    Hello! I'm new to Mac (Just bought an MacBook) as well as iWeb. I have pictures from 6 different holidays which I would like to post on the iWeb-site I'm creating at the moment. Is the only solution to make 6 gallery pages right along side the main p

  • Need help deleting an image field/pictures in worksheet

    I am in need of help!!! Added photos in an important .pdf document (a worksheet form that was pre-made) and I added image fields (Top box photo and small bottom box for text). I need to delete some image fields now and it won't let me. I upgraded my

  • Logic is now confused

    After updating to 10.5.3 from 10.4.11 . Logic is running badly. I can work on a song for 20 mins until the spl disappears and the cursor looks strange and no longer navigates the program . Logic was also crashing when trying to open preferences. or s

  • Master Data creation for consignee....

    Hi, Suppose my ordering party is ABC-Delhi and he want to dispatch the material to Mumbai location (say ABC-Mumbai ) at its project site. We have the consignment address, say CONSTRUCTION MANAGER ABC-MUMBAI XYZ STEEL PLANT, THANE, MUMBAI In such case

  • How to create ligin page in Jdev 10g

    Hi I am using Jdev 10g I have to create a simple login page to my application. I created fusion web application. based on table data(username, password) i need to give authentication to application. I have employee table with level (developer,TL,Mang