![]() |
|||||||||||
|
modify Login.jspThe openCRX login page Login.jsp is located in the directory C:\temp\opencrx-core-CRX.war. The login page is a special case because prior to authentication the user does not have access to the openCRX application (and hence the openCRX localization features are not available). However, you only need to modify the login page if you want to offer your users a login page in a locale not already configured. You can add a new locale xx_YY by extending the code at the appropriate positions (e.g. by searching for "en_US" or "de_CH" which are both locales built into Login.jsp). The language specific part of Login.jsp starts with the following lines: Example 4-9. extract from the file ...\opencrx-core-CRX.war\Login.jsp // test whether requested locale is supported if((locale == null) || (!locale.equals("en_US") && !locale.equals("de_CH") && !locale.equals("es_MX") && . Extend all the hash maps following the above code sequence so that the updated login page can fully support the new locale xx_YY.
|
||||||||||
![]() | ![]() |