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