The WOLips Eclipse plugin sounds pretty impressive! Yes, keeping the Wicket component hierarchy in sync between the Java file and the HTML file can be annoying. (That's one reason I am intrigued by the Echo2 approach -- treat HTML as machine language and eliminate it from the application definition completely!) My approach for Wicket is to work in terms of panels and to keep the nesting in any single component or page trivially simple. (It's analogous to the principle of keeping function/method definitions short enough to fit on one screen.)
If you don't like the way Java flattens the component hierarchy with a series of comp.add(...) instead of tag nesting, you can use nonstandard indentation to show the hierarchy: ... Build components ... page.add(cI); cI.add(cIA); cIA.add(cIA1); cIA.add(cIA2); cI.add(cIB); page.add(cII); cII.add(cIIA); cIIA.add(cIIA1); cIIA.add(cIIA2); cIIA2.add(cIIA2i); cIIA2.add(cIIA2ii); cII.add(cIIB); -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexis Sent: Thursday, August 31, 2006 5:16 AM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] WebObjects open source? How you do (refactoring) with WO : WOLips (eclipse plugin) create a new component (juste give it a name), open in WOBuilder (WYSIWYG editor for editing simlessly both HTML template and binding file, in fact you don't have to know there's 2 files), cut (or copy) past the part of your existing page you want to be isolated in the new component. Define the component API with WOBuilder. That's it, drop it in your existings pages, set the bindings. That's why the tools are here. (read the manuals about WObuilder if your interested) Now another question for wicket and refactoring, how can you keep in sync HTML file and Java code without tools ? I'm not only talking about wicket:id attributes, but also all the component hierarchy ? If you doing big refactoring, that's 2 files to maintain. By the way, yes HTML is difficult to read, but i prefer reading HTML + bindings in WOBuilder where you could see in 5 secondes the hierarchy than only Java where you have to look for comp.add(...) all flatened. That would be awesome if the eclipse (or netbeans) plugin could synchronize this, that might be tricky to do but interesting. That's also the reason why i like WO, you open a large page or component and within 1 mins you have a good idea of his behaviour. Now with Wicket, you must have some computer brain to understand in 1 mins what a page is doing. Now don't get me wrong, i appreciate a lot of good stuff about wicket and the efforts you guys are putting in it. And let's face it, WO's core developpers are/were not doing it for free :) -- View this message in context: http://www.nabble.com/WebObjects-open-source--tf2177391.html#a6076647 Sent from the Wicket - User forum at Nabble.com. ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user