I have a WDA component, component1 in which I have 2 views, view 1 and view2.
When I click on a button on view1, it should call component 2 which does not have any screens (views), but I am using only for validating the data.
1) What all do I need to do to call component2 from component1?
If the data is not valid, then view1 of component1 should be displayed, but if the data is valid then view2 of component 1 should be dispalyed
2) How do I acheive the return navigation from component2 to component1?