cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to embed an html editor in a webdynpro application?

HarshC
Active Participant
0 Kudos

Hi,

I need to create a webdynpro app that has an html editor. I have javascript code(for an html editor) avalaible, but as far as I know there is no way to embed it. Any suggestions? Or is there an existing UI element that I missed?

Regards,

Harsh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

i suppose u can Use IFRAME UI Element where u can embed ur HTML or JSP file and run as and when u need it

Just Check whether this suffice ur req

With Wishes

Krishna Kanth

Answers (2)

Answers (2)

Former Member
0 Kudos

I fear the answer is "no" because of the known issue (reload on every server round-trip) with the IFrame element.

Which editor do you want to embed? You write, you have Javascript code, so I guess this would only work with the HTML client?

A workaround could be to use the office integration UI elements, but this is probably a little bit heavy-weighted.

Armin

HarshC
Active Participant
0 Kudos

Thanks for the prompt replies!

Let me elaborate on the problem. I need to develop a webdynpro screen with a simple html editor in it, which can be used to edit html based content. A typical example for such an element is the UI element in the xml form builder. Since such an element is not avalaible in dynpros by default, I searched and was only able to find javascript based code for the html editor(but that won't work). Can anyone, suggest a way out? Another html editor code snippet perhaps(jsp/java or anything else)?

Regards,

Harsh

PS: Armin, I agree the workaround(office integration) would be a bit of an overkill:)

Former Member
0 Kudos

As of now we can display html pages only through an IFrame.

For an editor may be you can provide a simple text editor functionality through the text edit and display the same through IFrame.

I'm not sure about this but just a wild guess.

Former Member
0 Kudos

hi ,

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.

Hope this helps

Regards

Bharathwaj