Skip to Content
0
Former Member
Jul 25, 2005 at 12:56 PM

How to implement HtmlEdit onInsertLink() and onInsertImage() in UICommand?

19 Views

Im using EP 6 SP2 and Im trying to read an XML file and allow the user to edit HTML within one of the elements using the HtmlEdit control.

I want the user to be able to insert links to KM docs and to insert images, but I cant find any examples or seem to get any default handling to work?

Can anyone give me an example of how to implement the event handlers for these?

Im building the editor page as a ConfirmComponent within a class that extends AbstractCommand and implements the ISimpleExecution interface to implement a simple on step screenflow (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/implementing flexible ui one-step-screenflow.article) rather than an a DynPage or JSpDynPage.

Im not even sure implementing event handlers is possible in a one step screenflow? Any ideas?

If not can I invoke a JspDynPage/PageProcessorComponent project from my AbstractCommand instead?

Help 😉