Hi Experts,
I have created a BSP application using MVC.In the main view i have made use of and embedded my first view here.in this view i have a button which when pressed shud navigate to my second view.
For instance if the selection parameters are on the first page and the tableview is to be created on the second page via navigation how is this to be done.
On the button click of the first page the do_handle_event of the main controller gets executed.How is information passed between two views in MVC.
Valuable answers will be rewarded generously.
Regards,
shrita.
Hi,
if you have the search/results approach you can set an if
or case statement around some <bsp:call> 's.
Set this depending on an attribute you save in the model,
as well as saving the search criteria in your model.
the easiest way to catch the data/event is to implement
them in the do_handle_data and do_handle_event of your
view-controller (considering you have one for each view)
grtz
Koen
make sure your controllers with children (ie bsp:calls) do not have _ (underscores) in their names.
This will break the do_handle_event processing code.
regrds,
Nigel
Add a comment