on 04-29-2009 8:42 AM
Hi,
I want to get the selected week from the Date navigator. In the onWeekSelect event handler, i added the parameters Week(integer) and year(integer), but I am not getting the values in the code.
Can anyone tell me how to get the selected week and year?
Thanks,
Venkat
Hi,
try this code
public void onActionWeekSelect(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, int week, int year )
{
//@@begin onActionWeekSelect(ServerEvent)
Integer weekNum = new Integer(week);
Integer yearNum = new Integer(year);
wdContext.currentContextElement().setWeekNumber(weekNum.toString());
wdContext.currentContextElement().setYear(yearNum.toString());
//@@end
}
Regards,
Sunaina Reddy t
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.
Hi Venkatraman
Please check this link.
Hope it is useful for you
http://help.sap.com/saphelp_nwce10/helpdata/en/4a/05ad3e1d1edc61e10000000a114084/content.htm
Also check this forum link
Regards
Ruturaj
Edited by: Ruturaj Inamdar on Apr 29, 2009 9:55 AM
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.