How To Update Custom ItemRenderer (Image) on DataGrid Edit

I have an DataGrid with 2 columns, column 1 called "Name" and column 2 called "Actions".
The "Name" column contains editable text and the "Actions" column uses a (inline) custom ItemRenderer which displays 2 icon images ( for Edit and Delete). All works fine. Clicking Edit or Delete calls the corrosponding outerDocument method.
The feature I am trying to add is as follows: when someone double-clicks on the text in the Name column to edit it, I would like the edit icon in the Actions column to ( grow/shrink, change color  - or some such indication/reminder to click it ). Not seeing how to do this with the inline ItemRenderer, I created a custom item renderer class and, in that class, use mx:Resize to perform the "grow/shrink". I created a method called "pulse()" and, from within that renderer, all works well. ( for testing, I wired the icons click event to the pulse() method ). However, now I am not sure how to call that ItemRenderers "pulse()" method to perform the effect from the main DataGrid (when the user double-clicks on Name field to edit).
The tried using the DataGrid's "itemEditBegin", which fires correctly, but from that point I am not sure how to access the selected rows edit icon in the "Action" column. ( to call its pulse() ) method.
So any suggestions how I can achieve my end result? Being able to manipulate the edit icon in the "Actions" column, when the user double-clicks (edits) that row's "Name" column?
If I'm going about it all wrong, feel free to offer alternative solutions.
Any help would be appreciated.
Thanks,
~e

Hi,
  Check the  BAPI_MATERIAL_SAVEDATA ,in the BAPI  is there a table parameter EXTENSIONIN ?
which you can use to pass the values for user defined fields to the BAPI..
Regards
Kiran Sure

