1 Reply Latest reply on Oct 13, 2009 5:42 AM by Ilya Shaikovsky

    Dynamic columns using <rich:subtable>

    Yogesh Bhardwaj Newbie

      Hello all,

      This question is regarding the following <rich:subtable> example in the RichFaces documentation:

      http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html_single/#rich_subTable

      Is it possible to have subtables adjacent to each other, i.e. each subtable being a column of a datatable? So referring to the example, can we have another country next to United States with all its columns (Flag, State, Capital, Timezone)? Essentially I want to dynamically add subtables based on the data returned from backing bean.

      I tried different combination using <<rich:datatable>, <rich:subtable>, <a4j:repeat>, but the subtable always end up being in the same column. I would really appreciate any pointers.

      Thanks