JSF 2.3 - Conditionally open/close a websocket channel
Read also:JSF 2.3 - The WebSocket Quickstart under PayaraJSF 2.3 - Explicitly open/close a websocket channelJSF 2.3 - Firing one-time push when the web socket channel has been openedJSF 2.3 - Multiple...
View ArticleJSF 2.3 - Firing one-time push when the web socket channel has been opened
Read also:JSF 2.3 - The WebSocket Quickstart under PayaraJSF 2.3 - Explicitly open/close a websocket channelJSF 2.3 - Conditionally open/close a websocket channelJSF 2.3 - Multiple File Upload with...
View ArticleJSF 2.3 Multiple File Upload with HTML 5, AJAX and upload progress bar via...
You also may like:JSF 2.3 - The WebSocket Quickstart under PayaraJSF 2.3 - Conditionally open/close a websocket channelJSF 2.3 - Explicitly open/close a websocket channelJSF 2.3 - Firing one-time push...
View ArticleOmniFaces and WebSockets Quickstart
Starting with OmniFaces 2.3 we can take advantage of a brand new feature - register a web socket push connection in client side. Thanks to the OmniFaces team this feature is available in today...
View ArticleEntirely skip validation via SkipValidators
OmniFaces 2.3 comes with a new tag handler named SkipValidators. As its name suggest, this tag handler allows us to entirely skip validation when executing an UICommandor ClientBehaviorHolderaction....
View Article[OmniFaces utilities 2.3] Load given script resource on complete of the...
[OmniFaces utilities] The load() method loads the given script resource on complete of the current ajax response. Basically, it loads the script resource as String and then delegates it to...
View ArticleWhat's new in OmniFaces 2.3
<o:socket> for web socket based push which can be accessed via CDI @Push - OmniFaces and WebSockets Quickstart<o:skipValidators> to skip all validation during a UICommand action or an ajax...
View ArticleJSF Navigation Tutorial - Conditional Navigation
Check also:The three golden rules of useJSF Navigation Tutorial - Implicit NavigationJSF Navigation Tutorial - Declarative NavigationJSF Navigation Tutorial - Preemptive NavigationJSF Navigation...
View Article[OmniFaces utilities 2.4] URI-encode the given string using UTF-8
[OmniFaces utilities] The encodeURI() method encodes the given string using UTF-8. URIs (paths and filenames) have different encoding rules as compared to URLs. URLEncoder is actually only for www...
View ArticleJSF Navigation Tutorial - Preemptive Navigation
Check also:The three golden rules of useJSF Navigation Tutorial - Implicit NavigationJSF Navigation Tutorial - Declarative NavigationJSF Navigation Tutorial - Conditional NavigationJSF Navigation...
View ArticleJSF Navigation Tutorial - Programmatic Navigation
Check also:The three golden rules of useJSF Navigation Tutorial - Implicit NavigationJSF Navigation Tutorial - Declarative NavigationJSF Navigation Tutorial - Conditional NavigationJSF Navigation...
View ArticleCaching via PrimeFaces and EHCache (register MBeans in JConsole via OmniFaces...
PrimeFaces supports cache at rendering time. Basically, at initial request, PrimeFaces will cache the HTML markup that corresponds to the content delimited by <p:cache/>tag. This means that the...
View ArticleCaching with PrimeFaces and Hazelcast
Recommended to read before: Caching via PrimeFaces and EHCache (register MBeans in JConsole via OmniFaces @Eager)PrimeFaces supports two different providers of cache implementation: EHCache and...
View ArticleStateless JSF application via PrimeFaces, OmniFaces, Hazelcast and Payara Server
This is a simple post about writing a stateless JSF application for holding a dummy shopping cart using Hazelcast. The application uses PrimeFaces, OmniFaces and it is deployed on Payara Server...
View ArticleCDI - JSF: Bean constructor annotated with @Inject example
Generally speaking, any Java class that has a constructor without parameters or a constructor annotated with @Inject is a bean. This means that we can write a bean like this:@Named@RequestScopedpublic...
View ArticleCDI-JSF: Use @Inject to annotate a common method of a bean
As you probably know, when a bean is instantiated the first called method is the corresponding constructor. Afterwards, we have the method annotated with @PostConstruct. When this method is called we...
View Article