cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding Input field binded to attribute of Date

Former Member
0 Kudos
63

Hi

I have an Input field which is binded to context attribute of type "Date". I am setting this attribute in Modify View. Also I set the input field of property readonly to true. But in the application it was showing some F4 type help to the input field. On click of it the calender is shown but I cant edit the date.

I want to remove this functionality. I mean it should not change any date

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Make the context attribute of the type java.util.date and not the normal date if you want to remove the date help for the inputfield.

Regards,

Mahesh K.

Answers (1)

Answers (1)

Former Member
0 Kudos

Sreekar,

I'm not sure whether this is a bug or by-design behavior... Sure, displaying calendar even for r/o date input has some sence...

Bind InputField to <b>calculated read-only attribute</b> of type <b>string</b>. In getter of this calculated attribute return string presentation of "real" date attribute.

VS