Apparently there is a javascript library that allows you to do just this.

http://jroller.com/wireframe/entry/auto_previewable_wicket_pages

I'm wondering why such a tool is not part of wicket? I will give it a try.

Thank you all for your help.

On Aug 29, 2007, at 4:25 PM, Igor Vaynberg wrote:

google wicket:preview

-igor


On 8/29/07, Carlos Silva <[EMAIL PROTECTED]> wrote:

I'm actually very interested in this topic and wondering if there are
any solutions to this problem.

On Aug 29, 2007, at 2:43 PM, Matej Knopp wrote:

Well, it is just HTML. But there is a templating involved. And that
has to
hinder previewability in a certain way.

-Matej

On 8/29/07, Carlos Silva <[EMAIL PROTECTED]> wrote:

I guess the "is just HTML" claim of wicket only goes so far.

On Aug 29, 2007, at 2:16 PM, Martijn Dashorst wrote:

AFAIK, wicket-bench (an eclipse plugin) does support some form of
previewing, but I don't know how far the support actually goes.

Martijn

On 8/29/07, Gwyn Evans <[EMAIL PROTECTED]> wrote:
No, it looks to me as if the OP's not worried about the pages while
running, but is rather looking for something to pre-process the
page
for previewing them...

Might be a "very simple question" (but not IMO!) but I'm not sure
what
approaches others use to preview pages, especially when markup
inheritance might be involved...

/Gwyn

On Wednesday, August 29, 2007, 9:12:36 PM, Johan
<[EMAIL PROTECTED]> wrote:

It sounds like you want Markup Inheritance.
http://cwiki.apache.org/WICKET/markup-inheritance.html
Johan

Carlos Silva wrote:
I'm new to wicket and have a very simple question:

Got a usual html template for all my pages:

<html>
  <span wicket:id="header">HEADER</span>
  ... page content ...
  <span wicket:id="footer">FOOTER</span>
</html>

Inside my span elements for header and footer I have actual
markup and
this allows me to see a full page with headers and footers by
just
opening the html in a browser. The markup gets replaced by
wicket once
the page is rendered via a web server.

Obviously I don't want to replicate the markup inside my span
elements
to all my other 100s of pages but I do want to be able to open
all the
other pages in a browser and see the header and footer.

Is this possible perhaps with some wicket tool?



---------------------------------------------------------------- --
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



/Gwyn


----------------------------------------------------------------- --
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0-beta3 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0- beta3/

------------------------------------------------------------------ --
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



------------------------------------------------------------------- --
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to