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

Bastian Hofmann updated SHINDIG-1412:
-------------------------------------

    Affects Version/s: 2.0.0
        Fix Version/s: 2.0.1

> Internet Explorer does not display external taglibraries in template
> --------------------------------------------------------------------
>
>                 Key: SHINDIG-1412
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1412
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java, Javascript , PHP
>    Affects Versions: 2.0.0
>         Environment: Windows XP, Internet Explorer 8
> OSDE-Plugin for Eclipse v1.0.0
>            Reporter: Stefan Meyer
>            Assignee: Bastian Hofmann
>             Fix For: 2.0.1
>
>
> When trying to use external custom taglibraries in templates with require and 
> autoUpdate-attribute, IE refuses to display the content iniside the <script 
> type="text/os-template"></script> Tag.
> Works fine in Firefox,Safari.
> Example to demonstrate the issue:
> gadget.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
>     <ModulePrefs title="OS Templates Crossbrowser">
>         <Require feature="opensocial-0.9" />
>         <Require feature="views" />
>         <Require feature="dynamic-height" />
>         <Require feature="opensocial-data" />
>               <Require feature="opensocial-templates">
>               <Param name="requireLibrary">test.xml</Param>
>        </Require>
>     </ModulePrefs>
>     <Content type="html"><![CDATA[
>       
>       <script type="text/javascript">
>               opensocial.data.DataContext.putDataSet( "fruit", "Pineapple" );
>       </script>
>     
>         <script type="text/os-template" xmlns:qc="http://www.qc.com"; 
> xmlns:os="http://ns.opensocial.org/2008/markup"; require="fruit" 
> autoUpdate="true">               
>               <qc:mytemplate/>                
>       </script>
>       
>       ]]></Content>
> </Module>
> external template:
> <?xml version="1.0" encoding="UTF-8"?>
> <Templates xmlns:qc="http://www.qc.com"; 
> xmlns:os="http://ns.opensocial.org/2008/markup"; 
> xmlns="http://www.w3.org/1999/xhtml";>
>       <Namespace prefix="qc" url="http://www.qc.com"; />
>       
>       <Template tag="qc:mytemplate">
>       
>               <h3>Fruit: <span>${fruit}</span></h3>
>       </Template>
> </Templates>
> Our current workaround is to copy all content from external 
> template-xml-files into the gadget.xml

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