• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Data Grid 1.2 Tag DateFormat

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using the Data Grid 1.2 Tag Library from apache.
I have 2 issues don't know how to solve it.
First i want to know how to format a date field.
2nd one is how do a conditional check. Eg

<column order="true" width="100">
<header value="Validated" hAlign="right" styleClass="header" />
<item value="list.valid" hAlign="right" styleClass="item"/>
</column>
list.valid returns true /false, what i wanted to do is

if(list.valid)
<item value="yes" hAlign="right" styleClass="item"/>
else
<item value="no" hAlign="right" styleClass="item"/>

How do i do that? I appreciate anyone who can help me.
reply
    Bookmark Topic Watch Topic
  • New Topic