You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by gv...@C3tools.com on 2005/09/09 16:13:41 UTC

Row Rendering and Naming Convention

Hi,

Two totally unrelated questions but I'm just wondering...

Is it possible in a datatable to specify a condition for rendering or
not a row within the iteration? I've only seen the rendered attribute on
the whole datatable, not on a per-row basis. I easily go around this
problem but it's just because I see why some would want to show only
part of a list while having access to the whole of it.

My second question is related to Tomahawk components. What is the naming
convention for the tag prefix? I've seen 't' and 'x'. Is there one that
is more likely to become the standard one later on?

Thanks,

Greg

Re: Row Rendering and Naming Convention

Posted by Enrique Medina <e....@gmail.com>.
Hi Greg,

Regarding the second question, you should use "t".

And with respect to the first question, rapidly I can think of including a 
rendered attribute in all columns with the condition to be checked...

2005/9/9, gvial@c3tools.com <gv...@c3tools.com>:
> 
> Hi,
> 
> Two totally unrelated questions but I'm just wondering...
> 
> Is it possible in a datatable to specify a condition for rendering or not 
> a row within the iteration? I've only seen the rendered attribute on the 
> whole datatable, not on a per-row basis. I easily go around this problem but 
> it's just because I see why some would want to show only part of a list 
> while having access to the whole of it.
> 
> My second question is related to Tomahawk components. What is the naming 
> convention for the tag prefix? I've seen 't' and 'x'. Is there one that is 
> more likely to become the standard one later on?
> 
> Thanks,
> 
> Greg
>

Re: Row Rendering and Naming Convention

Posted by Mike Kienenberger <mk...@gmail.com>.
I think if you want to limit which rows are rendered, you have to do
this in your backing data model.

'x' is the old naming convention.   't' is the new naming convention
and is the current standard.

On 9/9/05, gvial@c3tools.com <gv...@c3tools.com> wrote:
>  
> 
> Hi, 
> 
> Two totally unrelated questions but I'm just wondering... 
> 
> Is it possible in a datatable to specify a condition for rendering or not a
> row within the iteration? I've only seen the rendered attribute on the whole
> datatable, not on a per-row basis. I easily go around this problem but it's
> just because I see why some would want to show only part of a list while
> having access to the whole of it. 
> 
> My second question is related to Tomahawk components. What is the naming
> convention for the tag prefix? I've seen 't' and 'x'. Is there one that is
> more likely to become the standard one later on? 
> 
> Thanks, 
> 
> Greg

RE: Row Rendering and Naming Convention

Posted by Balaji Saranathan <ba...@wipro.com>.
Hi,
 
I dont think it is possible to imply a rendering condition on a per row
basis in DataTable, not atleast till now I guess.
 
"t" is the naming convention after clear packaging of the tomahawk jar
files, I suppose. Though these are two are interchangeable. I assume "t"
wld be the convention from now on. 
 
Hope this helps.
Regards
Balaji

-----Original Message-----
From: gvial@C3tools.com [mailto:gvial@C3tools.com] 
Sent: Friday, September 09, 2005 10:14 AM
To: users@myfaces.apache.org
Subject: Row Rendering and Naming Convention



Hi,

Two totally unrelated questions but I'm just wondering...

Is it possible in a datatable to specify a condition for rendering or
not a row within the iteration? I've only seen the rendered attribute on
the whole datatable, not on a per-row basis. I easily go around this
problem but it's just because I see why some would want to show only
part of a list while having access to the whole of it.

My second question is related to Tomahawk components. What is the naming
convention for the tag prefix? I've seen 't' and 'x'. Is there one that
is more likely to become the standard one later on?

Thanks,

Greg





Confidentiality Notice 

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.