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
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]
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
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
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
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:
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
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
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:
>
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
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
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">
>
>
12 matches
Mail list logo