Template Node - Pass through messages from input

Maybe my implementation was naïve. When I update the toolbar I have to have a ui_template for each page I need to update. Instead of wiring directly from the function node, it looked cleaner to just forward the output of the ui_template node to the next ui_template node.

Here is how I am using it... One template per page

Yes. If you send it to the ui template node it all goes to the browser side.

Am I incorrect in assuming I need one ui_template per page. If that is true then I have a problem somewhere else as with out it, the other pages won't update.

So forgive my confusion

Do all msg that enter ui-template go to browser? even when no msg.payload. As testing seem to suggest they do.

If yes, whats the harm of passing the pass through msg if it has no payload?

If there is no payload they don’t go to browser ( or pass thru)

I think you are mistaken
As when i send msg.test with no other properties to a ui-template scope.$watch, the msg is received at the browser and displayed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.