public class PortalFunctionMapper extends Object implements IExtendedFunctionMapper
Resolves EL functions to be available in any portal context.
Constructor and Description |
---|
PortalFunctionMapper() |
Modifier and Type | Method and Description |
---|---|
void |
afterEvaluation()
Performs any needed operations after the evaluation happens.
|
void |
beforeEvaluation()
Performs any initialization needed before the evaluation is performed.
|
static String |
localize(String[] args)
Resolves the string.
|
Method |
resolveFunction(String prefix,
String methodName) |
public static String localize(String[] args) throws PortalException
args
- the localize function parameters. First argument is the
identifier of the string to be localized. The second argument is optional,
and is the resource path to be included in the localization.PortalException
- if an error occur localizing the string.public Method resolveFunction(String prefix, String methodName)
resolveFunction
in interface FunctionMapper
public void beforeEvaluation()
public void afterEvaluation()
finally
.Lumisportal 7.1.1.140331 - Copyright © 2006–2014 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.