%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %> <%@ page import="com.ecyrd.jspwiki.*" %> <%@ page import="com.ecyrd.jspwiki.auth.*" %> <%@ page import="com.ecyrd.jspwiki.auth.user.*" %> <%@ page import="java.util.Date" %> <%@ page import="java.text.SimpleDateFormat" %> <% /* see commonheader.jsp */ String prefDateFormat = (String) session.getAttribute("prefDateFormat"); String creationDate =""; String modificationDate =""; %> <% /* dateformatting not yet supported by wiki:UserProfile tag - diy */ WikiContext wikiContext = WikiContext.findContext(pageContext); UserManager manager = wikiContext.getEngine().getUserManager(); UserProfile profile = manager.getUserProfile( wikiContext.getWikiSession() ); SimpleDateFormat fmt = new SimpleDateFormat( prefDateFormat ); Date cd = profile.getCreated(); if( cd != null ) { creationDate = fmt.format( cd ) ; } Date md = profile.getLastModified(); if( md != null ) { modificationDate = fmt.format( md ) ; } %> Update your wiki profile here. Create a new user here. NOTE: After registering, you must contact wiki@glassfish.dev.java.net and request that write access be granted to your account. We apologize for this inconvenience, but it is a necessary step to prevent spam. Login name This is your login id; once set, it cannot be changed. It is only used for authentication, not for page access control. Change Password Set Password <%--FIXME Old PW not yet treated by JSPWiki Old --%>New Verify Change your password. It may not be blank. Sets your password. It may not be blank. <%-- extra validation ? min size, allowed chars? --%> Wiki name [] This must be a proper WikiName (no spaces or punctuation). Many people use a FirstLast format for their wikiName (e.g. "JohnDoe"). Your personal favorites are in [Favorites] Full name <%-- trivial help This is your full name. --%> E-mail address Your e-mail address is optional. In the future, it will be used by JSPWiki for resetting lost passwords. <%-- additional profile info --%> Roles You are member of these roles. Groups You are member of these groups. <%-- Unfortunately we can't specify the format of the dates here :-( --%> Creation date <%= creationDate %><%----%> Last modified <%= modificationDate %><%----%>
Create a new user here.
NOTE: After registering, you must contact wiki@glassfish.dev.java.net and request that write access be granted to your account. We apologize for this inconvenience, but it is a necessary step to prevent spam.