[jboss-cvs] jboss-seam/examples/seamspace/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Wed Jan 31 02:17:43 EST 2007
User: sbryzak2
Date: 07/01/31 02:17:43
Modified: examples/seamspace/view blog.xhtml blogentry.xhtml
template.xhtml
Log:
minor UI improvements
Revision Changes Path
1.8 +6 -5 jboss-seam/examples/seamspace/view/blog.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: blog.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/blog.xhtml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- blog.xhtml 26 Jan 2007 05:32:34 -0000 1.7
+++ blog.xhtml 31 Jan 2007 07:17:42 -0000 1.8
@@ -31,13 +31,14 @@
<div class="blogTitle">#{memberBlog.title}</div>
<div class="blogText"><s:formattedText value="#{memberBlog.text}"/></div>
<div class="blogFooter">
- <h:outputLink value="blogentry.seam?name=#{selectedMember.memberName}&blogId=#{memberBlog.blogId}">
+ [<h:outputLink value="blogentry.seam?name=#{selectedMember.memberName}&blogId=#{memberBlog.blogId}">
#{memberBlog.commentCount} Comment#{memberBlog.commentCount != 1 ? "s" : ""}
- </h:outputLink>
- <h:outputLink rendered="#{s:hasPermission('blog','createComment', null)}"
- value="comment.seam?name=#{selectedMember.memberName}&blogId=#{memberBlog.blogId}">
+ </h:outputLink>]
+ <s:span rendered="#{s:hasPermission('blog','createComment', null)}">
+ [<h:outputLink value="comment.seam?name=#{selectedMember.memberName}&blogId=#{memberBlog.blogId}">
Add Comment
- </h:outputLink>
+ </h:outputLink>]
+ </s:span>
</div>
</div>
</ui:repeat>
1.8 +5 -3 jboss-seam/examples/seamspace/view/blogentry.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: blogentry.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/blogentry.xhtml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- blogentry.xhtml 28 Jan 2007 05:26:37 -0000 1.7
+++ blogentry.xhtml 31 Jan 2007 07:17:42 -0000 1.8
@@ -30,10 +30,12 @@
<div class="blogTitle">#{selectedBlog.title}</div>
<div class="blogText"><s:formattedText value="#{selectedBlog.text}"/></div>
<div class="blogFooter">
- <h:outputLink rendered="#{s:hasPermission('blog','createComment', null)}"
- value="comment.seam?name=#{selectedMember.memberName}&blogId=#{selectedBlog.blogId}">
+ <s:span rendered="#{s:hasPermission('blog','createComment', null)}">
+ [<h:outputLink value="comment.seam?name=#{selectedMember.memberName}&blogId=#{selectedBlog.blogId}">
Add Comment
- </h:outputLink>
+ </h:outputLink>]
+ </s:span>
+ [<h:outputLink value="blog.seam?name=#{selectedMember.memberName}">View all blog entries</h:outputLink>]
</div>
</div>
1.10 +4 -4 jboss-seam/examples/seamspace/view/template.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: template.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/template.xhtml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- template.xhtml 27 Jan 2007 14:25:38 -0000 1.9
+++ template.xhtml 31 Jan 2007 07:17:42 -0000 1.10
@@ -29,7 +29,7 @@
</div>
<div id="search">
<h:inputText type="text" styleClass="searchField"/>
- <h:commandButton value="Search SeamSpace" styleClass="searchButton"/>
+ <h:commandButton value="Search SeamSpace" onclick="javascript:alert('This feature coming soon!');return false" styleClass="searchButton"/>
</div>
</h:form>
</div>
@@ -37,9 +37,9 @@
<div id="menubar">
<s:link view="/home.xhtml" value="Home" propagation="none"/>|
- <s:link value="Browse"/>|
- <s:link value="Blog"/>|
- <s:link value="Music"/>
+ <s:link value="Browse" onclick="javascript:alert('This feature coming soon!');return false"/>|
+ <s:link value="Blog" onclick="javascript:alert('This feature coming soon!');return false"/>|
+ <s:link value="Music" onclick="javascript:alert('This feature coming soon!');return false"/>
</div>
<div id="content">
More information about the jboss-cvs-commits
mailing list