content
Tag switchModeButton


draws the button to switch between view, preview and edit mode.

The button displays the appropriate caption depending if staging is active and the user's current viewing mode. This button is only displayed when the user is logged, or when the guest was set write access on the current page.


Tag Information
Tag Classorg.jahia.taglibs.button.SwitchModeButtonTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
viewTitlefalsetruejava.lang.Stringthe caption to display to access the View mode.

Defaulted to "Live mode".

editTitlefalsetruejava.lang.Stringthe caption to display to access the Edit mode.

Defaulted to "Edit draft mode".

previewTitlefalsetruejava.lang.Stringthe caption to display to access the Preview mode.

Defaulted to "Draft mode".

separatorfalsetruejava.lang.Stringthe character, word, or HTML code inserted between each mode caption.

Defaulted to " ".

stylefalsetruejava.lang.Stringbutton's CSS style name to use.

Defaulted to no CSS style at all.


Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.