psdi.webclient.controls

Class LongDescription

    • Constructor Detail

      • LongDescription

        public LongDescription()
    • Method Detail

      • initialize

        public void initialize()
        Description copied from class: RichTextControl
        Initializes this control. If the client does not support rich text, the appropriate viewer is selected.
        Overrides:
        initialize in class RichTextControl
      • initializeValues

        protected void initializeValues()
        Initialize LongDescription control values Dynamically link the control to the source textbox component's long description. Sets the datasrc property Sets the dataattribute property Sets inputmode to readonly if component's longdescreadonly property is set to true. Saves the original value so it can be reset using the reset button.
      • getEditableComponent

        protected java.lang.String getEditableComponent()
      • resetvalue

        public int resetvalue()
                       throws MXException
        Send setvalue event to longdesctext component with original text value
        Returns:
        value from call to setvalue
        Throws:
        MXException
      • clearvalue

        public int clearvalue()
                       throws MXException
        Send setvalue event to longdesctext component with empty string
        Returns:
        value from call to setvalue
        Throws:
        MXException
      • savechanges

        public int savechanges()
        Sends dialogclose event to the page container.
        Returns:
        pass though return from sendEvent method.
      • dialogcancel

        public int dialogcancel()
                         throws MXException
        Resets any changes user may have made and sends dialogclose event to the page container.
        Returns:
        pass though return from sendEvent method.
        Throws:
        MXException
      • spellcheck

        public int spellcheck()
        Forwards request to spellcheck_dialog
        Overrides:
        spellcheck in class RichTextControl
        Returns:
        WebClientBean.EVENT_HANDLED
      • updateResetValue

        public void updateResetValue()