Designing and Implementing Composite Applications : webMethods CAF and OpenCAF Development Help : Views in the Composite Application Framework : Using Snippets : Using MWS Control Patterns Snippets
Using MWS Control Patterns Snippets
On the Snippets view, the MWS Control Patterns drawer contains the Select People snippet. Use the Select People snippet to simplify implementation of selecting users, groups, or roles.
To use the Select People snippet
1. On the Snippets view, expand the MWS Control Patterns drawer.
2. Drag the Select People snippet onto the design canvas.
3. In the Insert Template dialog box, click Insert.
4. Resolve the invalid expression for: #{activePageBean.person.displayName}.
a. In the Palette view, expand Data > User/Role/Group, and then drag a User Model control onto the page bean.
b. In the Choose Data Target dialog box, click Add new simple property to portlet_name/page_name, and then click Next.
c. In the Property Name text box, type a name (person is recommended), select the Property is writable (setter is generated) text box, and then click Finish.
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback