The following is only a suggestion. It might
be useless to you.
If your shiping addresses are generated
 by a Foreach component, you could replace it by a
ListEdit component and "collect all the shipping
addresses"  during rewind in an ArrayList, without
knowing how many are there in advance.

An example of the above is the "Sum" example on
http://gauss.demon.co.uk/tapestryDemo/welcome


Shing

--- Eric Schneider <[EMAIL PROTECTED]>
wrote:
> 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]
> 
> 

Home page :
  http://uk.geocities.com/matmsh/index.html


        
        
                
___________________________________________________________ 
Yahoo! Messenger - want a free and easy way to contact your friends online? 
http://uk.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to