Andrew Klochkov wrote:
> 
> User ContextImage instead of Image for images in the web dir. BTW
> ContextImage could be stateless while making Image instance stateless is
> not so easy.
> 

Thanks I'll have to take a look at it.  I'm still using 1.2.6 and I believe
ContextImage is only in 1.3.  (I thought it would be hard to learn 1.3 if
any of the examples are broken).

This seems to be closer to the solution be it still forces me tightly couple
the java and html code.  Shouldn't web designers be able to modify the HTML
'template' without touching any Java code?

I was hoping for something like a single application setting:

    @Override
    protected void init() {
        this.getMarkupSettings().setImagesRelativeToRoot(true);
    }



-- 
View this message in context: 
http://www.nabble.com/Setting-up-project---images-and-stylesheets-tf4094209.html#a11680016
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to