me"
Hello World
/logic:notPresent
logic:present parameter="name"
bean:parameter id="name" name="name"/
Hello, bean:write name="name"/
/logic:present
/h1
/body/html
Hope this helps.
--
Martin Cooper
- Original Message -
From
Craig,
If one Action chains to another using a ForwardingActionForward with no
query string in the URL, will the form bean for the second Action still be
created by Struts?
--
Martin Cooper
- Original Message -
From: "Craig R. McClanahan" [EMAIL PROTECTED]
To: [EMAIL PROTE
There is a warning in the .tld file (struts.tld) to the effect that all the
tags in that taglib are deprecated. It doesn't appear to be documented in
the release notes, although I believe it should be. (I'll submit a bug.)
I'm not sure if it is documented anywhere else.
--
Martin Cooper
Add the attribute to your tag like so:
html:select ... multiple="true" ...
and make sure the corresponding property in your form bean is an array of
values.
See the docs for more details:
http://jakarta.apache.org/struts/struts-html.html#select
Hope this helps.
--
Martin Cooper
r the string literal.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Anderson, Jessica" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 7:40 AM
Subject: Using expressions as attribute values in html:link
I have tried to use
Yes, there is. See Craig McClanahan's explanation in the archives:
http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg03625.html
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Shamdasani Nimmi-ANS004" [EMAIL PROTECTED]
You should be able to use nested properties:
bean:write name="item" property="value.code"/
bean:write name="item" property="value.country"/
bean:write name="item" property="value.countryName"/
--
Martin Cooper
Tumbleweed Communica
en support in the
Action class to ensure the user doesn't try to skip around in your
application.
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "bram" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, March 01, 2001
immediately before populating it with
the values from the new request. That gives you the chance to clear out the
old values, so that they are not left in the form bean if there is no
corresponding value in the request.
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
At 10:42 PM 2/27
is still there, but is marked
as deprecated.
2) The struts-*.tld files are not part of the source distribution. They are
generated from the struts-*.xml files as a part of the build process.
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
At 10:41 AM 2/27/01 -0700, Sundar @eSaravana
nteger.parseInt() to ensure that a valid integer was entered.
--
Martin Cooper
Tumbleweed Communications
ery unfun.
Any thoughts?
Regards,
Nick
--
Martin Cooper
Tumbleweed Communications
Jessica,
You have not closed the link tag. After the %= display %, you need
/html:link.
Also, you might want to look into using the Struts logic:iterate tag
instead of using a while loop in a scriptlet.
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original Message
Standard JSP tags behave the same way in a Struts application as they do in
any other web application. You might want to check a general JSP resource,
such as the JSP-INTEREST archives at:
http://archives.java.sun.com/archives/jsp-interest.html
Hope this helps.
--
Martin Cooper
Tumbleweed
Save Target
As...".
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Sundar @eSaravana" [EMAIL PROTECTED]
To: "Martin Cooper" [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Friday, February 23, 2001 10:15 PM
Subject: Re: Missing http:
There's a file upload sample in the Struts distribution. You'll find it in
the jakarta-struts/web/upload directory.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Ji Rong Hu" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 21, 20
You are trying to use nested double quotes, which is probably confusing the
parser somewhat. Try this instead:
hi:hello foo='%= request.getParameter("users") %' /
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Justin Kennedy&qu
.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Maya Muchnik" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 21, 2001 3:07 PM
Subject: validator.xml - rules for a mask
Hi, all.
This email about David Winterfeldt's validator. What
custom tags just to reduce the total number of tags on a page!
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Dan Connelly" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 8:26 AM
Subject: Re: Str
nd/or how sophisticated you want
to get, another approach would be to follow Struts' lead: Define a
SubAction (or Command) class, as a base class for all your command
handlers, and use a HashMap to map cmd values to SubAction instances. Then
your Action class just does the lookup and hands off t
ount means "a single parameter
from the body of this element".
I don't know if there's any practical difference, other than being one line
of code instead of two. :-)
--
Martin Cooper
Tumbleweed Communications
At 01:40 PM 2/9/01 -0800, Craig R. McClanahan wrote:
Jens Rehphler wrote:
You can call mapping.getInput() in your Action class. This will get you the
URI that provided your input, and is what Struts uses to send you back to
your input form if the ActionForm validation fails.
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Ki
the errors. ;-)
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Mike Campbell" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 07, 2001 3:21 PM
Subject: Re: Forwarding to the same page
"MC" == Martin Cooper [EMAIL PROTECTED] write
);
Rather than cloning and modifying, I just create a new one with the
parameters I need. Yes, sometimes one or other parameter comes from an
existing ActionForward, but to me that still seems easier than cloning and
modifying.
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
- Original
tags which use them,
then there is no default value and you must specify a valid value.
The struts:errors/ tag needs to look up messages in the properties file,
so you will need to specify a value for 'application' in your configuration
if you want to use that tag.
Hope this helps.
--
Martin
Here's a link to the Ant FAQ item on this:
http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/16/topic_id/196/question_id/752
Hope this helps.
--
Martin Cooper
Tumbleweed Communications
At 01:28 PM 11/22/00 -0800, Craig R. McClanahan
The simplest way would be to run the struts-documentation web app in the
distribution, and access the documentation that way.
--
Martin Cooper
Tumbleweed Communications
At 02:41 PM 1/11/01 -0700, you wrote:
There is a src/doc dir which contains the documentation in xml format
At 09:57 AM 1/11/01 -0800, you wrote:
Chris Wilson wrote:
From: Martin Cooper [mailto:[EMAIL PROTECTED]]
[snip]
One interesting point that I discovered on my trails through the code is
that the "type" attribute on the logic:iterate tag does not appear to be
u
his is not
something a lot of people will hit, and that Chris is just one of those
unlucky folks. :-}
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Craig R. McClanahan" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 09, 2001 12:32 PM
Subj
Just a thought, but have you tried "java.util.Map$Entry" instead of
"java.util.Map.Entry" when you specify the type?
--
Martin Cooper
Tumbleweed Communications
- Original Message -
From: "Chris Wilson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tues
to require the JSDK for a
standalone Java application. Since what I'm doing is for my own use, it's
not a big deal, but it would be an odd requirement to have to list if I was
giving the app to other people.
--
Martin Cooper
Tumbleweed Communications
If you track the wizard steps (e.g. with a hidden field), then you can
validate different sets of fields, depending on the current step. At the
final step, you can do a more complete validation.
--
Martin Cooper
Tumbleweed Communications
At 09:41 AM 11/2/00 -0300, Ansaldo, Gaston wrote
501 - 532 of 532 matches
Mail list logo