TODO : set temporary rider in AppModelLocator when RiderList item is clicked
This commit is contained in:
@@ -13,7 +13,6 @@ class AppController extends FrontController {
|
||||
public static final CLOSE_DRAWER_EVENT = "closeDrawerEvent";
|
||||
public static final RIDER_SELECT_EVENT = "riderSelect";
|
||||
|
||||
|
||||
public function new() {
|
||||
super();
|
||||
addCommand(AppController.LOAD_RIDERS_EVENT, LoadRidersCommand);
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
package control;
|
||||
|
||||
import com.adobe.cairngorm.control.CairngormEvent;
|
||||
import vo.RiderVO;
|
||||
|
||||
class RiderSelecEvent extends CairngormEvent {
|
||||
public var selectedItem:RiderVO;
|
||||
|
||||
public function new(selectedItem:RiderVO) {
|
||||
super(AppController.RIDER_SELECT_EVENT);
|
||||
this.selectedItem = selectedItem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user