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

Error bean & messages in logon page of portal

Hi,

I analysing portal logon.par. In all JSP files i saw only error.getmessage(), but no where error.setmessage(). Could anyone explain me where the error message has been set in error bean?

Thanks,

Srikanth.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Aug 21, 2006 at 11:55 AM

    Hi;

    If you want to customize the error messages

    you can try to change some properties in PORTAL-INF/Lib/umelogonbase.jar.

    For example

    logonMessages_en.properties ->

    PASSWORD_TOO_SHORT=Invalid new password (must be at least {0,number,integer} characters long)

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2006 at 11:54 AM

    Hi,

    I wanted to use my own message key instead of std. messages in jar file. How can send custom messages using errorbean.

    Thanks,

    Srikanth.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2009 at 11:47 AM

    Hi,

    where do you generate this error? In a login module?

    I have had a similar problem (my error message was created in a custom login module) and resolved using std properties, like Jorg said.

    If you want a way to display your own message in umLogonPage.jsp, you have to create new ErrorBean and assign it to current ErrorBean error

    error = new ErrorBean(new Message("Your message"));

    Hope this helps

    regards

    Cristian

    Edited by: Cristian Fusi on Nov 11, 2009 1:07 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 12, 2009 at 08:06 PM

    Srikanth,

    Its possible to display the customized error message in logon page.

    You need to add the cutom error message in the corresponding text file under umelogonbase.jar.

    Just extract the logonbase.jar into your local system and find out the text file which contains error messages and edit the file.

    Double click on the jar / open with winzip and add the modified text file into unelogonbase.jar to overwrite the old file the uplod the logon par file along with the modified jar.

    Ram

    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.