Skip to Content
author's profile photo Former Member
Former Member

Bsp navigation

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 07:52 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2006 at 12:48 PM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.