corelib.services.web.components
Class ResourceBundle

java.lang.Object
  extended by corelib.services.web.components.WebComponent
      extended by corelib.services.web.components.ResourceBundle

public class ResourceBundle
extends WebComponent

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.

Since:
0.2.0
Author:
Dominique Liard

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

filename

protected java.lang.String filename

rawResourceBundle

protected ResourceBundle rawResourceBundle
Constructor Detail

ResourceBundle

public ResourceBundle()
Method Detail

getFilename

public java.lang.String getFilename()
Returns the raw resource bundle file name (path is based from the directory containing your web application).

Returns:
The raw resource bundle file name.

setFilename

public void setFilename(java.lang.String filename)
Sets the name of the raw resource bundle (path is based from the directory containing your web application).

Parameters:
filename - The application relative path of the raw resource bundle.

getRawResourceBundle

public ResourceBundle getRawResourceBundle()
Returns the associated raw resource bundle.

Returns:
The associated raw resource bundle.
Since:
0.4.0

component_init

public void component_init(WebPageEvent event)
Description copied from class: WebComponent
Fired when the web page begin his initialization.

Overrides:
component_init in class WebComponent
Parameters:
event - Qualify the current web page event.


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.