blob: a6e8414df9e6e4e537cfaee9a932b0ef09e30464 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" xmlns="*"
layout="absolute" width="100%"
title="Log On" height="100%" >
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
private function processLogon():void {
PopUpManager.removePopUp(this);
}
]]>
</mx:Script>
<!-- TODO: in popup window tab order doesn't work, default button doesn't work -->
<mx:Form top="25" bottom="75" left="25" right="25"
defaultButton="{buttonLogon}" focusEnabled="true">
<mx:FormItem label="User Name" width="100%" required="true">
<mx:TextInput id="inputUsername" width="100%" editable="true" />
</mx:FormItem>
<mx:FormItem label="Password" width="100%" required="true">
<mx:TextInput id="inputPassword" displayAsPassword="true" width="100%"
editable="true"/>
</mx:FormItem>
</mx:Form>
<mx:HBox bottom="25" left="25" right="25">
<mx:Button id="buttonLogon" click="processLogon()" label="Log on" width="90"/>
<mx:Button id="buttonCancel" label="Cancel" width="90"/>
</mx:HBox>
</mx:TitleWindow>