[jboss-cvs] jboss-seam/examples/wiki/view/plugins/forumList ...
Christian Bauer
christian at hibernate.org
Sat Dec 29 21:33:27 EST 2007
User: cbauer
Date: 07/12/29 21:33:27
Modified: examples/wiki/view/plugins/forumList lastTopicPost.xhtml
forumListControls.xhtml forumListTable.xhtml
Log:
Complete overhaul of the preferences system
Revision Changes Path
1.3 +2 -2 jboss-seam/examples/wiki/view/plugins/forumList/lastTopicPost.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: lastTopicPost.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/forumList/lastTopicPost.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- lastTopicPost.xhtml 19 Dec 2007 04:29:27 -0000 1.2
+++ lastTopicPost.xhtml 30 Dec 2007 02:33:27 -0000 1.3
@@ -11,13 +11,13 @@
<s:div>
<h:outputLink value="#{link}" tabindex="1">
<h:outputText value="#{wiki:truncateString(name, 15, '...')}"/>
- <h:graphicImage styleClass="topicGotoIcon" value="/themes/#{wikiPreferences.themeName}/img/icon.posting_goto.gif" width="18" height="9"/>
+ <h:graphicImage styleClass="topicGotoIcon" value="/themes/#{preferences.get('Wiki').themeName}/img/icon.posting_goto.gif" width="18" height="9"/>
</h:outputLink>
</s:div>
<s:div>
<h:outputText value="#{createdOn}">
- <f:convertDateTime pattern="dd. MMM yyyy, HH:mm" timeZone="#{wikiPreferences.timeZone}"/>
+ <f:convertDateTime pattern="dd. MMM yyyy, HH:mm" timeZone="#{preferences.get('Wiki').timeZone}"/>
</h:outputText>
</s:div>
1.3 +1 -1 jboss-seam/examples/wiki/view/plugins/forumList/forumListControls.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: forumListControls.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/forumList/forumListControls.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- forumListControls.xhtml 19 Dec 2007 04:29:27 -0000 1.2
+++ forumListControls.xhtml 30 Dec 2007 02:33:27 -0000 1.3
@@ -13,7 +13,7 @@
<s:div styleClass="forumsFeedLink undecoratedLink" rendered="#{not empty currentDirectory.feed}">
<h:outputLink value="#{facesContext.externalContext.request.contextPath}/servlets/feeds/atom.seam?feedId=#{currentDirectory.feed.id}"
tabindex="1">
- <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/icon.atom.gif" width="18" height="18"/>
+ <h:graphicImage value="/themes/#{preferences.get('Wiki').themeName}/img/icon.atom.gif" width="18" height="18"/>
<h:outputText value="#{currentDocument.name} #{messages['forum.label.Feed']}"/>
</h:outputLink>
</s:div>
1.4 +4 -4 jboss-seam/examples/wiki/view/plugins/forumList/forumListTable.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: forumListTable.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/forumList/forumListTable.xhtml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- forumListTable.xhtml 19 Dec 2007 04:29:27 -0000 1.3
+++ forumListTable.xhtml 30 Dec 2007 02:33:27 -0000 1.4
@@ -30,23 +30,23 @@
<h:panelGroup>
<h:outputLink styleClass="undecoratedLink" value="#{wiki:renderURL(f.forum)}" tabindex="1">
- <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/icon.posting_unread.gif" width="22" height="26"
+ <h:graphicImage value="/themes/#{preferences.get('Wiki').themeName}/img/icon.posting_unread.gif" width="22" height="26"
rendered="#{f.unreadPostings}"/>
- <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/icon.posting.gif" width="22" height="26"
+ <h:graphicImage value="/themes/#{preferences.get('Wiki').themeName}/img/icon.posting.gif" width="22" height="26"
rendered="#{not f.unreadPostings}"/>
</h:outputLink>
<s:span styleClass="forumFeedLink undecoratedLink" rendered="#{not empty f.forum.feed}">
<h:outputLink value="#{facesContext.externalContext.request.contextPath}/servlets/feeds/atom.seam?feedId=#{f.forum.feed.id}"
tabindex="1">
- <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/icon.atom.gif" width="18" height="18"/>
+ <h:graphicImage value="/themes/#{preferences.get('Wiki').themeName}/img/icon.atom.gif" width="18" height="18"/>
</h:outputLink>
</s:span>
<s:span styleClass="forumFeedLink" rendered="#{empty f.forum.feed}">
<h:graphicImage rendered="#{empty f.forum.feed}"
- value="/themes/#{wikiPreferences.themeName}/img/blank.gif" width="18" height="18"/>
+ value="/themes/#{preferences.get('Wiki').themeName}/img/blank.gif" width="18" height="18"/>
</s:span>
</h:panelGroup>
More information about the jboss-cvs-commits
mailing list