[pal-cvs 3918] [1653] not editable on edit mode.

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 1月 1日 (木) 06:49:19 JST


Revision: 1653
          http://svn.sourceforge.jp/view?root=pal&view=rev&rev=1653
Author:   shinsuke
Date:     2009-01-01 06:49:19 +0900 (Thu, 01 Jan 2009)

Log Message:
-----------
not editable on edit mode.

Modified Paths:
--------------
    userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp
    userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp
    userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp


-------------- next part --------------
Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp
===================================================================
--- userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp	2008-12-31 21:31:23 UTC (rev 1652)
+++ userinfo/trunk/src/main/webapp/WEB-INF/view/groupInfo/edit.jsp	2008-12-31 21:49:19 UTC (rev 1653)
@@ -46,11 +46,21 @@
 		<table style="width: 400px;">
             <caption><bean:message key="labels.group_detail"/></caption>
             <tbody>
+<c:choose>
+<c:when test="${mode==1}">
                 <tr>
                     <th style="width: 120px;"><bean:message key="labels.group_id"/></th>
                     <td><html:text property="groupId" size="20" style="width:100%;"/></td>
                 </tr>
+</c:when>
+<c:otherwise>
                 <tr>
+                    <th style="width: 120px;"><bean:message key="labels.group_id"/></th>
+                    <td>${f:h(groupId)}<html:hidden property="groupId"/></td>
+                </tr>
+</c:otherwise>
+</c:choose>
+                <tr>
                     <th><bean:message key="labels.name"/></th>
                     <td><html:text property="name" size="20" style="width:100%;"/></td>
                 </tr>

Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp
===================================================================
--- userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp	2008-12-31 21:31:23 UTC (rev 1652)
+++ userinfo/trunk/src/main/webapp/WEB-INF/view/roleInfo/edit.jsp	2008-12-31 21:49:19 UTC (rev 1653)
@@ -46,11 +46,21 @@
 		<table style="width: 400px;">
             <caption><bean:message key="labels.role_detail"/></caption>
             <tbody>
+<c:choose>
+<c:when test="${mode==1}">
                 <tr>
                     <th style="width: 120px;"><bean:message key="labels.role_id"/></th>
                     <td><html:text property="roleId" size="20" style="width:100%;"/></td>
                 </tr>
+</c:when>
+<c:otherwise>
                 <tr>
+                    <th style="width: 120px;"><bean:message key="labels.role_id"/></th>
+                    <td>${f:h(roleId)}<html:hidden property="roleId"/></td>
+                </tr>
+</c:otherwise>
+</c:choose>
+                <tr>
                     <th><bean:message key="labels.name"/></th>
                     <td><html:text property="name" size="20" style="width:100%;"/></td>
                 </tr>

Modified: userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp
===================================================================
--- userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp	2008-12-31 21:31:23 UTC (rev 1652)
+++ userinfo/trunk/src/main/webapp/WEB-INF/view/userInfo/edit.jsp	2008-12-31 21:49:19 UTC (rev 1653)
@@ -48,10 +48,20 @@
 		<table style="width: 400px;">
             <caption><bean:message key="labels.user_detail"/></caption>
             <tbody>
+<c:choose>
+<c:when test="${mode==1}">
                 <tr>
                     <th style="width: 120px;"><bean:message key="labels.user_id"/></th>
                     <td><html:text property="userId" size="20" style="width:100%;"/></td>
                 </tr>
+</c:when>
+<c:otherwise>
+                <tr>
+                    <th style="width: 120px;"><bean:message key="labels.user_id"/></th>
+                    <td>${f:h(userId)}<html:hidden property="userId"/></td>
+                </tr>
+</c:otherwise>
+</c:choose>
 <c:if test="${passwordEnabled}">
                 <tr>
                     <th><bean:message key="labels.password"/></th>


pal-cvs メーリングリストの案内
Back to archive index