[jboss-cvs] jboss-seam/examples/wiki/view/plugins/forumPosting ...
Christian Bauer
christian at hibernate.org
Thu Jan 3 19:21:28 EST 2008
User: cbauer
Date: 08/01/03 19:21:28
Modified: examples/wiki/view/plugins/forumPosting
forumPostingHeader.xhtml
Log:
Minor improvements to forum browsing and doc pager
Revision Changes Path
1.5 +14 -5 jboss-seam/examples/wiki/view/plugins/forumPosting/forumPostingHeader.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: forumPostingHeader.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/forumPosting/forumPostingHeader.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- forumPostingHeader.xhtml 1 Jan 2008 13:01:17 -0000 1.4
+++ forumPostingHeader.xhtml 4 Jan 2008 00:21:28 -0000 1.5
@@ -22,11 +22,20 @@
<h:outputText styleClass="buttonLabel" escape="false" value="#{messages['forum.button.ForumList']}"/>
</h:outputLink>
+ <s:fragment rendered="#{empty topicPage or topicPage == 0}">
<h:outputLink value="#{wiki:renderURL(currentDirectory.defaultFile)}"
accesskey="#{messages['forum.button.TopicList.accesskey']}"
tabindex="1" styleClass="buttonNonpersistent">
<h:outputText styleClass="buttonLabel" escape="false" value="#{messages['forum.button.TopicList']}"/>
</h:outputLink>
+ </s:fragment>
+ <s:fragment rendered="#{topicPage > 0}">
+ <h:outputLink value="#{wiki:renderURL(currentDirectory.defaultFile)}/Page/#{topicPage}"
+ accesskey="#{messages['forum.button.TopicList.accesskey']}"
+ tabindex="1" styleClass="buttonNonpersistent">
+ <h:outputText styleClass="buttonLabel" escape="false" value="#{messages['forum.button.TopicList']}"/>
+ </h:outputLink>
+ </s:fragment>
<s:fragment rendered="#{s:hasPermission('Node', 'create', currentDirectory) and not replyHome.showForm}">
<h:outputLink value="#{wiki:renderURL(currentDirectory.defaultFile)}?showTopicForm=true"
More information about the jboss-cvs-commits
mailing list