Re: Struts2 + JFreeChart Plugin + HttpServletRequest

2007-11-25 Thread Dave Newton
https://issues.us.apache.org/struts/browse/WW-2204 --- Kate Fox [EMAIL PROTECTED] wrote: My JFreeChart action class implements ServletRequestAware, but setServletRequest is not being called. Here is my definition from struts.xml: package name=chart extends=jfreechart-default

Download .zip of Struts 2 CRUD Example

2007-11-25 Thread hezjing
Hi Where can I download the .zip of the Struts 2 CRUD Example? See http://struts.apache.org/2.x/docs/crud-demo-i.html Should we add a download link in the tutorial? -- Hez - To unsubscribe, e-mail: [EMAIL PROTECTED] For

logic:iterate question

2007-11-25 Thread Minghui Yu
in Action: ... SetBook books=bdao.findAllBooks(); request.setAttribute(books, books); ... In JSP: logic:present name=books All Books:br/br/ logic:iterate id=book name=books bean:write name=book property=title /br/ /logic:iterate /logic:present -- The line (

Re: logic:iterate question

2007-11-25 Thread Fitzwilliam . Aaron
u sure the collection 'books' is not empty? On 11/26/07, Minghui Yu [EMAIL PROTECTED] wrote: in Action: ... SetBook books=bdao.findAllBooks(); request.setAttribute(books, books); ... In JSP: logic:present name=books All Books:br/br/ logic:iterate id=book name=books

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I tried code below, still the same error: logic:present name=books logic:notEmpty name=books logic:iterate id=book name=books indexId=cnt Next element is bean:write name=book property=title/ /logic:iterate /logic:notEmpty logic:empty name=books Database search does not

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I made this change , still does not work bean:define id=abook value=book/bean:define Next element is bean:write name=abook property=title/ Error: No getter method for property: title of bean: abook I do have getTitle method for Book object On Nov 25, 2007 7:33 PM, Fitzwilliam. Aaron

Re: Struts2 + JFreeChart Plugin + HttpServletRequest

2007-11-25 Thread Kate Fox
The version where it's fixed isn't out yet, correct? (I'm using struts2-tiles-plugin-2.0.11.jar and it's not working). Where can I get the patched version? Also will it work with tiles? Thanks, Kate - To unsubscribe,

Re: Download .zip of Struts 2 CRUD Example

2007-11-25 Thread David Orriss Jr
On Nov 25, 2007, at 6:17 PM, hezjing wrote: Hi Where can I download the .zip of the Struts 2 CRUD Example? See http://struts.apache.org/2.x/docs/crud-demo-i.html Should we add a download link in the tutorial? I'd like to find this, too... -- David Orriss Jr. My blog:

Re: Struts2 + JFreeChart Plugin + HttpServletRequest

2007-11-25 Thread Tom Schneider
You don't need the fix to get this to work. You need to add the servletConfig interceptor to the interceptor stack of your action. This is the interceptor that looks for ServletRequestAware and injects the HttpServletRequest onto your action. Kate Fox-2 wrote: The version where it's fixed

Re: Wizard like Screens

2007-11-25 Thread Tom Schneider
Both of those plugins, by default, would need the session to keep track of the state. The webflow plugin can be configured to serialize the state to a hidden field, but there would be a lot of configuration and complication just for 2 fields. I would say your best bet is to have hidden fields

Re: Struts2 + JFreeChart Plugin + HttpServletRequest

2007-11-25 Thread Kate Fox
Do you also know if it's possible for JFreeChart to work with tiles? Does it also need an interceptor? Thanks, Kate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: struts2 blank application request parameters

2007-11-25 Thread Tom Schneider
Checkout the I18NInterceptor: http://struts.apache.org/2.0.11/docs/i18n-interceptor.html This interceptor picks up the request_locale parameter and sets the locale. This happens even before the action is executed. Tom slideharmony wrote: I'm really going crazy with struts2 and request