|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcorelib.services.web.components.WebComponent
corelib.services.web.components.ResourceBundle
public class ResourceBundle
This type of web component permits corelib.runtime.internationalisation.ResourceBundle usage on a web
page. The associated resource bundle file must be accesible from the directory containing your web application.
Of course, you can retrieve the raw resource bundle from this web component.
| Field Summary | |
|---|---|
protected java.lang.String |
filename
|
protected ResourceBundle |
rawResourceBundle
|
| Fields inherited from class corelib.services.web.components.WebComponent |
|---|
dataBindings, webPage, xmlNode |
| Constructor Summary | |
|---|---|
ResourceBundle()
|
|
| Method Summary | |
|---|---|
void |
component_init(WebPageEvent event)
Fired when the web page begin his initialization. |
java.lang.String |
getFilename()
Returns the raw resource bundle file name (path is based from the directory containing your web application). |
ResourceBundle |
getRawResourceBundle()
Returns the associated raw resource bundle. |
void |
setFilename(java.lang.String filename)
Sets the name of the raw resource bundle (path is based from the directory containing your web application). |
| Methods inherited from class corelib.services.web.components.WebComponent |
|---|
addBindingExpression, addChildComponent, component_load, component_preRepeaterDuplications, getChildComponents, getDataBinding, getElementsByTagName, getId, getWebPage, getXmlNode, setId, setWebPage, setXmlNode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String filename
protected ResourceBundle rawResourceBundle
| Constructor Detail |
|---|
public ResourceBundle()
| Method Detail |
|---|
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename - The application relative path of the raw resource bundle.public ResourceBundle getRawResourceBundle()
public void component_init(WebPageEvent event)
WebComponent
component_init in class WebComponentevent - Qualify the current web page event.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||