Creating Use in Webdynpro
Creating Use in Webdynpro
Web Dynpro
Summary
This article is a guide to create a portal user through Web Dynpro. After going through the procedure the
users can modify and enhance the application according to their requirements.
Author Bio
Naresh Garg is working as a Web Dynpro consultant in L&T Infotech Pvt. Ltd. for last 9
months.
Table of Contents
Procedure ...........................................................................................................................................................3
Create Project .................................................................................................................................................3
Add Jar files ....................................................................................................................................................3
Create Application...........................................................................................................................................4
Create Context Attributes and Actions............................................................................................................5
Create the Layout............................................................................................................................................5
Implementation................................................................................................................................................6
Deployment and Execution .............................................................................................................................7
Related Content ..............................................................................................................................................8
Disclaimer and Liability Notice............................................................................................................................9
Procedure
Create Project
Create a new Web Dynpro project named CreatePortalUser.
Create Application
Create the application CreatePortalUserApp.
In the package give a package name as you like.
Click on Next.
In the window that appears keep the default values and click on Finish.
Implementation
In the Implementation tab, paste the following code inside the onActionCreateUser.
String user = wdContext.currentContextElement().getUser();
String lastName = wdContext.currentContextElement().getLastName();
String firstName = wdContext.currentContextElement().getFirstName();
String email = wdContext.currentContextElement().getEmail();
} catch (UMException e) {
wdComponentAPI.getMessageManager().reportException(e.getMessage(),false);
e.printStackTrace();
}
Related Content
UME Actions in Portal
Protecting Access to the Web Dynpro Car Rental Application Using UME Permissions
Protecting Access to a J2EE-Based Car Rental Application Using UME Permissions
For more information, visit the Portal and Collaboration homepage.