Hello,
I have done a file in which I create a user and and in which I add new
properties to the user. For example the field "Region" ! It works well if I
want to modify the new field using the file mysettings.jsp or if I want to
create a new user using the file newuserregistration.jsp.
But if I want to create or to modify a user with the Administration interface,
it is impossaible to modify the field "Region". It doesn't take the
modification.
Here are the lines I added in the two corresponding files : user_create.jsp
and user_edit.jsp!
user_create.jsp:
<tr>
<td align="right" nowrap>
RÃgion
</td>
<td>
<input class="input" type="text" name="REGION"
size="40" maxlength="255" value='<%=userProperties.get
("REGION")%>'>
</td>
</tr>
user_edit.jsp:
<tr>
<td align="right">
RÃgion
</td>
<td>
<% if (provider.indexOf("LDAP") != -1) { %>
<b><%=JahiaTools.nnString((String)userProperties.get
("REGION"))%></b>
<% } else { %>
<input class="input" type="text" name="REGION"
size="40" maxlength="255"
value='<%=JahiaTools.nnString((String)userProperties.get
("REGION"))%>'>
<% } %>
</td>
</tr>
Thanks!