My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
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
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by douglasknudsen, May 03, 2007
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.


Comment 1 by iisitedesign, May 08, 2007
+1
Comment 2 by douglasknudsen, 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
Sign in to add a comment

Hosted by Google Code