on 04-16-2007 12:06 PM
Hi All,
I'm using a DropDownByIndex UI element. The element's text property is bound to a value attribute that is called 'MonthName' that is under value node that is called 'MonthsOfYear'.
When I display error using the 'reportContextAttributeMessage' I can see the error but there is no red border around the UI element (also, I don't get exception).
If I use DropDownByKey, there is no problem.
As a workaround I changed the DropDownByIndex to DropDownByKey and it works but is it a bug?
The code I'm using:
IWDAttributeInfo attributeInfo = wdContext.nodeMonthsOfYear().getNodeInfo().getAttribute(IPrivate<view name>.IMonthsOfYearElement.MONTH_NAME);
ssageMgr.reportContextAttributeMessage(wdContext.currentMonthsOfYearElement(),
attributeInfo,IMessageAdmComp.EXP_DATE_IN_PAST,
new Object[] {},
true);
Thanks,
Omri
According to SAP it's not possible.
This is what I got from the OSS:
[quote]The behaviour reported by you is well known for us. But i am sorry to
say that due to some constraints, we are not able to implement it.
There are so much implications that it's same in the NY release also.[/quote]
So DropDownByKey is the answer...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
really Mysterious !!
I am not sure bt I think it is because,
dropdownbyindex works on the data from backend on which user of WD application should nt have control, error messages are something which deals with user mistakes occured because of users.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.