You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/07/14 17:36:05 UTC

[jira] [Resolved] (WICKET-5638) Use handlebar-like templating syntax

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

Martin Grigorov resolved WICKET-5638.
-------------------------------------

    Resolution: Won't Fix

Closing as "Won't Fix".
As explained at http://markmail.org/message/qj2hg6glqvwed2sm there is no much demand for something like this.
There are few impls like this feature (e.g. Mustache, Ractive, Jade, Velocity) and none of them is widely used.

Feel free to implement the feature (e.g. at https://github.com/wicketstuff/core) and promote it. If it gets support by many users we will consider adding it to Apache Wicket distribution.

Thanks!

> Use handlebar-like templating syntax
> ------------------------------------
>
>                 Key: WICKET-5638
>                 URL: https://issues.apache.org/jira/browse/WICKET-5638
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 7.0.0-M2
>            Reporter: chrisjlee
>   Original Estimate: 16,666.65h
>  Remaining Estimate: 16,666.65h
>
> Apologies for my ignorance to processes. This is my first issue i've ever created for Apache Wicket. Love some feedback. I've been only lurking this issue queue for a short while. So i have a lot to learn and looking forward to responses:
> As a new feature, I'd like to see Wicket introduce a handlebar-like syntax to wicket templates.
> Instead of wrapping <div>'s and mapping those divs to a particular output utilize a handlebar syntax to render the contents.
> This has several advantages:
> - No longer coupled to HTML. One use wicket to render json, xml, svg in response to a behavior.
> - Syntax is commonplace and provides lower barrier to entry. Many other languages/frameworks implement this syntax: handlebars, twig (PHP), liquid, jinja, etc.
> - IMHO, easier to implement into web components spec because of markup decoupling.



--
This message was sent by Atlassian JIRA
(v6.2#6252)