Package org.zkoss.zul.impl
Class ZulMessageLoader
- java.lang.Object
-
- org.zkoss.zul.impl.ZulMessageLoader
-
- All Implemented Interfaces:
MessageLoader
public class ZulMessageLoader extends java.lang.Object implements MessageLoader
ZUL implementation of MessageLoader- Since:
- 5.0.11
- Author:
- simonpai
-
-
Constructor Summary
Constructors Constructor Description ZulMessageLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
load(java.lang.StringBuffer out, Execution exec)
Load the message to output StringBuffer.
-
-
-
Method Detail
-
load
public void load(java.lang.StringBuffer out, Execution exec) throws java.io.IOException
Description copied from interface:MessageLoader
Load the message to output StringBuffer.ZK will scan the
MessageLoader
setting and invoke this method to load the system messages in the following two circumstances.Wpds.outLocaleJavaScript(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
(defined in zul/lang/zk.wpd)Clients.reloadMessages(java.util.Locale)
Desktop
andPage
instance. Hence, programmer must notice that they cannot use many of Execution's API.- Specified by:
load
in interfaceMessageLoader
- Parameters:
out
- StringBuffer to outputexec
- current Execution- Throws:
java.io.IOException
-
-