Re: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Steven Yang
I have no idea. I did not modify the document. I simply find the page and post for example and didnt even noticed it. On Fri, Apr 26, 2013 at 5:52 PM, Martin Gainty wrote: > Steven > > Error trying to draw image gallery > org.apache.velocity.exception.ParseErrorException: Encountered "=" at > /

Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Nils-Helge Garli Hegvik
It's been a while since I used it last, but underneath the hood, Struts 2 uses PortletUrl to create urls with the url-tag. So you should be able to use the param tag to add parameters to the url. If that is not suitable, use the PortletRequestAware to get the current PortletRequest injected to your

Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Lukasz Lenart
Feel free to request such a functionality via JIRA :-) https://issues.apache.org/jira/browse/WW Kind regards -- Ɓukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/4/26 Juan Jose Fuentes Esteban : > It's just what I was afraid of... Well, it could be an interesting feature > to support in

Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Juan Jose Fuentes Esteban
It's just what I was afraid of... Well, it could be an interesting feature to support in the future, if you ask me. The way it is now, we must generate the PortletURL using the portal API, and after that we have to add the parameters that'd make work with Struts2... Thank you Lukasz 2013/4/26 Lu

RE: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Martin Gainty
Steven Error trying to draw image gallery org.apache.velocity.exception.ParseErrorException: Encountered "=" at /templates/gallery-dynamic-slideshow.vm[line 64, column 37] Was expecting one of: ... "-" ... "+" ... "*" ... "/" ... "%" ... ... who supplies the Velocity Macros for the JFreeChart

Re: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Steven Yang
indeed just include multiple img tags that points to actions that generate images using JFreeChart see http://struts.apache.org/development/2.x/docs/jfreechart-plugin.html On Fri, Apr 26, 2013 at 3:01 PM, Lukasz Lenart wrote: > 2013/4/17 Norah Jones : > > I am planning to use JFree Charts for m

Re: interceptor init twice

2013-04-26 Thread Steven Yang
same behavior for devMode=true and false i am not sure what you mean, shouldnt init only be called during initialization? or do you want to confirm that when I run my app after initialization, the init method wont be called again? so far the observation is that this only happen during initializati

Re: Generate PortletURL object with Struts framework

2013-04-26 Thread Lukasz Lenart
2013/4/24 Juan Jose Fuentes Esteban : > Which is the preferred way of generating a PortletURL object using Struts 2 > portlet framework? I have the need to obtain a PortletURL object instead of > a String because after that I'll need to add parameters to this PortletURL. Hmm... I don't see support

Re: How can I put multiple charts into a single JSP page using JFree Chart?

2013-04-26 Thread Lukasz Lenart
2013/4/17 Norah Jones : > I am planning to use JFree Charts for my web application. I have a > requirement to place multiple Charts (say multiple pie charts) on a single > JSP page. How can I achieve using JFree Charts? I have limited knowledge about JFree CHarts but it shouldn't be a problem. J