[ 
https://issues.apache.org/jira/browse/SHINDIG-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

HAN NGUYEN updated SHINDIG-1228:
--------------------------------

    Attachment: SHINDIG-1228.patch

We created the attached patch to fix the problem. It basically edited the 
gadgets.js and set the default gadget server, serverBase value to 
      this.serverBase_ = 'http://' + document.location.host + '/gadgets/';

Modified function looks like this

gadgets.IfrGadget = function(opt_params) {
  gadgets.Gadget.call(this, opt_params);
  //this.serverBase_ = '../../'; // default gadget server
  this.serverBase_ = 'http://' + document.location.host + '/gadgets/';
};

> HTTP 404 Error rendering gadgets while running Shindig outside of sample 
> container
> ----------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1228
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1228
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 1.1-BETA3
>         Environment: Windows XP
> FireFox 3.0.15
> JRE 6.0
>            Reporter: HAN NGUYEN
>            Priority: Minor
>         Attachments: SHINDIG-1228.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> While running Shindig outside of the sample container,  the error below was 
> shown on the browser and the gadget content was not rendered.
> HTTP Status 404 - /ifr
> type Status report
> message /ifr
> description The requested resource (/ifr) is not available.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to