2 Replies Latest reply on Dec 20, 2012 6:51 PM by jmsjr

    Feature Request: Provide similar functionality with OpenFaces selectBooleanCheckbox and selectOneRadio

    jmsjr Newbie

      The functionality that I am after is basically allowing one to use an image for the different states of the selectBooleanCheckbox and selectOneRadio, rather than using the native OS / browser's HTML controls.

      I did try to get OpenFaces 3.0 with RichFaces 4.2.3, so that I only want to use o:selectBooleanCheckbox and o:selectOneRadio from OpenFaces together with rich:extendedDataTable, but I came across various incompatibilities ranging from:

       

      1) java.lang.IllegalStateException: Cannot create a session after the response has been committed

       

      .. when I start to use more than one o:selectBooleanCheckbox with a test page with RichFaces

       

      2) OpenFaces seemingly including an XHTML when it should not be in my rich:togglePanel ( because openFaces does not know that what I basically have is the equivalent of a switch statement ) when mode is client.

       

      Anyway .. I think for now, I'll just use an h:image and have it change onclick