My favorites
|
Sign in
glare
Glare is a Flex Remoting and Messaging server written in Smalltalk.
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
r17
r18›
Source path:
svn
/
trunk
/
GlareMethodFinder
/
src
/
GlareMethodFinder.mxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="344" height="508">
<mx:TextInput id="pattern" x="10" y="40" width="226" change="doSearch()"/>
<mx:Button id="search" x="244" y="40" label="Search" click="doSearch()"/>
<mx:List id="methods" x="10" y="70" width="299" height="403"></mx:List>
<mx:Label x="48" y="10" text="Glare Method Finder" fontSize="18"/>
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
import mx.rpc.remoting.mxml.RemoteObject;
private function doSearch():void {
if (pattern.text.length == 0) return
var service:RemoteObject = new RemoteObject("MethodFinderService")
service.addEventListener(ResultEvent.RESULT, handleSearchResult)
service.getSelectorsMatching(pattern.text+'*')
}
private function handleSearchResult(event:ResultEvent):void {
methods.dataProvider = event.result as Array
}
]]>
</mx:Script>
</mx:WindowedApplication>
Show details
Hide details
Change log
r17
by ernest.micklei on May 26, 2009
Diff
initial example code "getting started with glare-dataservices"
Go to:
...odFinder/.actionScriptProperties
...lareMethodFinder/.flexProperties
/trunk/GlareMethodFinder/.project
/trunk/GlareMethodFinder/.settings
...org.eclipse.core.resources.prefs
/trunk/GlareMethodFinder/libs
/trunk/GlareMethodFinder/src
...er/src/GlareMethodFinder-app.xml
...inder/src/GlareMethodFinder.mxml
...odFinder/src/remoting-config.xml
...odFinder/src/services-config.xml
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 995 bytes, 24 lines
View raw file
Hosted by