Skip to content

How to stop sj:div from updating #173

@pramreadonly

Description

@pramreadonly

Using Struts 2.5.20 and Struts-JQuery 4.0.3

When using an element of sj:div which reloads using the updateFreq attribute

<sj:div id="jobStatus" href="%{requestUrl}" updateFreq="3000" requestType="GET" indicator="indicator"/>

Is there a way to signal that reloading should stop?

For reference I am trying to replicate the behaviour of the old Dojo sx:div tag which had a listener topic which indicated that the reload should stop

<sx:div id="jobStatus" href="%{#requestUrl}" updateFreq="3000" executeScripts="true" separateScripts="true" stopTimerListenTopics="/stopTimer">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions