Hi experts,
I have some problem with nested component. I'm using Documentum 6.5 SP2 and created new component. I used next parameters to lauch it:
<execution class="com.documentum.web.formext.action.LaunchComponent">
<component>newworkarea</component>
<container>newworkareacontainer</container>
</execution>
<invocation>
<modalpopup>
<windowsize>medium</windowsize>
<refreshparentwindow>onok</refreshparentwindow>
</modalpopup>
</invocation>
It is launches succesfully and there is no problem. Then I added link to browse users list:
<dmf:link name="changeUser" onclick="onChangeUser"
nlsid="MSG_CHANGE_USER" tooltipnlsid="MSG_CHANGE_USER" />
Then I added method to my component class file
publicvoid onChangeUser(Link link, ArgumentList args) { ArgumentList selectArgs = new ArgumentList(); selectArgs.add("component", "userorgrouplocator"); selectArgs.add("flatlist", "true"); setComponentNested("userorgrouplocatorcontainer", selectArgs, getContext(), new IReturnListener() { private static final long serialVersionUID = 1L; public void onReturn(Form form, Map map) { // Handle return event from select permission set // component. if (map != null) { LocatorItemResultSet setLocatorSelections = (LocatorItemResultSet) map .get(ILocator.LOCATORSELECTIONS); if (setLocatorSelections != null && setLocatorSelections.first() == true) { String userOrGroupId = (String) setLocatorSelections .getObject("r_object_id"); if (userOrGroupId != null) { initAssignedUser(userOrGroupId); } } } } });}And here I got the problem. The code works correctly and when I press the link it shows the user list and I can choose one. But the list of users opens not in popup but in the same window! Why? Did anyone have the same issue? For example on the Permissions tab of properties we have chanceAcl link and it works in the same way, but the list appears in new popup window!