a form component already is able to store the value (as text) that a user
entered
without pushing it to the models (form.process not called)
if you do a submit with a button that has default form processing on false
then the data will be kept in the form components and when rendered again
that data is used.
johan
On 6/7/07, Vít Rozkovec <[EMAIL PROTECTED]> wrote:
Hallo,
I have this problem and I need to get a bit of kick-start.
See this page:
http://www.webarchiv.cz/generator/dc.php
(in Czech language, but I hope you get the picture)
This is the generator which I need to replicate with all of its
functionality in Wicket.
So far I have managed to be able to add and remove fields for one group,
I did this with panel. I created add and remove links which have as the
response page the panel with a number of row (I am trying to get it
functional just for a panel at first).
Just a solution which came to my mind - should I create some wrapper
class which contains all the elements settings and their values and pass
it as an argument for page which generates the form and set this page as
a response page for a add/remove link?
Or is there some other, better way how can I manage to preserve already
entered values when adding those fields at run-time?
How can I access all the elements of the form after the submit,
including those dynamically created ones?
Give me please just some clue how to achieve this, I am a kind of newbie.
Thanks alot.
Regards Vitek
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user