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?
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
.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
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
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
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]
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
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]
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
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
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
11 matches
Mail list logo