main.mxml

来自「java 和flex的整合,主要是spring和flex的整合,不可多得啊」· MXML 代码 · 共 14 行

MXML
14
字号
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

	<!-- "productService" is defined in Spring's configuration file WEB-INF/config/web-application-config.xml
	and provides remote access to the org.springframework.flex.samples.product.ProductDAO class --> 
	<mx:RemoteObject id="ro" destination="productService"/>

	<mx:DataGrid dataProvider="{ro.findAll.lastResult}" width="100%" height="100%"/>

	<!-- the findAll() method is defined in org.springframework.flex.samples.product.ProductDAO -->
	<mx:Button label="Get Data" click="ro.findAll()"/>
	
</mx:Application>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?