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

[jira] Issue Comment Edited: (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:comment-tabpanel&focusedCommentId=12913058#action_12913058 ] 

Stefan Meyer edited comment on SHINDIG-1412 at 9/21/10 12:13 PM:
-----------------------------------------------------------------

Thanks. That did help a lot.
I now use my own loader.js.

Next issue seems to be that IE can't parse <script type="text/javascript"> Tags inside external <template>-Tags. Any ideas on that?
FF and co. don't complain.

      was (Author: stefanthem):
    Thanks. That did help a lot.
I now use my own loader.js.

Next issue seems to be that IE can't parste <script type="text/javascript"> Tags inside external <template>-Tags. Any ideas on that?
FF and co. don't complain.
  
> 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.