best thing is if you build a pluging (eclipse/netbeans)
where you generate both sides at once.
The html and the java code
By just dropping components on a surface!

or am i dreaming out loud? :)

johan


a pinkelefant wrote:
Thanks for your replies.

You are correct. With only spans in the html there would not be any
way to decide
what type of component should be created.

What if its already a HTML with no wicket ids ?
ie we can find out all the FORMS and the containing INPUT TYPE nodes and create wicketids and a "Form" Object autmatically.
This might be just a template code that you can use for copy -paste if
nothing else.

Just an idea...
I think I will try something like this as I have HTML pages with 15-20
form fields and would like a
little kickstart in writing the Form and also the HTML with the wicket-ids.

Thanks
Pat

On 8/18/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
and you have wicket:id specified in the tags where we have to have
components?

The problem is that there is really not enough info in the html to know
what component it should use.

you could create a xhmtl parser (we have that in wicket) and then
generate javacode.
But this really won't be easy. And will be a pure prototype.

johan


a pinkelefant wrote:
Here's an idea..
Just like we have tools to create a DAO from a table name , would it
be possible
to create a Wicket WebPage based on  a markedup HTML page ??

I have a few  HTML pages,that contain the usual stuff...login page
with login form,search page with a search form etc.
Creating a WebPage class for them and handling all the 15 form fields
is very time consuming..( and I am lazy !)..

I was wondering if we could parse the HTML and create a complete (or
partial) Page class for each html ?
Maybe if the HTML pages were marked up , then would it be possible to
create the WebPages ?

This will be a considerable time saver !
I want to know if anyone has thought of this before and is this really doable ?

thanks
Pat


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to