This is a problem my team has been facing here with a large form composed of
multiple views.  Lesson learned so far is to 'use the MVC Luke!'  We are
using Cairngorm, but the combination of learning Flex on the job and lack of
OOP experience in the team has caused some pains.  We have not worked it out
completely, but we are thinking of more strict MVC use in that the view
holding your form does not change the model but throws a event passing the
new data to a command that updates the model.  The other issue we had was
resetting a form to its initial state.  We are using the show event to do
this currently, but we are thinking of actually creating/destroying the view
on the fly when needed.

DK

On 4/18/07, Rick Root <[EMAIL PROTECTED]> wrote:
>
> I have what will eventually be a large "form" in my flex app that I'd
> like to be able to easily restore to its original state... exactly as
> initially loaded.
>
> Is there any way I can do this without writing a bunch of actionscript
> to reset all of the individual form elements?  the radio buttons,
> checkboxes, combo boxes, etc?
>
> Rick
>
> --
> CFMBB - Coldfusion Message Boards, Version 1.21 Now Available!
> http://www.cfmbb.org
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:3889
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to