Similar Messages

  • How to update WinPE Boot image

    Currently using WinPE 3.0 Version A10.
    As face some new model laptop fail to run WinPE.
    After i update WinPE3.0 Version A12.
    How to update the boot image?
    Please help.
    Whelen

    Are you using MDT or just WinPE alone?
    If you are using MDT, you can add the driver into the "Out of Box" driver category, and then perform an update of the Deployment Share.
    Keith Garner - keithga.wordpress.com

  • 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...

  • IS-RETAIL: How to update custom enhancement field using BAPI?

    Hi gurus,
    Like ECC BAPI: BAPI_MATERIAL_SAVEDATA,
    This BAPI(BAPI_MATERIAL_MAINTAINDATA_RT) is specific for IS-RETAIL to create and update material master data.
    But now If I append one custom field "ZFIELD" to end of table MARA, my question is how to update this custom enhancement field(ZFIELD) using BAPI(BAPI_MATERIAL_MAINTAINDATA_RT)
    Thanks in advance!

    Hi DongHai,
    I suggest you create your own BAPI. Just copy the codes in BAPI_MATERIAL_MAINTAINDATA_RT and add your custom fields. If you want to append the data of the custom field in table MARA, first, you have to create a structure table then goto SE11, type MARA and display. Click the APPEND STRUCTURE then choose the structure that you've created. Hope this will help.
    Rewards if useful
    Regards,
    Mark

  • How should a custom cursor image be constructed?

    This relates to Java 1.7_u11 and JFX 2.2.4 on Windows 7 64 bit.
    When I set a Node's cursor to Cursor.CROSSHAIR, the crosshair is displayed with complementary colour to its screen background (e.g. black on white, blue on yellow, etc.) However when I construct my own custom crosshair image, 32 pixels square, with transparent-white background pixels and opaque-black crosshair pixels, and create an ImageCursor from it to use as the cursor, it works fine, but always displays as black, irrespective of the background that it's being displayed over. I've tried various ways of creating the image.
    So my question is, is there something special about the built-in Cursor images, and how should we emulate it for an ImageCursor? More generally, how does the 'blend mode' for cursor images work?
    (Apologies if I'm displaying dismaying ignorance here.)

    Hrm, I tried Crosshair on my Linux computer with different background fills in Scene and didn't notice any change in color. It was always a cross with white fill and black outline. I wonder if the appearance of certain cursors are OS specific.
    Anyways, I don't see anything in the documentation to set that. If you want a more customizable cursor, submit an RFE to http://javafx-jira.kenai.com/

  • Setting a DataProvider to a custom itemRenderer in a DataGrid

    Hi,
    I've got a DataGrid, with one column using a custom AS itemRenderer to display a ComboBox.  Everything works, but there are various "wierd" behaviors occuring (when I remove a row, the ComboBox of the next row in line resets to it's label, but none of the others do...  When I add a row, various apparently random comboboxes change their selectedItem, etc...)
    Anyways, I had some luck isolating each of these individual bugs and squashing them, but each time I do, others seem to pop up.  I suspect the main issue is the way I'm setting the ComboBox's dataProvider.  The dataProvider is dynamic - an XML file generated from a MySQL table using PHP.  Knowing no other way to do so, I'm overriding the set data method and explicitly setting it there, like so:
    override public function set data(value:Object):void{
      super.data = value;
      dataProvider = value.uom;  // value.uom is the XML
    Is there a better way to set the data provider - an approach where I can set it once and therefor avoid the override entirely?  Again, the itemRenderer is an ActionScript class, and not implemented with XML...
    <mx:DataGridColumn itemRenderer="renderers.UOMBox" dataField="uom" headerText="UOM" />
    and...
    package renderers{
      public class UOMBox extends ComboBox{
        ... etc ...
    Thanks in advance.

    How does this code work for you:
    override public function set data(value:Object):void{
      if(value != null)  {
        super.data = value;
        dataProvider = value.uom;  // value.uom is the XML
      super.invalidateDisplayList();
    The missing invalidateDisplayList in your code might be what will help with your problems.
    Chris

  • Flex datagrid custom itemRenderer - making column NOT EDITABLE

    Hi all,
    I am new to flex and having been trying to build custom editors and renderers for datagrid. I ran into this problem trying to fix another one (http://forums.adobe.com/post!reply.jspa?message=3569216)
    The problem is :
    I have a custom editor and a renderer for a text column. The whole grid is editable (i.e; editable=true). But clicking on the cell does not show me the editor. However, if I change the renderer to mx.controls.label, clicking on it takes me to my custom editor.
    Can anyone please tell what I am doing wrong?? I am pasting the relevant code for more details.
    DATAGRID : Replacing  itemRenderer = "renderers.TextRenderer" with itemRenderer = "mx.controls.Label" makes the column editable
    <mx:DataGrid id="dg" editable="true" rowHeight="100" width="861" x="10" y="10" height="498" dataProvider="{this.slideArray}">
         <mx:columns>
                           <mx:DataGridColumn headerText="Text" width="100"
                                                           resizable="true" sortable="false"
                                                           itemRenderer = "renderers.TextRenderer"
                                                           itemEditor="editors.TextEditor"
                                                          dataField="text" editorDataField="myData"/>
                </mx:columns>
    </mx:DataGrid>
    TEXT EDITOR
    <?xml version="1.0" encoding="utf-8"?>
    <s:MXDataGridItemRenderer  xmlns:fx="http://ns.adobe.com/mxml/2009"
                                               xmlns:s="library://ns.adobe.com/flex/spark"
                                               xmlns:mx="library://ns.adobe.com/flex/mx"
                                               focusEnabled="true"
                                              initialize="initEditor()">
    <mx:TextInput id="edit" width="{this.width}" height="{this.height}"/>
    <fx:Script>
    <![CDATA[
              import domain.Slide;  // contains just one property :::: public var text : String
              override public function set data(value:Object):void{
                        super.data = value;
                        this.edit.text = (value as Slide).text;
              public var myData : String; // editor data field
              import mx.binding.utils.BindingUtils;
              private function initEditor():void{
                        BindingUtils.bindProperty(this,"myData", this.edit, "text");
    ]]>
    </fx:Script>
    </s:MXDataGridItemRenderer>
    TEXT RENDERER
    <?xml version="1.0" encoding="utf-8"?>
    <s:MXDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                                              xmlns:s="library://ns.adobe.com/flex/spark"
                                             xmlns:mx="library://ns.adobe.com/flex/mx"
                                             focusEnabled="true">
         <s:Label id="txt"  horizontalCenter="0" verticalCenter="0"/>
         <fx:Script>
              <![CDATA[
                             import domain.Slide;
                             override public function set data(value:Object):void{
                                            super.data = text;
                                            this.txt.text = (value as Slide).text;
              ]]>
         </fx:Script>
    </s:MXDataGridItemRenderer>
    Tricks I have tried and failed :
    1. added the following code to the renderer
       override public function get data():Object{
                                       return super.data;
    2. remove/change focusEnabled
    3. wrote the same renderer in Actionscript - making it extend MXDataGridItemRenderer. I had to add the label component txt using addElement. Clicking on this does show th editor but it doesnt show the label txt at all... i.e; I dont get any text displayed.
    I am using Flex 4.0 sdk.

    It worked!!!!!!! Thank you!! What you mentioned was indeed the problem!
    Here is the custom item renderer's set data function
    Before
    Now
    override public function set data(value : Object):void{
                      super.data = text;
                      this.txt.text = (value as Slide).text ; //txt is the Label control
    override public function set data(value : Object):void{
                      super.data = value;
                      this.txt.text = (value as Slide).text ; //txt is the Label control
    oh man, this is such a stupid mistake. I think I was confused with having three text properties - one inherited from MXDataGridItemRenderer, one in my txt Label control and one on my slide.
    I had no idea that sending the value up to the super class was so important. None of the docs I read seemed to give much importance to this statement.
    thanks so much and sorry for taking up so much of your time. I guess it is uncessary to post any more code.

  • How to bind an itemRenderer to a datagrid

    I have a datagrid that uses an itemRenderer. The itemRenderer contains a checkbox. I want the selected checkbox in the datagrid to stay in the correct row when the datagrid is sorted, but when I sort a column the checkbox moves to the wrong row. How do I bind the checkBox to the datagrid? I tried playing around with the following 2 lines of code in the itemRenderer, but without success:
    //super.data = value;
    //dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
    Thanks for looking.
    Here is my main file:
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                [Bindable]               
                private var initDG:ArrayCollection = new ArrayCollection([
                    {Artist:'aaa', Album:'1', Price:3},
                    {Artist:'ccc', Album:'2', Price:2},
                    {Artist:'bbb', Album:'3', Price:1},
                    {Artist:'ddd', Album:'2', Price:4}
            ]]>
        </mx:Script>
        <mx:DataGrid id="myGrid" dataProvider="{initDG}"       > 
            <mx:columns>
                <mx:DataGridColumn dataField="Artist"/>
                <mx:DataGridColumn dataField="Album"/>
                <mx:DataGridColumn dataField="Price"/>
                <mx:DataGridColumn itemRenderer="RendererDGImage"/>
            </mx:columns>      
        </mx:DataGrid> 
    </mx:Application>
    Here is my itemRenderer:RendererDGImage.mxml
    <?xml version="1.0"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" horizontalAlign="center">
        <mx:Script>
            <![CDATA[
                import mx.events.FlexEvent;
                private var myVal:Boolean=false;          
                public function checkSelected():void {     
                    myVal= ! myVal
                override public function set data(value:Object):void {   
                       //super.data = value;
                        if (myVal){
                            trace("true")
                          myCheckBox.selected=true;
                        } else {
                            trace("false")
                            myCheckBox.selected=false;
                    // Dispatch the dataChange event.
                    //dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
            ]]>
        </mx:Script>
          <mx:CheckBox id="myCheckBox" enabled="true"  click="checkSelected();"/>
    </mx:HBox>

    I would create an object let's say.. Album.. that has four properties.. and create instances of this object based on the length of the arrayCollection..
    and..
    [Bindable]
    public var album:Album;
    public function checkSelected():void {    
                    album.Buy = myCheckBox.selected.
    change this too..
    <mx:CheckBox id="myCheckBox" enabled="album.Buy"  click="checkSelected();"/>
    and finally..
    override public function set data(value:Object):void {  
                       album = (value as Album);
    hope this helps,
    BaBo,

  • How to update previously modified Image and prevent from reverting?

    Below is my code for updating a painComponent:- it basically zooms in on a particular image. The zooming works for the first try. But since the Image ITSELF isnt updated if i try to zoom in on the zoomed image its actually trying to zoom the original image since my g.drawImage() has the original Image (not zoomed). Is there anyway to update the Image so that it is the previously zoomed image and not the original? I searched for "zoom" throughout the boards and no one seemed to brough this "problem" up. Can someone help me out? thanks
    public void paintComponent(Graphics g) {
    g.drawImage(zoomingImage,0,0,(int)zoomFrame.getWidth(),(int)zoomFrame.getHeight(),((Point) zoomStartPoints.lastElement()).x,((Point) zoomStartPoints.lastElement()).y,((Point)zoomEndPoints.lastElement()).x,((Point) zoomEndPoints.lastElement()).y,Color.WHITE,null);}
    setOpaque( false ); // background will not be painted by super.paintComponent()
    if (startPoint != null && endPoint != null) {
    int x = Math.min(startPoint.x, endPoint.x);
    int y = Math.min(startPoint.y, endPoint.y);
    int width = Math.abs(endPoint.x - startPoint.x);
    int height = Math.abs(endPoint.y - startPoint.y);
    g.drawRect(x, y, width, height);
    if (dragged ) {
    g.drawImage(zoomingImage,0,0,(int)zoomFrame.getWidth(),(int)zoomFrame.getHeight(),((Point) zoomStartPoints.lastElement()).x,((Point) zoomStartPoints.lastElement()).y,((Point) zoomEndPoints.lastElement()).x,((Point) zoomEndPoints.lastElement()).y,Color.WHITE,null);
    dragged = false;
    super.paintComponent(g); }

    http://feeds.feedburner.com/
    http://feeds.feedburner.com/scottwimberly/JDaY is my URL to see what I have done.

  • How to update custom metadata?

    Hi,
    I have created a xml document (schema based) in the repository.
    I append with appendResourceMetadata a xml document (also schema based)
    Now I try to change an element value of the metadata with the folowing update command but the value do not change. Why? What is wrong?
    a) update resource_view set res = updateXML(res,'//CMSWorkflow/State/text()','submitted','xmlns="http://xmlns.oracle.com/xdb/CMSWorkflow"') where any_path = '/siecom/Australia/CCMIGhtml_test.xml'
    b) update resource_view set res = updateXML(res,'/r:Resource/CMSWorkflow/State/text()','submitted','xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd"') where any_path = '/siecom/Australia/CCMIGhtml_test.xml'
    c) update resource_view set res = updateXML(res,'/r:Resource/w:CMSWorkflow/w:State/text()','submitted','xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:w="http://xmlns.oracle.com/xdb/CMSWorkflow"') where any_path = '/siecom/Australia/CCMIGhtml_test.xml'
    Any help are realy welcome.
    Note: if I update with updateResourceMetadata it works, but this meen to update the full document not only one element!
    Oliver

    In general it's more efficient to directly update the table that contains the metadata...
    Eg
    set long 100000
    set echo on
    alter session Set events='19027 trace name context forever,level 4'
    select count(*)
      from IMAGE_METADATA_TABLE
    select object_value
      from IMAGE_METADATA_TABLE m, RESOURCE_VIEW r
    where m.RESID = r.RESID
       and equals_path(res,'/home/SCOTT/ImageLibrary/Norwich (3).jpg') = 1
    update IMAGE_METADATA_TABLE m
       set object_value = insertChildXML
                             object_value,
                             '/imageMetadata',
                             'Title',
                             xmltype('<Title xmlns="http://xmlns.oracle.com/demo/imageMetadata">Norwich Catherdral from Ethelbert Gate</Title>'),
                             'xmlns="http://xmlns.oracle.com/demo/imageMetadata"'
    where m.RESID = 
             select RESID
               from RESOURCE_VIEW
              where equals_path(res,'/home/SCOTT/ImageLibrary/Norwich (3).jpg') = 1
    declare
       text CLOB :=
    'In the heart of Norwich stands the Cathedral, separated from the busy streets by flint walls and entrance gates, but still a living part of the city. At least three services are held in the Cathedral every day, often sung by the choir. The choristers are pupils of King Edward VI School, which has its daily assembly in the Cathedral. Concerts, lectures and exhibitions also frequently take place here.
    The Cathedral was begun in 1096, the vision of Herbert de Losinga, first bishop of Norwich. Building work on the Cathedral, a bishop''s palace and the associated Benedictine monastery continued throughout his life, but the Cathedral was not finally consecrated until 1278. The building is mainly of Caen stone, a pale, honey-coloured limestone brought over from Normandy, but Norfolk flints form the core of the Cathedral, and stone from Northamptonshire was used for medieval additions.
    This great church has a Norman ground plan and walls, and a Perpendicular roof and spire, added after a fire caused by lightning destroyed the wooden roof and spire in 1463. The Cathedral spire is 315 ft (96m) high - second only in height to that of Salisbury.';
    begin
      update IMAGE_METADATA_TABLE m
         set object_value = insertChildXML
                               object_value,
                               '/imageMetadata',
                               'Description',
                               xmltype('<Description xmlns="http://xmlns.oracle.com/demo/imageMetadata">' || text || '</Description>'),
                               'xmlns="http://xmlns.oracle.com/demo/imageMetadata"'
    where m.RESID = 
             select RESID
               from RESOURCE_VIEW
              where equals_path(res,'/home/SCOTT/ImageLibrary/Norwich (3).jpg') = 1
    end;
    commit
    pause
    select object_value
      from IMAGE_METADATA_TABLE m, RESOURCE_VIEW r
    where m.RESID = r.RESID
       and equals_path(res,'/home/SCOTT/ImageLibrary/Norwich (3).jpg') = 1
    pause
    alter session Set events='19027 trace name context forever,level 4'
    update IMAGE_METADATA_TABLE m
       set object_value = insertChildXML
                             object_value,
                             '/imageMetadata',
                             'Title',
                             xmltype('<Title xmlns="http://xmlns.oracle.com/demo/imageMetadata">Concorde From the Concorde Lounge at British Airways Terminal 1</Title>'),
                             'xmlns="http://xmlns.oracle.com/demo/imageMetadata"'
    where m.RESID = 
             select RESID
               from RESOURCE_VIEW
              where equals_path(res,'/home/SCOTT/ImageLibrary/Concorde.jpg') = 1
    declare
      narrativeText CLOB := 'Concorde measures 204ft in length - stretching between six and ten inches in-flight due to heating of the airframe. She is painted in a specially developed white paint to accommodate these changes and to dissipate the heat generated by supersonic flight. The wingspan is 83ft 8ins - much less than conventional subsonic aircraft as Concorde flies in totally a different way using "Vortex Lift" to achieve her exceptional performance. The height is 37ft 1ins. The characteristic droop nose is lowered to improve pilots'' visibility for take-off and landing.'
    || CHR(13) || CHR (13) ||
    'Power: Concorde''s four engines - specially designed Rolls-Royce/ Snecma Olympus 593s - give more than 38,000lbs of thrust each, with ''reheat''. This adds fuel to the final stage of the engine to produce the extra power required for take-off and the transition to supersonic flight. They are the most powerful pure jet engines flying commercially.'
    || CHR(13) || CHR (13) ||
    'Speed: Concorde takes off at 220 knots (250mph) (compared with 165 knots for most subsonic aircraft). She cruises at around 1350mph - more than twice the speed of sound - and at an altitude of up to 60,000 ft (over 11 miles high). A typical London to New York crossing takes a little less than three and a half hours as opposed to about eight hours for a subsonic flight. Travelling Westwards, the five-hour time difference means Concorde effectively arrives before she has taken off. She travels "faster than the sun".'
    || CHR(13) || CHR (13) ||
    'Service: More than 2.5 million passengers have flown supersonically on British Airways'' Concorde since she entered commercial service in 1976. The most frequent passenger, an oil company executive, has clocked up almost 70 round trip transatlantic crossings a year.'
    || CHR(13) || CHR (13) ||
    'Safety Enhancements: A team of about 250 British Airways'' engineers worked tirelessly, together with the relevant authorities, to further improve safety on board. The engineers and manufacturers have worked closely together to create and install a new Kevlar-rubber lining for Concorde''s wing-based fuel tanks and the addition of specially developed Michelin tyres, as well as strengthened wiring in the undercarriage.'
    || CHR(13) || CHR (13) ||
    'History: Supersonic airline research in Europe began in 1956 and resulted in the British and French Governments signing an international treaty for the joint design, development and manufacture of a supersonic airliner six years later. The first prototype was rolled out at Toulouse in 1967 and since then, there have been a number of notable dates in the history of Concorde.'
    || CHR(13) || CHR (13) ||
    '2 March 1969: First flight of Concorde 001 from Toulouse France.'
    || CHR(13) || CHR (13) ||
    '9 April 1969 :First flight of Concorde 002 from Filton, Bristol, UK to its test centre at Fairford.'
    || CHR(13) || CHR (13) ||
    '1 October 1969: Concorde''s first supersonic flight.'
    || CHR(13) || CHR (13) ||
    '28 June 1972: British Airways (BOAC) orders five Concordes.'
    || CHR(13) || CHR (13) ||
    '20 September 1973: Concorde 002 lands at Dallas/ Fort Worth on first visit to the USA.'
    || CHR(13) || CHR (13) ||
    '17 June 1974: Concorde makes its first double Atlantic crossing in one day.'
    || CHR(13) || CHR (13) ||
    '5 December 1975: UK Civil Aviation Authority awards Concorde its Certificate of Airworthiness.'
    || CHR(13) || CHR (13) ||
    '21 January 1976: British Airways commences commercial supersonic travel from London to Bahrain.'
    || CHR(13) || CHR (13) ||
    '22 November 1977: British Airways Concorde''s first London - New York commercial flight.'
    || CHR(13) || CHR (13) ||
    '8 November 1986: First round the world flight by a British Airways Concorde - covering 28,238 miles in 29 hours 59 minutes.'
    || CHR(13) || CHR (13) ||
    '7 February 1996: Concorde G-BOAD crosses the Atlantic between New York and London in a new record flight time of 2 hours, 52 minutes and 59 seconds.'
    || CHR(13) || CHR (13) ||
    '11 August 1999: =Two British Airways Concordes fly in supersonic formation to chase the total eclipse of the sun.';
    begin
      update IMAGE_METADATA_TABLE m
         set object_value = insertChildXML
                               object_value,
                               '/imageMetadata',
                               'Description',
                               xmltype('<Description xmlns="http://xmlns.oracle.com/demo/imageMetadata">' || narrativeText || '</Description>'),
                               'xmlns="http://xmlns.oracle.com/demo/imageMetadata"'
       where m.RESID = 
               select RESID
                 from RESOURCE_VIEW
                where equals_path(res,'/home/SCOTT/ImageLibrary/Concorde.jpg') = 1
    end;
    commit
    pause
    select object_value
      from IMAGE_METADATA_TABLE i, RESOURCE_VIEW r
    where i.RESID = r.RESID
       and equals_path(res,'/home/SCOTT/ImageLibrary/Concorde.jpg') = 1
    pause
    quit

  • User - exit for STKO table (PCSD0003). How to update customer field.

    Hello,
    I made a user - exit for STKO table.
    It works like a formula field - calculate total weights of the specification components.
    But there is a problem!
    When I add new components  into my specification  or change them, my customer field is now calculated.
    I always need to click a Customer tag and explode a user subscreen. Is there any way to sort the problem out?
    I want to recalculate my customer field every time I change components?

    Hi,
    There is a specific user-exit for delivery-creation/delivery processing/change delivery status.
    the program name is MV50AFZ1. Inside this exit, there is a particular sub-routine called as
    FORM USEREXIT_MOVE_FIELD_TO_LIPS.
    endform.
    May be probably you can try this. This also needs an access key for changing the SAP standard program.
    Another way is you can use the BADI : LE_SHP_DELIVERY_PROC
    This BADI influences processing of delivery data, during creation and changing of deliveries at specific points described in the interface. The BAdI methods enable you to read, write, determine, delete, and save your own delivery-related data, and to change the standard delivery data.
    Lakshminarayanan.
    P.S. Mark all helpful answers for points

  • How do i reverse an image in iPhoto edit

    I'm trying to reverse an image in iphoto and would appreciate any help on how to do this.  Thank you.

    What are you trying to do?
    Change a negative into a positive? That can not be done in iPhoto
    Flip a photo left for right - that can not be done in iPhoto but can in preview - export the photo and import the corrected veersion
    something else?
    LN

  • Does anyone want to learn how to create 3D cartoon images/Plus advanced Editing Techniques???PM Me.

    i can show anyone how to create jaw dropping 3D cartoon images,Zombie Character/Etc.Plus a ton of other editing tips and trick.Just PM me.

    i can show anyone how to create jaw dropping 3D cartoon images,Zombie Character/Etc.Plus a ton of other editing tips and trick.Just PM me.

  • DataGrid: custom ItemRenderer changes Header renderer

    If I assign custom ItemRenderer to a DataGrid, this also affects headers, i.e. headers start looking as the fields in a grid. Not only that, but it seems that render is much worse and it really looks bad. Is this how it's supposed to be, is there a workaround to keep the headers as they should be and just change the actual renderers in the grid?

    Post a bit of your code.
    Sincerely,
    Michael
    Sent from my iPhone
    El 16/07/2009, a las 23:24, mraak <[email protected]> escribió:
    >
    If I assign custom ItemRenderer to a DataGrid, this also affects 
    headers, i.e. headers start looking as the fields in a grid. Not 
    only that, but it seems that render is much worse and it really 
    looks bad. Is this how it's supposed to be, is there a workaround to 
    keep the headers as they should be and just change the actual 
    renderers in the grid?
    >

  • Conditional Image from DataGrid Value

    Hi all,
    Using a custom itemRenderer within my DataGrid, I've been
    able to add an image. (see code below) Now my problem is this...
    How does one go about setting the source of the image based on a
    value within the corresponding data. In my case, the value of the
    attribute "status" may be either "OK" or "Unreachable", and I want
    to control the source of the image based on which one is set. How
    would one do such a thing?
    <mx:DataGridColumn headerText="" dataField="status"
    width="30" resizable="false">
    <mx:itemRenderer >
    <mx:Component>
    <mx:HBox>
    <mx:Spacer/>
    <mx:Image source="image/ok.png" />
    <mx:Spacer/>
    </mx:HBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>

    You can write a custom itemRenderer in MXML that overrides
    the set data function. Your renderer would look something like
    this:
    <mx:HBox xmlns:mx="
    http://www.adobe.com/2006/mxml"
    >
    <mx:Script>
    <![CDATA[
    override public function set data(value:Object):void
    if(value != null)
    super.data = value;
    if (value.status == "OK")
    img.source = "ok,jpg";
    else
    img.source = "unreachable.png";
    ]]>
    </mx:Script>
    <mx:Spacer/>
    <mx:Image id="img" source="image/ok.png" />
    <mx:Spacer/>
    </mx:HBox>
    Then, you would just have:
    <mx:DataGridColumn headerText="" dataField="status"
    width="30" resizable="false" itemRenderer="myCustomRenderer" />
    I hope this helps.
    Joan Lafferty
    Flex SDK QA

Maybe you are looking for