Quantcast
Channel: OmniFaces & JSF Fans
Browsing all 74 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

[OmniFaces utilities (2.3)] Send a file to the response whose content is...

[OmniFaces utilities] The sendFile() sends a file to the response whose content is provided via given output stream callback. The content type will be determined based on file name. The content length...

View Article


Image may be NSFW.
Clik here to view.

[JSF Page Author Beginner's Guide] JSF

The <f:convertNumber/> convert a String to a number of required format (it also acts as a validator to ensure the input value is a valid number)Common/basic usage in JSF (I) - use...

View Article


Image may be NSFW.
Clik here to view.

JSF Navigation Tutorial - The three golden rules of use

Check also:JSF Navigation Tutorial - Implicit NavigationJSF Navigation Tutorial - Declarative NavigationWe can talk for hours and hours about JSF navigation, but there are at least three golden rules...

View Article

Image may be NSFW.
Clik here to view.

Check OmniFaces article in Oracle Java Magazine

I've just wrote an article about OmniFaces in Oracle Java Magazine (January/February 2016)

View Article

Image may be NSFW.
Clik here to view.

JSF Navigation Tutorial - Implicit Navigation

Check also:The three golden rules of useJSF Navigation Tutorial - Declarative NavigationJSF VS Series: Implicit Navigation VS Declarative (explicit) NavigationImplicit navigation is available starting...

View Article


Image may be NSFW.
Clik here to view.

[OmniFaces utilities 2.3] Expose protected state helper into public

[OmniFaces utilities] The getStateHelper() method exposes protected state helper into public.Method:See also: Reflection#findMethod()Usage:import org.omnifaces.util.Hacks;...StateHelper stateHelper =...

View Article

Image may be NSFW.
Clik here to view.

JSF linking together components, renderers and render kits

IntroductionIn order to understand what a render kit is we have to be aware of some major notions that are very important in this context. For a better understanding please check out the below picture...

View Article

Image may be NSFW.
Clik here to view.

Updated PrimeFaces&OmniFaces Powers Combined Book

View Article


Image may be NSFW.
Clik here to view.

[OmniFaces utilities (2.3)] Parsing the given object representing the locale...

[OmniFaces utilities] The parseLocale() method parses the given object representing the locale to a Locale object. If it is null, then return null. Else if it is already an instance of Locale, then...

View Article


Image may be NSFW.
Clik here to view.

[OmniFaces utilities (2.3)] Format the given number in the default pattern of...

[OmniFaces utilities] The formatNumberDefaultForLocale() method formats the given number in the default pattern of the given locale. This is useful when you want to format numbers in for example the...

View Article

Image may be NSFW.
Clik here to view.

Validating multiple fields by a custom validator method or by a managed bean...

The OmniFaces <o:validateMultiple/> allows the developer to validate multiple fields by either a custom validator method or, by a managed bean instance which implements the...

View Article

Image may be NSFW.
Clik here to view.

JSF built-in debug component

The <ui:debug/>tag (ComponentHandler) defines a debug component in the component tree that is capable of capturing debugging information such as component tree, scoped variables, and view state....

View Article

Image may be NSFW.
Clik here to view.

[OmniFaces utilities (2.3)] Remove server side JSF view state associated with...

[OmniFaces utilities] The removeViewState() method remove server side JSF view state associated with current request.MethodSee also: Faces#getSessionAttribute()Moreover, see also the private...

View Article


Image may be NSFW.
Clik here to view.

JSF VS Series: The VS

View Article

Image may be NSFW.
Clik here to view.

[OmniFaces utilities (2.3)] Get the Internet Protocol (IP) address of the...

[OmniFaces utilities] The getRemoteAddr() method returns the Internet Protocol (IP) address of the client that sent the request. This will first check the X-Forwarded-For request header and if it's...

View Article


JSF Navigation Tutorial - Declarative Navigation

Check also:The three golden rules of useJSF Navigation Tutorial - Implicit NavigationJSF VS Series: Implicit Navigation VS Declarative (explicit) NavigationDeclarative navigationrefers to defining the...

View Article

Image may be NSFW.
Clik here to view.

JSF VS Series: Implicit Navigation VS Declarative (explicit) Navigation

Read also: JSF implicit vs. explicit navigation

View Article


Image may be NSFW.
Clik here to view.

JavaServer Faces 2.3 Quick Reference

View Article

Image may be NSFW.
Clik here to view.

JSF 2.3 - The WebSocket Quickstart under Payara

Read also:JSF 2.3 - Explicitly open/close a websocket channelJSF 2.3 - Conditionally open/close a websocket channelJSF 2.3 - Firing one-time push when the web socket channel has been openedJSF 2.3 -...

View Article

Image may be NSFW.
Clik here to view.

JSF 2.3 - Explicitly open/close a websocket channel

Before you read this post I recommend you to read:JSF 2.3 - The WebSocket Quickstart under PayaraJSF 2.3 - Conditionally open/close a websocket channelJSF 2.3 - Firing one-time push when the web socket...

View Article
Browsing all 74 articles
Browse latest View live