OK, but still we should have * a javascript configuration file with a "web_prefix" setting, so that we won't have to change it in too many places inside the code; * change the documentation, to alert users that they should change both web_prefix settings at the same time, if they decide to change it.
2008/7/2, Chris Chabot (JIRA) <[EMAIL PROTECTED]>: > > > [ > https://issues.apache.org/jira/browse/SHINDIG-420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Chris Chabot resolved SHINDIG-420. > ---------------------------------- > > Resolution: Won't Fix > Assignee: Chris Chabot > > Hi Erel, I'm afraid this is not a bug. > > Shindig is currently implemented in 2 languages, PHP and Java. And while > the gadget/social server code is unique for each side, they share as much as > possible in terms of javascript related code. > > That means anything in features/*, javascript/* and config/* is shared by > both versions. > > Hence that file is not 'PHP' related, so you can't use any PHP variables > there :) When you change the web_prefix, you'll have to update the > config/container.js file too i'm afraid. > > > web_prefix is not used in container.js > > -------------------------------------- > > > > Key: SHINDIG-420 > > URL: https://issues.apache.org/jira/browse/SHINDIG-420 > > Project: Shindig > > Issue Type: Bug > > Components: Features (Javascript), OpenSocial feature > (Javascript) > > Environment: all > > Reporter: Erel Segal > > Assignee: Chris Chabot > > Original Estimate: 1h > > Remaining Estimate: 1h > > > > In shindig/config/container.js, the web_prefix setting is not used. > > For example, in "opensocial-0.8", there is a line: > > "path" : "/social/data" > > It should include the web_prefix, otherwise the samples don't work. > > I don't know how to add it, since it is defined in PHP! > > If this requires the user to change something in a JS file, I think the > documentation here: > > http://incubator.apache.org/shindig/#php > > should be updated as well. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > >

