You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Bastian Hofmann (JIRA)" <ji...@apache.org> on 2010/09/21 11:58:36 UTC

[jira] Updated: (SHINDIG-1412) Internet Explorer does not display external taglibraries in template

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

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

    Component/s: PHP

This is also an issue at the PHP version. Additionally in the PHP version the template libraries are not even included into the JavaScript. So your example does not work in any browser.

> 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
>         Environment: Windows XP, Internet Explorer 8
> OSDE-Plugin for Eclipse v1.0.0
>            Reporter: Stefan Meyer
>            Assignee: Bastian Hofmann
>
> 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.