Flex project example with BlazeDS and Eclipse.
There are many tutorials on Internet very simple:
- Create a Flex project with J2EE nature
- Import BlazeDS war to recreate project structure
- Configure flex remoting config files
- Create java services and register them in the config files
- Create RemoteObject components in Flex client pointing to these services
Amf3Output class included in BlazeDS libraries allow us a simple way to serialize objects from server to client in AMF3 format.
Fixed bug with checkbox checked at dropdown in component ComboCheck.
Flex ComboBox extended to implements a select by value feature:
package com.arcadiocarballares {
import mx.controls.ComboBox;
public class ComboBoxByValue extends ComboBox {
private var _selectedValue:int;
public function SelectByValueCombo() {
super();
}
public function get selectedValue():int {
return _selectedValue;
}
public function set selectedValue(value:int):void {
_selectedValue = value;
for (var i:String in dataProvider) {
if (value == dataProvider[i].value) {
selectedIndex = parseInt(i);
break;
}
}
}
}
}