shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nuwan Bandara (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (SHINDIG-1240) samplecontainer.html does not show any gadgets
Date Wed, 16 Dec 2009 09:06:18 GMT

    [ https://issues.apache.org/jira/browse/SHINDIG-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790726#action_12790726
] 

Nuwan Bandara edited comment on SHINDIG-1240 at 12/16/09 9:05 AM:
------------------------------------------------------------------

Hi, Hendrik 

The error occur if you deploy the shindig war in another context (not in ROOT). By deploying
the way as the ROOT web app you can eliminate the issue.

Regards
/Nuwan



      was (Author: nuwanbando):
    Hi, Hendrik 

The problem is the samplecontainer to run properly it seems that you should deploy the .war
in the ROOT. If the URL is http://localhost:8080/gadgets/files/samplecontainer/samplecontainer.html
it will work properly. you can fix this by correcting the hard coded path in samplecontainer.js
file (Line 199)

"sendRequestToServer("<deployed DIR>/gadgets/metadata", "POST",
        gadgets.json.stringify(request), opt_callback, true);"


  
> samplecontainer.html does not show any gadgets
> ----------------------------------------------
>
>                 Key: SHINDIG-1240
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1240
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>         Environment: Ubuntu Linux
>            Reporter: Hendrik Brummermann
>
> Hi,
> http://localhost:8080/shindig/gadgets/files/samplecontainer/samplecontainer.html shows
only a form with a blue background color. The gadget itself is not shown. I tried it with
the URLs mentioned in the Getting Started section and URLs from google.
> On http://localhost:8080/shindig/gadgets/files/container/sample1.html, however, i can
see the gadget.
> I put a screenshot at http://img686.imageshack.us/img686/6276/bildschirmfotogadgettes.png
> There are no error messages in catalina.out

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


Mime
View raw message