Class FormMashup

java.lang.Object
org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.Iframe
com.saperion.ngc.iform.mashup.FormMashup
All Implemented Interfaces:
EventChild, Serializable, 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:
  • Constructor Details

    • FormMashup

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

      public FormMashup() throws NgcUiException
      Throws:
      NgcUiException - exception to be handled by view
  • Method Details

    • 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 Set<org.zkoss.zk.ui.Component> getEventtarget(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:
    • setEventtarget

      public void setEventtarget(org.zkoss.zk.ui.Component comp, String eventName)
      Set the event target.
      Specified by:
      setEventtarget in interface EventChild
      Parameters:
      comp - Event target
      eventName - Event name or null for main target
      See Also:
    • getTempFileName

      public String getTempFileName(String source)