- }
- String url = aparser.getValue("questionnaire");
- if (url!=null && !headless) {
- // Start the desktop questionnaire prompter
- Cache.log.debug("Starting questionnaire url at "+url);
- if (url!=null) {
- desktop.checkForQuestionnaire(url);
- }
- }
+ String url = aparser.getValue("questionnaire");
+ if (url!=null) {
+ // Start the desktop questionnaire prompter with the specified questionnaire
+ Cache.log.debug("Starting questionnaire url at "+url);
+ desktop.checkForQuestionnaire(url);
+ } else {
+ if (Cache.getProperty("NOQUESTIONNAIRES")==null) {
+ // Start the desktop questionnaire prompter with the specified questionnaire
+ // String defurl = "http://anaplog.compbio.dundee.ac.uk/cgi-bin/questionnaire.pl"; //
+ String defurl = "http://www.jalview.org/cgi-bin/questionnaire.pl";
+ Cache.log.debug("Starting questionnaire with default url: "+defurl);
+ desktop.checkForQuestionnaire(defurl);
+
+ }
+ }