You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/11/02 17:15:50 UTC

[jira] Commented: (SLING-90) Add support for creating Ruby templates

    [ https://issues.apache.org/jira/browse/SLING-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539626 ] 

Felix Meschberger commented on SLING-90:
----------------------------------------

I applied the patch to my local checkout but the integration test fails because there is no ERB test script. I used the following one, but this did not work:

<%-- used by ScriptedRenderingTest --%>
<html>
	<body>
		Ruby template
		<p><span><%= resource.getItem().getProperty("text").getString() %></span></p>
	</body>
</html>

Could you please provide a script, which works, such that I can complete the integration and close this issue ? Thanks.

> Add support for creating Ruby templates
> ---------------------------------------
>
>                 Key: SLING-90
>                 URL: https://issues.apache.org/jira/browse/SLING-90
>             Project: Sling
>          Issue Type: Improvement
>          Components: microsling
>            Reporter: Padraic Hannon
>            Assignee: Felix Meschberger
>         Attachments: ruby.patch, ruby.patch
>
>
> By adding support for ruby scripted templates microsling could deal with adding dynamic mixins, which is something that java has a hard time with.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.