Package org.zkoss.zk.ui.metainfo
Interface MessageLoader
public interface MessageLoader
The interface for loading messages as String output.
- Since:
- 5.0.11
- Author:
- simonpai
-
Method Summary
Modifier and TypeMethodDescriptionvoidload(StringBuffer out, Execution exec) Load the message to output StringBuffer.
-
Method Details
-
load
Load the message to output StringBuffer.ZK will scan the
MessageLoadersetting and invoke this method to load the system messages in the following two circumstances.Wpds.outLocaleJavaScript(jakarta.servlet.ServletRequest, jakarta.servlet.ServletResponse)(defined in zul/lang/zk.wpd)Clients.reloadMessages(java.util.Locale)
DesktopandPageinstance. Hence, programmer must notice that they cannot use many of Execution's API.- Parameters:
out- StringBuffer to outputexec- current Execution- Throws:
IOException
-