Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

What's new in OmniFaces 2.3

  • <o:socket> for web socket based push which can be accessed via CDI @PushOmniFaces 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
  • Read more here


This post first appeared on OmniFaces & JSF Fans, please read the originial post: here

Share the post

What's new in OmniFaces 2.3

×

Subscribe to Omnifaces & Jsf Fans

Get updates delivered right to your inbox!

Thank you for your subscription

×