Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing HTML Editor in Dynpro

Former Member
0 Kudos

Hi,

How to implement the HTML Editor in Dynpro ?

Regards

Prasath

3 REPLIES 3

Former Member
0 Kudos

Check the following threads it clearly explained for ur question,it will be very usefull

it's possible

u do this way

Give the source of text edit as context variable of binary type

In the DoInit() method write the code

IWDAttributeInfo attr = wdContext.getNodeInfo().getAttribute("Data");

type = attr.getModifiableSimpleType();

ISimpleTypeModifiable type;

defined as a global variable. and u Insert a Iframe and set the source as a context variable Source (String type). andInsert a button with text as Display and create an action as OnActionDisplay(). In that action write the code

wdContext.currentContextElement.setSource(type.format(wdContext.currentContextElement().getData()));

u see this thread also, this is helpful to u

Check the following link for help

I would sujjest you to go for JSPDYN Pages where in you have been provided with HTML editor.

Please check my Blog below for more information

/people/anil.dichpally/blog/2007/04/25/jsp-dyn-pages-with-an-example

Using a Iframe UI u can give the source as the path to this html file(the javascript code). But everytime a event occurs the content i the IFrame UI gets refreshed.

If u have to just display a content in Iframe UI its fine. If u r planning to navigate inside it ..it wont work out .

You can fire a exit plug to the javscript code if its the last step in ur application or u can fork a process and create a external window with this url.

Please give me reward points...

0 Kudos

Hi ,

The links that you have given seems to be for WebDynpro Implementation.

I think we need to implement this using the custom container's activex control.

/people/thomas.jung3/blog/2005/05/11/using-classic-activex-controls-in-the-abap-control-framework

Thanks for your links.

Regards

Prasath

Former Member
0 Kudos

Using Activex in custom control is the better solution to implement any 3rd party editors.