RE: default action and templates

2001-08-23 Thread SUHAS G. KULKARNI
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

Re: default action and templates

2001-08-23 Thread Marcelo Vanzin
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

2001-08-23 Thread SUHAS G. KULKARNI
: 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

Re: default action and templates

2001-08-23 Thread Marcelo Vanzin
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

Re: default action and templates

2001-08-23 Thread Erik Hatcher
- 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

Re: default action and templates

2001-08-22 Thread Erik Hatcher
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

Re: default action and templates

2001-08-20 Thread Marcelo Vanzin
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

Re: default action and templates

2001-08-18 Thread Gordon Reynolds
: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

Re: default action and templates

2001-08-18 Thread martin . cooper
- 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

default action and templates

2001-08-17 Thread Marcelo Vanzin
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

Re: default action and templates

2001-08-17 Thread Erik Hatcher
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