Struts Showcase Links Broken?

2007-10-11 Thread Phil404
Go to: http://www.planetstruts.org/struts2-showcase/filedownload/index.jsp Click "View Sources" and then click "Configuration". I get "Unknown Configuration". Also, If I click "Java Action", I get "Unknown or unavailable Action class". Is there someone who can fix this, please? Phil -- View

Re: Struts Showcase Links Broken?

2007-10-11 Thread Phil404
I get the same error with the distro Phil -- View this message in context: http://www.nabble.com/Struts-Showcase-Links-Broken--tf4610006.html#a13165656 Sent from the Struts - User mailing list archive at Nabble.com. - To unsu

Re: Struts Showcase Links Broken?

2007-10-11 Thread Phil404
Of course, the source is available... Phil -- View this message in context: http://www.nabble.com/Struts-Showcase-Links-Broken--tf4610006.html#a13165773 Sent from the Struts - User mailing list archive at Nabble.com. - To uns

Handling Heterogeneous Collections

2007-10-17 Thread Phil404
I would like to display and update objects in a list where the objects are not necessarily of the same class. For example, I have a list of survey questions where the question type may be Numeric, Multiple Choice, Open Ended, etc. Each of these classes would be a subclass of Question but would ob

JasperException and javax.el.ELException when running under Jetty

2007-11-13 Thread Phil404
I have a struts 2 application which works perfectly on Tomcat 5.5.23 but when I run it on Jetty 6.1.1 I get the following exception when processing an OGNL expressions in a jsp page: org.apache.jasper.JasperException: /WEB-INF/pages/register/info.jsp(45,10) PWC6038: "#{'FRESHMAN':'Freshman', 'SOP

Re: JasperException and javax.el.ELException when running under Jetty

2007-11-13 Thread Phil404
Wes Thanks for your quick response. You gave me the clue I needed!. OK, so I had this statements in my jsp: which produced the following error message: org.apache.jasper.JasperException: /WEB-INF/pages/assessment/questions.jsp(33,20) PWC6038: "%{#{5:''}}" contains invalid expression(s): jav

Newbie question about parameters for an Action

2007-09-23 Thread Phil404
I would like to draw a Pie Chart using JFreeChart. I call the action from a JSP like so: 10 15 20 ${chartUrl} The action is very simple: public class PieChartAction extends ActionSupport { private JFreeChart chart; private int visual;

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
That does not seem to work either. The String values are nulls. Phil Richard Yee wrote: > > You might try changing the attributes and setters to Strings and see if > that works. > > -Richard > > > Phil404 wrote: >> I would like to draw a Pie Chart using

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
ameterAware work? > > --- Phil404 <[EMAIL PROTECTED]> wrote: > >> >> That does not seem to work either. The String >> values are nulls. >> >> Phil >> >> >> Richard Yee wrote: >> > >> > You might try c

Re: Newbie question about parameters for an Action

2007-09-23 Thread Phil404
ase help! Phil mihel wrote: > > Phil404 wrote: >> I presume you mean org.apache.struts2.servlet.ParameterAware. If I >> implement >> setParameters(), it is not called before the execute() method. I'm still >> in >> the dark. I feel like I'm missing

Re: Newbie question about parameters for an Action

2007-09-24 Thread Phil404
interceptors are defined and hence the behavior I'm seeing. I modified this file to extend struts default and I get the correct behavior. Thanks for everyone's help! mihel wrote: > > Phil404 wrote: >> I don't think this is the problem since if I view source t

JFreeChart Plugin

2007-10-03 Thread Phil404
There has been a little discussion recently about the JFreeChart plugin on JIRA. The issue is that the plugin defines a package in its struts-plugin.xml which does not extend struts-default. Therefore JFreeChart actions cannot (without seemingly unnecessary extra work), for example, have paramet