Welcome!

APIs for the Internet of Things

Max Katz

Subscribe to Max Katz: eMailAlertsEmail Alerts
Get Max Katz via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Max Katz

As you probably know JSF 2 is a major upgrade over JSF 1.2. One of the major additions to this version of JSF is standard Ajax support. This article covers Ajax features in JSF 2. If you are familiar with RichFaces and specifically the a4j:support tag then learning how to use Ajax features in JSF 2 is going to be very easy. Many concepts and features are being carried over from RichFaces.  Let’s start.  JSF 2 comes with one tag that provides Ajax functionality. The tag is called f:ajax (sounds familiar to a4j:support – right?) When I do RichFaces trainings, I like to divide the core ideas into three parts: sending an Ajax request, partial view rendering and partial view processing. I will use the same approach here. Sending an Ajax request JSF comes with one tag to send an Ajax request, the tag is called . This tag is actually a client side behavior (here is a great ... (more)

RichFaces 4 Alpha 2 Is Now Available, Project Template

The RichFaces team has made a major step toward RichFaces 4 by releasing Alpha 2 version. I’m hoping to see GA in September. Keep in mind that not all components have been migrated to version 4 yet. The components that are available right now are listed below. Some highlights in RichFaces 4 Alpha 2: Redesigned and improved Component Development Kit Ajax core components set almost completely migrated. Ajax request smart Queuing mechanism implemented Rich Data Iteration components created Skinning including standard control skinning feature was migrated More information on this rel... (more)

Make Great Enterprise Mobile Apps with Appery.io – Bay Area Enterprise Mobile App Development Meetup

I will be at Bay Area Enterprise Mobile App Development meetup on October 23, 2014 showing how to build great apps with Appery.io. Hope you can be there. What Using APIs and cloud tools for rapid mobile app development Gone are the days where you can afford to take months to build an enterprise mobile app. In today’s fast market, you need to be able to prototype the app in a few days, release the first version in a few weeks, get feedback, fix bugs, release the second version. Repeat. In this session you will learn how to use APIs and cloud platform for rapid mobile development. We... (more)

JSF Mojarra Extension Tags Validation and Focus

Here is something you may or may not know. JSF Mojarra comes with a small extension tag library with three tags: regular expression validator, credit card validator, and focus setting tag. They are available since JSF version 1.2_09, but maybe even earlier (I didn’t check). Page setup Before using any of the tags, add this xml namespace to your Facelet page: xmlns:mj="http://mojarra.dev.java.net/mojarra_ext" Regular expression validator mj:regexpValidator is probably all you need to validate any kind of input by setting the right expression. For example, to validate an email address:... (more)

Using RichFaces a4j:jsFunction Send an Ajax Request From Any JavaScript

There are four components in the a4j: tag library which enable you to send an Ajax request. They are a4j:commandButton, a4j:commandLink, a4j:support, and a4j:poll. All provide rather specific functionality. For example, a4j:commandButton will generate an HTML button that fires an Ajax request. a4j;commandLink will do the same but generates a link. a4j:support is always attached to another JSF component to enable sending an Ajax request based on some event supported by the parent component. a4j:poll which allows sending Ajax requests periodically. There is one more tag called a4j:... (more)