i think we'd need to know more about your use case to answer your question. it sounds to me like you are essentially building a wicket design-time tool. if that's the case, yeah, you could just generate simple subclasses of Page with corresponding HTML. this seems like a likely way to do things since each Page is probably going to have different form handling code in it. if you are trying to do something more dynamic than this (some kindof runtime dynamic object editor or something, the last time i looked, the template fetching and localization code was highly pluggable. it should be possible to change the way your markup is loaded to pretty much anything. if it's not, we may be amenable to adding hooks to meet your specific need (if such hooks would benefit the community). you'll need to look at the API to determine if it meets your exact needs. my expectation is that you'll find dynamic template loading in the way you envision is possible.
Abdul Rahman Advany wrote:
Hi,
I have been playing with wicket for a week or two. And am trying to see if everything I would like to make in wicket is possible.
What I am trying to create is a form builder, that generate's a template for example or something else:
[form] [textbox name=title lable=title required=true] [filter minlength=8 maxlength=20] [/textbox] [/form]
but the problem is, how can I use wicket to generate form's based on the above code (based on standaard look and feel)?
Do I need to generate html and java myself (on the fly)? or can I do something else?
thnx in advance,
-------------------------------------------------------
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
-------------------------------------------------------
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
