Skip to Content
0
Former Member
Jan 22, 2006 at 08:39 AM

How to get the value of a context created dynamically ?

8 Views

Hello,

I've created a checkbox dynamically like this:

IWDCheckBox box = (IWDCheckBox) view.createElement(IWDCheckBox.class, null);

box.setText("Roy");

wdContext.getNodeInfo().addAttribute(new String("Praticipant1"),"com.sap.dictionary.boolean");

box.bindChecked(wdContext.getNodeInfo().getAttribute("Praticipant1"));

I would like, later in the code to see if this checkbox is checked. How do I get the value off the context that I've created above?

Regards,

Roy