|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebFragmentHelper
Provides application specific methods to build/render web fragments
| Method Summary | |
|---|---|
String |
getI18nValue(String key,
List<?> arguments,
Map<String,Object> context)
Look up a message key in the application |
Condition |
loadCondition(String className,
Plugin plugin)
Creates a condition instance. |
ContextProvider |
loadContextProvider(String className,
Plugin plugin)
Creates a context provider instance. |
String |
renderVelocityFragment(String fragment,
Map<String,Object> context)
Renders the string fragment as a Velocity template |
| Method Detail |
|---|
Condition loadCondition(String className,
Plugin plugin)
throws ConditionLoadingException
AutowireCapablePlugin
className - the condition class nameplugin - the plugin from which the condition came
ConditionLoadingException - If the condition was unable to be created
ContextProvider loadContextProvider(String className,
Plugin plugin)
throws ConditionLoadingException
AutowireCapablePlugin
className - the context provider class nameplugin - the plugin from which the context provider came
ConditionLoadingException - If the context provider was unable to be created
String getI18nValue(String key,
List<?> arguments,
Map<String,Object> context)
key - The message keyarguments - The arguments to use to replace tokens with any expressions already processedcontext - The context (optional)
String renderVelocityFragment(String fragment,
Map<String,Object> context)
fragment - The string fragment to rendercontext - The context to use as the base of the Velocity context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||