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

mlopez_1

Members
  • Posts

    372
  • 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 mlopez_1

  1. You can use var1.size() > 0 to know if some value was added, but if no values was added. For better understanding you must check out this URL: http://jasperreports.sourceforge.net/sample.reference/query/ Mariano
  2. If you put $P!{R_Select_Organization} , with ! symbol, replace literally with what you put in R_Select_Organization parameter. So if you only want replace with list values you must put $P{R_Select_Organization} Mariano
  3. Try this: - Install only x64 bits version - Edit JSS_FOLDER_INSTALLATIONJaspersoft Studio.ini file - make sure that the following parameters are setting up at least like this: -vmargs -Xms1024m -Xmx2048m
  4. You have to see the JASPER_SERVER_DIR/apache-tomcat/logs/catalina.out file and search for the string 3bfe9819-767d-45da-af88-0b274b15f75d , there will be your error. Mariano
  5. Probably will be a SQL query issue. Try to run query out of th JS and with the same parameters and watch the time spent. This forum is for english language so, please, make your questions in that language. Mariano
  6. Using scriplets works well for me. Take a look at: https://community.jaspersoft.com/blog/all-you-want-know-about-scriptlets Mariano
  7. Sorry, the protection is for CSRF(Cross-Site Request Forgery). I think that there is something for XSS. Begin here: https://community.jaspersoft.com/wiki/jaspersoft-security-changes-and-configuration Mariano
  8. Yes there is, and is activated by default. There is a lot information about it. Mariano
  9. May be, perhaps marking some components to HTML and inserting javascript code there. I never tryed it so, I don't know if it will work. Mariano
  10. Yes, modifying affected jsp page. This could be much complicated if you don't have enough knowledgment. Mariano
  11. I do it in this way: new Timestamp( Calendar.getInstance().get(Calendar.YEAR) - 1900, Calendar.getInstance().get(Calendar.MONTH), Calendar.getInstance().get(Calendar.DAY_OF_MONTH), 23, 59, 59, 0 )
  12. I have some crosstabs with Calculation -> 'No calculation function' for measures, to show some rows as columns. This works perfectly for me. What I told you was that I don't know how to set columns for rows. I think it can't be done. Mariano
  13. If you want to retrieve the same connecation as Report Unit is using, I use this: import net.sf.jasperreports.engine.JRDefaultScriptlet; import net.sf.jasperreports.engine.JRParameter; public class XXXXXXextends JRDefaultScriptlet { .. java.sql.Connection report_conexion = (Connection) this.getParameterValue(JRParameter.REPORT_CONNECTION); .. Mariano
  14. You can put Row Headers as a columns using crosstab, it's very easy but I don't know how to use column as a rows. Mariano
  15. You can treat as a String and using String's replace/replaceAll method for ' "," ' and ' "]. ' with new lines Mariano
  16. Using a variable with these formular and putting it in a text field with the same pattern. Mariano
  17. I will explain my way. 1. Create subreport in local project as a normal jrxml file. 2. Create a repository jrxml resource in your subreport's location. 3. Import from jrxml file create at 1to repository jrxml resource create at 2 4. Create your Report Unit 5. Copy repository jrxml resource and Paste as link in your Report Unit. This insert a link with the same name as resource(without folders). 6. Insert subreport component from Palette in your Report Unit 7. Select subreport element -> Properties -> Subreport -> Expression and set with the value : "repo:NAME_OF_THE_LINK_TO_JRXML" No matter where repository jrxml resource are, with the link and using "repo:....." works well. I had much troubles with subreports, since I use this way it's very easy. Mariano
  18. Yes, using parameters in repository query or using "Filter Expression" in Dataset and Query Dialog. Mariano
  19. You must read the scriptlet documentation. It isn't much difficult to implement. Even you can use the same connection as the Report Unit reading the parameters that Jasper Server pass to scriptlet. Mariano
  20. This a Tomcat issue. You must configure $JASPERSERVER_DIR/apache-tomcat/webapps/jasperserver/WEB-INF/web.xml: <session-config> <!-- Default to 20 minute session timeouts --> <session-timeout>60</session-timeout> </session-config> And restat the server. Mariano
  21. Only if you make a scriptlet that returns a List after making the query. Mariano
×
×
  • Create New...