cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating the custom controller

Former Member
0 Kudos

Hi experts,

I am working on a web dynpro object where i need to create an application configuration.I created a custom controller context.I mapped it to main view.I am using the attribute of custom controller context in main view so that another view view1 is displayed based on this attribute.

custom controller context

node1 --> display_view1

mapped above node to main view.

view1 is triggered in main view onaction method based on display_view1 value.

Presently i am getting the dump " node1.1.main doesnot have elements."

Please help.

Edited by: ch_ravi_sap on Nov 22, 2011 2:11 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Change the cardinality of the node to 0:n and selection as 0:1 or 0:n.

Regards

Kuldeep

Former Member
0 Kudos

Hi

Thanks for the reply.Done the changes but with no luck.Same error persisting.

ChandraMahajan
Active Contributor
0 Kudos

Hi,

refer for simmilar issue and i think once you changed the cardinality of the context node in the component controller, then to reflect the chanegs, you have to do the update mapping.

Thanks,

Chandra

Former Member
0 Kudos

Hi I get rid off the error.

Changes i have made are cardinality from 0:n to 1:n. selection 0:n

But presently i am changing the attribute of custom controller in component configuration browser.I am not able to see the changed value in main view ( where i have used this attribute ).

Any help is appreciated

Edited by: ch_ravi_sap on Nov 23, 2011 12:17 PM