[jboss-cvs] jboss-seam/examples/seamspace/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Thu Jan 25 08:24:13 EST 2007
User: sbryzak2
Date: 07/01/25 08:24:13
Modified: examples/seamspace/view home.xhtml profile.xhtml
Log:
updated with security changes
Revision Changes Path
1.12 +3 -3 jboss-seam/examples/seamspace/view/home.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: home.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/home.xhtml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- home.xhtml 18 Jan 2007 12:28:56 -0000 1.11
+++ home.xhtml 25 Jan 2007 13:24:13 -0000 1.12
@@ -29,7 +29,7 @@
<div class="loginRow">
<h:outputLabel for="name" value="Member name" styleClass="loginLabel"/>
- <h:inputText id="name" value="#{member.username}"/>
+ <h:inputText id="name" value="#{identity.username}"/>
</div>
<div class="validationMsg">
@@ -38,7 +38,7 @@
<div class="loginRow">
<h:outputLabel for="password" value="Password" styleClass="loginLabel"/>
- <h:inputSecret id="password" value="#{member.password}"/>
+ <h:inputSecret id="password" value="#{identity.password}"/>
</div>
<div class="validationMsg">
@@ -46,7 +46,7 @@
</div>
<div class="buttons">
- <h:commandButton value="LOGIN" action="#{login.login}" styleClass="loginButton"/>
+ <h:commandButton value="LOGIN" action="#{identity.login}" styleClass="loginButton"/>
<h:commandButton value="SIGN UP!" action="#{register.start}" styleClass="registerButton"/>
</div>
1.11 +4 -1 jboss-seam/examples/seamspace/view/profile.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: profile.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/profile.xhtml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- profile.xhtml 18 Jan 2007 12:28:56 -0000 1.10
+++ profile.xhtml 25 Jan 2007 13:24:13 -0000 1.11
@@ -45,7 +45,10 @@
</ui:repeat>
[<h:outputLink value="blog.seam?name=#{selectedMember.memberName}">View all blog entries</h:outputLink>]
+
+ <s:span rendered="#{s:hasPermission('blog', 'create', selectedMember)}">
[<s:link action="#{blog.createEntry}" value="Create new blog entry"/>]
+ </s:span>
</s:div>
</s:div>
More information about the jboss-cvs-commits
mailing list