cancel
Showing results for 
Search instead for 
Did you mean: 

Context attribute with default value

former_member189058
Active Contributor
0 Kudos

Hi,

In the view controller, I have created a context attribute of type I and given it a default value of 100.

In the view layout, I have an input field bound to this attribute.

However, when I execute the application, the input field shows value 0 instead of 100.

Regards,

Reema.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Reema

i used this thing at many places and its working fine.

just check that you are not clearing the attribute anywhere before displaying.

Regards

Naresh

Answers (0)