Jump to content

cactusbeef

Members
  • Posts

    16
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by cactusbeef

  1. /images

    /report 

    I have main report and one sub report , both locate at folder /report 

    I also have two images, locate in folder /images 

     

    in my main report I use /image/logo1.png it work ok , but in my subreport ./image/checked.jpg I get error at something checked.jpg is not find 

     

     

  2. what is th edifferent between "repo:" and "./"
     
    ..insert your code here..[/code]
    <parameter name="SUBREPORT_DIR" class="java.lang.String">
    <defaultValueExpression><![CDATA["repo:"]]></defaultValueExpression>
    </parameter>
     
    <parameter name="SUBREPORT_DIR" class="java.lang.String">
    <defaultValueExpression><![CDATA["./"]]></defaultValueExpression>
    </parameter>

     

    1. I have an Integer parameter LOCATION_COUNT, I want to use it to control which sub report to display.  
    2. I use the following syntax in my main report. It work as I expected in Studio. But when I publish to server. Only one sub report be publish to server, I had to upload there other sub report by myself. But whatever I give I or 2 in the parameter LOCATION_COUNT it always show one sub report  

    <subreportExpression><![CDATA[$P{SUBREPORT_DIR} + ($P{LOCATION_COUNT}>1? "SCHOOL_SUB02":"SCHOOL2_SUB01") + $P{SUBREPORT_EXT}]]></subreportExpression>

     

  3. $V{Group1_COUNT}>=$F{SUM_COUNT}

     

    1) I have a Group1 with Expression as $F{SCH_ID} , so I can display the Group1_COUNT 

    2) also in my sql I have someting sum (1) OVER (PARTITION BY SCH_NUM, LOC_NUM) AS SUM_COUNT,

     

    3) $V{Group1_COUNT}==$F{SUM_COUNT}?  "Total  :  "+$F{SUM_COUNT} : "" 

    4) in my testing example, 

    the last row, the display of both  Group1_COUNT and  $F{SUM_COUNT} all 98 , but just can not hit the equals part ? why

  4. I have master repot it contain  image , Company name and so on in title I have a subreport in head, store relate information, such as name , location , state ans so on , the parameters are  passt from web. where I shouls put my parameters? in master or subreport ?

  5. Thanks,

    horzawa, I fingure out these 

    1) if you want to compile with ant you have to download  jasperreports-6.0.0 the most new version did not including dis and lib folder

    2) if you use eclipe +jassperSoft Studio, you have to add both jasperPorts library and jasperpot library dependencies , same tutorials only suggest five or six library , it just not work out for me . 

    KKriplani,

    I just add some testing data in java class.

     

×
×
  • Create New...