[ 
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/[EMAIL
>  PROTECTED]

-- 
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