cancel
Showing results for 
Search instead for 
Did you mean: 

How to bind date fields

Former Member
0 Kudos

Hi All,

I have two Date fields in my search view. I am binding it to the locally created context variables.

then in the onSearch button click I am binding the model

object with the context variables.

I have even the same variables in the custom controller.

kindly clear this.

thanx in advance.

Regards

Dipendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

DIPENDRA,

Quite cryptic question, but if you are asking about mapping...

1. Create model node in custom controller (I assume your node has 2 date attributes in some model class, most probably *_Input node).

2. In view designer, open "properties" tab and add custom controller as required controller.

3. Create empty model node in view context. Do not assign model class at this step.

4. Right click on model node in view context, run mapping wizard and map all necessary attributes to attributes of model node in custom controller.

5. Bind UI controls (most probably input fields) to attributes of view controller context.

VS

Answers (1)

Answers (1)

Former Member
0 Kudos

What is the question?

Armin