cancel
Showing results for 
Search instead for 
Did you mean: 

Java webdynpro - Date change event handler

Former Member
0 Kudos

Hi

I have an input field in my app that is of type date.

When I select a date from the date selector no round trip takes place, as far as I understand.

However the context is changed.

My question: is there a way to capture context changing event?

I thank you for your assitance.

regards

yuval

Accepted Solutions (1)

Accepted Solutions (1)

p330068
Active Contributor
0 Kudos

Hi Yuval,

You can write method on onEnter event of the input field properties to capture/control context attribute value. As date attribute binded to input field, it wll automatically update the context attribute if any changes in the input field value.

Try to use [Date Navigator UI Element |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059344a-1930-2d10-6e8a-dcec5f94993e?quicklink=index&overridelayout=true] and work with onMonthSelect, onDaySelect, onWeekSelect etc.

Hope it will helps

Regards

Arun Jaiswal

Former Member
0 Kudos

Arun hi

Well this is what I consequently had done. Just used OnEnter.

But is does not really satisfy my desire to make the sytem raise an event automatically.

As for the other alternative namely using the Date Navigator, I think this is an ugly solution....

Anyway points granted ...

regards

yuval

p330068
Active Contributor
0 Kudos

Hi Yuval,

Thanks. Its up to you to choose UI element. But I have used the Date navigators to our web dynpro application and it is working fine and interactive.

Cheers,

Arun Jaiswal

Answers (0)