Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

get lastSelectedDate in DateNavigator

Hi, i have a problem with dateNavigator, i need to get the date selected when clicked in a day in the control.

in the properties of the control i bind the onDaySelect to a function, when i clicked in a day in the control, the function execute it, but i don't know how can i get the date selected, the function i create is this:

public void onActiononDaySelect( wdEvent, java.sql.Date Day )


//@@begin onActiononDaySelect(ServerEvent)

wdThis.wdGetExc_NavigationController().wdGetContext().currentContextElement().setTextoCabecera("Actualidad " + Day.toString());



but the date is passed is null, so something is wrong, can you tell me how to get the date selected.

thanks a lot

Former Member
Former Member replied


Why not just bind firstSelectedDate / lastSelectedDate to context attributes and then use them in action handler?


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question