cancel
Showing results for 
Search instead for 
Did you mean: 

how to change the misc property "type" of a value attribute

Former Member
0 Kudos

Hi,

i want to change the misc.property "type" of a value attribute

to simple types dynamically.

can i do that ? if yes, how?

plz help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Following statement declares an attribute 'str' of simpleType

wdContext.getNodeInfo().addAttribute("str","<package of SimpleType>.<SimpleTypeName>");

You can use this attribute in following way

IWDCheckBoxGroup cgroup=(IWDCheckBoxGroup)view.createElement(IWDCheckBoxGroup.class,"cg");

cgroup.bindTexts("str");

Regards

LN