You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by laiqinyi <xb...@126.com> on 2008/04/02 09:33:41 UTC

about update file form!

 well, I wanne insert a data-item with some files to update, and record the filePath in the data-item.
the form is like that:
 
(following is a form)
field1: title
field2: content
field3: update files path --  update button --(here wanne a update form)
 
submit button
 
 
 well I find wicket not support 'two' forms in one page. It throws some Rending Exception.
How to deal this problem?
 
Maybe, use two page, one update form, one data-item form, and after update files, save the file path in the session. it's that OK?

Re: about update file form!

Posted by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk>.

laiqinyi wrote:
>  well, I wanne insert a data-item with some files to update, and record the filePath in the data-item.
> the form is like that:
>  
> (following is a form)
> field1: title
> field2: content
> field3: update files path --  update button --(here wanne a update form)
>  
> submit button
>  
>  
>  well I find wicket not support 'two' forms in one page. It throws some Rending Exception.
> How to deal this problem?
>   
Thats not true! Wicket even supports nested forms! Show us the code, to 
prove it:) And there are lots of examples on this here:

http://wicketstuff.org/wicket13/
>  
> Maybe, use two page, one update form, one data-item form, and after update files, save the file path in the session. it's that OK?
>   

-- 
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org