cancel
Showing results for 
Search instead for 
Did you mean: 

Handle model nodes in a generic way

former_member191569
Active Participant
0 Kudos

Hello,

Is there any way to manage model nodes and model attributes in somewhat generic way?

I am trying to build a generic component which can handle generic model objects execution. For example, using a generic method executeModelObject(IWDNode node) who initilialize a model node, populates it and execute it, but without using specifical custom classes generated by WebDynpro Framework. I think, that the code must be specifical to a particualr model node.

Any help?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

David,

You can switch off 'TypedAccessRequired' property for any node at design time and then these nodes can be accessed with generic API - you need to know the name of node and element index though.

See [this presentation|http://www.google.com/url?sa=t&source=web&ct=res&cd=7&url=http%3A%2F%2Fwww.bus.ucf.edu%2Frhightower%2Fism4154%2FNotes%2FWD%2FContext%2520Programming.ppt&ei=L1tNSa-BPJiU8wT47uiZDw&usg=AFQjCNGlcTAwGMrxidkcothQOl-U6Kf6rw&sig2=3M03WTUxex4EBWJCeCfIIA] (Slides 6 and 7 in particular).

Hope this helps.

Vishwas.