Hi Martin,
Thank you for the help!
Regards,
Georgi
На 4/9/2015 в 6:38 AM, Martin Grigorov написа:
Hi Georgi,
For both of these you will need to create custom ComponentFactory that
could be registered via ServiceLoader.
For example create a type HtmlString. The component factory should create a
Wicket Panel that contains a Label("someId",
htmlString.getHtml()).setEscapeModelStrings(false).
Check IsisAddons' -wicket modules or https://github.com/martin-g/
isis-module-waveform for a demo.
On Apr 8, 2015 4:41 PM, "Georgi Georgiev" <[email protected]>
wrote:
Hello,
I am having a list of domain objects with String property which contains
URL to an image. I am trying to list these objects and show the image from
the URL in the UI table.
What I've tried is to store the image in Blob property which and show it
instead of the URL one. In the UI table I was able to see the picture names
and was able to download them, but still not the image itself.
What is the right way to show the image itself in the UI table?
I'd like to ask you one more question.
If I have a domain object with HTML string property, is there a way that
property to be rendered as HTML in the UI?
Regards,
Georgi
--
Georgi Georgiev
Software Developer
67B Postoyanstvo St.
Sofia 1111, Bulgaria
+359883486676
[email protected]
www.orangedot.bg
--
*Georgi Georgiev*
Software Developer
67B Postoyanstvo St.
Sofia 1111, Bulgaria
+359883486676
[email protected] <mailto:[email protected]>
www.orangedot.bg <http://www.orangedot.bg>
logo