Because some watery tart gave him a sword.
-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 10, 2002 12:45 PM
To: 'Struts Users Mailing List'
Subject: RE: Auto-Replies
How do you know he's a king?
-Original Message-
From: James Mitchell
Couln't you use the ignore=true flag instead?
bean:define id=bubba name=foo property=bar/
bean:write name=bubba ignore=true/
If bubba were null, nothing would get written.
You could take this one step further if you were simply checking the bean
itself and not a property of the bean for null:
Here's an article comparing Velocity and XMLC. It points out some of the
short comings of XMLC so it is somewhat relavent. Of course you can use
Velocity with Struts too.
http://jakarta.apache.org/velocity/casestudy2.html
-Original Message-
From: Dan Cancro [mailto:[EMAIL PROTECTED]]
You can use the query string to pass parameters to your Action class:
http://www.whatever.com/myapp/myaction.do?color=red
Then use request.getParameter(color) to retrieve the query parameter in
the Action class. In this case you are still using an Action class not
Action Servlet. Don't
-
From: Pedone, Tim [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 29, 2002 5:03 PM
To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]'
Subject: RE: PLEASE HELP !!!
If you have control over the html that is rendered then you can use the
property=property(name) technique. Just add
void
Don't html:radio tags expect boolean values? I know my html:checkbox values
all use booleans not Strings. Worth a try.
Tim
-Original Message-
From: Edward Muller [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 12:41 PM
To: Struts Users Mailing List
Subject: Re: Struts
According to the docs, the value property is required for radio tags but
not for text tags so if your tag does not have the value property, then
changing the type from radio to text would work, changing from text to radio
would not.
Tim
-Original Message-
From: [EMAIL PROTECTED]
Are you sure that the getter/setter is getting called for your
usDollarEquivalent attribute. If Struts can't find the getter, it just
silently uses the value from the value tag. This is probably a case
issue. If your getter is getUSDollarEquivalent() then your property should
be
case, the tag has a value attribute, both when I make it
html:radio and html:text.
-Original Message-
From: Pedone, Tim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 1:42 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts reflection can't find getters on form bean
I had a similar problem. Turned out that I was overriding setServlet().
There was an exception in my implementation of setServlet() that was causing
my Action to not get fully initialized resulting in a blank page when I
accessed it. The same thing might happen if your constructor or other
Upon further investigation, looks like the problem resides with my Servlet
engine's implementation of Response.encodeURL()
Tim
-Original Message-
From: Pedone, Tim [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 8:53 AM
To: '[EMAIL PROTECTED]'
Subject: Possble bug in html:link
21, 2002 12:18 PM
To: Struts Users Mailing List
Subject: RE: Possble bug in html:link tag
Its actually the order in which the url is built inside
org.apache.struts.util.RequestUtils.
Look at the computeURL method.
-Shyam
Pedone, Tim
Tim_Pedone@i
I've got an app that uses the feature of the html:link tag to append
additional parameters to the url. Because we are not sure how different
systems (browsers or proxy servers) will handle long query strings, we want
to put the least significant parameter at the end of the query string so if
a
TreeMap is sorted. You could copy the values into a TreeMap:
TreeMap map = new TreeMap(unsortedHash);
-Original Message-
From: Laker,Nan [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 17, 2002 4:47 PM
To: Struts Users Mailing List
Subject: about getting data from Hashtable
Hi all,
From a search of the archives (you did search the archives first, right?)
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg21719.html
-Original Message-
From: Charlie Toohey [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 1:50 PM
To: [EMAIL PROTECTED]
Subject:
Is userID a member of your ActionForm subclass? If you make it a member of
your ActionForm, it will get maintained (provided you don't wipe it out in
your reset() method) for you if you have a html:hidden property=userID/
tag in your jsp. I tried this using a session scoped form and it worked.
Disabled text fields are not posted to the server per the HTTP spec so
Struts can't see it as a parmeter. You'll either have to use a hidden field
or put the value in session scope.
Tim
-Original Message-
From: Cheng, Sophia [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002
You can call request.getParameterMap() which returns a Map object that you
can manipulate.
Tim
-Original Message-
From: Freek Segers [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 11:34 PM
To: Struts Users Mailing List
Subject: Adding/Modifying parameters in the Request
call. Is there another way to do this
besides adding it in the url (which doesn't work because of the data size) ?
Thanks!
-Original Message-
From: Pedone, Tim [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 9:32 AM
To: 'Struts Users Mailing List'
Subject: RE: Adding/Modifying
If I'm not mistaken, if you link directly to the action (MyAction?parm=X),
then Struts should put X into the ActionForm associated with that action if
it has a parm attribute.
It that what you are tring to accomplish?
Tim
-Original Message-
From: Bryan P. Glennon [mailto:[EMAIL
I noticed a tag called messagesPresent in the logic tag docs
http://jakarta.apache.org/struts/struts-logic.html#messagesPresent but got a
Can't find tag lib error. Is this a future feature?
I'm trying to use it to detect if there is an ActionError of a particular
kind. I've got a form with
21 matches
Mail list logo