As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
new NamedValue(Constants.PROP_USER_MIDDLENAME, false, middleName, null),
<type name="cm:person"> <title>Person</title> <parent>sys:base</parent> <properties> </property> … <property name="cm:firstName"> <type>d:text</type> <mandatory>true</mandatory> </property> <property name="cm:lastName"> <type>d:text</type> <mandatory>true</mandatory> </property> <property name="cm:middleName"> <type>d:text</type> </property> <property name="cm:email"> <type>d:text</type> </property> …
<tr> <td class="propertiesLabel"> <h:outputText value="#{msg.first_name}" />: </td> <td> <h:outputText value="#{UsersBean.person.properties.firstName}" /> </td> </tr> <tr> <td class="propertiesLabel"> <h:outputText value="#{msg.last_name}" />: </td> <td> <h:outputText value="#{UsersBean.person.properties.lastName}" /> </td> </tr>
<a:richList id="users-list" binding="#{UsersBean.usersRichList}" viewMode="details" pageSize="10" styleClass="recordSet" headerStyleClass="recordSetHeader" rowStyleClass="recordSetRow" altRowStyleClass="recordSetRowAlt" width="100%" value="#{UsersBean.users}" var="r" initialSortColumn="userName" initialSortDescending="true"> <%– Primary column with full name –%> <a:column primary="true" width="200" style="padding:2px;text-align:left"> <f:facet name="header"> <a:sortLink label="#{msg.name}" value="fullName" mode="case-insensitive" styleClass="header"/> </f:facet> <f:facet name="small-icon"> <h:graphicImage url="/images/icons/person.gif" /> </f:facet> <h:outputText value="#{r.fullName}" /> </a:column> <%– Username column –%>
… Map<String, Object> props = node.getProperties(); props.put("fullName", ((String)props.get("firstName")) + ' ' + ((String)props.get("lastName"))); …