Hi,

Just curious, why is placing the info in a Hidden too late?

Also, do ListEdit or For (on www.t-deli.com) do what you want?

-mb

----- Original Message ----- 
From: "Eric Schneider" <[EMAIL PROTECTED]>
To: "Tapestry users" <tapestry-user@jakarta.apache.org>
Sent: Wednesday, May 18, 2005 10:16 PM
Subject: dynamic forms that are stateless


> Hi,
> 
> I have a requirement that I'm stumbling on.   I have an editor page  
> that needs to be completely stateless containing no persistent  
> properties.   Users must be able to open this page in multiple  
> browsers windows, switching back and forth and performing updates.
> 
> This is no problem if there are a fixed amount of form elements.    
> When the user clicks save, I instantiate the bean in pageBeginRender 
> () so it can successfully take the values from the form.
> 
> Where it gets awkward is when you have a dynamic number form  
> elements.  (i.e. - a customer has 0-many shipping addresses).   I  
> have to re-inflate that list of shipping addresses before values are  
> set to the beans within the lists.  Unfortunately, there really isn't  
> a good way to tell how many shipping address there are, aside from  
> putting this count in a hidden form input (which is too late  
> anyway).  Has anyone geared up something like this?
> 
> I hope I'm explaining this well enough.  Any suggestions would be  
> greatly appreciated.
> 
> Thanks,
> e. 
>     
> 
> ---------------------------------------------------------------------
> 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