so is some Struts 1.3 sample code (without DB) in the download
for this article: http://www.infonoia.com/en/content.jsp?d=inf.05.09
(40MB to get started).
Wolfgang
Michael Jouravlev wrote:
On 2/20/06, Wolfgang Gehner <[EMAIL PROTECTED]> wrote:
Here is a non-committer speaking (me):
cute((Context) context);
Then do with the response what you want. We like passing the
ServletActionContext through; we even fill the Struts Chain with our own
augmented one that extends ServletActionContext :-)
Very clean and simple code is the result.
And the 1.3 release code it is great as it i
on a previous article at
http://www.infonoia.com/en/content.jsp?d=inf.05.07
Enjoy!
Wolfgang Gehner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Wendy Smoak wrote:
On 2/13/06, Wolfgang Gehner <[EMAIL PROTECTED]> wrote:
Hi guys,
I just plopped the nightlies of Feb 12 into a project (struts_action) and
doesn't work for me (:
Always did with 1.1, 1.2 I think I had previously raised a bug on this,
but I honestly don
t;/")) {
uri = RequestUtils.forwardURL(sacontext.getRequest(),
forwardConfig, moduleConfig);
} else {
uri = forwardPath;
}
HttpServletRequest request = sacontext.getRequest();
// Patched by Wolfgang Gehner [EMAIL PROTECTED
ng
that they get an implementation that meets their internal needs for
easier componentized applications.
Wolfgang Gehner
wgehner [at] infonoia [dot] com
--
Infonoia SA
7 rue de Berne
1211 Geneva 1
Tel: +41 22 9000 009
Fax: +41 22 9000 018
http://www.infonoia.
also involves the Eclipse community.
Please join in the discussion!
Enjoy!
Wolfgang Gehner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
'd advocated a kind of ActionContext with
.execute(context) on top of Struts 1.1 early on.
PS for Ted: please forgive me bringing it up again. James just struck a
chord.
Wolfgang Gehner
James Mitchell wrote:
I didn't realize we had a default. If [Action] is the default, then
[Actio
Martin Cooper wrote:
On 11/13/05, Wolfgang Gehner <[EMAIL PROTECTED]> wrote:
-1, the most important thing that Struts 1.3 allows us to get rid of is
the "extends Action", which becomes "implements Command". So the focus
should be on this.
The "Acti
e difficult time
explaining why I "still" use Struts instead of Spring. That is if can't
flaunt
the fact that 1.3 is NEW, more open (flexible wiring is what sells
Spring), abd a *CORE* piece of solid code infrastructure. That's why I
believe in Struts CORe.
Wolfgang Gehner
How Eclipse recommends their plugin versions, for RCP apps: a distro
such as 3.1 "can" have modules (plugins) that have different versions,
but the recommended way is to push the distro version to the plugins, so
whatever plugins were 3.1.4 or whatever become 3.2.0 in the next distro.
People un
ge much in that respect.
One reason why I personally like CORE is because it contains COR, of
course, so it's easy to explain and remember with that pattern. "I use
Struts CORE with XXX" just has a nice modern ring to it. But I repeat
myself...
Wolfgang Gehner
Michael Jour
and, but I see why people could be confused.
Is Shale part part of the six original subprojects, and thus part of
Struts Original?
I maintain that the new RequestProcessor and COR is not classic, but
new. And that COR should be highlighted as such, new.
Wolfgang
Ted Husted wrote:
On 11/1/05
+1
Wolfgang Gehner
Ted Husted wrote:
On 11/1/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
I haven't been a fan of the naming convention being introduced, and I've
said so in the past. But, as Ted points out in another post, no one,
including me, offered any better su
d established".
Maybe that would be some middle ground without disturbing the set ways
of release management.
Kindest regards,
Wolfgang Gehner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
many frameworks? How are
they different? Why are they all called Struts? Which is the best
choice for my next project? In this session, we step back and look at
Struts through a wide-angle lens."
Hmm, yes, maybe the Struts movement should really discuss how
things get communicated...
Be
ave to decide on many different frameworks? Hmm,
I don't think that a web application framework should be decided
on the requriements. I think there should be one good one for all
requirements that occur in 99% of all web applications.
Best regards,
Marky
Wolfgang Gehner wrote:
I have a humbl
it, and rather
buy something new. Or they blundered on something new. Neither is the
case here.
Also, would anyone want to step forward and be vocal about what is new
with Struts 1.3 ("1.5") in discussions like
http://www.theserverside.com/
to Struts 1.3 (250MB
download) to get a head start on 1.3 (need to register to access).
at www.infonoia.com community downloads section.
Best regards,
Wolfgang Gehner
Matthias Wessendorf wrote:
Hi all,
I have updated some apps to 1.3, that went pretty smooth :-)
(Thanks to the good
s ago:
http://svn.apache.org/viewcvs.cgi?rev=264683&view=rev
The issue is in Commons Validator (rather than Struts) - probably best if
you open a bugzilla ticket against Commons Validator for this.
Niall
- Original Message -
From: "Wolfgang Gehner" <[EMAIL PROTECTED]>
t="moduleA" would be an ugly hack, because I would have to specify
the locale as this for every jsp so that validation would still work.
Kind regards,
Wolfgang Gehner
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ns are pooled and not
created each time, but the point is that rather than modifying Action
to implement Command,we wrote a bridge Command. If your arbitrary
class isn't threadsafe, rather than modifying that arbitrary class to
implement Command you should write a complementary Command whic
parameter is present, and how to (a question to
commons-chain).
That should also be made VERY evident in the Docs.
We are just deploying a 400 screens application we wrote on Struts 1.3,
and it works great! of course our commands are all thread-safe.
Kind regards,
Wolfgang Gehner
Joe Germuska wrote:
At 4:18 PM +0100 2/14/05, Wolfgang Gehner wrote:
add this shortcut:
While type="a.b.c.xxxAction" goes to "classic" Action.
I've been thinking about something like this; I was even thinking
about whether we ought to simply let the value specified f
add this shortcut:
While type="a.b.c.xxxAction" goes to "classic" Action.
Wolfgang Gehner
nfig files in the war, like Eclipse discovers its plugins, on
startup (say, look for all xml's that use struts_1_3.dtd).
Wolfgang Gehner
Joe Germuska wrote:
At 2:05 PM -0800 2/13/05, Don Brown wrote:
I don't mind sticking ActionContext everywhere as it is better than
having the
commands that extend it can have methods like "save(Context context)"
when the url is /do/testCmd?method=save
The sample app code incl. environment (Eclipse 3.1M4 etc) is there at
http://sourceforge.net/projects/infonoia/
I will see that it gets updated tomorrow based on the nightly buil
find it in svn), see below.
Best regards,
Wolfgang
// Do we do a forward (original behavior) or an include ?
//Added (Wolfgang Gehner): If response is already committed,
//we believe this action was called from from within a definition,
//as in
//Should do an include instead o
s in:
configProcessorClass.isAssignableFrom(tilesProcessorClass)
IsAssignable is the inversion of "extends", and I guess the test should be
if tilesProcessorClass extends configProcessorClass, i.e.
Best regards,
Wolfgang Gehner
Co-author "Struts Best Practices"
http://www.amazon.de/exec/obi
29 matches
Mail list logo