Refresh Binding in calendar

Good morning,
I’m trying to refresh binding into a calendar object.

My piece of code is this :
system.db.refresh(event.source.parent.getComponent(‘RangeCalendar’).getComponent(‘from’).getComponent(‘Calendar’).latchedDate, “date”)

Iget an error about the argument :1st arg can’t be coerced to javax.swing.JComponent

Where I can find argument to use?

Thanks

Sorry… I find solution my self…

good script is this:
system.db.refresh(event.source.parent.getComponent(‘RangeCalendar’).getComponent(‘from’).getComponent(‘Calendar’), “latchedDate”)

2 Likes