Sorry for the delay. I try my best to answer your questions. a) dynamically create forms. You mentioned one approach already yourself. That is, use a template engine like velocitiy or freemarker to generate the html and than feed the html to Wicket. I can think of different approaches on how to make that with Wicket happen. Depending on the details of your reqs, may be with some changes to the core (introducing a kind of virtual file system like jakarta vfs, which will allow Wicket to read data more any source and even transform them prior to analysing the markup). Another approach, the displaytag example show how to do it, I dynamically create a complete Table. Of course this examples adds table, navigator and rows only, but may be it is a good starting point on how to dynamically populate a form with labels, dropdown boxes, textboxes etc. (with the master layout of the page given). I assume I understood you right, that only the form is configurable by the user?
b) Javascript: in general is no problem. Include your *.js script in the header section of your html or put your javascript straight in the Page markup. The only thing to take care of: don't add javascript to Component which gets rendered more than once, because the javascript will also be render with each component. Onclick() etc. is no problem. I tried it. Even XmlHttpRequest should do with this "limitation", though I haven't tested it. I'd very much interested in a working (cross browser) XmlHttpRequest example. Do you have any? I hope this answers your question. If not, don't hesitate. Juergen ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
