cancel
Showing results for 
Search instead for 
Did you mean: 

accessing properties of a UI element in wdDoInit()

Former Member
0 Kudos

I would like to interrogate the value of a DateNavigator elements startsWith property in the wdDoInit method of the view controller, by using the IWDDateNavigator.getStartsWith() method.

The problem is, I cannot figure out to programmatically access this method from wdDoInit.

Could somebody please advise how to do this?

BR,

Tony.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Create a context attribute "StartDate" (type=date) and bind property "startsWith" of date navigator to this attribute.

Then you can assign/read a value of type java.sql.Date to/from this attribute at any controller method, for example in wdDoInit().

Armin

Former Member
0 Kudos

Hi,

I was considering that possibility; looks like the right thing t o do.

Thanks for the advice!

BR,

Tony.

Answers (0)