Back(space) button causes crash in forms & menu

Hello,

Have been developing a forms and (self-made) menu based solution.
When hit either Back button in browser or Backspace on keyboard, active form disappears; Afterwards, when clicking on any menu item, it doesn’t popup anymore but throws following exception:

Behavior [RequestCycle@1580d5e thread=http-8080-1] was not registered with this component: [MarkupContainer [Component id = contribution]]
Wrapped java.lang.IllegalArgumentException: Behavior [RequestCycle@1580d5e thread=http-8080-1] was not registered with this component: [MarkupContainer [Component id = contribution]] (ModuleName\globals.js#139)

Is there a way to completely disable back-action usage in the solution?
Only way out is to rerun WebClient

Regards

Which Servoy version do you use?

A bug related to “Back” button navigation was fixed in 5.2.5.
If you are using an earlier 5.x version, can you try the latest 5.2 build (or at least >= 5.2.5) to see if it works?

Thanks for your reply, Andrei

Servoy ver: 5.2.8 - build 1016
Back action causes mess in the app.
Is there a way to completely disable back-action usage in the solution?
Only way out is to rerun WebClient

Regards

I don’t know of a way to disable the browser “Back” button for a solution.
Do you use any web-client plugins for the menu implementation? Or maybe some custom browser JS inside a HTML area?

If not we should have a look at what is happening there. Can you create a case and attach a small sample solution that shows the problem?