cancel
Showing results for 
Search instead for 
Did you mean: 

Model Object is HashMap

Former Member
0 Kudos

Hi,

I'm new in WebDynPro programming and have to work with model objects which are not Beans, but whose properties are held in HashMaps. The list of properties is not known at design time of the model object; it is subject to the customer's LDAP schema.

How can I build WebDynPro view components and handle them in the context?

Thanks a lot

Rudi Wöhrl

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Rudolf,

Yes, this is possible (at least in theory

See tutorial <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial%20on%20dynamic%20programming%20of%20web%20dynpro%20applications%20-%2017.htm">Dynamic Programming of Web Dynpro Applications (17)</a>

Applying to your use case: create dynamic context attributes according to LDAP schema, then create dynamically UI elements for this attributes.

The only important question is whether type information is available in LDAP shema? Or string-only input / output is enough?

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com