Как Знаток определяет цели порядка, выполненные в в данной фазе?

Я не на 100% совершенно уверен, как Вы хотите "захватить" значения. Но если Вы хотите выполнить итерации по флажкам, можно использовать .each как так:

("input[@name='user_group[]']").each( function() {
    alert($(this).val());
});

, Конечно, лучший селектор доступен:

$(':checkbox')
15
задан approxiblue 5 January 2017 в 19:52
поделиться

1 ответ

From "Introduction to the Build Lifecycle":

The goals that are configured will be added to the goals already bound to the lifecycle from the packaging selected. If more than one goal is bound to a particular phase, the order used is that those from the packaging are executed first, followed by those configured in the POM. Note that you can use the element to gain more control over the order of particular goals.

17
ответ дан 1 December 2019 в 04:09
поделиться
Другие вопросы по тегам:

Похожие вопросы: