Ok, I did answer myself on the second question (colspan):

Taken from the new example build of myFaces (Note that it is not posted
on the website yet):

 

<t:panelGrid id="grid1" columns="4" border="1" styleClass="standardTable
standardTable_Row1 standardTable_Column" >

      <t:panelGroup>

            <f:verbatim escape="false">1-1</f:verbatim>

      </t:panelGroup>

      <t:panelGroup>

            <f:verbatim escape="false">1-2</f:verbatim>

      </t:panelGroup>

      <t:panelGroup colspan="2">

            <f:verbatim escape="false">1-3</f:verbatim>

      </t:panelGroup>

      <t:panelGroup colspan="3">

            <f:verbatim escape="false">2-1</f:verbatim>

      </t:panelGroup>

      <t:panelGroup>

            <f:verbatim escape="false">2-4</f:verbatim>

      </t:panelGroup>

      <t:panelGroup>

            <f:verbatim escape="false">3-1</f:verbatim>

      </t:panelGroup>

      <t:panelGroup>

            <f:verbatim escape="false">3-2</f:verbatim>

      </t:panelGroup>

      <t:panelGroup>

            <f:verbatim escape="false">3-3</f:verbatim>

      </t:panelGroup>

      <t:panelGroup>

            <f:verbatim escape="false">3-4</f:verbatim>

      </t:panelGroup>

</t:panelGrid>

 

Any answers for the first one?

 

Sent: Friday, December 01, 2006 1:20 PM
To: MyFaces Discussion
Subject: HtmlpanelGrid issues

 

Hi There,

This is not entirely a myFaces discussion but I wander if anyone knows:

 

1. is there a fix to the border in HtmlPanelGrid? When I set it to 0 the
HTML does not explicitly show border="0" so the browser does show a
border, for example:

<table id="myform:grid" cellpadding="3" cellspacing="0" rules="none"
width="70%">

VS.

<table id="myform:grid" cellpadding="3" cellspacing="0" rules="none"
width="70%" border="0">

Is rendered differently

 

2.is it possible to create a colspan in an HtmlPanelGrid? (not only for
the footer and header but for the body too)

Any workarounds that you are familiar with?

 

Thanks,

Reply via email to