[jboss-cvs] JBossBlog SVN: r156 - in trunk/view: view and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Dec 5 13:13:45 EST 2007


Author: adamw
Date: 2007-12-05 13:13:45 -0500 (Wed, 05 Dec 2007)
New Revision: 156

Modified:
   trunk/view/common/post.xhtml
   trunk/view/view/feed.xhtml
   trunk/view/view/post.xhtml
Log:


Modified: trunk/view/common/post.xhtml
===================================================================
--- trunk/view/common/post.xhtml	2007-12-05 18:01:08 UTC (rev 155)
+++ trunk/view/common/post.xhtml	2007-12-05 18:13:45 UTC (rev 156)
@@ -9,16 +9,14 @@
                 xmlns:a="http://richfaces.org/a4j">
     <rich:panel>
         <f:facet name="header">
-            #{post.title}, published on #{post.published} by #{post.author} #{additionalHeader}
+            <s:div>
+                <s:link value="#{post.title}" view="/view/post.xhtml" propagation="none">
+                    <f:param name="post" value="#{post.titleAsId}" />
+                </s:link>
+                , published on #{post.published} by #{post.author} #{additionalHeader}
+            </s:div>
         </f:facet>
 
-        <s:link value="View on separate page &#187;" view="/view/post.xhtml" propagation="none"
-                rendered="#{showLinkToSeparatePage}">
-            <f:param name="post" value="#{post.titleAsId}" />
-        </s:link>
-
-        <br />
-
         <h:outputText value="#{post.content}" escape="false" rendered="#{!showSummary}" />
 
         <h:outputText value="#{stringTools.createSummary(post.content)}" rendered="#{showSummary}" />

Modified: trunk/view/view/feed.xhtml
===================================================================
--- trunk/view/view/feed.xhtml	2007-12-05 18:01:08 UTC (rev 155)
+++ trunk/view/view/feed.xhtml	2007-12-05 18:13:45 UTC (rev 156)
@@ -32,7 +32,6 @@
         <a:repeat var="post" value="#{feedView.posts}" rows="#{feedView.feed.maxPostsOnPage}">
             <ui:include src="../common/post.xhtml">
                 <ui:param name="post" value="#{post}" />
-                <ui:param name="showLinkToSeparatePage" value="true" />
                 <ui:param name="showSummary" value="false" />
             </ui:include>
 

Modified: trunk/view/view/post.xhtml
===================================================================
--- trunk/view/view/post.xhtml	2007-12-05 18:01:08 UTC (rev 155)
+++ trunk/view/view/post.xhtml	2007-12-05 18:13:45 UTC (rev 156)
@@ -25,7 +25,6 @@
 
         <ui:include src="../common/post.xhtml">
             <ui:param name="post" value="#{post}" />
-            <ui:param name="showLinkToSeparatePage" value="false" />
             <ui:param name="showSummary" value="false" />
         </ui:include>
     </ui:define>




More information about the jboss-cvs-commits mailing list