Notifications

201 views

Description

The List bottom button and List Link UI Actions run on the client side regardless of the Client checkbox setting.


Steps to Reproduce

  1. Activate List v3.

    1. Activate the com.glide.ui.list_v3 plugin.
    2. Set the glide.ui.list_v3.enable system property to true.
    3. Go to /cache.do to clear the cache.
  2. Create a new UI Action.

    For more information, see the product documentation topic Create a UI action.

  3. Set the following values:

    Name: Server action
    Table: Problem
    Client: [leave unchecked]
    List Link: [check]
    Script: gs.addInfoMessage('Server side message');.

  4. Open the Problem list view.

  5. Scroll down and click the Server action link

    Expected result: The UI Action should run on the server side, and the message "Server side message" displays at the top of the page.

    Actual result: No message is displayed and the following error appears in the browser console: "Could not execute UI action": ReferenceError: gs is not defined"

Workaround

Use the List banner button type instead.


Related Problem: PRB1255598

Seen In

Jakarta Patch 7
Kingston

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-07-16 01:25:01
Published:2018-07-16