-Original Message-
From: ROSSEL Olivier [mailto:[EMAIL PROTECTED]]
I have a bean with two properties:
label and uppercase.
In my JSP, i would
like to write the label in uppercase
only if uppercase is equal to yes.
The condition can be managed by a logic:equal,
I presume.
RTFM
-Original Message-
From: Clement, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:30 AM
To: [EMAIL PROTECTED]
Subject: Forward new form to new page
What's the best way to do this?
In one action, want to create new form, populate it and have
it
How to do what? If the subject is supposed to be a question, then I don't understand
it, and don't think anyone does.
-Dave
-Original Message-
From: Clement, Stephen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 10:34 AM
To: [EMAIL PROTECTED]
Subject: Have
That was hasty, use javascript or href target attribute. I initially thought this was
a struts question.
-Original Message-
From: Durham David Cntr 805CSS/SCBE
Sent: Thursday, February 13, 2003 10:43 AM
To: Struts Users Mailing List
Subject: RE: Forward new form to new page
you want. Needless to say, this will
result in the
other frames being reloaded as well, so it won't scale well.
HTH,
Michael.
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 12:02 PM
To: Struts Users
RTFM ... just kidding. Of course you dipshit, also just kidding.
-Dave
-Original Message-
From: atta ur rehman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 2:41 PM
To: struts users mailing list
Subject: validate() method is ActionForm
Dear all,
Struts 1.0.2.
The link to the milestone source drop is broken, I think that it should be
http://www.apache.org/dist/jakarta/struts/source/
David Durham
NCI Information Systems
Scott AFB, AMC SCBE
618.256.5264
-
To unsubscribe, e-mail:
I know that Open Office can do what you want, but I haven't done it myself.
-Original Message-
From: John Cavacas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:29 AM
To: 'Struts Users Mailing List'
Subject: [OT] Generating microsoft word documents
I'm currently
iText can create RTF docs. http://www.lowagie.com/iText/ it's LGPL.
-Original Message-
From: Jon Paul Jones [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:40 AM
To: Struts Users Mailing List
Subject: Re: [OT] Generating microsoft word documents
Have you
You want to look at Open Office. You can pull in existing word docs and use them as
templates.
-Original Message-
From: John Cavacas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 9:49 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Generating microsoft word
Well, users don't need to download the xml files directly so of course your app can
access them at WEB-INF/somewhere. It sounds like
http://jakarta.apache.org/commons/digester would be of use for this.
-Original Message-
From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
Sent:
right now, only with PDF's.
-Dave
-Original Message-
From: Durham David Cntr 805CSS/SCBE
Sent: Wednesday, February 12, 2003 9:53 AM
To: Struts Users Mailing List
Subject: RE: [OT] Generating microsoft word documents
You want to look at Open Office. You can pull in existing
--- Durham David Cntr 805CSS/SCBE
[EMAIL PROTECTED] wrote:
Well, users don't need to download the xml files
directly so of course your app can access them at
WEB-INF/somewhere. It sounds like
http://jakarta.apache.org/commons/digester would be
of use for this.
-Original
post your code
-Original Message-
From: Jason Vinson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 10:09 AM
To: Struts Users Mailing List
Subject: bean question
This may be beyond the scope of this list, but here goes.
I have implemented a simple container
You can see what tags are in a taglib by perusing the .tld I did this for you and it
looks like there is a 'messages' tag inside struts-html.tld, but it doesn't have 'key'
attribute.
I think you're looking for bean:message / although the html part is just a
namespace or prefix that could be
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February
10, 2003 10:04 AM
To: [EMAIL PROTECTED]
Subject: [OT] Modeling tools
Wondering what kind of modeling tools you would
recommended. I'm
looking
I meant to say at the O'reilly convention.
-Original Message-
From: Durham David Cntr 805CSS/SCBE
Sent: Tuesday, February 11, 2003 7:57 AM
To: Struts Users Mailing List
Subject: RE: [OT] Modeling tools
Craig, are you doing any seminars/presentations on struts. Is anyone
Wondering what kind of modeling tools you would recommended. I'm looking for
alternatives to Rational Rose and Poseidon. Thanks.
-Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
://argouml.tigris.org/), which is open source.
- Robert McIntosh
Durham David Cntr 805CSS/SCBE wrote:
Wondering what kind of modeling tools you would recommended.
I'm looking for alternatives to Rational Rose and Poseidon. Thanks.
-Dave
Yeah, the reset button will return the form elements to their initial state. If the
initial state includes values, i.e. input type=text value=someValue, then
clicking reset will set the value of this element to someValue, it's original value.
One solution is to write a function that loops
It seems strange that a database server would not support AS. Be sure that you are
not trying to use any reserved words. The documentation for your database server
should tell you what words are reserved.
-Dave
-Original Message-
From: atta ur rehman [mailto:[EMAIL PROTECTED]]
://www.QAT.com
410-703-367 / 800-799-8545
Never attribute to malice that which can be
adequately explained by
stupidity. ~Hanlon's Razor
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Monday, February
10, 2003 10:04 AM
Since you are more than likely retrieving a data access object to set up the form
object, why not just keep it hanging around in some kind of cache (application scope
should do), and then compare it with the values that user submits to see what they
changed.
-Dave
-Original
If you want to go client side, you could pass a list of fields that were modified by
the user from the browser, as opposed to passing all the original values which you
should already know. Easy enough to put an onChange event handler into a field and it
this field to list of changed fields,
Gus, try going back a few posts to the javascript stuff. I think it's more in line
with your original question. As a test try putting:
input type=reset onClick=nameOfYourForm.firstTextField.value='';return false;
on your page. replace nameOfYourForm and firstTextField with the appropriate
FUD
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 2:13 PM
To: [EMAIL PROTECTED]
Subject: RE: Rendering alternate rows of a table in Struts
How is this:
jsp:useBean id=rowTogglerclass=com.mycompany.RowToggler/
tr
.
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:17 PM
FUD
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 2:13 PM
How is this:
jsp:useBean
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:13 PM
To: [EMAIL PROTECTED]
Subject: RE: Rendering alternate rows of a table in Struts
How is this:
jsp:useBean id=rowTogglerclass=com.mycompany.RowToggler/
tr
be spoken of is not the true Tao.
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Friday, February 07, 2003 3:41 PM
What is this metaphysical truth?
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent
Maybe you should try to minimize this load time.
Is it possible that you could use persistence instead of querying the db everytime
someone wants to view this page?
I'm using a Caching API that was(maybe still is) part of Jive forums, I know that
there are others as well. Instead of querying
Meta tags, as mentioned previously.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 8:56 AM
To: [EMAIL PROTECTED]
Subject: RE: Automatic refresh - IS THIS POSSIBLE?
Any solution without using JavaScript?
Regards,
Add the id to url.
something like MM_openBrWindow('AgreementList.do?id=' bean:write name=someID/,
...);
-Original Message-
From: Ritesh Singhal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 9:03 AM
To: Struts Users Mailing List
Subject: Passing parameter in a pop up
This will just take it as a string and wont evaluate it. In the final
html link you will see something like
AgreementList.do?id=bean:write name=someID/
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 8:34 PM
That's annoying, is this container specific?
-Dave
-Original Message-
From: Kevin Peters [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 9:33 AM
To: 'Struts Users Mailing List'
Subject: RE: Accessing JSP's under WEB-INF
Or you could change the welcome-file to
-Original Message-
From: Mark Lowe 2 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 10:29 AM
To: Struts Users Mailing List
Subject: Re: How to instantiate a DynaValidatorForm
(DynaActionForm) myForm = (DynaActionForm) form;
That's casting, which is probably
You can create an initial page that forwards to an Action like this:
%@ taglib uri=/tags/struts-logic prefix=logic %
logic:redirect forward=KeepHouse.do/
KeepHouse.do would then sweep and mop the floor, and return a clean kitchen.
It might also do the laundry while it's at it.
-Dave
I don't think this is what you want. You mentioned that this is user specific clean
up. I took that to mean you needed to know who accessed this page in order to do the
cleanup.
The servlet being described below is not a particularly good solution to a problem
such as this. What's being
The project I'm working on goes something like .do - .do - .do ... no .jsp except
those forwarded to by a .do. Haha, I'm insane and I can not be stopped. Just .do it!
-Dave
-Original Message-
From: Jarnot Voytek Contr AU HQ/SC
Sent: Wednesday, January 29, 2003 2:54 PM
To:
What if you made the call to the action something like myAction.do#current?
-Dave
-Original Message-
From: Ramu, Manjukumar [PRDUS] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 3:30 PM
To: 'Struts Users Mailing List'
Subject: RE: Forwarding a request to a
If you find that the online docs are inadequate. Try the books, Struts in Action
(thanks Ted and Gang), Struts Kickstart (thanks James and gang), or Programming
Jakarta Struts (thanks Chuck and Tim?).
Buy all 3 of them at www.bookpool.com and get free shipping!!
Later,
Dave
-Original
IBM likes open source because it commoditizes sofware which adds value to compliments
like hardware and soda. You may remember http://www.pepsiblue.com/index.htm
It's all starting to come together isn't it?
-Dave
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Grrr wrong OT to reply to, sorry about the confusion.
IBM likes open source because it commoditizes sofware which adds value to compliments
like hardware and soda. You may remember http://www.pepsiblue.com/index.htm
It's all starting to come together isn't it?
-Dave
-Original
No, IBM doesn't make cars. They make computers.
-Original Message-
From: Emmanuel Boudrant [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 12:48 PM
To: Struts Users Mailing List
Subject: RE: [OT] Re: Struts officially supported at Ford
Yes, AS/400 Cars...;)
---
facetiousness is being lost in a sea of literalism these
days. You must be so depressed. :)
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 10:50 AM
To: Struts Users Mailing List
Subject: RE: [OT] Re: Struts
Certain elements with the USAF, mine is the only one I know of :-), are using Struts.
I'm not sure if this decision went all the way to President Bush or not. Seems like
it would have.
-Dave
-Original Message-
From: Mike Oliver [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January
, and then there are those in
the abyss
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:59 PM
To: Struts Users Mailing List
Subject: RE: [OT] Re: Struts officially supported at Ford
Is that your real name
Logon and give me 20 words per minute soldier.
-Original Message-
From: James Turner [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:55 PM
To: 'Struts Users Mailing List'
Subject: RE: [OT]Good News
From: Durham David Cntr 805CSS/SCBE
Certain elements
Mailing List'
Subject: RE: [OT]Good News
From: Durham David Cntr 805CSS/SCBE
Certain elements with the USAF, mine is the only one I know
of :-), are using Struts. I'm not sure if this decision went
all the way to President Bush or not. Seems like it would have
There's not enough information here to say exactly what is going on. Are you sure
that ERROR page isn't blank? Post the error jsp and the stuts-config mapping.
-Original Message-
From: Steven Banks [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 7:10 AM
To: [EMAIL
Sure does, here's one.
logic:iterate scope=application name=aResult property=aCollection
id=aRow/logic:iterate
The ServletContext is commonly refered to as the application scope.
Regards,
Dave
-Original Message-
From: Suresh Addagalla [mailto:[EMAIL PROTECTED]]
Sent:
I have an example using the Connection Pooling that comes with the Oracle JDBC drivers.
It's rough, need to clean up logging and such, but the end result is that
OracleConnectionManager.getConnection(); returns a pooled connection and the
connection props I have stored in
You need to put 1 or more definition / elements inside of the tiles-definition /
element. Or you can remove the tiles-definition / element if you're not using it.
These elements are more than likely inside of the tiles-defs.xml file. Also it looks
like you are missing the validation.xml
What type should/can I associate with multibox inputs in the form-bean declaration?
The docs say that the multibox property should be an Array, so I tried using
java.lang.reflect.Array for the type. This didn't work and neither java.util.Vector.
So what type should I use? It is possible to
type=java.lang.String[]
initial={}/
robert
-Original Message-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 2:00 PM
To: [EMAIL PROTECTED]
Subject: multibox and DynaValidatorForm
Similar things going on where I am at. It's to be expected when you work for the
military. :) (I work with highly insensitive materials, however at night I'm a secret
agent. The two aren't related.)
It's mostly a lot of talk though. You will use that and you will not use anything
else. It
That's why you could never work in my office. It's Winamp or the road.
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 9:12 AM
To: Struts Users Mailing List
Subject: RE: [OT] Standardised Environments (was RE: [OT] Eclipse IDE)
I guess that I'm the only one that doesn't have a problem with Netbeans' speed. On
older system, I agree it might be unusuable, but on a P4 with the Sun's newest runtime
environment, it runs great.
Dave
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Tuesday,
Just wanted to add that the license for iText is LGPL.
-Original Message-
From: Attila Szegedi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 2:31 PM
To: Struts Users Mailing List
Subject: Re: XML to PDF
You should check out the FOP project on apache.It is a pretty
That will sort whatever is inside of lActions base on the anonymous comparator object.
Check here for details on the Comparator interface,
http://java.sun.com/j2se/1.4/docs/api/java/util/Comparator.html
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]]
Sent:
I don't understand what you're asking, so I'll take a guess. If you're looking for an
escape senquence so that you can look for +'s and -'s then try putting a \ in front
of them, e.g., \+ and \-.
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January
It's lunch time where I'm at. That doesn't sound like too much work.
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 10:38 AM
To: 'Struts Users Mailing List'
Subject: RE: regular expression help
Damn, I meant to say sounds like
looks like he is right on with 5-7-5
http://www.dada.at/geoff/haiku/rules/
Over the line!!
Am I the only one that gives a shit about the rules?
-Original Message-
From: keithBacon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 8:35 AM
To: Struts Users Mailing List
Maybe it was the giving a shit about the rules part.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 9:10 AM
To: struts
Subject: FW: ScanMail Message: To Sender, sensitive content found and
action taken.
Apparently, Haiku is a
That was a pun.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:05 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] RE: Not spam...I swear--
Maybe, but who would date you?
-Original Message-
From: Chappell,
I had a similar problem that I solved by removing the html:base/ tag. It seems like
you need to take a look in that direction.
-Original Message-
From: Pani, Gourav [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:47 AM
To: '[EMAIL PROTECTED]'
Subject: Specifying
-
From: Durham David Cntr 805CSS/SCBE
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 6:45 AM
To: Struts Users Mailing List
Subject: [OT] RE: A Struts Haiku
looks like he is right on with 5-7-5
http://www.dada.at/geoff/haiku/rules/
Over the line!!
Am I
I've read Struts in Action. It seems to me that it is dummied a bit, but still a very
good book. I don't know about Struts Kick Start. Has anyone read Programming Jakarta
Struts from O'Reilly?
-Original Message-
From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Sure, what's your password?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 9:21 AM
To: [EMAIL PROTECTED]
Subject: Un Subscribe
Please remove me from the mailing list.
Thanks.
Amit.
--
To unsubscribe,
Please sign your emails with Flamebait.
Thanks.
Dave.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 9:21 AM
To: [EMAIL PROTECTED]
Subject: Un Subscribe
Please remove me from the mailing list.
Thanks.
Amit.
What pun are you referring to?
If I may be jejune for a bit, here is the definition of pun.
pun n.
A play on words, sometimes on different senses of the same word and sometimes on
the similar sense or sound of different words.
As you can tell, I don't want this thread to end.
-Dave
change the onsubmit to onsubmit=return validateNewTemplateForm(this)
dave
-Original Message-
From: Michael P [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 1:02 PM
To: [EMAIL PROTECTED]
Subject: Validator Javscript still submits.
I'm using the Validator with
Do Velocity Templates and Tiles definitions work together? Can I have a definition
that points to different vm files and have this perform the way expected?
Thanks,
David Durham
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
The book also says that these definitions are put into a definition factory so that
they are available to jsp tags and action forwards. So the scope appears to be the
definition factory, and there is some auto-magic so that tags and action forwards can
find these definitions.
Please, someone
You are probably reposting your username and password to logon.do. Essentially
logging on twice.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 9:27 AM
To: [EMAIL PROTECTED]
Subject: Problem: Login with Struts; Security Bug?
it says match beginning of string/line, match 5 digits, match 0 or more digits and
match the end of the string/line.
-Original Message-
From: Alvarado, Juan (c) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 10:49 AM
To: 'Struts Users Mailing List'
Subject: Validator
Forgot second part, try something like ^\d{5}(-\d{4})?$
-Original Message-
From: Alvarado, Juan (c) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 10:49 AM
To: 'Struts Users Mailing List'
Subject: Validator
Can anyone explain to me what this regular expression means:
I don't think that you can. What is it, specifically, that you are trying to do?
-Original Message-
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 11:51 AM
To: Struts-User
Subject: Dynamically changing the form class in the execute() method
Hi,
I guess that was a specific question, how about what are you trying to do, generally?
-Original Message-
From: Durham David Cntr 805CSS/SCBE
Sent: Tuesday, January 14, 2003 12:38 PM
To: Struts Users Mailing List
Subject: RE: Dynamically changing the form class in the
execute
I'm trying to find the docs on (I don't if this is the right term) action dispatching.
What I want to do is look at a form field to determine what Action I'll be using. I
can't find docs on this, can anyone point me to them?
Thanks,
David Durham
--
To unsubscribe, e-mail: mailto:[EMAIL
79 matches
Mail list logo