function to create a new widget
load template snippet, initalizes and insert the widget
Parameter |
Type |
Usage |
Description |
navElementId |
String |
required |
navigation element type id |
styleId |
String |
required |
ObjectID of current style |
navBarAlias |
String |
required |
alias of navbar e.g. "Right" |
url |
String |
required |
request url (default is '?') |