myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brunette <dbrunet...@hotmail.com>
Subject RE: [Trinidad] Enhancement to hide Select All/Select None on table?
Date Mon, 26 Nov 2007 16:41:12 GMT


     Yeah, I had thought about just letting the skin take care of it too... but I figured,
why render it if we know we don't want it?  Sure, it could be rendered and then hidden, but
if we know we don't want it, then that would just be one less thing to render on the page.

> Date: Mon, 26 Nov 2007 17:12:52 +0100
> From: matzew@apache.org
> To: dev@myfaces.apache.org
> Subject: Re: [Trinidad] Enhancement to hide Select All/Select None on table?
> 
> Thanks for filing https://issues.apache.org/jira/browse/TRINIDAD-840
> and providing a patch.
> 
> Simon had a valid point, that this could be handled via skin property as well.
> 
> -M
> 
> On Nov 21, 2007 7:29 PM, Dave Brunette <dbrunett31@hotmail.com> wrote:
> >
> >
> > Hi all.
> >
> > I have heard coworkers and seen forum posts asking how to hide the Select
> > All/Select None links on a tr:table component... but to this point I haven't
> > heard/seen any solution.  So I'd like to propose a new attribute on the
> > tr:table component to take care of this:  <tr:table showAllVisible='false'
> > />.  The showAllVisible attribute would only have an effect if
> > rowSelection='multiple'.  If set to false, it would make
> > TableRenderingContext.hasSelectAll() return false so these controls are not
> > rendered.
> >
> > Does anybody see a problem with this?  If not, I'll log something in JIRA
> > and move on a patch.
> >
> > Dave
> >
> > ________________________________
> > Share life as it happens with the new Windows Live. Share now!
> 
> 
> 
> -- 
> Matthias Wessendorf
> 
> further stuff:
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> mail: matzew-at-apache-dot-org

_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007
Mime
View raw message