If I set rendered=false, also my checkbox is not rendered but needed for some 
javascript. Maybe the solution is not very nice...but to meet my aim it would 
be the fastest :)...I used a checkbox for each table row to visualize the 
selected state...now the checkbox column shall be not visible and the selection 
state is done by CSS in a different color. To achieve this the minimal change 
is to hide the column as invisible state holder. 

-----Ursprüngliche Nachricht-----
Von: Gerald Müllan [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 2. Februar 2007 14:01
An: MyFaces Discussion
Betreff: Re: Visibility of t:column

Hi,

t:column has also a rendered attribute!

But to my mind, don`t render a complete column is not a nice solution..

cheers,

Gerald

On 2/2/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
> I think if the content of the column is disabled or not isn't important. The 
> content shall be rendered, but not visible :)
> If I set visibility: hidden to the checkbox, the checkbox is invisible...if I 
> do the same to the t:column, the column is rendered without content.
>
> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matthias 
> Wessendorf
> Gesendet: Freitag, 2. Februar 2007 13:46
> An: MyFaces Discussion
> Betreff: Re: Visibility of t:column
>
> oh, I see
>
> that sounds like a bug, since you want the stuff being display (not visible)
> but not *disabling* it, right ?
>
>
>
> On 2/2/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
> > When I set "visibility: hidden" on the t:column, the content of the column 
> > (checkbox in my case) is not visible, but the column is drawn empty. I want 
> > to keep the checkbox (for some javascript stuff) but hide the complete 
> > column.
> >
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Matthias 
> > Wessendorf
> > Gesendet: Freitag, 2. Februar 2007 12:51
> > An: MyFaces Discussion
> > Betreff: Re: Visibility of t:column
> >
> > Oliver,
> >
> > what is the rendered output?
> > Can you try to play with firebug and manipulate the *dom* to get the
> > "hidden" result?
> >
> > Thanks,
> > Matthias
> >
> > On 2/2/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Hi,
> > >
> > > how can I hide a complete column of t:dataTable ? I tried 
> > > style="visibility:
> > > hidden" with no success. It should not be rendered="false".
> > >
> > > Regards,
> > > Oliver
> >
> >
> > --
> > Matthias Wessendorf
> > http://tinyurl.com/fmywh
> >
> > further stuff:
> > blog: http://jroller.com/page/mwessendorf
> > mail: mwessendorf-at-gmail-dot-com
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>


-- 
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to