B4J Question [ABMaterial] ABMPageTemplate vs ABMPageTemplateAlternative


Active Member
Licensed User
The most commonly used construction is ABMPageTemplate for new pages. However, there is also the ABMPageTemplateAlternative alternative.
I see in the ABMPageTemplateAlternative that the code from ConnectPage is included in WebSocket_Connected.
In which cases better to use code with ABMPageTemplate and in which ABMPageTemplateAlternative? Can both have the same properties and the only choice is the developer?


Active Member
Licensed User
It's up to you how you structure your code. PageTemplateAlternative just contains fewer subs and appeared in the framework after the implementation of the client side auto reconnect (some subs from the class weren't needed anymore).

I personally use PageTemplate becuase I like my code stuctured like that. ;)