on 05-16-2005 2:31 PM
Hello,
We are currently looking at ways of allowing user to set their user language before logging in. On the logon page we want to provide a select box where user can select their default language. The user would enter the username, password, language and click logon button. Upon
logon the Portal content will be displayed in the language selected. I looked in the logon component 'com.sap.portal.runtime.logon.par' on the logon page and there a portion of the code that checks if UME
property 'ume.logon.locale' is set to TRUE and if that is the case it displays the language select. I've modified the UME property file '\usr\sap\J2EE\j2ee\j2ee_00\ume\sapum.properties' and everything displays correctly however upon logon the content language does not get set to the specified language. Can you tell me what I am doing wrong? Am I missing anything and is this possible?
<%
if( UMFactory.getProperties().getBoolean("ume.logon.locale",
false) ) {
%>
<tr>
<td width="200" height="20">
<label class="urLblStd" for="preferredlanguage">
<nobr><%=logonLocale.get("LANGUAGE")%></nobr>
</label>
</td>
<td >
<select id="ume.logon.locale"
name="ume.logon.locale"
class="urDdlWhl" size=1>
<option value="en">English</option>
<option value="fr"><%=EncodeHtmlTag.encode
("Fran\u00E7ais")%></option>
</select>
</td>
</tr>
<%
}
%>
Thanks in advance,
Rabih
Hi Rabih,
I'm having the same problem... Did you find a way to get this parameter working ?
Thanks & regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.