on 02-02-2007 2:43 PM
Hi all,
I have an input field in my WD and I would like to set a tooltip with the content of a value attribute, but the <input field>.setTooltip("string") method doesn't work.
How can I solve the problem?
Thank you for any help.
Hi Lorenzo,
try this:
<input field>.setTooltip(wdContext.currentContextElement().get<Attribute>());
Best regards.
Gianluca Barile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi:
You can also map the property tooltip of input field to the context attribute
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you both for your quick replies, they were helpful.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In WDModifyView add this code.
IWDInputField f = (IWDInputField)view.getElement("InputField");
String ra =wdContext.currentContextElement().getVA();
f.setTooltip(ra);
This might be helps you.
Thanks,
Lohi.
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.