svn commit: r1687975 - /portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp

[email protected]
Newsgroups gmane.comp.jakarta.jetspeed.devel
Message-ID <[email protected]>
Author: taylor
Date: Sat Jun 27 22:39:37 2015
New Revision: 1687975

URL: http://svn.apache.org/r1687975
Log:
aligning both user managers to use same email attribute

Modified:
    portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp

Modified: portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp?rev=1687975&r1=1687974&r2=1687975&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp (original)
+++ portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/security/usermanager2.jsp Sat Jun 27 22:39:37 2015
@@ -48,7 +48,7 @@ limitations under the License.
 					<option disabled="true" value="">---</option>
 					<option value="attribute_user.name.given">first name</option>
 					<option value="attribute_user.name.family">last name</option>
-					<option value="attribute_user.email">email</option>
+					<option value="user.business-info.online.email">email</option>
 				</select>
 				<div style="float:left;margin-left:1em;width:214px;padding-bottom:0.5em;"> 
 					<input id="constraintValue0" type="text" class="portlet-form-field-label" style="font-family:verdana;width:100%"> 
@@ -288,7 +288,7 @@ YUI({combine: true, timeout: 10000}).use
 						'<option disabled="true" value="">---</option>'+
 						'<option value="attribute_user.name.given">first name</option>'+
 						'<option value="attribute_user.name.family">last name</option>'+
-						'<option value="attribute_user.email">email</option>'+
+						'<option value="user.business-info.online.email">email</option>'+
 					'</select>'+
 					'<div style="float:left;margin-left:1em;width:214px;padding-bottom:0.5em"> '+
 						'<input id="constraintValue'+id+'" type="text" class="portlet-form-field-label" style="font-family:verdana;width:100%"> '+
@@ -384,7 +384,7 @@ YUI({combine: true, timeout: 10000}).use
         Y.one('#inputUserNameHidden').set('value', dataOut.name);
         Y.one('#inputUserNameGiven').set('value', dataOut.infoMap["user.name.given"]);
         Y.one('#inputUserNameFamily').set('value', dataOut.infoMap["user.name.family"]);
-        Y.one('#inputUserEmail').set('value', dataOut.infoMap["user.email"]);
+        Y.one('#inputUserEmail').set('value', dataOut.infoMap["user.business-info.online.email"]);
         Y.one('#userEnabled').set('checked', dataOut.enabled);
         Y.one('#credentialUpdateRequired').set('checked', dataOut.credentialUpdateRequired);
 		Y.one('#editUserPage * #password').set('value', '');
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.