[ 
https://issues.apache.org/jira/browse/SHINDIG-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706665#action_12706665
 ] 

Jordan Zimmerman commented on SHINDIG-1048:
-------------------------------------------

FYI - an example gadget has this in the module:
     <Require feature="opensocial-templates" />

Here's a snippet of template code:

<script autoUpdate="true" name="SimpleList" type="text/os-template"><table 
border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td valign="middle"><span class="span" onclick="sc_simple_list_scrollLeft()" 
style="cursor: pointer; "><img alt="" border="0" 
src="http://ccimg.shop.com/images/myshop09/Green1/msgr1_arrowLeft.gif"; 
title=""/></span></td><td><span class="span" id="item0"></span><span 
class="span" id="item1"></span><span class="span" id="item2"></span><span 
class="span" id="item3"></span></td><td valign="middle"><span class="span" 
onclick="sc_simple_list_scrollRight()" style="cursor: pointer; "><img alt="" 
border="0" 
src="http://ccimg.shop.com/images/myshop09/Green1/msgr1_arrowRight.gif"; 
title=""/></span></td></tr>
</table>
</script>


> opensocial-templates container.js has comments that, somehow, are getting 
> interpreted
> -------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1048
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1048
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: trunk
>            Reporter: Jordan Zimmerman
>             Fix For: trunk
>
>
> The sample usage comments in 
> SHINDIG/features/src/main/javascript/features/opensocial-templates/container.js
>  are somehow getting processed such that all my OS templates are ruined. 
> Instead of rendered templates, the raw templates get output. If I change the 
> "<" and ">" in that comment to entities, the problem goes away.

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