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 par

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: 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 th

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: 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: http://www.codetho

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, e-mail:

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I made this change , still does not work Next element is 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 <[EMAIL PROTECTED]> wrote: > u sure the collection 'books' is not empty? > > > O

Re: logic:iterate question

2007-11-25 Thread Minghui Yu
I tried code below, still the same error: Next element is Database search does not return any result On Nov 25, 2007 7:33 PM, Fitzwilliam. Aaron <[EMAIL PROTECTED]> wrote: > u sure the collection 'books' is not empty? > > > On 11/26/07, Minghui Yu <[EMAIL PRO

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: > ... > Set books=bdao.findAllBooks(); >request.setAttribute("books", books); > ... > > > In JSP: > > > All Books: > > > > > -- > > The line ( throws an > exception: >

logic:iterate question

2007-11-25 Thread Minghui Yu
in Action: ... Set books=bdao.findAllBooks(); request.setAttribute("books", books); ... In JSP: All Books: -- The line ( throws an exception: Root Cause: javax.servlet.ServletException: javax.servlet.jsp.JspException: Cannot find bean: "book" in any scope (ther

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 addi

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: > >extends="jfreechart-default"> > >