cancel
Showing results for 
Search instead for 
Did you mean: 

WebStudio w/o ROOT context / setcontext.js

deas0815
Star Contributor
Star Contributor
Hallo everybody,

on my way to build a SURF based website using WebStudio on labs 3 stable, I found that some of the webscripts that come with WebStudio don't quite work as
expected on virtual-tomcat when the application is hosted in the ROOT context. URLs like "/service/something" get generated yielding 404 errors. The application
components work fine  when not running in the ROOT context. Hence, to use the components shipping with WebStudio I try tackling this moving the application
out of the ROOT context.

Now WebStudio defaults to setting the webappId to ROOT and during initialisation, a few requests to "/alfresco/s/remotestore/…/setcontext…" yield 500 "Unable to
determine which store to operate against".

What is the correct way to tell studio the "default webapp"  for a webproject when it is not ROOT ?

regards
Andreas
1 REPLY 1

deas0815
Star Contributor
Star Contributor
ok, found a solution myself - just ovveride setcontext.js

cheers
Andreas