Thursday, May 27, 2010

Facelet tip

A quick facelet tip. If you needed an extra attribute on a component you can add and access it easily with facelets. Here I needed to add an node attribute on boolean check box, which is part of rich faces tree.
<h:selectBooleanCheckbox id="tree_cbx" value="#{tree.getNode(item).selected}"
<a4j:support ajaxSingle="true" event="onchange"
You can access the attribute easily once you have the component. Here is my ajaxListener;
public class YetkiNodeListener implements AjaxListener {

public void processAjax(AjaxEvent event) {
UIComponent holder = (UIComponent) ((UIComponent) event.getSource())

Wednesday, May 19, 2010


  • I should have started using Maven earlier. If you want to manage an inhouse repository check out the Artifactory. Ill make better use of it on my next project.
  • Hudson: More capable than CC, easily configurable UI, pluggable, integrates with svn, maven, ant... And don't forget to revert before update.
  • HTML5 Canvas looks cool. 3D Games + Drawing tools + ?. If you haven't already check this out ; , he also has 3d engine based on JS. I'll try this out may be do a project.
  • There is the Devoxx @ 15 Nov., Call for papers deadline is 6 Jun.
  • Dynamic reporting with jasper reports. This guy has a clever and basic idea of how to do it. Implemented a similar thing. Plus I added annotations to format and display the data.
  • Single Sign-On/Out with CAS.
  • Our project is still approaching the deadline. A bit tired.