Re: Switch dialog actions based on result from API call.

2013-07-26 Thread Ian Duffy
, 2013 3:12 AM > To: Jessica Wang > Cc: dev@cloudstack.apache.org; Pranav Saxena; Brian Federle > Subject: Re: Switch dialog actions based on result from API call. > > Got this going this morning. Thank you for your help. > Its a little messier than I would like but there doesn'

RE: Switch dialog actions based on result from API call.

2013-07-26 Thread Jessica Wang
CSS style in screen1.png looks good :) -Original Message- From: Ian Duffy [mailto:i...@ianduffy.ie] Sent: Friday, July 26, 2013 3:12 AM To: Jessica Wang Cc: dev@cloudstack.apache.org; Pranav Saxena; Brian Federle Subject: Re: Switch dialog actions based on result from API call. Got

Re: Switch dialog actions based on result from API call.

2013-07-26 Thread Ian Duffy
Got this going this morning. Thank you for your help. Its a little messier than I would like but there doesn't seem to be a work around. With LDAP - http://ianduffy.ie/cloudstack/screen1.png Without LDAP - http://ianduffy.ie/cloudstack/screen2.png Thanks again, Ian

RE: Switch dialog actions based on result from API call.

2013-07-25 Thread Ian Duffy
} > > action: > function(args) { > > > ~~~ > > }, > > notification: {* > *** > > > ~~~**** > >

RE: Switch dialog actions based on result from API call.

2013-07-25 Thread Jessica Wang
}, notification: { ~~~ } } } From: Pranav Saxena [mailto:psb...@gmail.com] Sent: Thursday, July 25, 2013 10:59 AM To: dev@cloudstack.apache.org; Jessica Wang; Brian Federle Subject: Re: Switch dialog actions based on result

Re: Switch dialog actions based on result from API call.

2013-07-25 Thread Pranav Saxena
Unless and until the dialog box is the same and it's just about adding/removing more fields from the dialog box , it should be pretty much possible by adding "preFilters" and then using the count returned by that API to hide/remove those fields under the preFilter sections. Basically a if/else che

RE: Switch dialog actions based on result from API call.

2013-07-25 Thread Jessica Wang
Ian, I don't think current widget code support it (that calls different dialogs for Add action depending on count number in listView). Brian, Please confirm it. Jessica -Original Message- From: Ian Duffy [mailto:i...@ianduffy.ie] Sent: Thursday, July 25, 2013 7:36 AM To: CloudStack De