- <o:commandScript> got new autorun attribute, allowing for immediate execution during window load event - OmniFaces CommandScript and autorun to defer loading and rendering to window onload event
- <o:viewParam> got new default attribute, allowing to set a default value when no view param is present - OmniFaces 2.2 ViewParam with default value
- Added Faces#refresh() - Refresh the current page by a GET request
- Added Faces#refreshWithQueryString() - Refresh the current page by a GET request, maintaining the query string
- Added Faces#getRenderKit() - Get the RenderKit associated with the "current" view ID or view handler
- Added Messages#isEmpty(), Messages#isEmpty(clientId) and Messages#isGlobalEmpty() - Check faces messages existence
- Added FacesConfigXml#getSupportedLocales() which returns an ordered list in contrary to Faces#getSupportedLocales()
- Now <o:form> supports <f|o:param> children (only on default action URL)
- @ViewScoped now listens on browser unload event and gets destroyed sooner - Destroy view scoped beans when the browser unload event is invoked
- Added Components#addScriptXxx() methods which can add an inline script or script resource to head or body - Add given JavaScript code as inline script to end of body of the current view and Add given JavaScript resource to end of head/body of the current view
- @ContextParam which injects a <context-param> value - see also: Injecting context (init) parameters via OmniFaces @ContextParam annotation
- Added Components#includeCompositeComponent() overloaded method which takes an attribute map - Programmatically create and include a composite component with attributes
- Added Components#buildView() - Create and build a local view for the given view ID independently from the current view
- Components#encodeHtml() allowing local building and encoding of (simple) templates - Encode the given component locally as HTML
- New <o:viewAction> component which evaluates if attribute during invoke application phase - OmniFaces 2.2 <o:viewAction>
- Added abstract template for "BalusC FileServlet" which supports a.o. cache and range (resume) requests - Load web-app external media files via OmniFaces 2.2 FileServlet
Niciun comentariu:
Trimiteți un comentariu