Custom Type: RichText. No image from local drive displayed

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2012 10:05 AM
Hi all,
i have developed the custom renderer, that has a richtextarea. If i try to paste the image from htm site, that refers on the local drive like
no images will be displayed.
If i use the reference from "Internet" like
Is it prevent Cross-Site Scripting do it? If, yes is it possilbe to dissable that temporary??
Or exists other reason, that not allowes to display such image ?
i have developed the custom renderer, that has a richtextarea. If i try to paste the image from htm site, that refers on the local drive like
src="file:///C:/1/HTML-IMG//image001.jpg
, no images will be displayed.
If i use the reference from "Internet" like
src="http://activiti.org/userguide/images/bpmn.why.exclusive.jobs.png
i see the images.Is it prevent Cross-Site Scripting do it? If, yes is it possilbe to dissable that temporary??
Or exists other reason, that not allowes to display such image ?
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 03:19 AM
hello udoderk,
I want to add some image (png,jpeg) in my activiti-form..but i not understand how i must doing..
I've reading that you have add a richtextarea..how you doing?!
the Solutions you have founded it's similar to my issue?!
I want to add some image (png,jpeg) in my activiti-form..but i not understand how i must doing..
I've reading that you have add a richtextarea..how you doing?!
the Solutions you have founded it's similar to my issue?!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2012 11:59 AM
i develop in Windows OS.
if i can help you..have you try to convert this slash "/" in this "\" .. or double slash!? "\\"..
Can be a path problem maybe?!
keep me update..
if i can help you..have you try to convert this slash "/" in this "\" .. or double slash!? "\\"..
Can be a path problem maybe?!
keep me update..

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2012 06:32 AM
hello udoderk,i have developed the custom form type: created some java classes:
I want to add some image (png,jpeg) in my activiti-form..but i not understand how i must doing..
I've reading that you have add a richtextarea..how you doing?!
the Solutions you have founded it's similar to my issue?!
that inherit from abstract form type
that realize the rendering and validation
Then registered in activiti xml files.
One from custom form types is a richtextarea.
If i paste the images from other internet sites, that are displayed….

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2012 06:34 AM
i develop in Windows OS.Thanks i test it solution. (But other web aplication, realized in Vaadin too, displays the "local" images , that use the absolute path…
if i can help you..have you try to convert this slash "/" in this "\" .. or double slash!? "\\"..
Can be a path problem maybe?!
keep me update..
It' may be security restrictions in "activiti" tomcat…..
