myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Elmar Kretzer <e.kret...@symentis.com>
Subject Re: [Trinidad] How to get control over tr:table detail disclose link table cell?
Date Wed, 17 Mar 2010 08:26:49 GMT
Hi Bart,

the skinning support for the automatic disclose link is not sufficient as far as i can see.

E.g. in <tr:column> i can set the style class via EL so i have full control over the
styles in a rendered table row,
and I can explicitly change the style class of a disclosed row's table cells.

But there is no possibility to change the style class of the cell with the built-in disclose
link of a disclosed row.

i am missing something like:

1.
 <f:facet name="discloser" ></f:facet> 
or

2.
an attribute in tr:table like: 
discloseLinkCellStyleClass="{#xxx.yyy}"
or

3.
any way to hide the built-in disclose link (cell). 
we already implemented an own listener for enhanced control over the row disclosing which
we place inside a normal tr:column.
but there is no way to hide the built-in disclose link (cell). As soon as i add the necessary
detail facet, the cell gets rendered.

you see my problem? 
=)

Best regards,
Elmar



> Hi Elmar,
> 
> You should use Trinidad Skinning for this. You can take an existing skin and
> change the elements you want to change the appearance of. See [1] for more
> information.
> 
> Best regards,
> Bart
> 
> [1] http://myfaces.apache.org/trinidad/devguide/skinning.html
> 
> On Wed, Mar 10, 2010 at 11:58, Elmar Kretzer <e.kretzer@symentis.com> wrote:
> 
>> Hi all,
>> 
>> is it possible to get control over the appearance of the disclose link in a
>> tr:table?
>> 
>> Currently it seems like the td with the disclose link get automagically
>> rendered with class af_column_cell-text and OraTableBorder1111 when you add
>> the detail stamp.
>> 
>> Like:
>> <td nowrap="" class="af_column_cell-text OraTableBorder1111"
>> headers="j_id1"><div>....</div></td>
>> 
>> Is there any hook to change the style class of this td?
>> 
>> We want to mark the disclosed rows + details with a different background
>> color.
>> The only problem now is that the disclose link able cell has always the
>> same style class .
>> 
>> Thx for any suggestions.
>> 
>> Elmar
>> 
>> 
> 
> 
> -- 
> ___________________________________________________________
> Bart Kummel
> 
> Author of the book "Apache MyFaces 1.2 Web Application Development"
> See http://tinyurl.com/am12wad


Mime
View raw message