on 08-21-2006 12:39 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.