Interface DynamicMedia


public interface DynamicMedia
Implemented by the object returned by ComponentCtrl.getExtraCtrl(), if a component might have viewable parts other than HTML (WML, XAML or any client language). A typical example is an image and an audio.

How it works:

  1. DynamicMedia component first invoke Desktop.getDynamicMediaURI(org.zkoss.zk.ui.Component, java.lang.String) to retrieve a URI and generate proper HTML (or any client language).
  2. Then, client will send a request to the URI
  3. DHtmlUpdateServlet interprets it and call getMedia(java.lang.String) to retrieve the media and return it the client
Author:
tomyeh
  • Method Summary

    Modifier and Type
    Method
    Description
    org.zkoss.util.media.Media
    getMedia(String pathInfo)
    Retrieve the view in Media format.