Monthly Archives: February 2008

Custom JSF components with Facelets

There are several reasons to use Facelets, like: Problems in JSF 1.1 “Content Interweaving” lightweight Templating Framwork (XHTML-based templates) very friendly to designers (similar to Tapestry) performance JSF 1.2 w/o JavaEE 5 Container Another is the very easy way of

Posted in dojo, facelets, javascript, jsf, jsp, myfaces, web²

Extending Trinidad’s default renderers

Once in a while there is a question on the MyFaces user/dev list about how to extend the default rendering of the components, like decorating <tr:inputText /> (for instance). It’s not hard, but it requires some steps, like creating renderer

Posted in apache, java, jsf, myfaces, trinidad

Internet Explorer 7 and blur (with input type=file)

Today I noticed an interesting issue with IE 7 and the blur event, when using the <input type=”file”> HTML widget. A friend called me to tell me that their web app is validating the form fields, when the user is

Posted in javascript, jQuery

Using Dojo and Apache Trinidad

In Trinidad there is an ExtendedRenderKitService interface, which allows you to add JavaScript to be rendered during the following request, like: Once the rendering is complete, you will notice a simple alert() in your browser window.Having this feature in mind,

Posted in ajax, apache, dojo, javascript, jsf, myfaces, trinidad, web²

JSFDays 2008 in Vienna

JSFDays is the international conference on JavaServer Faces technology. It helps experts and professional users of JavaServer Faces and related technologies to share their knowledge on JSF. The event will take place in Vienna, Austria, from March 12th to 14th

Posted in ajax, apache, java, javascript, jsf, myfaces, orchestra, trinidad, web²

Dialogs with (popular) JavaScript libraries

The Dojo Toolkit and jQuery UI both offer a dialog “component” (with drag-and-drop). Dojo has two ways of creating such a dialog. There is a declarative and a programmatic way to do so. The declarative approach looks like: The div

Posted in ajax, javascript, web²

jQuery – A fluent JavaScript API

Nowadays you read more and more about DSL and Fluent APIs / Fluent Interface, which I was to reminded when I bumped into jQuery today (by doing some JS related work). In jQuery you can do things like: This code

Posted in javascript, web²