I wish Wendy would have won the bet. Unfortunately that too doesn't
work. Actually mNum used to be messageNumber when I added it the first
time.
The complete dynaAction definition is
<form-bean name="exportForm" dynamic="true"
type="org.apache.struts.action.DynaActionForm">
<form-property name="mSafetyReportId"
type="java.lang.String" />
<form-property name="mReceiverOrganisation"
type="java.lang.String" />
<form-property name="messageNumber"
type="java.lang.String" />
<form-property name="navigate" type="java.lang.String"
/>
<form-property name="mMsgNum" type="java.lang.String[]"
/>
</form-bean>
I hope somebody sees the error in this......
Anirudh Jayanth
SysArris Software
120A, Elephant Rock Road,
3rd Block, Jayanagar,
Bangalore - 560011
Tel: 6655165 / 052 [ ext - 244 ]
[EMAIL PROTECTED]
-----Original Message-----
From: Nitin Mulimani [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 9:14 PM
To: Struts Users Mailing List
Subject: RE: DynaActionForm IllegalArgumentException
I had the similar problem, and Wendy's approach worked for me.
-- Nitin
Ivis Technologies
-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 8:43 AM
To: Struts Users Mailing List
Subject: RE: DynaActionForm IllegalArgumentException
> From: Anirudh Jayanth [mailto:[EMAIL PROTECTED]
> Nope.....created a whole new app. Tried just about anything.
> Its giving the same exception and for the same property aswell.
> It sure seems weird.. Cant help wondering if I am doing something
> fundamentally wrong
> though.... Any suggestions?
Consult the JavaBeans specification for naming rules. I think the
single lowercase letter in front is something to avoid. Here's what I
see happening:
mNum -> getMNum() -> MNum
Try changing it to maxNum (or whatever makes sense, just get at least
two lowercase letters at the beginning) and I bet the problem will go
away.
--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]