[jboss-cvs] jboss-seam/examples/wiki/view/plugins/docPager ...
Christian Bauer
christian at hibernate.org
Tue Jan 1 08:01:10 EST 2008
User: cbauer
Date: 08/01/01 08:01:10
Added: examples/wiki/view/plugins/docPager plugin.xhtml
Log:
JBSEAM-1863 - Pager plugin for previous/next document, also on forum header
Revision Changes Path
1.1 date: 2008/01/01 13:01:09; author: cbauer; state: Exp;jboss-seam/examples/wiki/view/plugins/docPager/plugin.xhtml
Index: plugin.xhtml
===================================================================
<wiki:plugin
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:wiki="http://jboss.com/products/seam/wiki"
xmlns:s="http://jboss.com/products/seam/taglib">
<h:panelGrid columns="2" styleClass="docPager" columnClasses="docPagerPrevious, docPagerNext"
cellpadding="0" cellspacing="0" border="0">
<s:div styleClass="undecoratedLink">
<s:fragment rendered="#{not empty docPager.previous}">
<h:outputLink value="#{wiki:renderURL(docPager.previous)}">
<h:graphicImage styleClass="docPagerButton" value="/themes/#{preferences.get('Wiki').themeName}/img/left.gif" width="18" height="18"/>
<h:outputText styleClass="docPagerLabel" value="#{messages['lacewiki.label.Previous']}"/>
</h:outputLink>
</s:fragment>
</s:div>
<s:div styleClass="undecoratedLink">
<s:fragment rendered="#{not empty docPager.next}">
<h:outputLink value="#{wiki:renderURL(docPager.next)}">
<h:outputText styleClass="docPagerLabel" value="#{messages['lacewiki.label.Next']}"/>
<h:graphicImage styleClass="docPagerButton" value="/themes/#{preferences.get('Wiki').themeName}/img/right.gif" width="18" height="18"/>
</h:outputLink>
</s:fragment>
</s:div>
</h:panelGrid>
</wiki:plugin>
More information about the jboss-cvs-commits
mailing list