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 never need to get near anything that looks like code. The problem comes though when you want to expose forty different axis options for twelve different axes which is perfectly possible with jqPlot – placing 500+ attributes on an element is not a solution that is going to work.Continue reading

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 vast majority of these issues are with the demonstration application rather than PlotFaces.Continue reading

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. Continue reading

Subtle Subversion Problem

Here’s a problem you don’t see everyday which really shows up the stupidity of the whole case sensitive / insensitive filesystem battle between Windows and Unix like operating systems. Fortunately a lot of work has been done to make the two different schools of thought play together nicely but occasionally something falls through the cracks and the differences come back to bite you, this is one such situation.Continue reading

SampleFX – Updating a Label

The humble label is probably one of the most used widgets in the UI designers toolkit so getting to know it inside and out is important. A common task it is to update a label to display some new information depending on the state of the application. Depending on where that new information comes from it can be trivial to update the label or require an understanding of threading and thread safety.Continue reading

XPath, JAXP and the Default Namespace

So you’ve just finished parsing a document with your validating namespace aware document factory and you’ve gone to select some nodes using XPath and nothing has appeared (no nodes where selected). You’ve tried changing the XPath expression, making it simpler and simpler and still nothing. Chances are it’s not he XPath that’s at fault it’s your XML.Continue reading