Switch to side-by-side view

--- a/tool/src/GUI/StudioUI4.java
+++ b/tool/src/GUI/StudioUI4.java
@@ -709,8 +709,8 @@
      */
     private void processLinkClicked(WebRequest request, String text) {
         // we always process strings in lower case to ease identification
-        String URL = text.toLowerCase();
-        System.err.println("SU2006- clicked on link " + URL);
+        String URL = text;//.toLowerCase();
+        log.write(is.INFO, "SU2006- clicked on link %1", URL);
         
         // this is an internal link that needs to be followed
         if(URL.startsWith("/")){
@@ -789,6 +789,25 @@
             //return;
         }
         
+        
+        
+            // handle the case:
+            // create?x=folder
+            int sep = URL.indexOf("?");
+            
+            // get parameters found after the "?" mark
+            String parameters = URL.substring(sep + 1);
+            
+            // the script can't have the full path defined, just a relative path
+            String temp = baseFilePresent.getAbsolutePath();
+            String script = temp.replace(core.getPluginsFolder().getAbsolutePath(), "") 
+                    //+ "/" + URL.substring(0, sep)
+                    ;
+//            request.
+                
+            // execute the link request
+            processFormSubmit2(request, script, parameters);
+        
     }
 
     /**
@@ -842,6 +861,13 @@
         ArrayList<String[]> parameters = html.cleanParameters(data);
         for(String[] parameter : parameters){
             request.parameters.add(parameter);
+        }
+        
+        
+        // error checking
+        if(e.getURL() == null){
+            log.write(is.ERROR, "SU9R4 - getURL is invalid");
+            return;
         }
         
         String targetScript = e.getURL().getPath();