Thanks, I'll try that this afternoon.

Ivo

On 2/28/07, Johan Compagner <[EMAIL PROTECTED]> wrote:

this should work i think:

Map map = new HashMap();
// fill map
map.put("name", "Ivo");

Form form = new Form("form", new CompoundModel(map));

form.add(new TextField("name"));

johan



On 2/28/07, Ivo van Dongen <[EMAIL PROTECTED]> wrote:

> Hi,
>
> We have a domain object that contains (among others) a map with
> key-value pairs. I want to use entries in this map in a Form with separate
> input fields for each entry (some may not already exist in the map). What
> would be the way to do this? Can I use a CompoundModel for this somehow?
>
> Thanks in advance,
> Ivo
>
> --
> Ivo van Dongen
> Func. Internet Integration
> W http://www.func.nl
> T +31 20 4230000
> F +31 20 4223500
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user




--
Ivo van Dongen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to