can someone help me with this please? Thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: user@struts.apache.org
Subject: [OT]design help
Date: Fri, 28 Jul 2006 13:09:46 -0400
have String array's which have values in them.
dbValues[]
newValues[]
Have an object Customer which has row obj in a table in jsp page. This row
obj basically has
dbValues[0] , newValues[0] ...... etc.
In Prepare Action.
Creating the list of Customer obj's that is put in the form-bean.
struts-config.
<form-bean name="Form" type="org.apache.struts.validator.DynaValidatorForm"
dynamic="true">
<form-property name="custs" type="java.util.ArrayList"/>
.............
</form-bean>
jsp:
the customers are shown in the jsp in a table.
I have to check if it's new customer then have to ask user if they want to
put dbValues in the newValues. If the user presses 'yes' then have to put
the dbValues in newValues and then create the rowObjects(i.e Customer
Objects) and display them in jsp.
Not sure how to do this. Before asking the user if they want to replace
newValues, the rowsObjects are created. somehow have to create new
rowObjects again. Using LookupDispatchAction. when the user presses 'yes'
how is the user values 'yes' will be passed as i am using
LookupDispatchAction which method gets executed?
How to do this? Thanks.
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]