Hello all,
I’m developing a new Flexbox Layout with multiple columns and a custom handling for the tm-navigate message within each column
A messagecatcher widget catches the tm-navigate message and some procedures then do some logic.
Within the procedures I then send tm-navigate messages again, that should be trapped by navigator widgets.
I get all the necessary variables from the messagecatcher and can append them to the paramObject of the tm-navigate message like so:
<$action-sendmessage $message="tm-navigate" $param=<<event-navigateTo>> navigateTo=<<event-navigateTo>> navigateFromTitle=<<event-navigateFromTitle>> .../>
Now this is what the Navigator Widget does:
/*
Handle a tm-navigate event
*/
NavigatorWidget.prototype.handleNavigateEvent = function(event) {
	event = $tw.hooks.invokeHook("th-navigating",event);
	if(event.navigateTo) {
		this.addToStory(event.navigateTo,event.navigateFromTitle);
		if(!event.navigateSuppressNavigation) {
			this.addToHistory(event.navigateTo,event.navigateFromClientRect);
		}
	}
	return false;
};
It seems that the paramObject doesn’t get respected (?)
Shouldn’t it first look if there’s a paramObject and prefer those variables first?
Thank you for your answers,
Simon