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

JStaudenmaier

Members
  • Posts

    1
  • Joined

  • Last visited

JStaudenmaier's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. According to "The Jasper Reports Ultimate Guide", when specifying the value of the pattern attribute for Date values to be displayed in TextField elements, one can use either a specific pattern that could otherwise be supplied to java.text.SimpleDateFormat OR one can use two "style" values separated by a comma such as "Short", "Long", "Medium" or "Default". I found an example of this usage in the sample code that came with JasperReports as follows: Code: <textField pattern="medium,hide"> But when I try to fill a report based on this JRXML, I get the following message as part of an IllegalArgumentException: Illegal pattern character 'e'" Is there some other setting or parameter I need to specify in order to use these generic styles instead of a specific pattern for dates? My software runs in several different locales and I would enjoy the convenience these generic styles would supply rather than having to pre-format my date values.
×
×
  • Create New...