| Issue 37: | on Flex UI load, do not set a DSN | |
| 1 person starred this issue and may be notified of changes. | Back to list |
When the Flex UI loads up, a DSN is auto chosen. Be nice to have this off so we don't have to wait for the service to populate the tables dataProvider. |
|
,
May 08, 2007
+1 |
|
,
Jun 06, 2007
fyi, to do this I simply changed the result handler in the GetDatasourcesCommand() to
the below. I then added
prompt="Select a DSN."
to the combobox in DsnSelectPanel.mxml. One way to do this at least.
public function result( rpcEvent : Object ) : void {
model.datasources.source = rpcEvent.result as Array;
CursorManager.removeBusyCursor();
if (model.datasources.length == 0) {
Alert.show("No supported datasources were found");
}
}
Brian, nice tool,been getting my team to use it here. I REALLY wish the
FlexBuilder/CF team would rewrite the Eclipse Wizard CF-plugins to be XSL based like
this. Really is a great way to customize easily for your own personal preference.
DK
|
|
|
|