You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by John Hjelmstad <fa...@google.com> on 2008/09/03 01:26:26 UTC

Re: [jira] Commented: (SHINDIG-500) Make Gadget Object's content that of the active View

Thanks, Ian! That did the trick.

On Fri, Aug 29, 2008 at 3:30 AM, Ian Boston (JIRA) <ji...@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/SHINDIG-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12626926#action_12626926]
>
> Ian Boston commented on SHINDIG-500:
> ------------------------------------
>
>
> The Gadget content is re-written but the the view is not.
>
> add the following to GadgetRenderTask.outputHtmlGadget
>
>    String content = view.getContent();
>    for (GadgetContentFilter filter : filters) {
>      content = filter.filter(content);
>    }
>
> +    System.err.println("Gadget Content is "+gadget.getContent());
> +    System.err.println("Gadget View is "+view.getContent());
>
>    markup.append(content)
>        .append("<script>gadgets.util.runOnLoadHandlers();</script>")
>        .append("</body></html>");
>
> > Make Gadget Object's content that of the active View
> > ----------------------------------------------------
> >
> >                 Key: SHINDIG-500
> >                 URL: https://issues.apache.org/jira/browse/SHINDIG-500
> >             Project: Shindig
> >          Issue Type: Sub-task
> >          Components: Gadget Rendering Server (Java)
> >            Reporter: John Hjelmstad
> >            Assignee: John Hjelmstad
> >         Attachments: gadgetspec-immutable.patch
> >
> >
> > Step #1 of
> http://mail-archives.apache.org/mod_mbox/incubator-shindig-dev/200808.mbox/%3cab5e78ed0808061534r48c04de5j8909bc7e8316cc22@mail.gmail.com%3e
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>