Class FormMashup

  • All Implemented Interfaces:
    EventChild, java.io.Serializable, java.lang.Cloneable, org.zkoss.zk.ui.Component, org.zkoss.zk.ui.ext.Scope, org.zkoss.zk.ui.sys.ComponentCtrl

    public class FormMashup
    extends org.zkoss.zul.Iframe
    implements EventChild
    Author:
    rbo
    See Also:
    Serialized Form
    • Constructor Detail

      • FormMashup

        public FormMashup​(com.saperion.ngc.iform.xml.MashupType type)
                   throws NgcUiException
        Parameters:
        type - Mashup type
        Throws:
        NgcUiException - exception to be handled by view
    • Method Detail

      • getFrameId

        public long getFrameId()
        Returns the FrameId as shown in the mask-designer for this mashup component.
        Returns:
        the FrameId as shown in the mask-designer for this mashup component.
      • service

        public void service​(org.zkoss.zk.au.AuRequest request,
                            boolean everError)
        Specified by:
        service in interface org.zkoss.zk.ui.sys.ComponentCtrl
        Overrides:
        service in class org.zkoss.zul.Iframe
        See Also:
        Iframe.service(org.zkoss.zk.au.AuRequest, boolean)
      • onFieldChange

        public void onFieldChange​(org.zkoss.zk.ui.event.Event event)
        Parameters:
        event - Event
      • onIndexChange

        public void onIndexChange​(org.zkoss.zk.ui.event.Event event)
        Parameters:
        event - Event
      • onMashupError

        public void onMashupError​(org.zkoss.zk.ui.event.Event event)
        Parameters:
        event - Event
      • onMashupAttached

        public void onMashupAttached​(org.zkoss.zk.ui.event.Event event)
        Is called when the mashup is attached to the DOM. Sends all values stored so far to the mash up.
        Parameters:
        event - The sent 'onMashupAttached' event.
      • getEventtarget

        public java.util.Set<org.zkoss.zk.ui.Component> getEventtarget​(java.lang.String eventName)
        Reads the event target for the given event name, if set or the root element.
        Specified by:
        getEventtarget in interface EventChild
        Parameters:
        eventName - Event name or null for main target
        Returns:
        Set of event targets
        See Also:
        EventChild.getEventtarget(java.lang.String)
      • getTempFileName

        public java.lang.String getTempFileName​(java.lang.String source)