Yes of course that's what I thougt. But when I change the scope of the
spring bean to default
I could provide the id using a get request but nothing happens.
Now I keep it on prototype which is okay for this page.
Marc
Eric Nelson schrieb:
You CAN set the property to a different value every t
Hi,
I'm working on configuration issues and I'm searching for the best way to
have a consitent configuration over the whole webapp (or more webapps).
The webapp has got a sitemesh-freemarker-template and the views are done
with jsps.
What I wanted to do is to have configuratio values (such as h
May be. I haven't done anything with struts 2 and sitemesh until now.
Mostly I had worked with struts 1 but
I had to upgrade now (So I'm still a beginner. :) )
[EMAIL PROTECTED] schrieb:
Dude, do you sleep?
On Fri, Mar 28, 2008 at 5:09 AM, me <[EMAIL PROT
Great! It works perfectly!
Thank you very much!!!
Marc
[EMAIL PROTECTED] schrieb:
Try stack.findString('title') instead of ${title}
On Fri, Mar 28, 2008 at 4:57 AM, me <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] schrieb:
No problem bro
Let's see what you a
[EMAIL PROTECTED] schrieb:
No problem bro
Let's see what you added to your template to fetch the title from action
Okay, these are my files:
template.ftl:
--
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
test - ${
Sorry for my stupid questions.
Marc
[EMAIL PROTECTED] schrieb:
The FreeMarker template can access the property in your action to get the
"action variable" title.
On Fri, Mar 28, 2008 at 3:24 AM, me <[EMAIL PROTECTED]> wrote:
Hi,
hmmm... do you mean that I should create a te
et or
can I access the
value-stack from the sitemesh-freemarker template?
Marc
[EMAIL PROTECTED] schrieb:
Hey Marc --
copy that FreeMarker template into your /template folder and modify
it with your desired changes. Struts 2 will grab yours for rendering.
On Fri, Mar 28, 2008 at 2:14 A
Hi,
I'm running struts2 with sitemesh. There is a freemarker template
defined in the decorators and this template
has both variables $title and $body. The body is filled autmatically
which is okay. But I want to set the title
from the action I've called because I wanted to have the content and
Hi,
I've followed the examples in the InfoQ-Book "Starting Struts2"
regarding CRUD.
But there is an issue with the following action:
/{1}/view.action
the request on this Action results in an exception:
Struts Problem Report
Struts has detected an unhandled exception:
# *Messages*: Ther
9 matches
Mail list logo