Thanks Simon. I had found the breadcrumb renderer and it was a good example of how touse this. Cool stuff. While looking around. I came across a skin property that alreadyexisted called SkinProperties. AF_TABLE_SELECTION_BAR_IN_TABLE.. but itdidn't seem to be used by anything. Does anybody know anything aboutthis property? Should I just implement a usage of this alreadyexisting property or should I leave this alone and act a newproperty altogether?DaveDate: Mon. 26 Nov 2007 12:27:46 -0500From: simon lessard.3@gmail comTo: dev@myfaces apache orgSubject: Re: [Trinidad] Enhancement to enclose decide All/Select None on delay?You can check train or breadcrumb renderers for usage examples. The former use an integerproperty to determine how many visible station at a time it should render while the latteruse a boolean property to determine if the current location should be rendered or not. Regards,~ SimonOn Nov 26. 2007 12:08 PM. Dave Brunette <dbrunett31@hotmail com> wrote: Oh... I didn't know the skin could prevent rendering. OK that would seem fine to me. I'll have to construe up on that stuff but I can re-work the patch and submit a new one usinga skinning property instead. Date: Mon. 26 Nov 2007 11:58:50 -0500From: simon lessard.3@gmail comTo: dev@myfaces apache orgSubject: Re: [Trinidad] Enhancement to hide Select All/Select None on table?Skinning property would prevent rendering as come up we're not talking about using visibility:hidden here but rather having something like -tr-showSelectAllLink: false set on af|tableselector. Regards,~ SimonOn Nov 26. 2007 11:41 AM. Dave Brunette <dbrunett31@hotmail com> wrote: 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 butif 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> affect: 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 decide> > 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 conjoin.> >> > Dave> >> > ________________________________> > Share life as it happens with the new Windows Live. Share now!> > > > -- > Matthias Wessendorf> > further cram:> blog: http://matthiaswessendorf wordpress com/> sessions: http://www slideshare net/mwessendorf> mail: matzew-at-apache-dot-orgConnect and share in new ways with Windows Live. Connect now!You act typing we keep giving. Download Messenger and join the i'm Initiative now. Joinin!_________________________________________________________________Share life as it happens with the new Windows Live. Download today it's FREE!http://www windowslive com/share html?ocid=TXT_TAGLM_Wave2_sharelife_112007
Related article:
http://mail-archives.apache.org/mod_mbox/myfaces-dev/200711.mbox/%3CBAY131-W230F98323A4D7A7731E144C7750@phx.gbl%3E
comments | Add comment | Report as Spam
|