Skip to Content
avatar image
Former Member

React on htmlb-Events in own sub-Controllers

Dear BSP-Fans.

I try to implement a BSP-application with the MVC-model. Therefor I use a main controller and several subcontrollers with views.

My Controller-structure is like the following:

main.do -> appl.do. The controller appl.do calls several controller (for example reptask.do(ctrreptask) and task.do(ctrtask) ).

In Controller reptask.do I call a view with a htmlb-TableView with two columns (

<htmlb:tableViewColumn

columnName = "task_id"

onCellClick = "ctrreptask_taskdetail"/>

<htmlb:tableViewColumn

columnName = "s_desc"

onCellClick = "ctrreptask_taskdetail"/>)

Both events are handled by the controller appl.do and not (how I expected) by repttask.do.

How is it possible to handle htmlb-events in own subcontroller?

Thanks for your help.

Michael

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Feb 25, 2004 at 11:17 AM

    Hello Michael

    I'm not sure what your problem is. I have no problem handling events in the sub controllers.

    Do your main controller contain the dispatch_input( ). statement ?

    Best regards

    Thomas Madsen Nielsen

    Add comment
    10|10000 characters needed characters exceeded