[jboss-cvs] jboss-seam/examples/wiki/view/plugins/blogArchive ...
Christian Bauer
christian at hibernate.org
Fri Aug 31 09:38:12 EDT 2007
User: cbauer
Date: 07/08/31 09:38:12
Modified: examples/wiki/view/plugins/blogArchive plugin.xhtml
Log:
More preferences for blogs
Revision Changes Path
1.3 +58 -22 jboss-seam/examples/wiki/view/plugins/blogArchive/plugin.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: plugin.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/view/plugins/blogArchive/plugin.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- plugin.xhtml 29 Aug 2007 00:29:23 -0000 1.2
+++ plugin.xhtml 31 Aug 2007 13:38:12 -0000 1.3
@@ -11,9 +11,43 @@
clearDocumentBackground();
});</script>
- <s:div styleClass="shadowContainer"><div class="shadow1"><div class="shadow2"><div class="blogArchive">
+ <s:div styleClass="shadowContainer"><div class="shadow1"><div class="shadow2"><s:div id="blogArchivePluginDiv"
+ styleClass="#{showPluginPreferences and !empty blogArchivePreferencesEditor ? 'pluginPreferencesBox' : ''}">
- <div class="blogArchiveHeader"><h:outputText styleClass="blogArchiveHeaderText" value="Archive"/></div>
+ <s:div id="blogArchivePreferences"
+ rendered="#{showPluginPreferences and !empty blogArchivePreferencesEditor}">
+ <div align="center">
+ <h:message for="blogArchivePreferences" styleClass="pluginPreferencesMessage"/>
+
+ <ui:include src="../../includes/pluginPreferencesForm.xhtml">
+ <ui:param name="pluginDiv" value="blogArchivePluginDiv"/>
+ <ui:param name="pluginPreferencesEditor" value="#{blogArchivePreferencesEditor}"/>
+ </ui:include>
+ </div>
+ </s:div>
+
+ <s:div styleClass="blogArchive">
+
+ <s:div styleClass="blogArchiveHeader blogArchiveTitle" rendered="#{not blogArchivePreferences.showSubscribeIcon}">
+ <h:outputText styleClass="blogArchiveTitleText" value="Archive"/>
+ </s:div>
+
+ <h:panelGrid rendered="#{blogArchivePreferences.showSubscribeIcon}"
+ columns="2" cellpadding="0" cellspacing="0" border="0"
+ styleClass="blogArchiveHeader fullWidth"
+ columnClasses="blogArchiveSubscribe, blogArchiveTitle">
+
+ <h:outputLink rendered="#{not empty currentDirectory.feed}"
+ value="#{facesContext.externalContext.request.contextPath}/servlets/feeds/atom.seam?feedId=#{currentDirectory.feed.id}">
+ <h:panelGrid columns="2" cellpadding="0" cellspacing="0" border="0">
+ <h:graphicImage value="/themes/#{wikiPreferences.themeName}/img/icon.atom.ongrey.gif" width="18" height="18" alt="Atom"/>
+ <h:outputText styleClass="blogArchiveSubscribeLink" value="Subscribe"/>
+ </h:panelGrid>
+ </h:outputLink>
+
+ <h:outputText styleClass="blogArchiveTitleText" value="Archive"/>
+
+ </h:panelGrid>
<div class="blogArchiveSelector">
<select id="blogArchiveCombo" class="blogArchiveCombo"
@@ -36,6 +70,8 @@
<div class="blogArchiveFooter"/>
- </div></div></div></s:div>
+ </s:div>
+
+ </s:div></div></div></s:div>
</wiki:plugin>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list