Hi Zied,

for this purpose you can use the attribute renderRange and the tag
tc:selectReference:


<tc:panel>
  < f:facet name ="layout" >
    < tc:gridLayout columns ="*;*" />
  </ f:facet>
  <tc:selectManyCheckbox id="checkboxes" value= "" renderRange="0-5">
    < tc:selectItems ... />
  </tc:selectManyCheckbox>
  <tc:renderRange for="checkboxes" renderrange="6-11"/>
</tc:panel>


you can also render every item in a own layout-cell if you need this.


Regards,
    Volker
















2007/9/14, Zied Hamdi <[EMAIL PROTECTED]>:
> Hi all,
>
> I'm encoutring a lyout problem, maybe this will sound like a feture request:
> I'm attemping to layout a list of checkboxes belonging to the same value.
> here's my code:
>
>
>
>             <tc:selectManyCheckbox value= "">
>
>                    < f:facet name ="layout" >
>
>                          < tc:gridLayout columns ="*;*" />
>
>                    </ f:facet>
>
>                    < tc:selectItem itemLabel ="Lundi" />
>
>                    < tc:selectItem itemLabel ="Mardi" />
>
>                    < tc:selectItem itemLabel ="Mercredi" />
>
>                    < tc:selectItem itemLabel ="Jeudi" />
>
>                    < tc:selectItem itemLabel ="Vendredi" />
>
>                    < tc:selectItem itemLabel ="Samedi" />
>
>                    <tc:selectItem itemLabel= "Dimanche"/>
>
>             </tc:selectManyCheckbox>
>
> The set of tc:selectItem will be replaced by one unique tc:selectItems. The
> problem is tha the facet doesn't have any effect on the layout...
>
> Regards,
> Zied
>
> --
> Zied Hamdi
> zatreex.sourceforge.net

Reply via email to