but could someone reply on my mail below?
thnx in advance! : )
Abdul Rahman Advany wrote:
Hi,
I sorry I wasn't clear, I have been digging the wicket code again, and find It a bit hard to figure out how everything works. May take some more time. But I hope to implement the features I want myself : ).
Ill give the case a other try, what I am trying to build is a application that builds form's for company's, form's can be poll's, contact form's, enc. Making the side for making form's isn't the problem. I can make form's that user's can use to define what they need. But the problem is that I want to store what user's made in a database or xml file or something. But that will be plain settings like, wich css to use, what kind of layout for form enc, with form elements, and in with order, enc.
What I want to build with wicket is a way to build forms for user's dynamicly!, the problem is that I have to define each element in html before I can use wicket to parse something. In stead of that I would like to generate html dynamicly and feed them to wicket. Or something else that would work for me! (some other sollution)
And a other question, how is it possible to add javascript support to wicket? checking form's, making tree's that load without refesh ( with xml ), enc.
I will keap on studing the wicket framework so I dont have to ask such things : )
greets,
Jonathan Locke wrote:
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
-------------------------------------------------------
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
