I have yet to see a real life example where multiple levels of inheritence is *critical* for an offline preview. With a little more CSS work, the preview could use a special background image or color to emphasize that it's simply a preview.
In order for this to truly be a "wicket feature", i think there are a few things that can be done. The first would be to add "wicket:preview" to the wicket namespace so that the preview will produce valid XHTML. If this attribute is promoted to the core wicket DTD, i think it makes sense for this javascript to be distributed directly with wicket as well. Of course some documentation would be needed too. If "previewable web pages" is considered a core feature of wicket, i think a feature like this would be really important to users "out of the box". On 3/4/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > That's a very smart idea! I do think multiple levels are a big deal > though, otherwise you'll end up with just a half baked thing. > > What kind of support within Wicket itself were you thinking off? And > could it be useful for the WicketBench Eclipse plugin? > > Eelco > > > On 3/3/06, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > > One of my favorite features in wicket is that the pages are completely > > previewable in a normal web browser even outside of wicket. JSP is > > simply a mess of nested scriptlets and xml and other junk. > > > > That being said, I was getting frustrated that I would lose > > previewable pages when I start extracting components. Of course > > extracting components is a good thing for reusability, but it has a > > pretty big drawback when trying to design pages without seeing the > > component in preview mode. > > > > Well, I'd like to startup a discussion on a wicket feature I wrote up > > and see if there's any interest for other people. Basically, I use > > some AJAX magic to load the component so that you can preview your > > pages with your components. > > > > http://jroller.com/page/wireframe/?anchor=auto_previewable_wicket_pages > > > > Please let me know if there's any interest in this. It definately has > > reinforced how cool Wicket is! > > > > Ryan > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > > that extends applications into web and mobile media. Attend the live webcast > > and join the prime developer group breaking into this new coding territory! > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user