Sorry about the misspellings and unclear descriptions. I was in a hurry. I
hope you get the jist of what I am saying.
Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws
-Original Message-
From: Phase Web and Multimedia
I browsed the Appendix A for EL and got the following
thoughts:
Suppose STRUTS taglib is running in a JSTL environment
with EL engine enabled. We could have a construct like
c:forEach var=i items=some_address_index_collection
bean:write name=customer property=address[${i}]/
/c:forEach
I hope
On Thu, 25 Apr 2002, Jing Zhou wrote:
Date: Thu, 25 Apr 2002 15:09:31 -0500
From: Jing Zhou [EMAIL PROTECTED]
Reply-To: Struts Developers List [EMAIL PROTECTED]
To: Struts Developers List [EMAIL PROTECTED]
Subject: Re: Another way to find mapped properties
I browsed the Appendix A for
Okay here is the idea I proposed earlier (Struts (MVC) Shortcomings?) in
more solid thought.
My hope in this is to provide an non-hard-coding mechanism to take advantage
of reusable logic without having to forward around to a bunch of Action
classes (which doesn't work anyways).
Here is my
You are correct, it does sound like an Action class and really it would be
in many ways. But, The difference is that it does not forward anywhere it
merely performs data preparation and processing without having to bounce
around to several Action classes. The Action uses the process chain defined
It sounds like what your trying to do falls outside of the Struts mandate to
aid in the VC of an MVC application. Action classes aren't supposed to do
any processing themselves, they just invoke methods on business objects,
load some context with whatever the jsp needs, and return forwards.
If
Well, in pseudo-code, here's basically what popped into my head after
your first message:
public class ProcessorAction extends Action {
private Action[] getProcessActions(ActionMapping mapping, ...) {
// this method would get the name of the process group
// specified for the mapping,
How is this different from the thread that was going on here in the
last few days under the subject line
Re: ActionServlet re-populates form upon Actoin = Action call
I thought that Craig's response sent yesterday seemed right -- most
of that processing logic should probably be in the Model
What you are saying is exactly why I am proposing. All of my current Action
Classes are fairly simple. That is why I am proposing this. If all of my
logic is managed outside of my Action and the action class is merely
responding to data provided by those beans and passing data into various
scopes
I am throwing this post out there in the hopes that it will either spawn a
solid answer or at least discussion towards addressing these issues that I
am facing with MVC/Struts. So, here I go...
It is an issue I think is kind of addressed with Plugins but gives no inline
processing options.
The
An Additional thought is that forward name=auth path=/apage.jsp
redirect=falseset-property property=processor value=processa
//forward can also be used to call the processor at redirection time. I
am not sure how the set-property for the forward tag is accessed. But it's
food for thougth. This
11 matches
Mail list logo