Sachin, Not sure about not displaying the whole column, but you can use
use-when attribute to display / hide a field on some conditions, empty check
in your case, like
 <field name="email" use-when="email==null"><hidden/></field>

Vikas

On Thu, Mar 13, 2008 at 3:44 PM, Sachin Kolpuke <[EMAIL PROTECTED]>
wrote:

> Hi,
>
>    We are displaying table in the ftl page using the list wrapper in
> OFBiz, to display data we have created following forms.
>    <form name="listUsers" type="list"
>            title="SearchResults" list-name="users"
>           default-title-style="tableheadtext"
>        default-tooltip-style="tabletext" default-widget-style="display"
> paginate-target="/welcome" >
>          <field name="partyId" title="Party ID"
> widget-style="tabletext"><display also-hidden="false"/></field>
>        <field name="orderId" title="Order ID"
> widget-style="tabletext">  <display also-hidden="false"/> </field>
>        <field name="first" title="First Name"
> widget-style="tabletext">  <display also-hidden="false"/></field>
>        <field name="last" title="Last Name" widget-style="tabletext">
> <display also-hidden="false"/></field>
>        <field name="email" title="Email" widget-style="tabletext">
> <display also-hidden="false"/></field>
>        <field name="phone" title="Phone"
> widget-style="tabletext"><display also-hidden="false"/> </field>
> ....................................
> </form>
>
>    now we don't want to display the columns which has all fields as
> empty, i.e. if all users don't have email (email value is empty) then
> don't display the column email.  Is there any way to omit these empty
> fields ?
>
>
> Thanks
> Sachin
>
>
>

Reply via email to