cancel
Showing results for 
Search instead for 
Did you mean: 

React on htmlb-Events in own sub-Controllers

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

TMNielsen
Contributor
0 Kudos

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

TMNielsen
Contributor
0 Kudos

Hello again

I just realized that your problem probably is that your BSP application is stateless.

Best regards

Thomas Madsen Nielsen