Skip to Content
author's profile photo Former Member
Former Member

How to edit the User Profile webdynpro application in Personalization

Hi All,

I need to edit the User Profile application in Portal,which is available in Personalize option. Here are the things need to do on the application

I need to disable the email address option.


when user enters the mail id which is not in the domain like

our company domain is, when the user enters mail id like, it should not allow user to save the mail.

How to control this. As I know this can controled in the webdynpro application. where to get that application.

If anyone have an idea please help me.

Thanks in advance.


Ponnusamy P

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 09:21 AM


    You can use the following code to validate the email ID:

    static final String expression = "(

    public boolean validateEmailId( java.lang.String emailId )


    //@@begin validateEmailId()

    java.util.regex.Pattern pattern;

    String value = null;

    boolean isValid = false;

    try {

    value = emailId.toString();

    pattern = java.util.regex.Pattern.compile(expression);

    isValid = pattern.matcher(value).matches();

    } catch (Exception e) {


    return isValid;



    Now if this method returns false then display a message to the user that "Please enter a valid Email ID" else allow the user to save the data.

    Hope this will solve your problem.

    thanks & regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.