Thank you all.
Works like a charm.
Regards,
Marko
--
View this message in context:
http://www.nabble.com/Insert-dynamic-external-HTML-string-in-a-page-tp16141336p16177878.html
Sent from the Wicket - User mailing list archive at Nabble.com
://www.nabble.com/Insert-dynamic-external-HTML-string-in-a-page-tp16141336p16141336.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
You were on the right track, label is the right choice.
You need to provide Label a model that retrieves the string from your
db. How you write that model is up to you. (I guess you already have
this part.)
If you do not want the encoding, call setEscapeModelStrings(false) on
the label.
any Component, that would fit here.
Any sugestions on a component or alternate aproaches?
Thanks and regards,
Marko
--
View this message in context:
http://www.nabble.com/Insert-dynamic-external-HTML-string-in-a-page-tp16141336p16141336.html
Sent from the Wicket - User mailing list archive
I have a somewhat similar situation without a solution (yet).
I have some static resources (images and css files) on the server.
Whenever I deploy the application, the URL of those resources depend
on the environment as the application context root changes. What is
the best/only way to tackle
On 3/19/08, Martin Makundi [EMAIL PROTECTED] wrote:
I have a somewhat similar situation without a solution (yet).
I have some static resources (images and css files) on the server.
Whenever I deploy the application, the URL of those resources depend
on the environment as the application
remove the /APPLICATION_CONTEXT/ from the src field. If they are in
your HTML document when Wicket reads it into the cache, these
attributes will be made context relative automatically.
Obviously this doesn't work for img tags that are inserted through a
label, as Wicket doesn't know what you
Well.. my specific experience is from having
html
head
script type=css..
.body {
background : url(images/bgimage.jpg);
}
/script
I have had difficulties in getting he bg image to display properly if
defined as above without proper context path, because it is different
from the application
background : url(images/bgimage.jpg);
I think you need to put a / in front of images like:
background : url(/images/bgimage.jpg);
On Wed, Mar 19, 2008 at 8:54 AM, Martin Makundi
[EMAIL PROTECTED] wrote:
Well.. my specific experience is from having
html
head
script type=css..
.body {
/images will point to the server root localhost/images without the
contextRoot, i.e., it should be /contextRoot/images .. Now I must
manually update the contextRoot depending on where I deploy it.
**
Martin
2008/3/19, Matthew Young [EMAIL PROTECTED]:
background : url(images/bgimage.jpg);
I
10 matches
Mail list logo