Ignore:
Timestamp:
03/03/10 12:01:16 (14 years ago)
Author:
patdui
Message:
  • added as3httpclient for doing http DELETE commands etc...
  • implemented editor
  • Using Basic Header security to authorize POST and DELETEs
  • renamed Register to Importer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/xmlBrowsePanel.mxml

    r161 r206  
    22<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
    33                 xmlns:comp="clarin.cmdi.componentregistry.common.components.*" >
    4 
    5 <mx:Script>
    6     <![CDATA[
    7         // seting focus manually when a user clicks, this is the best I can do at the moment.
    8             //A form handles focus differently then for instance a list or a TextArea so scrolling using keys is a bit inconsistent among the different view at the moment.
    9                 private function setFocusOnClick(event:MouseEvent):void {
    10             setFocus();
    11                 }
    12     ]]>
    13 </mx:Script>
     4        <mx:Script>
     5            <![CDATA[
     6                import clarin.cmdi.componentregistry.editor.model.CMDModelFactory;
     7            ]]>
     8        </mx:Script>
    149
    1510        <mx:XML id="cmdComponent"/>
    1611        <comp:CMDComponentXMLBrowser id="xmlBrowse"
    17                                                                  xml="{cmdComponent}"
     12                                                                 cmdSpec="{CMDModelFactory.createModel(cmdComponent)}"
    1813                                                                 width="100%"
    1914                                                                 height="100%"
    20                                                                  click="setFocusOnClick(event);"
    2115                                                                 />
    2216</mx:Canvas>
Note: See TracChangeset for help on using the changeset viewer.