Thanks all, now I noticed the "align" attribute. Should the "Formatting" paragraph be canceled from tag doc ? Also I tried to follow the column renderer sources by a debugger: I just noticed that there is some automatic style selection based on actual child type: text, number and icon. But I miss what should lead to number detection, since we have no "outputNumber" component. An icon is properly recognized if I provide it through tr:icon. The same for a string through ouputText. But if my bean returns an Integer to feed an outputText value, then it is assigned an af_column_cell-text selector (thus left-aligned), while I expected a af_column_cell-number, which is right-aligned.
So the point is how to trigger this detection mechanism by data contents.

-- Renzo

Felix Gonschorek wrote:
Hello,

i do this with <t:column align="end" />

regards
felix gonschorek

Simon Lessard schrieb:
Helllo Renzo,

I neer played with that property yet, but I think the formatType should be "number" and not "right". I believe there's also either an align or halign
property to do that.


Regards,

~ Simon

On 2/19/07, Renzo Tomaselli <[EMAIL PROTECTED]> wrote:

Hi, Trinidad tag documentation states that the column component should
have a formatType attribute.
I tried to right-align a numeric cell as <tr:column formatType="right">,
but I got the warning "Property 'formatType' is not on type
org.apache.myfaces.trinidad.component.core.data.CoreColumn"
How can I do align numeric columns ?




Reply via email to