org.ajax4jsf.framework.resource.package.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ajax4jsf Show documentation
Show all versions of ajax4jsf Show documentation
Ajax4jsf is an open source extension to the JavaServer Faces standard that adds AJAX capability to JSF applications without requiring the writing of any JavaScript.
The newest version!
Internet Resources
Package for manipulate page resources ( images, scripts, styles,
applets etc ) at Java Server Faces render Phase and at request phase of
concrete resource.
Note: The resource framework implements the Lightweight design patter.
Therefore, the resource classes should not contain data depends of
the particular request. The data is taken from the {@link javax.context.FacesContext}
and {@link javax.component.UIComponent}, that is passed as a parameter
when html is generated.
For passing the data with URI, the {@link InternetResourceBase} class
has getDataToSave method. It is invoked when the generation is taken place.
The returned object is serialized. Then, restoreData method de-serialize it back.
The {@link InternetResourceBuilder} class controls this process.