RE: newbie html:link question

2002-06-27 Thread Regan, Patrick
I know I have used the bean:write tag (with name=index) to get at the index. Pat -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 27, 2002 3:10 PM To: [EMAIL PROTECTED] Subject: newbie html:link question Subject: newbie html:link question From:

Struts Date Handling

2002-06-27 Thread Regan, Patrick
What is the best way to handle dates in Struts? If I use html:text in my form, can I define it as a Timestamp (or Date) in my action form? Will struts handle the conversion automatically? Or do I have to use Strings for everything and do the conversion in my action or business logic layer?

RE: Charting tools

2002-06-26 Thread Regan, Patrick
We also use popcharts and are very happy with it. Pat -Original Message- From: Alan Macfarlane [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 7:37 AM To: 'Struts Users Mailing List' Subject: RE: Charting tools We used popchart once, it seemed very good.

RE: bean:write format

2002-06-25 Thread Regan, Patrick
The bean write format option does work for dates. I was playing with it yesterday and things like mm/dd/ worked fine. Pat -Original Message- From: gnanaseelan [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 6:39 AM To: Struts Users Mailing List Subject: Re: bean:write

Iterate Tag Index

2002-06-25 Thread Regan, Patrick
I am iterating through a collection and using the indexId to display a row or record number to the user. The index, of course is zero based (starts with 0). Is there a simple way to make it one based (start with 1) instead? Here is my tag code : logic:iterate id=row name=queryResults

RE: Does Struts have a taglib for masking dates/currency amounts

2002-06-25 Thread Regan, Patrick
Use the format option in the bean:write tag. You can use /mm/dd assuming you bean member variable is a Timestamp (probably works with Date as well). Of course, this is only available in 1.1! Pat -Original Message- From: Karim Saloojee [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June

WebLogic 7 and Struts

2002-06-24 Thread Regan, Patrick
I get the following exception when I attempt to upgrade to Struts 1.1 beta 1 : org.apache.commons.logging.LogConfigurationException: java.lang.ClassNotFoundException: org.apache.commons.logging.impl.LogFactoryImpl at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:497) at

Option List Submit Question

2002-01-22 Thread Regan, Patrick
I am converting a JSP page (model 1) to Struts. I have a JSP page that contains a couple of option lists. When you choose an option from list 1, the contents of option list 2 are filtered accordingly. The way I did this on Model 1 was to resubmit the form and have the server repopulate the

RE: Wondering About Struts...

2002-01-22 Thread Regan, Patrick
Good point. I think one of the main advantages to Struts is the separation of your presentation and business layer using the MVC pattern. This makes changes to the presentation or business layers independent of each other. Also, it cleans up your JSP pages immensely as you don't have java code

RE: Option List Submit Question

2002-01-22 Thread Regan, Patrick
tried... onChange=javascript:submit(); ... or... onChange=javascript:document.forms[0].sumbit(); ... I think one of those might fix it for you. Sean On Tuesday, January 22, 2002, at 10:43 AM, Regan, Patrick wrote: I am converting a JSP page (model 1) to Struts. I have a JSP