You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by an...@magnasteyr.com on 2005/11/07 09:32:59 UTC

Drawing first column of t:columns as outputtext, the others as inputtext

Hi all!

I'm drawing a dynamic table with t:columns.
Is it now possible to draw the first column as a outputtext and the second and so on as Inputtext.
The first columns is always of type long, so I can perhaps do it like: 

<h:outputText rendered="#{userRolesBean.longValue}"
value="#{userRolesBean.columnValue}"/>

But the problem is, that in the second column, there can also be a data of type long... So is it possible only to draw the first column as a outputtext, no matter what datatype this column has?

Regards
Andy

______________________________________________________________________

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
your system manager.
 
This footnote also confirms that this email message has been swept
for the presence of computer viruses. 
______________________________________________________________________

Re: Drawing first column of t:columns as outputtext, the others as inputtext

Posted by Mathias Brökelmann <mb...@googlemail.com>.
either use h:column for this specific column or use some additional
boolean flag since your boolean expression in rendered attribute can
can be combined with boolean operators.

2005/11/7, andreas.mitter@magnasteyr.com <an...@magnasteyr.com>:
>
>
> Hi all!
>
> I'm drawing a dynamic table with t:columns.
> Is it now possible to draw the first column as a outputtext and the second
> and so on as Inputtext.
> The first columns is always of type long, so I can perhaps do it like:
>
> <h:outputText rendered="#{userRolesBean.longValue}"
> value="#{userRolesBean.columnValue}"/>
>
> But the problem is, that in the second column, there can also be a data of
> type long... So is it possible only to draw the first column as a
> outputtext, no matter what datatype this column has?
>
> Regards
> Andy
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> If you have received this email in error please notify your system manager.
> This footnote also confirms that this email message has been swept for the
> presence of computer viruses.
> ______________________________________________________________________
>


--
Mathias