Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Oracle APEX [игнор отключен] [закрыт для гостей] / Dynamic Action выполняется только один раз / 4 сообщений из 4, страница 1 из 1
04.02.2014, 17:03
    #38549035
wlr
wlr
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Dynamic Action выполняется только один раз
Есть IR и итем. На IR есть DA, который 1. обновляет значение итема 2. Делает refresh этого же IR для применения некотрых услвных отрисовок.
При первом нажатии все срабатывает и отрисовывается . На дальнейшие нажатия не реагирует. Подозреваю что связано с цикличностью обращений, но не могу найти как исправить?
...
Рейтинг: 0 / 0
05.02.2014, 07:47
    #38549634
Alex-A
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Dynamic Action выполняется только один раз
Попробуйте для "Event Scope" DA поставить "Dynamic" и прочтите помощь для следующего поля ввода "Static Container (jQuery Selector)"
...
Рейтинг: 0 / 0
06.02.2014, 10:53
    #38551515
wlr
wlr
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Dynamic Action выполняется только один раз
Alex-A,
Спасибо, пригодилось
...
Рейтинг: 0 / 0
Период между сообщениями больше года.
17.11.2016, 14:33
    #39349135
elunin
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Dynamic Action выполняется только один раз
в доке сказано:
Dynamic - Binds the event handler to the triggering elements for the lifetime of the current page, including any elements that are updated by Partial Page Refresh (PPR). Specifying Dynamic causes an additional field Static Container (jQuery Selector) to be displayed. Specifying a Static Container can help improve the performance of the way events are handled with a Dynamic Event Scope. This should be an element on the page that itself does not get re-created, but contains the triggering elements that are re-created using Partial Page Refresh (PPR). This element reference must be defined as a jQuery selector. For example if you have a dynamic action that does something to the rows of an interactive report region (which is re-created by PPR), this would need an Event Scope of Dynamic, in order for the dynamic action to still work after the report has been refreshed. And here, the Static Container value could be set to a jQuery selector selecting the region's Static ID value, for example: '#my_region'...Specifying a Static Container can help improve the performance of the way events are handled with a Dynamic Event Scope..у меня без указания селектора вообще не работает DA.
...
Рейтинг: 0 / 0
Форумы / Oracle APEX [игнор отключен] [закрыт для гостей] / Dynamic Action выполняется только один раз / 4 сообщений из 4, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]