Blogs

View all Blogs >>


Posted by: Max Katz on 12/09/2008

If you downloaded a PDF copy of Practical RichFaces book before December, the publisher has uploaded the final version. Download the new version. Hard copy will be available very soon as well I’m told (1-3 weeks). more »

Posted by: Max Katz on 12/04/2008

I’ve got a few free PDF copies left of my Practical RichFaces book. Email me (max at exadel dot com) if you want one. more »

Posted by: Matthias Wessendorf on 11/19/2008

There is a lot of buzz (not only recently) around some extra scope, that is shorter than a session and longer than a request. Such a scope is a very good scope to implement business processes or some wizard (==> step x of n). Lots of frameworks call this “conversation”, so does Orchestra or Seam. In Trinidad there is a “pageFlowScope” for this… One of the goals of JSF 2.0 is to “standardization of the many different Dialog/Conversation/Scope/Flash... more »

Posted by: Max Katz on 11/26/2008

Basic sorting Sorting with external controls Filtering Filtering with custom function more »

Posted by: Max Katz on 11/13/2008

While out-of-the-box confirmation dialog is not yet available in RichFaces, I will show you how to build one. Tomorrow I will show how to make it more reusable by packaging it as a Facelet custom tag. If Cancel is clicked then nothing happens. If OK is clicked then the value is... more »

Posted by: Matthias Wessendorf on 10/27/2008

In JSF there is no concept of client-side conversion and validation. All is done on the server, which means you notice some extra round trips in case there is something “wrong”. Eventually JSF 2.0 will change that… In the meantime there are some frameworks that provide help. One of them is Apache MyFaces Trinidad. The basic idea of Apache Trinidad client conversion and validation is that it works on the client in a very similar way to how it works on the server, except... more »

Posted by: Max Katz on 10/24/2008

Did you ever need to set a focus on a particular component after a request? In RichFaces, you can set the focus attribute to point to an id of a component to which focus should be set after the request. All components that send an Ajax request to the server have this attribute. Using it is very simple, here is an example: 1 2 3 4 5 6 7 8 <h:form> <rich:panel> <h:panelGrid> <a4j:commandLink value="Set Focus"... more »

Posted by: Max Katz on 10/29/2008

Practical RichFaces is getting very close to being published, and as I promised, I’ll be giving a free PDF copy one last time. Send me an email (max at exadel dot com) if you want to receive one. You will need to click on Purchase As Ebook on http://tinyurl.com/rcbook and then enter the code. Update: if you won the book, I will get back to you in a few days. Don’t worry if you haven’t heard from me. Learn about 1-day RichFaces training. more »

Posted by: Max Katz on 09/30/2008

As promised, I’m giving away more PDF copies of my book Practical RichFaces (Apress). I haven’t’ decided how many to give out yet, so start sending emails to get the code to download the book (max at exadel dot com). Update (11AM EDT, Oct 3, 2008): I gave away all codes. I will have one more give away sometime in October. more »

Posted by: Max Katz on 08/26/2008

RichFaces comes with the following skins: DEFAULT plain emeraldTown blueSky wine japanCherry ruby classic deepMarine NULL To use a skin, all you need to do is set the name in web.xml file: <context-param> <param-name>org.richfaces.SKIN</param-name> <param-value>ruby</param-value> </context-param> Suppose you like the skin, but you want to make some small changes to it. Here is what to do.... more »

Posted by: Matthias Wessendorf on 08/08/2008

A pretty nice update on HTML 5 and the WebSocket was posted by my friend Jonas Jacobi. Good to see that comet-style applications are soon kinda standard more »

Posted by: Matthias Wessendorf on 08/22/2008

Most common pattern, when doing logging, is currently this: if(logger.isLEVEL() logger.LEVEL(.......); Some could say, that these checks “blow” up the code… But what if the LEVEL(…) call itself would check the “isLEVEL()” ? The code would be a little bit cleaner, isn’t it ? logger.LEVEL(.......); Our internal logger does this, and I ran into the pitfall But we still do (sometimes) check for the log_level, before calling... more »

Posted by: Max Katz on 08/20/2008

I saw a reference (http://mkblog.exadel.com/?p=115) to my blog on one of the Brazilian JSF forums. I translated the thread using Google and it looked like someone was asking how to create RichFaces tabs dynamically. So, here is quick example. XHTML page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"... more »

Posted by: Max Katz on 08/28/2008

One more update on the book. Since I last blogged about the book, some changes happened. Originally the book was supposed to be available early September as firstPress book. Because I ended up with way more pages than a firstPress book can have (I guess it’s good), the book was “upgraded” to a standard Apress book. What this means is that a hard cover version will be published closer to December. Also, the name of the book has changed from Using RichFaces to Practical... more »

Posted by: Max Katz on 08/25/2008

This article posted on DZone.com introduces JBoss RichFaces, however this time the tutorial goes beyond the standard “Hello World” example. more »

Posted by: Max Katz on 07/07/2008

I’m thinking of doing a 2-day RichFaces boot camp. This assumes you have some basic JSF knowledge and in just 2 days you have a pretty strong knowledge of RichFaces. This can be on-site (private) or public training at any location. I will probably use my upcoming Using RichFaces book (published by Apress) as the basis for this training. We can do Friday-Saturday, this way we will use only one working day. Another option is to do Saturday-Sunday ??? this way no one has to take any... more »

Posted by: Max Katz on 07/30/2008

To quickly get started with RichFaces on Tomcat 6, follow these easy steps: Download richfaces-tomcat6.zip template Start from step #2 in this post (this post has template for running RichFaces on Tomcat 5.5) to import the project into JBoss Developer Studio or JBoss Tools To check if everything works correctly, type this address in the browser: http://localhost:8080/richfaces-tomcat6/ you should see a welcome message. That’s it. more »

Posted by: Max Katz on 07/21/2008

As my publisher (Apress) is still working on creating a web site for my book, here is a quick overview of that’s going to be in the book. The official book title is Using RichFaces. The book is a compact guide that covers all the most important components, features and concepts in order to for someone new to RichFaces to quickly start developing with RichFaces. At the same time, someone who has been using RichFaces for sometime will find lots of new useful information as well. ... more »

Posted by: Max Katz on 07/29/2008

Understanding the JSF life cycle is very important for understanding how JSF works. It’s also very useful for debugging. For example, if you pass phases 1-3 and then jump to phase 6, this usually means there were conversion/validation errors. Knowing what phases were passed, you need to create a simple phase listener. Here is the super quick way to create a phase tracker. First, creating the actual phase listener: package lifecycle; import... more »

Items:   1 to 20 of 23   Next »