Thanks for the replies. I experimented with wicket-velocity, it was very
easy to get started..
The velocity template is pretty good at displaying the html elements
dynamically, but im not finding an easy way to bind the data back...
The model I have is dynamic , ie I do not know beforehand the names of the
wicket ids. I may have to keep the values in a Map <String, String>. For eg
map("firstName", "xxx") etc, the corresponding wicket:id is "firstName".
When I bind a CompoundPropertyModel() back to the form, I get an error
"firstName" property not found. If I have an empty model bound I get
IllegalStateException: model may be null.
I understand why this is happening, so the qtn is there any other Model I
can use which binds to a Map ? Like if wicket:id is firstName, it should
update map.put("firstName", newValue) ?
On 3/21/09, Jan Kriesten <[email protected]> wrote:
>
>
> Hi Vasya,
>
>
> > How do I then map my html to panels which wicket wants ? If there is a
> > template/example that would help.
>
>
> take a look at the wicket-velocity project where velocity templates are
> used for
> components. That should be similar to what you want.
>
> Best regards, --- Jan.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Regards,
Vasu Srinivasan