[ http://issues.apache.org/struts/browse/SHALE-330?page=all ]

Gary VanMatre resolved SHALE-330.
---------------------------------

    Resolution: Fixed

All but two markup elements associated with the "http://java.sun.com/JSP/Page"; 
namespace are assigned to the Clay "void" directive.  The "void" directive will 
cause the markup node not to be rendered.  This doesn't excluded any child 
markup nodes. The "jsp:directive.include" and "jsp:include" elements are mapped 
a nested clay component.  The "jsp:param" nodes nested under a "jsp:include" 
node are converted into symbols and associated with the nested clay component.

Example:

Mapped to a Clay "void" jsfid:

    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page";
          xmlns:f="http://java.sun.com/jsf/core";
          version="1.2">
    <jsp:directive.page contentType="text/html;charset=utf-8"/>

Mapped to nested Clay component:

    <jsp:directive.include file="/org/apache/shale/clay/config/address1.html"/>
    <jsp:include page="/org/apache/shale/clay/config/address1.html">
       <jsp:param name="symbol0" value="value0"/>
       <jsp:param name="symbol1" value="value1"/>
       <jsp:param name="symbol2" value="value2"/>
       <jsp:param name="symbol3" value="value3"/>
       <jsp:param name="symbol4" value="value4"/>
    </jsp:include>


> Create limited mapping support of jspx tags in Clay's html template parsing
> ---------------------------------------------------------------------------
>
>                 Key: SHALE-330
>                 URL: http://issues.apache.org/struts/browse/SHALE-330
>             Project: Shale
>          Issue Type: Improvement
>          Components: Clay
>    Affects Versions: 1.0.4-SNAPSHOT
>            Reporter: Gary VanMatre
>         Assigned To: Gary VanMatre
>             Fix For: 1.0.4-SNAPSHOT
>
>
> Limited jspx mapping support will allow lazy reuse of markup.  This might be 
> handy for leveraging existing component demo's.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to