I find that click works excellent on relitively simple pages, but seems to be 
very difficult to work with (ie. managing page/variable state) on pages with
multiple controls and request parameters.

For example, I have a page that takes in multiple request parameters 
(mode,month,year,department,facility,etc) ,and has a form and two tables.  This 
page is designed that users can select records from the tables, which populates 
the form with data that can be updated (I am not using ajax for this, instead I 
am posting back to the page).  

My gripe is that when a user posts the form to save a record, click executes 
the 
pages constructor, the onInit, the onGet, onRender, etc.  rather than just the 
onSaveRecord() method that I defined for my form.  This means that I have to 
put 
all kinds of hidden fields in my form to post the data back to satisfy the 
constructor, onInit, onGet, etc.  as well as checkst to determine if this is 
the 
first time I've gone through...or if it is a real submission of the form.  in 
general...page state is just very diffucult for non-trivial pages.

Am I missing something with the framework that can make this easier?  

Thanks.

Tim

Reply via email to