<kendo:aIPrompt-view>

An array of view configurations.

Example

<kendo:aIPrompt-views>
    <kendo:aIPrompt-view></kendo:aIPrompt-view>
</kendo:aIPrompt-views>

Configuration Attributes

buttonIcon java.lang.String

The icon name of the Toolbar button rendered for the view.

Example

<kendo:aIPrompt-view buttonIcon="buttonIcon">
</kendo:aIPrompt-view>

buttonText java.lang.String

The text of the Toolbar button rendered for the view.

Example

<kendo:aIPrompt-view buttonText="buttonText">
</kendo:aIPrompt-view>

footerTemplate java.lang.String

The template of the view footer. It can be a string, a function or a Kendo Template.

Example

<kendo:aIPrompt-view footerTemplate="footerTemplate">
</kendo:aIPrompt-view>

initializeComponents java.lang.String

A function that is executed when the view is rendered. It is used to initialize the components of the view with a custom content template.

Example

<kendo:aIPrompt-view initializeComponents="initializeComponents">
</kendo:aIPrompt-view>

name java.lang.String

The name of the view. It is used to identify the view. It should be unique.

Example

<kendo:aIPrompt-view name="name">
</kendo:aIPrompt-view>

type java.lang.String

Defines the type of the view.

Example

<kendo:aIPrompt-view type="type">
</kendo:aIPrompt-view>

viewTemplate java.lang.String

The template of the view content. It can be a string, a function or a Kendo Template.

Example

<kendo:aIPrompt-view viewTemplate="viewTemplate">
</kendo:aIPrompt-view>

Configuration JSP Tags

kendo:aIPrompt-view-promptCommands

The commands to display in the prompt view.

More documentation is available at kendo:aIPrompt-view-promptCommands.

Example

<kendo:aIPrompt-view>
    <kendo:aIPrompt-view-promptCommands></kendo:aIPrompt-view-promptCommands>
</kendo:aIPrompt-view>

Event Attributes

viewTemplate String

The template of the view content. It can be a string, a function or a Kendo Template.

Example

<kendo:aIPrompt-view viewTemplate="handle_viewTemplate">
</kendo:aIPrompt-view>
<script>
    function handle_viewTemplate(e) {
        // Code to handle the viewTemplate event.
    }
</script>

footerTemplate String

The template of the view footer. It can be a string, a function or a Kendo Template.

Example

<kendo:aIPrompt-view footerTemplate="handle_footerTemplate">
</kendo:aIPrompt-view>
<script>
    function handle_footerTemplate(e) {
        // Code to handle the footerTemplate event.
    }
</script>

initializeComponents String

A function that is executed when the view is rendered. It is used to initialize the components of the view with a custom content template.

Example

<kendo:aIPrompt-view initializeComponents="handle_initializeComponents">
</kendo:aIPrompt-view>
<script>
    function handle_initializeComponents(e) {
        // Code to handle the initializeComponents event.
    }
</script>

Event Tags

kendo:aIPrompt-view-viewTemplate

The template of the view content. It can be a string, a function or a Kendo Template.

Example

<kendo:aIPrompt-view>
    <kendo:aIPrompt-view-viewTemplate>
        <script>
            function(e) {
                // Code to handle the viewTemplate event.
            }
        </script>
    </kendo:aIPrompt-view-viewTemplate>
</kendo:aIPrompt-view>

kendo:aIPrompt-view-footerTemplate

The template of the view footer. It can be a string, a function or a Kendo Template.

Example

<kendo:aIPrompt-view>
    <kendo:aIPrompt-view-footerTemplate>
        <script>
            function(e) {
                // Code to handle the footerTemplate event.
            }
        </script>
    </kendo:aIPrompt-view-footerTemplate>
</kendo:aIPrompt-view>

kendo:aIPrompt-view-initializeComponents

A function that is executed when the view is rendered. It is used to initialize the components of the view with a custom content template.

Example

<kendo:aIPrompt-view>
    <kendo:aIPrompt-view-initializeComponents>
        <script>
            function(e) {
                // Code to handle the initializeComponents event.
            }
        </script>
    </kendo:aIPrompt-view-initializeComponents>
</kendo:aIPrompt-view>
In this article
Not finding the help you need?