public interface DynamicMedia
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.
Desktop.getDynamicMediaURI(org.zkoss.zk.ui.Component, java.lang.String)
to retrieve a URI and generate proper HTML (or any client language).DHtmlUpdateServlet interprets it
and call getMedia(java.lang.String) to retrieve the media and return it the client| Modifier and Type | Method and Description |
|---|---|
Media |
getMedia(java.lang.String pathInfo)
Retrieve the view in
Media format. |
Media getMedia(java.lang.String pathInfo)
Media format.
Unlike other methods, you cannot post event, create, remove, invalidate or do any smart updates in this method. In other words, READ ONLY.
pathInfo - the extra info passed to
DHtmlUpdateServlet.
It is what you passed to
Desktop.getDynamicMediaURI(org.zkoss.zk.ui.Component, java.lang.String).
It is never null. It must start with "/" or be empty.Copyright © 2005-2024 Potix Corporation. All Rights Reserved.