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
Location:
ComponentRegistry/trunk/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/importer
Files:
1 copied
1 moved

Legend:

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

    r117 r206  
    44                   width="100%"
    55                   height="100%"
    6                    label="Register...">
     6                   label="Import...">
    77
    88        <mx:Script>
     
    1010                        import clarin.cmdi.componentregistry.common.ItemDescription;
    1111
    12                         private static const BTN_PROFILE_LABEL:String = "Select profile xml..";
    13                         private static const BTN_COMPONENT_LABEL:String = "Select component xml..";
     12                        private static const BTN_PROFILE_LABEL:String = "Select profile xml...";
     13                        private static const BTN_COMPONENT_LABEL:String = "Select component xml...";
    1414
    1515                        [Bindable]
     
    2121                                var item:ItemDescription = new ItemDescription();
    2222                                item.description = description.text;
    23                                 item.creatorName = creatorName.text;
    2423                                item.name = nameInput.text;
    2524                                item.isProfile = isProfile;
     
    5251                <mx:Form>
    5352                        <mx:HBox>
    54                                 <mx:FormHeading label="Register"/>
    55                                 <mx:RadioButton groupName="registerType"
     53                                <mx:FormHeading label="Import"/>
     54                                <mx:RadioButton groupName="importType"
    5655                                                                id="profileType"
    5756                                                                label="Profile"
    5857                                                                click="setIsProfile(true)"
    5958                                                                selected="true"/>
    60                                 <mx:RadioButton groupName="registerType"
     59                                <mx:RadioButton groupName="importType"
    6160                                                                id="componentType"
    6261                                                                label="Component"
     
    7877                        </mx:FormItem>
    7978                        <mx:FormItem label="Creator Name">
    80                                 <mx:TextInput id="creatorName"/>
     79                                <mx:Text id="creatorName" text="loginName"/>
    8180                        </mx:FormItem>
    8281                        <mx:FormItem label="Group Name"
Note: See TracChangeset for help on using the changeset viewer.