Hi, I'm also very interested in such an attribute. In my case, I have an inline editable table with an extra 'action' column (the right most column) which contains links (visibility depends on the action itself) for editing, deleting, canceling and updating of rows. It would be great to disable the details column. Than I can add a further link into the action column to show the details programmatically.
-- Kind regards, Mathias > -----Original Message----- > From: Henk Vanhoe [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 10, 2008 1:55 PM > To: MyFaces Discussion > Subject: Re: [Trinidad] Disable details-link > > > Hi, > > It would help me a lot if you would commit your code. But > even if you > don't want to commit it, I would be very glad if you could > post the code > here, so I could add it myself to my own copy of the trinidad source > code and recompile it... > > On the other hand, if other people are interested in this > functionality, > an extra attribute "detailsLinkEnabled" may be more flexible, because > then you could show all details by default when this > attribute is false > (with the skinning property I suppose you still need to expand all > detail rows yourself with the disclosedRowKeys attribute). > > Thanks a lot, > Henk > > Cristi Toth wrote: > > Hi, > > > > I did if for a client with an extra skinning property > something like: > > af|table { > > -tr-show-detail-column:false; > > } > > > > I'm not 100% happy with my code, so I didn't hurry to commit it. > > But I might do it, if other people want it and like it. > > > > Regards, > > > > On Wed, Apr 9, 2008 at 9:28 AM, Henk Vanhoe <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Hi, > > > > I suppose it would not be particularly difficult to add an extra > > attribute to the trinidad table, something like a > > "detailsLinkEnabled" attribute with which it would be > possible to > > show/hide the extra "Details"-column. That would be > handy when the > > detailstamp should always be shown or when you want to show/hide > > the detailstamp with pure client-side javascript (which > is faster > > than PPR with small pages and with which you can avoid > some extra > > complexities related with PPR). But of course, if there > is another > > way to do that, I would prefer not to add an extra attribute... > > > > Regards, > > Henk > > > > > > Henk Vanhoe wrote: > > > > Hi, > > > > Another question I was having... > > > > In one of our tables we are using the detailStamp > facet. When > > I add a detailStamp there automatically appears an extra > > column with a "Details"-link in it. Does anybody > know a way to > > disable this column? (The details should always be > visible in > > the screen we are building.) I noticed there is an > > "allDetailsEnabled" attribute where I could > disable/enable the > > show/hide all links, but I don't find a similar > attribute for > > the regular show/hide links... > > > > Thanks, > > Henk > > > > > > > > > > > > > > > > -- > > Cristi Toth > > > > ------------- > > Codebeat > > www.codebeat.ro <http://www.codebeat.ro>

