Setting the rule web page

Top  Previous  Next

The 'page' property of the HostSurfer rule, indicates which web page will be rendered when the current host screen satisfies the 'match' criterion.

For this example, we will load a page called signin.html for the screen selected in the topic Identifying the Host Screen


The 'page' property will be set as follows:


           page : '#!signin'


The purpose of the 'signin' page will be functionally similar to the underlying host screen, that is, to request username, password and, if needed, new password from the user.

Please note that only one page can be set to a rule (although not every rule must have a web page assigned, as previously explained).