- <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 request - Entirely
skip validation via SkipValidators
- Servlets#getRemoteAddr() to
get request remote address, taking into account the X-Forwarded-For header - Get
the Internet Protocol (IP) address of the client that sent the request
- Beans#fireEvent() to
fire a CDI event object - Fire the given CDI event, optionally with the given qualifiers
- Beans#isActive(scope) to
check if a scope is active without need to catch ContextNotActiveException - Check
if the given CDI managed bean scope is active
- Faces#sendFile() has
now one more method accepting an OutputStream callback - Send
a file to the response whose content is provided via given output stream
callback
- of:formatThousands() to
round a number to nearest thousand with immediate "k",
"M", "G", etc suffix and a precision of 3 digits,
whereafter trailing zeroes in fraction are stripped - Format
the given number to nearest 10^n (rounded to thousands)
- of:formatThousandsUnit() to
round a number to nearest thousand of given unit with "k",
"M", "G", etc prefix and a precision of 3 digits,
whereafter trailing zeroes in fraction are stripped - Format
the given number to nearest 10^n, suffixed with a space, the metric unit
prefix and the given unit
- of:formatNumberDefaultForLocale() to
format a number in locale-default pattern of given locale - Format
the given number in the default pattern of the given locale
- Faces#getViewName() to get base name of current view (without extension) - Get the base name of the current view without extension
- Ajax#load() load given script resource on complete of the current ajax response - Load given script resource on complete of the current ajax response
|
|
Search on blog
Petition by Java EE Guardians
sâmbătă, 9 aprilie 2016
What's new in OmniFaces 2.3
Abonați-vă la:
Postare comentarii
(
Atom
)
|
[JSF Page Author Beginner's Guide] |
Postări populare
-
If you like this article, I think you are going to like JSF 2.3 Tutorial as well.
-
Starting with JSF 2.3 the JSF "native" managed bean annotations are officially deprecated. So, there is no doubt now that CDI is ...
-
[OmniFaces utilities] The getRequestURL() method returns the HTTP request URL with query string, regardless of any forward. This is the f...
-
Let's checkout a common practice for declaring constants in Java using the public static final declaration: public class Circle { ...
-
[OmniFaces utilities] The getActionExpressionsAndListeners() method returns a list of all action expressions and listeners associated wit...
-
[OmniFaces utilities] The getCurrentActionSource() method returns the source of the currently invoked action, or null if there is none, ...
-
Before you read this post please read: Use a CDI alternative as a mock implementation for a stateless session bean So, since you are fa...
-
Starting with JSF 2.3, more exactly with m07 , we can take advantage of using the auto detection of convertors based on 1st UISelectMany it...
-
[OmniFaces utilities] The isSerializable() method returns true if the given object is serializable. Method: Usage: Example 1 - te...
-
[OmniFaces utilities] The reverseArray() function returns a copy of the array with items in reversed order. Function: Usage: Let...
OmniFaces/JSF Fans
-
▼
2016
(
96
)
-
▼
aprilie
(
11
)
- Caching with PrimeFaces and Hazelcast
- Caching via PrimeFaces and EHCache (register MBean...
- JSF Navigation Tutorial - Programmatic Navigation
- JSF Navigation Tutorial - Preemptive Navigation
- [OmniFaces utilities 2.4] URI-encode the given str...
- JSF Navigation Tutorial - Conditional Navigation
- What's new in OmniFaces 2.3
- [OmniFaces utilities 2.3] Load given script resour...
- Entirely skip validation via SkipValidators
- OmniFaces and WebSockets Quickstart
- OmniFaces 2.3 released!
-
▼
aprilie
(
11
)
-
►
2015
(
516
)
- ► septembrie ( 38 )
JSF/OmniFaces Resources |
Niciun comentariu :
Trimiteți un comentariu