on 09-29-2006 12:01 PM
Hi all,
I'd used in a dynamic Table named <b>tab</b> the code:
tab.bindTooltip(attribute1);
This method return me the value contained in the attribute1.
Now I need to set an InputField with a String Tooltip:
IWDInputField f1=(IWDInputField)view.createElement(IWDInputField.class,"F1");
...
f1.setTooltip(<String content of the attribute1>);
...
Have anyone an idea???
Tahnks a lot.
Gianluca Barile
The bindTooltip(IWDAttributeInfo) method does not return anything, but binds the tooltip property to the context attribute defined by the given info (metadata).
If you want to set the tooltip to the value of some attribute, use
f1.setTooltip(wdContext.currentContextElement().get<Attribute>());
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.