html rendering inside idempiere

247 views
Skip to first unread message

norber...@multimageweb.com

unread,
Feb 26, 2014, 5:31:09 AM2/26/14
to idem...@googlegroups.com
hi,

just wondering how can i show html code in idempiere. i can achieve to show html code as nice html text or plain.

what i want.
1. setup html editor as default field for comment fields (big text areas)
2. show html code in record overview - show html editor in record edit mode.
3. show html content as plain text in list views


i found this https://idempiere.atlassian.net/browse/IDEMPIERE-563 as related topic. the issue is fixed but nice html is not visible basically.

see attached screen.

is it compontent bug or need improvements or proper setup ?

norbert

This e-mail is confidential and may contain legally privileged information. It is intended only for the addressees and may not be reviewed or used in any way by other recipients. If you have received this e-mail in error, kindly notify us immediately by telephone or e-mail and delete the message and any attachments thereto from your system.
nicehtml2.png
nicehtml1.png

Ivy Michels

unread,
Nov 4, 2014, 8:15:51 AM11/4/14
to idem...@googlegroups.com
Hi Norbert & Community,

I'm facing the same problem. It's very unconfortable for users to see html code on the windows fields.

I'm migrating from a large ADempiere Database and description fields appears with a huge amount of html tags.

There's a way to get by default the HTML editor directly inside a window (no only with right click and open editor)

Thank you!

Hiep Lq

unread,
Nov 6, 2014, 9:55:35 AM11/6/14
to idem...@googlegroups.com
current, a text area use for display (because user can edit online)
let user change to edit mode when need.

Carlos Antonio Ruiz Gomez

unread,
Nov 6, 2014, 10:43:50 AM11/6/14
to idem...@googlegroups.com




On 06/11/14 a las 09:55, Hiep Lq wrote:

Nils Kohlström

unread,
Nov 7, 2014, 3:34:33 AM11/7/14
to idem...@googlegroups.com
It would be great with new field type

muriloht

unread,
Nov 11, 2014, 6:20:16 PM11/11/14
to idem...@googlegroups.com
Hi ,

Just as a proof of concept, i wrote a small WHTMLEditor example that I'm attaching here.

To get it running, just follow the http://wiki.idempiere.org/en/Developing_Plug-Ins_-_IEditorFactory_and_IDisplayTypeFactory tutorial and use the attached class as the editor.

Also a screenshot of how the "editor" is presented inside a window. To edit the content, just click on the area, then the HTML editor is opened.

BR
WHTMLEditor.java
Captura de tela de 2014-11-11 21:18:51.png

Hiep Lq

unread,
Nov 12, 2014, 4:33:31 AM11/12/14
to idem...@googlegroups.com
Hi muriloht.
It's great, you can share full plug-in? (save time recreate it)

norber...@multimageweb.com

unread,
Nov 12, 2014, 6:34:54 AM11/12/14
to idem...@googlegroups.com
Thanks for investigation, i want to share my experience from another sw. i have create a small step by step workflow, how they give end user best UX. Main point is inline html editor when user click to description field html editor appear (no popup) type, then save when click outside field.

see attached screen.

norbert
descriptionfield.png

Hiep Lq

unread,
Nov 12, 2014, 7:39:45 AM11/12/14
to idem...@googlegroups.com

we have it with support of ckeditor 4 (zk7 branch) http://docs.ckeditor.com/#!/guide/dev_inline 
because add a configuration for edit type. also consider read-only mode.
please make a issue for it. Norbert!

norber...@multimageweb.com

unread,
Nov 12, 2014, 8:10:04 AM11/12/14
to idem...@googlegroups.com
hi UX funs :)

Thanks for valuable information about ZK7 ckeditor4. 

hope well specified. i'm ready for testing...

norbert

Ricardo Malla

unread,
Jun 12, 2017, 11:52:31 PM6/12/17
to iDempiere
Is there any update here? I want to display the parsed Html code on the field. Right now its showing a bunch of tags which is not friendly.

Thanks

Reply all
Reply to author
Forward
0 new messages