11-06-2007 04:12 PM
<property name="cm:replacementPersonStartDate">
<type>d:date</type>
</property>
to contentModel.xml file.
<tr>
<td><h:outputText value="#{msg.replacement_person_start_date}"/>:</td>
<td>
<h:inputText id="replacement_person_start_date" value="#{UsersBean.person.properties.replacementPersonStartDate}" size="35" maxlength="1024" onkeyup="updateButtonState();" onchange="updateButtonState();" /> *
</td>
</tr>
to edit-user-details.jsp file.
<td class="propertiesLabel">
<h:outputText value="#{msg.replacement_person_start_date}" />:
</td>
<td>
<h:outputText value="#{UsersBean.person.properties.replacementPersonStartDate}" />
</td>
</tr>
to user-console.jsp file.
public String changeUserDetails()
{
…
props.put(ContentModel.PROP_EMAIL, (String)getPerson().getProperties().get(ContentModel.PROP_EMAIL));
props.put(ContentModel.PROP_REPLACEMENT_PERSON_START_DATE,
(Date)getPerson().getProperties().get(ContentModel.PROP_REPLACEMENT_PERSON_START_DATE));
…
this.nodeService.setProperties(getPerson().getNodeRef(), props);
…
}
in UsersBean.java file.11-07-2007 07:33 AM
11-07-2007 05:25 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.