cancel
Showing results for 
Search instead for 
Did you mean: 

How do I gain access to my context/atrribute from my BSP code?.

Former Member
0 Kudos

I have a context node named SPAREPART with a value node attribute named SPARE which is defined as a CHAR1 (boolean).

How can I access this value node so that I can use it within a checkbox within my BSP code.

John Sapora

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi John,

To give value in checkbox, you can either use the binding variable in the form:

Value = ""//node_name/attr_name"

OR

set value of the attribute in IMPL class global variable of same type, say GV_FLAG

then give:

value = "<%= controller->gv_flag %>".

I hope it helps.

Thanks,

Rohit

Former Member
0 Kudos

Very much appreciate Rohit.

Regards

John Sapora

Former Member
0 Kudos

Hi Rohit ,

I have created checkbox using thtmlb coding in VIEW.htm.

But how can i capture the checkbox value , whether the box is check or uncheck?

Thanks

Rajesh

Answers (0)