com.plumtree.portalpages.browsing.portalsettings.localesettings
Class LocaleSettingsView
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorView
com.plumtree.portalpages.browsing.portalsettings.localesettings.LocaleSettingsView
- All Implemented Interfaces:
- IManagedObject, IMVCObject, IView
public class LocaleSettingsView
- extends EditorView
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
HTMLINPUT_LANG
public static final java.lang.String HTMLINPUT_LANG
- See Also:
- Constant Field Values
HTMLINPUT_TZ
public static final java.lang.String HTMLINPUT_TZ
- See Also:
- Constant Field Values
LocaleSettingsView
public LocaleSettingsView()
Display
public HTMLElement Display()
- Description copied from class:
EditorView
- This method returns the HTMLElement that encompasses the output of the
View.
- Specified by:
Display
in interface IView
- Specified by:
Display
in class EditorView
- Returns:
GetLocalesDropdown
public static HTMLSelect GetLocalesDropdown(AActivitySpace asOwner,
java.lang.String _strSelectedLocale)
- Returns a dropdown for the Locales.
- Parameters:
rm
- The resource manager can be retrieved from the editor's activity space owner -
XPResourceManager rm = m_asOwner.GetResourceManager();__strSelectedLocale
- The setting returned from the server as the previously selected locale. Use
the LoginHelper to get the setting :-
(String) LoginHelper.GetPersonalSettingValue(PersonalSettingNames.LOCALE, sessionManager, ptSession);
- Returns:
- An HTMLSelect that is the dropdown for timezones.
- Throws:
HTMLException
GetName
public java.lang.String GetName()
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class EditorView
- Returns:
- String
GetTimeZoneDropdown
public static HTMLSelect GetTimeZoneDropdown(AActivitySpace asOwner,
java.lang.String _strSelectedTZ)
- Returns a dropdown for the Timezones.
- Parameters:
rm
- The resource manager can be retrieved from the editor's activity space owner -
XPResourceManager rm = m_asOwner.GetResourceManager();_strSelectedTZ
- The setting returned from the server as the previously selected time zone. Use
the LoginHelper to get the setting :-
(String) LoginHelper.GetPersonalSettingValue(PersonalSettingNames.TIMEZONE, sessionManager, ptSession);
- Returns:
- An HTMLSelect that is the dropdown for timezones.
- Throws:
HTMLException
Create
public java.lang.Object Create()
- Description copied from class:
EditorView
- This method is used by the ASManager to return new instances of managed
objects.
- Specified by:
Create
in interface IManagedObject
- Specified by:
Create
in class EditorView
- Returns:
- A new instance of the managed class (i.e. return new Foo();)
- See Also:
IManagedObject.Create()