AnsweredAssumed Answered

add an aspect for a space

Question asked by user_alfresco on Aug 28, 2007
Latest reply on Aug 28, 2007 by mikeh
hello;

i don't speak very match english.

i want to modify the webscript My Space List exactly the javascript myspace.js   wich situated in C:\alfresco\tomcat\webapps\alfresco\scripts\ajax


i want that the space will created with the default aspect ?is it possible?
i think that i must modify this area :


YAHOO.util.Connect.asyncRequest(
            "POST",
            getContextPath() + '/ajax/invoke/MySpacesBean.createSpace',
            {
               success: function(response)
               {
                  if (response.responseText.indexOf("OK:") == 0)
                  {
                     MySpaces.refreshList();
                  }
                  else
                  {
                     alert("Error during creation of new space: " + response.responseText);
                  }
                  MySpaces.closePopupPanel();
               },
               failure: function(response)
               {
                  alert("Error during creation of new space: " + response.responseText);
                  MySpaces.closePopupPanel();
               }
            },
           
            //The third argument â€â€

Outcomes