How to test Struts actions within Maven?

2004-09-23 Thread Paul Spencer
What is the best way to test Struts actions within Maven? My Business logic is tested via Maven's JUnit plugin. Now I need to test the Struct actions, i.e. verify request and session attributes are set. Paul Spencer ---

Will the Struts 1.2.2 jar be available Apache's Maven Repository?

2004-08-31 Thread Paul Spencer
Will the Struts 1.2.2 jar be available Apache's Maven Repository? http://www.apache.org/dist/java-repository/struts/jars/ BTW: Thank you for the release! Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: Reseting one field on a DynaActionForm to it's initial value?

2004-08-27 Thread Paul Spencer
.findFormPropertyConfig(FORM_PROPERTY_SORTORDER); inputForm.set(formProperty.getName(), formProperty.initial()); Paul Spencer Hubert Rabago wrote: In this case, you're dealing with a submitted form, and the form name is available through mapping.getAttribute(). hth, Hubert On Fri, 2

Re: Reseting one field on a DynaActionForm to it's initial value?

2004-08-27 Thread Paul Spencer
ins other properties, I can not reset the form. As an example: I have 2 Actions, EmployeeAction and TruckAction. Valid values for "SortOrder" in EmployeeAction are "id, name, hireDate". Valid values for "SortOrder" in TruckAction are "id, purchaseDate, and mileage&q

Re: Reseting one field on a DynaActionForm to it's initial value?

2004-08-27 Thread Paul Spencer
Hubert, Where do I get the name of the form? Paul Spencer Hubert Rabago wrote: Well, it ain't that easy: // code taken from DynaActionFormClass DynaActionForm formBean = (DynaActionForm) form; FormBeanConfig config = ModuleUtils.getInstance().getModuleConfig(re

Reseting one field on a DynaActionForm to it's initial value?

2004-08-27 Thread Paul Spencer
How can I reset one field on a DynaActionForm to it's initial value? Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Upgrading a Struts 1.1 app to 1.2.1: any 'gotchas' to watch for?

2004-08-03 Thread Paul Spencer
Niall, I have posted your comments on the Struts Wiki. Hopefully this page will be updated as new "gotchas" are found. http://wiki.apache.org/struts/Struts1_2e1to1_2e2_2e1UpgradeNotes I have also found them very helpful. Paul Spencer Niall Pemberton wrote: * jars - I guess its obvi

Maven access to jars required by Struts

2004-07-29 Thread Paul Spencer
the struts-lib-1.2.1 distribution. Please insure the jars required by Struts are available from public maven repositories. Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: The absolute uri: http://struts.apache.org/tags-html cannot be resolved

2004-07-15 Thread Paul Spencer
Eric, I am using Struts 1.1 and use the following: <%@ taglib uri="http://jakarta.apache.org/struts/tags-html"; prefix="html" %> Notice the host is jakarta.apache.org not struts.apache.org. Paul Spencer Eliot Stock wrote: Hello. I'm trying to do what the Struts do

Re: struts.apache.org has not been updated to reflect the 1.2.1 release

2004-07-14 Thread Paul Spencer
d I have been anticipating this release for a while. I look forward to working with this release. Thank you. Paul Spencer Ted Husted wrote: It was updated earlier this week, Paul. Perhaps something is being cached for you. On Wed, 14 Jul 2004 17:17:07 -0400, Paul Spencer wrote: The Struts web site

struts.apache.org has not been updated to reflect the 1.2.1 release

2004-07-14 Thread Paul Spencer
The Struts web site, http://struts.apache.org, has not been updated to reflect the release of v1.2.1. This includes the announcements and download links. Paul Spencer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional