in the template:get tag
Suhas
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 10:45 AM
To: [EMAIL PROTECTED]
Subject: Re: default action and templates
Why not use the Action to populate request scoped variables that you then
bean:write
Erik Hatcher wrote:
Why not use the Action to populate request scoped variables that you then
bean:write inside template:put tags?
This was actually my other question from yesterday. I could not find a
way to do that, not with bean:write at least.
Or have a look at the source code
: Re: default action and templates
Erik Hatcher wrote:
Why not use the Action to populate request scoped variables that you then
bean:write inside template:put tags?
This was actually my other question from yesterday. I could not find
a
way to do that, not with bean:write at least
SUHAS G. KULKARNI wrote:
Anyway U are doing the pageContext.setAttribute(template-stack , stack ,
PageContext.REQUEST_SCOPE) in the template:put tag.
I don't see any reason why u cannot do the same in the Action class
(requst.setAttribute(template-stack , stack)) . just take care
of using
- Original Message -
From: Marcelo Vanzin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 23, 2001 8:04 AM
Subject: Re: default action and templates
Erik Hatcher wrote:
Why not use the Action to populate request scoped variables that you
then
bean:write inside
PROTECTED]
Sent: Monday, August 20, 2001 12:12 PM
Subject: Re: default action and templates
Hi guys, me again.
Marcelo Vanzin wrote:
2) I actually had some doubts with the templates, but while writing them
down I kind of saw some ways of doing what I wanted, so I'll try it and
later if I'm
Gordon Reynolds wrote:
I might misunderstand your intention, but could you implement your 'default'
code as a scriptlet in a template that you reuse for the display of your web
pages?
Actually all the options suggested would solve my doubt. :-) Thanks guys!
I think I'll go
:41 PM
Subject: default action and templates
Hi there,
We're working around here to implement Struts as the definitive framework
for our web applications, and I'm beggining to study it. Comparing it to
our current in-house system, I have come to two problems I could not
find answers.
1
-
From: Marcelo Vanzin [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Friday, August 17, 2001 3:41 PM
Subject: default action and templates
Hi there,
We're working around here to implement Struts as the definitive framework
for our web applications, and I'm beggining to study
Hi there,
We're working around here to implement Struts as the definitive framework
for our web applications, and I'm beggining to study it. Comparing it to
our current in-house system, I have come to two problems I could not
find answers.
1) A default action. This is not a
PROTECTED]
Sent: Friday, August 17, 2001 3:41 PM
Subject: default action and templates
Hi there,
We're working around here to implement Struts as the definitive framework
for our web applications, and I'm beggining to study it. Comparing it to
our current in-house system, I have come to two
11 matches
Mail list logo