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

bmw328i

Members
  • Posts

    2
  • 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 bmw328i

  1. In which technology your app i written? I`m creating pdf in the browser with Jasper with no js libs....
  2. Hi all, I`m using Jasper Reports for creating printouts in my Spring Boot application. I`m dispalying my persist entity in the report. One of the field is @DateTimeFormat(iso = ISO.DATE)private LocalDate documentDate;[/code]I`m displaying this date just simple <field name="myEntity.documentDate" class="java.lang.String"/>[/code]<textFieldExpression><![CDATA[$F{myEntity.documentDate}]]></textFieldExpression>[/code]this works FINE. Now I`d like to show week number from this date. So, in Jasper XML I created variable like this <variable name="week_no" class="java.lang.Integer"> <variableExpression><![CDATA[WEEKNUM($F{myEntity.documentDate})]]></variableExpression></variable>[/code]<textFieldExpression><![CDATA[$V{week_no}]]></textFieldExpression>[/code]I`m getting net.sf.jasperreports.engine.JRRuntimeException: Function WEEKNUM not found How to get week number in my case?
×
×
  • Create New...