on 06-11-2007 12:37 PM
Hi,
is it possible to build an HTML-Editor in Web Dynpro.
I want to integrate some tags e.f. <b></b> or <i></i> in an string. This string will than load in to a HTML-base context.
The view will looks like this Message tool here!! B-Button- I-Button etc.
The problem is that the TextEdit UI has no methode to get an selected part of the string to concat the tags.
regards
Gunter
It is only possible with Portal 7.1.1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Werner,
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
regards
vino
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.