OK, once more,

now I also turned off my custom renderers and this is the result:

If you have something like:

<tr:table  value="#{search.resultList}" var="person">
  <tr:column headerText="Name" width="10%">
    <tr:outputText value="#{person.name}" shortDesc="some
tooltip"></tr:outputText>
  </tr:column>
  <!-- more columns -->
</tr:table>

you get this for null values of person.name 
(please note again: For some reason I had to replace the "span"-tags
by " span"-tags in this snippet to get them through the preview :-O  Please
ignore and replace...):

<td style="height: 20px;" class="af_column_cell-text OraTableBorder1111">
  <!--Start: org.apache.myfaces.trinidad.Output["_id130"]-->
  < span class="af_outputText null" title=some tooltip"/>
</td>

This is what a non-null value would be rendered to:

<td style="height: 20px;" class="af_column_cell-text OraTableBorder1111">
  <!--Start: org.apache.myfaces.trinidad.Output["_id130"]-->
  < span class="af_outputText null" title="some tooltip"> John Doe</ span>
</td>

And, as stated before, for the null value case, the table rows in Firefox
get
too high...

Any ideas welcome, thanks,
Carsten


Carsten Pieper wrote:
> 
> Argh,
> 
>> BTW, I turned on my custom
>> skin to exclude homegrown issues (thus, I get the minimal-desktop-skin).
> Yes, I turned off  the custon skinning but my custom renderers survived in
> my application.
> So this might well be a homegrown bug and nothing general.
> 
> If you see some very obvious calamity in my example, you're welcome to
> give a hint
> but most probably the public should ignore this thread and let me find
> chase my own bug...
> 
> Carsten
> 
> 
> Carsten Pieper wrote:
>> 
>> Hi,
>> 
>> this is the situation: 
>> 
>> <tr:table  value="#{search.resultList}" var="person">
>>   <tr:column headerText="Name" width="10%">
>>     <tr:outputText value="#{person.name}"></tr:outputText>
>>   </tr:column>
>>   <!-- more columns -->
>> </tr:table>
>> 
>> When now the bean return value for the outputText's value is null
>> (person.name...),
>> then in Firefox the according table row gets way higher (about 34px) than
>> rows with all non-null
>> values (about 20px height). In IE6 there's no such effect. BTW, I turned
>> on my custom
>> skin to exclude homegrown issues (thus, I get the minimal-desktop-skin).
>> 
>> This is the rendered HTML snippet (please note: For some reason I had to
>> replace the "span"-tags
>> by " span"-tags in this snippet to get them through the preview :-O 
>> Please ignore and replace...):
>> 
>> <td style="height: 20px;" class="af_column_cell-text OraTableBorder1111">
>>   <!--Start: org.apache.myfaces.trinidad.Output["_id130"]-->
>>   < span class="af_outputText null"/>
>> </td>
>> 
>> This is what a non-null value would be rendered to:
>> 
>> <td style="height: 20px;" class="af_column_cell-text OraTableBorder1111">
>>   <!--Start: org.apache.myfaces.trinidad.Output["_id130"]-->
>>   < span class="af_outputText null" John Doe</ span>
>> </td>
>> 
>> Any ideas? Thanks in advance,
>> Carsten 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Trinidad--tr%3Acolumn-with-value%3Dnull-gets-strange-height-in-Firefox-tf4414436.html#a12594677
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to