I found the bug..

I was duplicating a property

<html:hidden property="typeID"/>
<html:text property="typeID"/>
<html:text property="EventID"/>

And that gave me unexpected results that made no sense.. None of my
params are makign sense anymore

Thanks for the help.

Pritpal Dhaliwal




-----Original Message-----
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 20, 2004 5:26 PM
To: Struts Users Mailing List
Subject: Re: FormBean values are null


Without seeing what you're doing all anyone can do is guess, much better
if you post a question with full info.

Post the jsp showing your form for ActionB on and relevant bits of
struts-config and someone might be able to help you.

Niall

----- Original Message ----- 
From: "Dhaliwal, Pritpal (HQP)" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 20, 2004 11:28 PM
Subject: FormBean values are null


So here is the deal..

ActionA is input for ActionB
They both share the ABFormBean, ABFormBean has some properties..

For both actions, validate=false, scope=request

When I hit submit on ActionA and it goes to ActionB, the values in the
ABFormBean are null. I don't know why.

I event did request.getParameter("EventID"), even that returned a null
when  I clearly see that in the query string, I have EventID=5.

I think I am doing something wrong.. I just dunno what.. Can someone
help please.

I have two combinations of such events and form bean, that are behaving
the same way.


Paul




---------------------------------------------------------------------
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]

Reply via email to