[seam-commits] Seam SVN: r13453 - in modules/security/trunk/examples/idmconsole/src/main/webapp: WEB-INF and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Jul 20 18:31:51 EDT 2010
Author: shane.bryzak at jboss.com
Date: 2010-07-20 18:31:51 -0400 (Tue, 20 Jul 2010)
New Revision: 13453
Modified:
modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/faces-config.xml
modules/security/trunk/examples/idmconsole/src/main/webapp/groupdetail.xhtml
Log:
implement group add feature
Modified: modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/faces-config.xml 2010-07-20 12:21:43 UTC (rev 13452)
+++ modules/security/trunk/examples/idmconsole/src/main/webapp/WEB-INF/faces-config.xml 2010-07-20 22:31:51 UTC (rev 13453)
@@ -74,6 +74,13 @@
<from-view-id>/groupdetail.xhtml</from-view-id>
<navigation-case>
+ <from-action>#{groupAction.save}</from-action>
+ <if>#{true}</if>
+ <to-view-id>/managegroups.xhtml</to-view-id>
+ <redirect />
+ </navigation-case>
+
+ <navigation-case>
<from-action>#{groupAction.cancel}</from-action>
<if>#{true}</if>
<to-view-id>/managegroups.xhtml</to-view-id>
Modified: modules/security/trunk/examples/idmconsole/src/main/webapp/groupdetail.xhtml
===================================================================
--- modules/security/trunk/examples/idmconsole/src/main/webapp/groupdetail.xhtml 2010-07-20 12:21:43 UTC (rev 13452)
+++ modules/security/trunk/examples/idmconsole/src/main/webapp/groupdetail.xhtml 2010-07-20 22:31:51 UTC (rev 13453)
@@ -22,8 +22,14 @@
<div class="formRow">
<h:outputLabel for="groupname" value="Group name" styleClass="formLabel"/>
<h:inputText id="groupname" value="#{groupAction.groupName}"/>
- <div class="validationError"><h:message for="firstname"/></div>
+ <div class="validationError"><h:message for="groupname"/></div>
</div>
+
+ <div class="formRow">
+ <h:outputLabel for="grouptype" value="Group type" styleClass="formLabel"/>
+ <h:inputText id="grouptype" value="#{groupAction.groupType}"/>
+ <div class="validationError"><h:message for="grouptype"/></div>
+ </div>
<div class="formButtons">
<h:commandButton id="save" value="Save" action="#{groupAction.save}" styleClass="formButton"/>
More information about the seam-commits
mailing list