Tag: JSF
-
PlotFaces Roadmap
This page gives a brief overview of the roadmap for PlotFaces. Everything that hasn’t already happened is subject to change depending on what is requested or needs doing.
-
PlotFaces Design Discussion
PlotFaces takes a different, more code based, approach to charting than other JSF libraries and as such you won’t see hundreds of attributes on the JSF chart tags. For simple charts an attribute base approach to configuration works well. For example a page author could specify the x-axis label with an attribute like this xaxislabel=”foo” and…
-
PlotFaces Task List
PlotFaces is evolving quickly at the moment so rather than clutter the bug tracker with every little thing that I come across that needs fixing or improving I’m currently maintaining a list here. Once I’m happy PlotFaces is broadly feature complete and bug free I’ll switch over to using the bug tracker. Rest assured the…
-
PlotFaces Introduction
PlotFaces is a suite of JSF components built on top of the excellent jqPlot JavaScript charting library. The aim of PlotFaces is to make it simple for programmers to create great looking JavaScript based charts whilst also exposing the rich set of configuration options jqPlot offers.
-
UIInstructions cannot be cast
I f, like me, you are getting an error message along the lines of “UIInstructions cannot be cast to org.primefaces.model.menu.MenuElement” you are in luck because here’s the answer.
-
PrimeFaces p:fileUpload not Appearing
I hit this issue with the PrimeFaces p:fileUpload component this morning and it had me going for about an hour until I figured out what was wrong. A good googling shows that more than a few people have hit this problem but no one had reported a solution, there was even a bug report closed…
-
Providing EL Access for Beans
There are a lot of good ideas in JEE but there are also some sharp corners that the unwary developer could hurt themselves on. Over the next few articles I’m going to point out a few of these less than brilliant pieces of design so that hopefully you’ll be able to avoid them. This article…
-
Setting a value to null with EL
Beginning with Expression Language (EL) 2.2 it is possible to call method with arguments. I feel that most of the time it is generally a good idea to try not to use this feature because it breaks the KISS principal but when you need it it can be a life saver.
-
Dynamic DataTable with JSF 2.0
A project I’m working on recently presented me with the problem of totally dynamically creating a data table on a JSF page. At first sight I assumed this would be fairly trivial since I had created a number of other components dynamically with no problems. The difference though was that the other components (for example…
-
JSF Object Not Found
I recently decided to try writing my own JSF component as I had a need that wasn’t met by the excellent PrimeFaces component library. I had read some horror stories about how hard it is to write custom components so I’d put off doing it as I didn’t want to get bogged down when I had so…
-
Programatically Adding Ajax Actions to UIComponents
One of the projects I’m currently working on requires me to build a component tree dynamically. To complicate matters the components also require ajax functionality – in this case they are panels that need to be closed and notify a listener.
-
Dynamic Dashboard with PrimeFaces – Part 2
After putting together the first page on writing a dynamic dashboard with PrimeFaces I descovered that the method I had come up with wasn’t as good as it could have been. Most noteably it didn’t work properly when the dashboard was updated via a partial page refresh. Typically that type of update would result in a…