cancel
Showing results for 
Search instead for 
Did you mean: 

DateNavigator element - Range

Former Member
0 Kudos

Hi everyone !!

My name is Diego, I'm from Agentina and this is my first time on this forum.

I'm doing and exercise. In this exercise I'm trying to select a range from a DateNavigator element, so I complete the properties fisrtSelectedDate and lastSelectedDate like this:

firstSelectedDate person.BeginDate

lastSelectedDate person.EndDate

And selectionMode like this:

selectionMode range

person is a node in the view context (it is map to the Component controller context) and its attributes get value from a previous view.

I know person.BeginDate and person.EndDate have valid values because I print them (in a TextView element), but my range in the DateNavigator element is not displayed.

Anybody knows what is the problem? Am I doing something wrong?

Thanks, Diego.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI ,

U have two date elements and one date Navigator

Hope the BEGIN date is before the END date.

Now the want to display the date range in Date Navigator.

date range is not shown immediately aftr the two dates are entered.

There should be some action.

For that u create one Button using Apply template and associate that action with onDaySelect event in the properties of date Navigator.

When u click the button Range will be shown.(expecting u have entered firstentereddate,lastenetereddate and selectionmode:Range)

Hope this solves ur problem..

Thanks n Regards,

Archana