0
votes

can anybody tell is it possible to call the view depend upon the page name in extjs4.1

Thanks

1
Your solution seems reasonable. Doesn't it work? If it fails, how?rixo
@rixo it doesn't workmohan
We need more information in order to help you. What about it doesn't work? Does it throw an error? Have you tried it without the pageName conditional? What class is testpage inheriting from and have you defined its alias correctly?Eric
@Eric am getting error cannot read property 'items' of undefinedmohan

1 Answers

0
votes

You're missing the callParent() function inside initComponent.