[jboss-cvs] jboss-seam/examples/wiki/view/plugins/feedTeasers ...
Christian Bauer
christian at hibernate.org
Sun Oct 14 07:06:43 EDT 2007
User: cbauer
Date: 07/10/14 07:06:43
Modified: examples/wiki/view/plugins/feedTeasers plugin.xhtml
Log:
Added [<=endTeaser] macro, JBSEAM-2102
Revision Changes Path
1.12 +18 -7 jboss-seam/examples/wiki/view/plugins/feedTeasers/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/feedTeasers/plugin.xhtml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- plugin.xhtml 12 Oct 2007 16:31:29 -0000 1.11
+++ plugin.xhtml 14 Oct 2007 11:06:43 -0000 1.12
@@ -58,13 +58,24 @@
<h:outputLink target="_top" value="#{fe.link}">#{fe.title}</h:outputLink>
</div>
+ <s:fragment rendered="#{fe.teaserMarkerPresent}">
+ <h:outputText styleClass="teaserBody" value="#{fe.teaserStripped}"/>
+ <h:outputLink target="_top" styleClass="teaserBody" value="#{fe.link}">
+  #{messages['feedTeasers.label.More']}
+ </h:outputLink>
+ </s:fragment>
+
+ <s:fragment rendered="#{not fe.teaserMarkerPresent}">
<h:outputText styleClass="teaserBody"
value="#{wiki:truncateString(fe.descriptionValueStripped, feedTeasersPreferences.properties['truncateDescription'], '')}"/>
+
<h:outputLink target="_top" styleClass="teaserBody"
value="#{fe.link}"
rendered="#{wiki:length(fe.descriptionValueStripped) > feedTeasersPreferences.properties['truncateDescription']}">
 #{messages['feedTeasers.label.More']}
</h:outputLink>
+ </s:fragment>
+
</h:column>
</h:dataTable>
More information about the jboss-cvs-commits
mailing list