[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-9202) Possibility for creating templates for custom libraries

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Wed Jun 22 19:22:23 EDT 2011


     [ https://issues.jboss.org/browse/JBIDE-9202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yahor Radtsevich updated JBIDE-9202:
------------------------------------

    Attachment: JBIDE-9202-applied.patch


Thank you for the patch, Maxim!

I have slightly changed it [1] to be in accordance with a feature we already have for the {{vpe:template}} element. It allows to specify one {{VpeTemplate}} for a group of tags with a {{matching-mode}} attribute and a regular expression.

Now it is also possible to specify the same attribute for the {{vpe:template-taglib}} element. Thus if you use the {{matching-mode}} attribute twice, you will be able to specify one {{VpeTemplate}} for a group of URIs as it is shown in the example below:
{code:xml}
<vpe:template-taglib uri="http://java\.sun\.com/jsf/composite/.+" matching-mode="yes"
    prefix="jsf2-custom-composite" />	
<vpe:tag name="jsf2-custom-composite:.+" matching-mode="yes" case-sensitive="yes">
    <vpe:template children="yes" modify="yes"
        class="org.jboss.tools.jsf.vpe.jsf.template.Jsf2CustomComponentTemplate">
    </vpe:template>
</vpe:tag>
{code}

1. [^JBIDE-9202-applied.patch]

> Possibility for creating templates for custom libraries
> -------------------------------------------------------
>
>                 Key: JBIDE-9202
>                 URL: https://issues.jboss.org/browse/JBIDE-9202
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Visual Page Editor core
>    Affects Versions: 3.3.0.M1
>            Reporter: Maxim Areshkau
>            Assignee: Yahor Radtsevich
>         Attachments: JBIDE-9202-applied.patch, JBIDE-9202.patch, JBIDE-9202.patch
>
>
> Exist couple of libraries(JSF2, JSP) which provide possiblity of custom templates. So we need extension which allows provide custom template handler for VPE, smth simular like jsf2 libraries.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list