Re: wicket:link + component images

2012-11-29 Thread Sandor Feher
The problem has nothing to do with html tags nor the wicket handles resources. It's related to TinyMCE. The editor set this for emoticons src="../../plugins/emotions/img/smiley-.gif" This won't work because the gifs are inside wicket.contrib.tinymce.jar and they not supposed to be located else

Re: wicket:link + component images

2012-11-28 Thread Sandor Feher
Okay. I digged out more deeply. The bottom line is if the img inside a or a tag then the images are broken. If there is no surrounding tag or a just a simple then everything works fine. Somehow ignores those kind of tags. This works fine.

Re: wicket:link + component images

2012-11-27 Thread Sandor Feher
Hi, (B)LOB is database independent more or less. I use currently postgresql as db engine but this app should be run on top of oracle db as well. So this is why I decided to use blob. But I think it should not be affected to wicket models. I convert byte array to string and I pass that to the model

Re: wicket:link + component images

2012-11-27 Thread Sébastien Gautrin
Why use a blob rather than a text/longtext field? Sandor Feher wrote: Hi, I use tinymce as editor, storing the content in a blob field and intro in a varchar2 field. At my showcontent page I dig this out and display like this: add(new Label("cikk",new Model(c.getIntro())).setEscapeModelStrings