[jbosstools-issues] [JBoss JIRA] (JBIDE-12502) Create a prototype of a VPE templating system without using JavaXPCOM

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Wed Aug 29 05:00:14 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714459#comment-12714459 ] 

Yahor Radtsevich commented on JBIDE-12502:
------------------------------------------

Ilya Buziuk has created a prototype of a VPE template system without using JavaXPCOM to build HTML DOM tree.

The prototype is an Eclipse plugin, which reads opened JSP file and prints its HTML representation to the console.

The prototype supports two kind of templates:
# Simple templates, stored in text files. They should NOT be necessary valid XML files, any text works. An example of their syntax:
{code}
<newFoo>
	<spanFoo>CHILDREN INSERTION POINT</spanFoo>
</newFoo>
{code}, where CHILDREN INSERTION POINT is a code word. More examples may be found [here|http://anonsvn.jboss.org/repos/jbosstools/workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/by.buziuk.dom.parser/template/].
# Advanced Java templates implementing {{javax.servlet.jsp.tagext.JspTag}} interface. Some examples may be found [here|http://anonsvn.jboss.org/repos/jbosstools/workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/by.buziuk.dom.parser/src/by/buziuk/dom/parser/template/util/body/tag/] and [here|http://anonsvn.jboss.org/repos/jbosstools/workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/by.buziuk.dom.parser/src/by/buziuk/dom/parser/template/util/simple/tag/].

The source is available [here|http://anonsvn.jboss.org/repos/jbosstools/workspace/yradtsevich/ibuziuk/JSP-to-HTML-converter-plugin/]. YouTube demo is [here|http://youtu.be/U8ifixmKcz0].
                
> Create a prototype of a VPE templating system without using JavaXPCOM
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-12502
>                 URL: https://issues.jboss.org/browse/JBIDE-12502
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: Visual Page Editor core
>    Affects Versions: 4.0.0.M1
>            Reporter: Yahor Radtsevich
>            Assignee: Yahor Radtsevich
>             Fix For: 4.0.0.M1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list