Although Eclipse validates our xml documents, sometimes invalid xml documents can get committed into our source repository by accident. Using the maven xml-maven-plugin we can force the build to break when xml documents aren’t welformed. Currently we are only doing the check on facelets (files with a .xhtml extension): The xml snippet below shows the [...]
Posts Categorized / JSF
JSF, Iterating with tomahawk radio buttons, t:datalist, a4j:repeat
The standard JSF radio buttons h:selectOneRadio render a load of old school html (i.e. they use table tags to do layout, (all a bit 1996)). e.g. JSF h:selectOneRadio tag Code for #{radioOptions} Note: I’m using jboss seam in the example above, but you could easily remove the seam annotations and define the bean in using [...]