The code below creates a button with an "onclick" action that opens a popup window to a tree that can be used to select a user.<pt:standard.tree value="Button Name" class="gContentSection" pt:windowname="myWindow" pt:windowfeatures="location=no,menubar=no,height=500,width=300" pt:RootID="1" pt:Multi="false" pt:SelectMd="2" pt:SubmitMd="2" pt:Submit="PickerSubmit" pt:Title="User" pt:SubTitle="Pick a user" pt:Class="1"/>
See the DevCenter documentation for more details on tree arguments.
Attributes |
Name | Type | Required | Default Value | Description |
windowname | string | false | _blank1 | Window name of the popup tree, used in the resulting window.open() function call. The name may only contain alphanumeric and underscore (_) characters. |
windowfeatures | string | false | location=no,menubar=no,resizable=yes,height=400,width=400 | Allows you to define the features argument for the resulting window.open() function call, specifying the features for a standard browser window. |
windowName | string | false | _blank1 | Window name of the popup tree, used in the resulting window.open() function call. The name may only contain alphanumeric and underscore (_) characters. |
windowFeatures | string | false | location=no,menubar=no,resizable=yes,height=400,width=400 | Allows you to define the features argument for the resulting window.open() function call, specifying the features for a standard browser window. |