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

tunguyen

Members
  • Posts

    9
  • Joined

  • Last visited

tunguyen's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. Hi, I have a report that has a company logo. In iReport design, the logo points to a URL (e.g., new java.net.URL("http://google.com/logo")), but once that report is loaded into JasperServer, I want to use the logo loaded on that JasperServer instance (e.g., "repo:/path/file/logo.png") My question is how do I make a switch statement so that if the report runs in local iReport, it uses the URL and when it runs on JasperServer, it uses the repo: syntax. I can use something in this format for the logo image: "isServer ? use-Repo-string : use-URL-string" Does anyone know what the variable is that I can use to tell whether it is running on the server? Thanks, -Tu Nguyen
  2. OK, I finally figured it out that I can use a custom Java class to get to the Sunday (start of the week) of the date in question, and print out the date of that Sunday, instead of printing out the week number of the year. If anyone has questions on how to do this, contact me.
  3. I understand the reason why a bucket header can only be the value of the bucket expression. However, there is a valid case where I wanted to display something other than the bucket expression value. For example, one of my buckets is the sum of items for the week, and the bucket expression is formatted as "yyyy-ww". Now, I wanted to print the date at the start of the week (e.g., "10-19-2008"), instead of the value "2008-42". Or if I wanted to display a more descriptive text instead of "2008-42" as in the week number of the year. The way it is, the group header cannot be anything other than the bucket expression value.
  4. Hi, I have a setup where certain group of people design the reports using iReport, then upload them to JasperServer. This is done in DEV environment. The question is: Has anyone tried to incrementally move newly created reports/input controls/data types/etc from DEV to QA and PROD environments? Also, there are scheduled reports whose outputs are saved in jasper database so when clients access them, they don't have to be generated again. Moving wholesale from one env to another would overwrite all the pre-run reports. Are there scripts that can be written/run to move only newly added reports/data types/input controls to QA and PROD? How is everyone else doing this? Thanks, -Tu
  5. David, Could you tell me how you got the hyperlink from master to child to work properly? See my post: http://www.jasperforge.org/index.php?option=com_joomlaboard&func=view&id=43651&catid=9#43651 Thanks, -Tu
  6. Hi, I have a requirement to do a drill-down to a detail report from a master report via hyperlink. On my master report, I have a TextField whose Hyperlink tab has "ReportExecution" for the Hyperlink Type attribute. This is my question: What value do I need to fill in what tab/field of this Hyperlink tab to actually make it invoke a different report when the user click on the master report's TextField? I also need to pass a parameter, but I think the "Link Parameters" tab takes care of that. I bought the iReport manual, but it did not address this situation. After I upload the report to JasperServer 3.0.0, and run the master report via the web interface to JasperServer, the error I get when clicking on the hyperlink in the master report at runtime is: com.jaspersoft.jasperserver.api.JSException: jsexception.view.report.could.not.load at com.jaspersoft.jasperserver.war.action.ReportParametersAction.createWrappers(ReportParametersAction.java:113) at com.jaspersoft.jasperserver.war.action.ViewReportAction.checkForParams(ViewReportAction.java:148) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.springframework.webflow.util.DispatchMethodInvoker.invoke(DispatchMethodInvoker.java:103) at org.springframework.webflow.action.MultiAction.doExecute(MultiAction.java:136) at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:203) at org.springframework.webflow.engine.AnnotatedAction.execute(AnnotatedAction.java:142) at org.springframework.webflow.engine.ActionExecutor.execute(ActionExecutor.java:61) at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:180) at org.springframework.webflow.engine.State.enter(State.java:200) at org.springframework.webflow.engine.Flow.start(Flow.java:557) Thanks for your help, -Tu Post edited by: tunguyen, at: 2008/07/16 14:39
  7. The linked I mentioned in the previous post comes from this page: http://www.jasperforge.org/index.php?option=com_content&task=section&id=16&Itemid=277 Does anyone else get this blank, or is it just me? Heeeeellllllooooooooo?????? Anybody out thereeeeee....? -Tu
  8. Hi, When I access the JasperServer's link to download version 3.0.0: http://www.jasperforge.org/index.php?option=com_docman&task=doc_download&gid=233&Itemid=248 I get a blank page. Any ideas? Thanks, -Tu
×
×
  • Create New...