Yes, that's simple and that works, indeed.
Thanks for the idea.

On 11/4/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> I use <wicket:remove> around relative paths to the CSS in the webapp
> directory. So this looks like:
>
> <html>
> <head>
> <style type="text/css" src="style/style.css" />
>
> <wicket:remove>
>     <style type="text/css" src="../../../../../../webapp/style/style.css" />
> </wicket:remove>
>
> The same can be done for JavaScript libraries that aren't part of a component.
>
> Martijn
>
> On 11/3/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote:
> > > > I don't know how to correctly preview a markup html only when it
> > > > refers to css, javascript files, that are meant to be relative to the
> > > > webapp context.
> >
> > in order to be pre-viewable the html editor must be able to find the
> > css file without the help of wicket. The easiest way to accomplish it
> > is to put the css into your source path and by means of <wicket:link>
> > (autolinks) wicket is able to find them at runtime.
> >
> > > >
> > > > I think this should be done by viewing the html markup from a running
> > > > instance of the webapp only ?
> > > >
> > > > And also, I'd like to have this preview include the markup of nested 
> > > > panels,
> > > >
> > > > Is it possible in development mode ?
> >
> > A html editor can not do it. The html editor does not know anything
> > about wicket and panel.
> >
> > > >
> > > > This should be great, because it is hard to decompose a page into
> > > > logical parts without the hassle of maintaining in synch two tag
> > > > bodies or two <wicket:remove> elements.
> > > >
> >
> > ?!?! What is the question?
> >
> > Juergen
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server. Download
> > it for free - -and be entered to win a 42" plasma tv or your very own
> > Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
>
>
> --
> Living a wicket life...
>
> Martijn Dashorst - http://www.jroller.com/page/dashorst
>
> Wicket 1.1 is out: http://wicket.sourceforge.net/wicket-1.1
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to