is a string.
return map.get(payload);
} ///;-) Michael McGrady
With maps, the page and key are just toss ins. If you specify a type
atttribute, then these become method names with the parameters becoming
arguments. You get the idea. How do I go about showing these to someone
and seeing
suggestions/ideas on the relevant dev-list, but
submit your patches via bugzilla.
Steve
-Original Message-
From: Michael McGrady [mailto:[EMAIL PROTECTED]
Sent: April 25, 2004 8:09 PM
To: Struts Developers List
Subject: How do I submit code?
I got tired of trying to get some answers
+1
At 09:06 AM 4/28/2004, Joe Germuska wrote:
I don't think you're heretical at all, Martin. I was at the Wisconsin
Java Software Symposium a couple of weeks ago, and between the sessions on
WebWork and Spring and on writing testable Struts code, I came away
convinced that changing how
Your messages are coming through, Peter.
At 03:19 AM 5/24/2004, Pilgrim, Peter wrote:
testing 1 2 3 4
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44 (0)207 883 4447
I've been getting these too, Martin. I also sent you a sample off list.
Michael
At 10:36 AM 6/25/2004, Martin Cooper wrote:
On Fri, 25 Jun 2004, Wendy Smoak wrote:
Is there an 'owner' address for the mailing lists? I'm getting bounces
from
[EMAIL PROTECTED] every time I post to struts-user.
This was one of the more helpful posts in this regard in a long
time. Thanks Ted.
From the point of view of someone who regularly adds code to the struts
framework on my own site but whom never really offers that code to the
community, EXCEPT VIA THE struts WIKI (for reasons explained here
. That is, change
cvs.apache.org:/home/cvspublic
to
cvs.apache.org
From the error message, I'm assuming that it is trying to use your whole
CVS Server setting as a domain name, which it isn't.
Joe
At 6:18 AM -0700 7/5/04, Michael McGrady wrote:
I am attempting to download struts cvs with jcvs ii. I
THANKS, Martin. I hope Brian was not caused a difficulty, but it is easy
to resubscribe. Michael
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Okay, Struts! I am CVS ready (sort of) and ready to work on Struts.
I am not at all new to Stuts and understand the whole very well. But, I am
completely new to this open source work. Someone want to mentor me in
and give me a step-by-step guide to helping out? You tell me what needs to
be
be accompanied by new tests, even if it is just something
we can click on through Taglib-Exercises.
-Ted.
On Sat, 10 Jul 2004 06:09:43 -0700, Michael McGrady wrote:
Okay, Struts! I am CVS ready (sort of) and ready to work on Struts.
I am not at all new to Stuts and understand the whole very well.
But, I
I am preparing to do some minor work on the documentation. Today this,
tomorrow the whorls.
I have WinCVS, Ant and Eclipse humming along. Tra la la! I am learning
the standard CVS gig. I have a CVS related question.
I have got WinCVS to download the struts CVS repository. Now on to the
Martin Cooper:
At 07:56 AM 7/13/2004, you wrote:
If you don't like it where it is, of course, you can always blow away what
you have (or not) and check out another tree.
I checked into another tree. I am looking for a delete or blow away
command in WinCVS. Where the hay is that? Thanks,
the
Collection saved is scope as layouts_schemes. Trust me, if I change the
property value to a different key in the BeanMap, I do get a different
collection (List) from the BeanMap on the page.
Will this be guaranteed in the future? Or, is this an anomaly that I
cannot count on in the future?
Michael
I am using my version of a BeanMap built for instrumentation, cf.
http://wiki.apache.org/struts/StrutsCatalogMappedBeans, and am putting a
series of java.util.LinkedLists holding
org.apache.struts.util.LabelValueBeans into the BeanMap via
setProperty(Object key,Object value). I am then
I am trying to build Struts via CVS in order to get my hands dirty with a
bit of assistance in documentation. I am having one difficulty (error)
with the build. The error is:
[javac] ^
[javac]
Never mind, figured it out from the notes in the source file. This is
actually a bit of fun.
Date: Wed, 14 Jul 2004 18:48:34 -0700
To: Struts Developers List [EMAIL PROTECTED]
From: Michael McGrady [EMAIL PROTECTED]
Subject: First Build via CVS and getting a LogFactory error.
I am trying
Anyone have any info on open source projects with javax.comm? Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
NEVER MIND! Sigh! I always get the info ten minutes too late. Anyone
else have that habit?
At 12:18 AM 7/26/2004, you wrote:
I went to change an offering I have made in the Struts wiki and the stuff
is immutable. What do we need to make changes? Thanks.
Code like
form name=formPrincipal method=post action=/whatever
enctype='multipart/form-data'
input type=file name=PHOTO1 style=display:none;
input type=text name=file
img
align=middle
name=Parcourir
src=../images/parcourir.gif
border=0
How do the values for the name attribute of the image html tag get
translated from this.that.x to
[actionForm].getThis().getThat().setX(Integer)? I would like, rather, to
thave the values read as follows:
[actionForm].setName(this.that). So, I need to find the code which needs
to be massaged.
At 08:43 PM 8/10/2004, you wrote:
Michael,
Sorry its not something thats an issue for me at the moment and so its not
high on my priorities to spend time giving some thought to.
Niall
Niall,
I have come to think that this is not important enough to do, since I have
found the following simple
Vic Cekvenich wrote:
Use this:
http://www.mozilla.org/products/thunderbird
and sign up for a newgroup news.gmane.org, join the struts-users.
.V
Michael McGrady wrote:
I am on the cheap in Eudora and cannot see html tags in messages from
the list. I cannot find the setting that turns
Jones, Demian wrote:
PLEASE TAKE ME OFF THIS MAILING
I have been forwarding these to his boss. I thought that might be the
fastest way to help him get off the list? Help the guy out. Just
forward them to [EMAIL PROTECTED] LOL
Michael
James Mitchell wrote:
Have you not read Ted's posts about volunteering? It's all I can do to keep
up with this (and a few others) list and still have a life. Very few of us
can actually cut a release anyway, so it is up to those few who can (AND
have the time) to do it.
Please be patient with
as expected.
QUESTION
The computer is always right, so anyone know what I am doing wrong here?
Thanks
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Martin Cooper wrote:
So much for being out of town for the long weekend. Thanks to my
neighbours, I woke up to a waterlogged house, and am currently sitting
amongst a fleet of industrial-grade dehumidifiers. This is not fun. My
neighbours, of course, are away for the long weekend, no doubt having
but in radically different ways.
Michael McGrady
Hubert Rabago wrote:
I was actually thinking of playing around with this idea, so that the
way the method is determined is refactored out, similar to how you
(Niall) changed ValidatorActionForm.
Specifically, I'm interested in figuring out if we can refactor
on this.
Michael McGrady
| |
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hubert Rabago wrote:
public ActionForward execute(_usual_params) {
RequestUtils.dispatch(this, _usual_params);
}
This will work fine for SimpleDispatchAction, in fact I LOVE IT and I am
going to do it, if you don't, but this would not replace DispatchAction,
LookupDispatchAction or
not for legacy uses, can completely
replace the three existing dispatch classes.
Enough from me. I am too noisy. Right?
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
any critique you have to offer. Maybe I
too should do what you suggest, but I cannot see it.
Laughin' and Lovin' inWashington,
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
,
I think, on misinformation.
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
you
weighed in. It is impossible to tell what silent people think.
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
again for all your thought put into this. I appreciate it a
great deal and have enjoyed your posts over the time I have been
around. That goes for the other people assisting in this aa well.
Michael McGrady
-
To unsubscribe, e
and statements to the contrary have not seen what is happening with
SimpleDispatchAction or have not see what can be done with the
flexibilty available.
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Steve Raeburn wrote
1. Big reason for not including this as a standard action is the use of '.x'
to identify the method name to dispatch to. The .x suffix has a particular
meaning in HTML (i.e. Image Button) and it would be incorrect/misleading to
subvert it for other uses that have nothing to do
Steve Raeburn wrote:
Michael,
If that was you, Steve, trying to reach me on the chat, you caught me in
the middle of changing based on your recommendation or objections from
.x to method. The chat is now working.
Michael
-
To
Martin Cooper wrote:
On Thu, 16 Sep 2004 21:19:03 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
Martin Cooper wrote:
IMHO, dispatch actions, whatever flavour, are a bad idea in the first
place. They are essentially second-level controllers.
The problem that dispatch actions
as disingenuous or otherwise as an
attack on you. I don't even know you. This is just an attempt to
exchange ideas. I don't mean to suggest you would react that way but I
have gotton gun shy on this list. Thanks. I am interested in your answers.
Michael McGrady
I have provided what I think is a superior rendition of
SimpleDispatchAction at
http://wiki.apache.org/struts/StrutsCatalogDispatchUtil , following what
I think is an excellent suggestion by Hubert Rabago, viz. to use a
utility class. Niall decided that was not a good idea because of the
Martin Cooper wrote:
Wouldn't it be better to host the actual code in CVS somewhere, rather
than people having to copy/paste from the wiki, and having no way to
know when it has been updated, or what the changes are? You might want
to look at the Struts Applications project on SourceForge, which
Vic wrote:
Does it make sense to move Wiki confirmations to users list?
This might encourage senior users to answer the question on the Wiki
and link the answer.
.V
Niall Pemberton wrote:
Michael,
Could you use the Preview button (just to the right of the Save
Changes
button) to check what your
JavaBeans, are discussed that have only privileged access?
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
separation of Struts patterns or
clever uses of Struts and Struts itself. I would suggest that something
formal be instituted. Thanks for your ears/eyes on this.
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED
knowledge of this area.
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
to get too huffed up about your changes, or the wiki will be
nuked.
Michael McGrady
Niall Pemberton wrote:
OK Contact me off list if you wish, however
I respected what you requested in the FiveMultipleButtonsSolution wiki
page and all I did was add two links which were related to the subject
and this wiki page will evolve as I get
things presented better. I cannot do so, however, if I have to
continually salve the needs of those who want their ideas presented in
this space.
Michael McGrady
Matt Bathje wrote:
Maybe I shouldn't step in the middle of this...but I'm (stupidly?)
going
added a bit
more to the start of the wiki to give you an idea. You might look at
the crackwillow:image note.
Michael McGrady
Matt Bathje wrote:
I'm going to respond to this before I respond to your longer reply, as
it is easier for me.
I understand that you are presenting new solutions to an old
perspective. Or, do you
think that my side of this deal has no validity whatsoever? Is the
request to allow me to fill out this page and to add comments at the end
or separately totally unreasonable?
Michael McGrady
Sorry, Jim, no last word for you yet. Please try later.
Steve Raeburn wrote
Thanks, Martin. Maybe a wiki is not the place to present this idea.
Maybe I should just take it down and take it elsewhere. I have to admit
that I thought there woudl be more standards to adding to the page. I
probably will take this elsewhere and make a link. Michael McGrady
P.S. Okay
Without looking at things in gruesome detail, Ji Liu, I agree. +1
ji liu wrote:
when build a large web based application,access
control is required.For example user A can't access
user B's private imformations.In order to do so,we
should code the access control logic in
controllers.But when the
See within:
Joe Germuska wrote:
At 8:05 AM -0700 9/25/04, Michael McGrady wrote:
Without looking at things in gruesome detail, Ji Liu, I agree. +1
Hey, wait -- I thought you were the one warning us against bloating
Struts!? :^)
Yah, Joe, I guess if I don't want to order cheeseburgers with Struts
Also, Bryan (sorry for mispelling your name before) you might like my
MappedBean, which had also been up on the StrutsCatalog forever.
Michael McGrady
bryan wrote:
Incidentally about the only useful thing I've seen recently is
Niall Pemberton's lazy validator forms, how come they haven't been
for the rest.
--
Martin Cooper
Thanx, Martin. Will do! I have not worked in this area, but I have an
interest. I am looking forward to what Craig has to say.
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED
+1
Hubert Rabago wrote:
I also believe that Struts can release more often that every 18
months, but I don't know if a new release every few weeks will help.
In some cases, I think it might hurt Struts, because it can make
things pretty confusing for users. I can see it now on the user list:
really within the
proper scope of the Action class?
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Frank W. Zammetti wrote:
You are referring to Martin's DownloadAction I believe... Note that he
didn't place it in the action package, he placed it in the actions
package. It's a subtle difference, but an important one. As I
understand it, the action package are the core classes and
?
Michael McGrady
On Mon, 04 Oct 2004 21:49:35 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
Is there a way that it would make sense in the future to allow
developers using Struts to specify their own interface for multipart
request handlers? This is probably a stupid suggestion but couldn't
For anyone interested in an option, what I would like to do is given
below. Anyone have any suggestions on the best way to do this and still
use ActionForm, short of rewriting ActionForm? Thanks for any
assistance. (The UploadFileItem is just a simple Serialized wrapper of
commons'
Niall Pemberton wrote:
Michael,
I'd rather you didn't tell other people what my views are (as you seem to
get it wrong most of the time). Although I wrote most of the wiki page your
refer to, Martin Cooper added the warning.
Niall
Thank you for that clarification, Niall. Martin, then, is the one
that lets me incorporate file listening.
I hope this answers your question. Perhaps Struts 1.3 will offer a
design that will allow alternative parsing designs to utilize ActionForm
without these machinations.
Michael McGrady
On Tue, 2004-10-05 at 03:20, Michael McGrady wrote:
For anyone
I was on the commons users list, Vic, and Martin Cooper suggested
strongly that I move to the struts lists. Isn't this essentially a
developer's issue? Thanks. Michael McGrady
Vic Cekvenich wrote:
I think this should be on the users list. Commons-users list.
There are other file upload jars
Martin Cooper wrote:
On Tue, 05 Oct 2004 00:01:14 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
Hello, Martin,
What I am saying is very simple, and I am not sure what is the difficulty.
As I've said, you are absolutely free to handle file uploads however you want.
The whole point
Martin Cooper wrote:
On Tue, 05 Oct 2004 00:01:14 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
Hello, Martin,
What I am saying is very simple, and I am not sure what is the difficulty.
As I've said, you are absolutely free to handle file uploads however you want.
The whole point
Michael McGrady wrote:
Martin Cooper wrote:
On Tue, 05 Oct 2004 00:01:14 -0700, Michael McGrady
[EMAIL PROTECTED] wrote:
Hello, Martin,
What I am saying is very simple, and I am not sure what is the
difficulty.
As I've said, you are absolutely free to handle file uploads
however you want
would make the assumption, which is
quite different than having the thought.
What did you think of the point? That would interest me more than your
communications point. You are a recognized expert in Struts and I value
your opinion in that area.
Michael McGrady
Susan Bradeen wrote:
Sorry for the traffic, however, Michael, you are taking some liberties
with James' name, aren't you?
No. I would rather discuss Struts.
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED
I did this a long time ago, and, I suspect, others must have too. I
assumed that the lack of this meant everyone had sort of done it already
for themselves. You might want to use what has been created already.
Michael McGrady
[EMAIL PROTECTED] wrote:
Hi everybody,
The LabelValueBean is a good
Most excellent. You gone Southern Buddhist on us, Eddie? Thanks for
the upbeat perspective. Too little of that and too much navel gazing
these days.
[EMAIL PROTECTED] wrote:
Date: 2004-10-25T19:28:29
Editor: EddieBush [EMAIL PROTECTED]
Wiki: Apache Struts Wiki
Page: EddieBush
URL:
that there was an optional controller with
this sort of emphasis, but I read the proposal as allowing custom
controllers to do pretty much whatever one wanted. Am I off the beam?
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL
think that the ability to put in one's own
controller, which I think is there, is important. Is Niall right on
this? I had thought he was not.
Michael McGrady
Niall Pemberton wrote:
I take your points but I probably didn't express this very well - I was
thinking more that in the same way that jsp
Sorry, I had not received Niall's email when this was sent.
Michael McGrady wrote:
If Niall is right that JSF is a required aspect of the proposals, I
would agree with him. This is not a negative toward JSF in any sense.
The jury in my head is out on that one and is finding some nice things
like
myself might want to code. Is that right, Craig?
Michael McGrady
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
73 matches
Mail list logo