Jump to content
We've recently updated our Privacy Statement, available here ×

pday

Members
  • Posts

    4
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by pday

  1. Hello, I've been working on creating a conditional style for a text field in Jaspersoft Studios. I'm using a field called "Rec_Alias". I created a style called "conditional" and added two conditional styles beneath it. The XML looks like this: <style name="conditional"> <conditionalStyle> <conditionExpression><![CDATA[$F{Rec_Alias}.length() < 8 ? true : false]]></conditionExpression> <style fontSize="16"/> </conditionalStyle> <conditionalStyle> <conditionExpression><![CDATA[$F{Rec_Alias}.length() > 7 ? true : false]]></conditionExpression> <style fontSize="8"/> </conditionalStyle> </style> However, when I test this out, the style doesn't actually do anyting. The text field's font stays at the normal 12 point font. Any assistance would be greatly appreciated! Patrick
×
×
  • Create New...