The documentation mentions using one form bean to handle multiple forms such
as when you have a wizard type of user interface that spreads the form's
fields over various pages.
But, everytime the next page is called, ActionServlet.processPopulate calls
the form beans reset method and then copies
That is the wrong place to put your struts.jar. If doing this actually
works, then that means there's a larger configuration issue. The proper
place for struts.jar is in WEB-INF\lib.
--
Dan Miser
http://www.distribucon.com
- Original Message -
From: Nanduri, Amarnath [EMAIL PROTECTED]
In your reset method include a condition where the values are only reset on
the last page of the form.
- Original Message -
From: Michael Binette [EMAIL PROTECTED]
To: Struts-User [EMAIL PROTECTED]
Sent: Saturday, May 12, 2001 8:20 AM
Subject: Form Reset
The documentation mentions
I have 2 submit inputs with one form. both
have name="RESULT" but different values. Is this legal?
What is a good design or idea or utility to
create a cache collection of N number of elements Least Recently
Used?
Say a hash map with synchronized get and put, that
would track LRU and lock at the element level? Must be of fixed size and work at
element level.
Suggestion please and
Search the struts mailing list archives for the keyword 'dirty flag'.
You will get a possible solution
cheers,
Amar..
-Original Message-
From: Tharwat Abdul-Malik [mailto:[EMAIL PROTECTED]]
Sent: Saturday, May 12, 2001 10:59 AM
To: [EMAIL PROTECTED]
Subject: Re: Form Reset
In your
It is
legal as long as the value of the SUBMIT buttons are not internationalized.
If
your app is an internationalized app, then it will not work. In sucha case
you need to give different names to your SUBMIT buttons.
cheers,
Amar..
-Original Message-From: Jonathan
The Struts Action works through introspection. It doesn't know (or care)
whether the value in a form was rendered by a Struts custom tag or not.
This means if you use a standard textarea tag in your form, and give it
a name that matches a property in your form bean, Struts will use that
attribute
Many people like the pager tag at jsptags.com.
http://jsptags.com/tags/navigation/pager/
For more on alternating colors, see
http://jakarta.apache.org:8080/jyve-faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/36/topic_id/207/question_id/821
though most of
Try logic:present name=myBean property=item1
Matthew O'Haire wrote:
How do I use the logic tags to check for a null property value on a bean and
include/exclude HTML segment on that basis?
I have a bean in the session that holds references to other beans. If the
references are not-null
Craig R. McClanahan wrote:
You can calculate an absolute URL for this web app, based on things like
request.getServerName(), request.getContextPath(), and so on. So, one way
to do this would be to have an action that calculated the new absolute
URL, wrapped it in a new ActionForward with the
11 matches
Mail list logo