aller au contenu

tag: create a link to a page with her name

usage

<jv:pageurl var="pageUrl" name="pageName" />
<a href="${pageUrl}">link label</a>

tld

     <tag>
        <name>pageurl</name>
        <tag-class>org.javlo.tag.JVPageUrlTag</tag-class>
        <body-content>empty</body-content>
        <info>This Tag create a link to a page with the page name.</info>
        <attribute>
            <name>name</name>
            <required>true</required>
            <description>the name of the target page.</description>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
         <attribute>
            <name>var</name>
            <required>false</required>
            <description>create a attribute in scope request for url.</description>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>params</name>
            <required>false</required>
            <description>params list sample ("tag=news").</description>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>view</name>
            <required>false</required>
            <description>force view url.</description>
            <rtexprvalue>false</rtexprvalue>
        </attribute>
    </tag>