Try some permutation of this: rendered="#{not row.isInStock}" on your
components.  Not sure if you'll end up with blank rows or not.


::SammyRulez:: wrote:
> 
> can't u modify the business method that create the collaction of the
> value attriubute of the datattable.
> 
> Before you ask is not possible to set rowstyle on particular var
> attribute values.
> 
> My two cents is to put a image in a column with an icon that displays
> only if the item is in stock
> 
> 
> 2006/8/29, Paul Spencer <[EMAIL PROTECTED]>:
>> I am have a list that is displayed by <t:dataTable>  I would like to
>> selectively display the object in that list, i.e. filter them, via the
>> JSP tag configuration.
>>
>> As an example the collection contains a list of parts.  The part object
>> also contains the method isInStock().  So the <t:dataTable> should only
>> display object where row.isInStock() is true.
>>
>> I know that a new list containing only inStock object can be created and
>> that list could be passed to <t:dataTable>, but I have simplified the
>> example for the purpose of this illustration.
>>
>> Paul Spencer
>>
>>
>>
>>
> 
> 
> -- 
> ::SammyRulez::
> http://www.kyub.com/blog/
> -----------------------------------------------------------------
> La programmazione รจ per un terzo interpretazione e per due terzi
> ispirazione.
>  E per un terzo misitificazione
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-not-display-a-row-in-%3Ct%3AdataTable%3E-based-on-the-row-content--tf2183816.html#a6041951
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to