Form Reset

2001-05-12 Thread Michael Binette
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

Re: Urgent help needed

2001-05-12 Thread Dan Miser
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]

Re: Form Reset

2001-05-12 Thread Tharwat Abdul-Malik
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

will 2 submit buttons work?

2001-05-12 Thread Jonathan
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?

2001-05-12 Thread Vic Cekvenich
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

RE: Form Reset

2001-05-12 Thread Nanduri, Amarnath
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

RE: will 2 submit buttons work?

2001-05-12 Thread Nanduri, Amarnath
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

Re: textarea and wrap

2001-05-12 Thread Ted Husted
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

Re: Determining odd-even table rows

2001-05-12 Thread Ted Husted
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

Re: REPOST: HOW TO: check for null property value

2001-05-12 Thread Ted Husted
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

To SSL and back again

2001-05-12 Thread Ted Husted
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