<kendo:chat>

A JSP wrapper for Kendo UI Chat.

Configuration Attributes

Configuration JSP Tags

kendo:chat-messages

Allows localization of the strings that are used in the widget.

More documentation is available at kendo:chat-messages.

Example

<kendo:chat>
    <kendo:chat-messages></kendo:chat-messages>
</kendo:chat>

kendo:chat-toolbar

Configures the Kendo UI Chat toolbar.

More documentation is available at kendo:chat-toolbar.

Example

<kendo:chat>
    <kendo:chat-toolbar></kendo:chat-toolbar>
</kendo:chat>

kendo:chat-user

Configures the Kendo UI Chat user information.

More documentation is available at kendo:chat-user.

Example

<kendo:chat>
    <kendo:chat-user></kendo:chat-user>
</kendo:chat>

Event Attributes

actionClick String

Fired when an action button is clicked inside an attachment template, or when a suggestedAction is clicked.

For additional information check the actionClick event documentation.

Example

<kendo:chat actionClick="handle_actionClick">
</kendo:chat>
<script>
    function handle_actionClick(e) {
        // Code to handle the actionClick event.
    }
</script>

post String

Fired when a message is posted to the chat widget. This can be either through the message box, or an action button click.

For additional information check the post event documentation.

Example

<kendo:chat post="handle_post">
</kendo:chat>
<script>
    function handle_post(e) {
        // Code to handle the post event.
    }
</script>

sendMessage String

Fired when a message is posted through the chat message box.

For additional information check the sendMessage event documentation.

Example

<kendo:chat sendMessage="handle_sendMessage">
</kendo:chat>
<script>
    function handle_sendMessage(e) {
        // Code to handle the sendMessage event.
    }
</script>

typingEnd String

Fired when the user clears the chat message box, signaling that he stopped typing. The event is also triggered when the user submits the currenlty typed in message.

For additional information check the typingEnd event documentation.

Example

<kendo:chat typingEnd="handle_typingEnd">
</kendo:chat>
<script>
    function handle_typingEnd(e) {
        // Code to handle the typingEnd event.
    }
</script>

typingStart String

Fired when the user starts typing in the chat message box. The event is fired only once, and not upon each keystroke.

For additional information check the typingStart event documentation.

Example

<kendo:chat typingStart="handle_typingStart">
</kendo:chat>
<script>
    function handle_typingStart(e) {
        // Code to handle the typingStart event.
    }
</script>

toolClick String

Fired when a button from the toolbar is clicked.

For additional information check the toolClick event documentation.

Example

<kendo:chat toolClick="handle_toolClick">
</kendo:chat>
<script>
    function handle_toolClick(e) {
        // Code to handle the toolClick event.
    }
</script>

Event Tags

kendo:chat-actionClick

Fired when an action button is clicked inside an attachment template, or when a suggestedAction is clicked.

For additional information check the actionClick event documentation.

Example

<kendo:chat>
    <kendo:chat-actionClick>
        <script>
            function(e) {
                // Code to handle the actionClick event.
            }
        </script>
    </kendo:chat-actionClick>
</kendo:chat>

kendo:chat-post

Fired when a message is posted to the chat widget. This can be either through the message box, or an action button click.

For additional information check the post event documentation.

Example

<kendo:chat>
    <kendo:chat-post>
        <script>
            function(e) {
                // Code to handle the post event.
            }
        </script>
    </kendo:chat-post>
</kendo:chat>

kendo:chat-sendMessage

Fired when a message is posted through the chat message box.

For additional information check the sendMessage event documentation.

Example

<kendo:chat>
    <kendo:chat-sendMessage>
        <script>
            function(e) {
                // Code to handle the sendMessage event.
            }
        </script>
    </kendo:chat-sendMessage>
</kendo:chat>

kendo:chat-typingEnd

Fired when the user clears the chat message box, signaling that he stopped typing. The event is also triggered when the user submits the currenlty typed in message.

For additional information check the typingEnd event documentation.

Example

<kendo:chat>
    <kendo:chat-typingEnd>
        <script>
            function(e) {
                // Code to handle the typingEnd event.
            }
        </script>
    </kendo:chat-typingEnd>
</kendo:chat>

kendo:chat-typingStart

Fired when the user starts typing in the chat message box. The event is fired only once, and not upon each keystroke.

For additional information check the typingStart event documentation.

Example

<kendo:chat>
    <kendo:chat-typingStart>
        <script>
            function(e) {
                // Code to handle the typingStart event.
            }
        </script>
    </kendo:chat-typingStart>
</kendo:chat>

kendo:chat-toolClick

Fired when a button from the toolbar is clicked.

For additional information check the toolClick event documentation.

Example

<kendo:chat>
    <kendo:chat-toolClick>
        <script>
            function(e) {
                // Code to handle the toolClick event.
            }
        </script>
    </kendo:chat-toolClick>
</kendo:chat>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy