cancel
Showing results for 
Search instead for 
Did you mean: 

view - controller - do handle event

0 Kudos

Hello Experts!!

with the "bookstore"-tutorial as an example I am on the way to create almost the same BSP...

a default.htm (called by his controller default.do) calls two views more (top.htm and login.htm) via <bsp:call... />.

In top.htm are some buttons for some actions and to logoff.

In login.htm the user has to login (... what else he should do there...).

All is nice displayed but after pressing the login-button in login.htm the method "do handle event" in the controller class is not called.

Finally the browser shows me "done" and I am somewhere in the Nirvana. Who can help me escaping from there??

Thanks

Beat

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Do you call the method dispatch_input( ) in your do_request method?

0 Kudos

yes!!! that's it!!

thanks a lot!!

Message was edited by: Kohler Beat

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kohler,

Did you use the button which is provided in de sample code when you create a new view?

This button has no id property and will hence not launch do_handle_event. If you give your button an id the do_hande_event will be called.

0 Kudos

Yes..... here the definition:

<htmlb:button id = "login"

text = "login"

onClick = "login" />

Beat