Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Polish

← Powrót do listy dostępnych akcji

Info
Jeśli masz problem ze zrozumieniem jak działa akcja, sprawdź opisy: Akcja, Wykonanie warunkowe, Parametry komponentów
Panel
titlePodstawowe informacje

Kategoria: Wygląd

Umiejscowienie akcji: Formularz, Tabela, Przycisk formularza, Zmienna, Etykieta

Dostępna od wersji: 1.0.0

Panel
titleOpis

Akcja ukrywa wybrany element/elementy formularza. Elementy które można ukryć to: zmienna, przycisk, kolumna w tabeli, tabela.

Warning

Akcja działa tylko na "zwykłych" przyciskach. Nie ukryjemy więc np. przycisku podpinania dokumentów. Rozwiązaniem jest użycie zwykłego przycisku z akcją podłączania dokumentu.

Warning

Akcja ukrywania użyta na zmiennej nie jest jednoznaczna z oznaczeniem zmiennej jako "ukryta" w edytorze PWE. W związku z tym zmienna jest traktowana przez formularz jak każda inna zmienna "widoczna" - czyli na przykład ukrycie akcją "widocznej" zmiennej wymaganej nie sprawi, że przestanie ona być uwzględniana w walidacji formularza.

Ukrywanie następuje w zależności od elementu na którego przenieśliśmy tabelę:

  • zmienna - ukrywa zmienną
  • przycisk - ukrywa przycisk
  • tabela - ukrywa tabelę
  • formularz - ukrywa zmienne nagłówkowe i tabelaryczne podane w parametrze
  • etykieta - ukrywa etykietę
Panel
titleWywołanie akcji
Info

Pozostawienie pustego pola wykonania warunkowego jest jednoznaczne z ustawieniem go na "prawdę".

Umiejscowienie akcjiDziałanie parametru "Wykonanie warunkowe"Warunek wywołania akcji
Tabela

Wywołuje akcję

Zmiana warunku Wykonania warunkowego na "prawdę"

ZmiennaWywołuje akcję

Zmiana warunku Wykonania warunkowego na "prawdę"

PrzyciskWywołuje akcję

Zmiana warunku Wykonania warunkowego na "prawdę"

FormularzWywołuje akcjęZmiana warunku Wykonania warunkowego na "prawdę"
EtykietaWywołuje akcjęZmiana warunku Wykonania warunkowego na "prawdę"
Panel
titleParametry konfiguracyjne
Nazwa parametruOpisTyp parametruWartość domyślnaRodzaj polaUwagi i ograniczenia
ZmienneZmienne nagłówkowe/tabelaryczne do ukryciaTablica zmiennych Pole edytowalneWidoczne tylko w przypadku przeniesienia akcji na formularz

Parametr*- pole wymagane

Panel
titlePrzykładowa konfiguracja

Panel
titleChange log

1.0.0

  • Dodanie komponentu

1.0.43

  • Zablokowanie umieszczenia akcji pod przyciskiem akceptacji

1.0.45

  • Przywrócenie możliwości umieszczenia akcji pod przyciskiem akceptacji

1.0.64

  • Możliwość ukrycia etykiety
Panel
titlePakiet z przykładowym formularzem wykorzystującym akcję

View file
nameTesty komponentów - akcje - [AKCJA] Ukrywanie elementów formularza 2019-10-14 10_22_29.zip
height250
 

Hide If
special@anonymous

Powiązane zadania

Aktualne

Archiwalne

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-256

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-449

JIRA
server192.168.1.52 JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyCUFCMP-367

English

← Return to the list of available actions

Info

If you have trouble understanding how the action works, check the descriptions: Action, Conditional execution, Component parameters

Panel
titleBasic information

Category: Appearance

Action location: Form, Table, Button, Variable, Label

Available from version: 1.0.0

Panel
titleDescription

The action hides the selected element (s) of the form. Elements that can be hidden are: variable, button, column in the table, table.

Warning

The action works only on "normal" buttons. So we will not hide e.g. the button to attach documents. The solution is to use the usual button with the document attach action.

Warning

The hiding action used on a variable is not synonymous with marking the variable as "hidden" in the PWE editor. Therefore, the variable is treated by the form as any other "visible" variable - for example, hiding the required "visible" variable with action will not make it cease to be included in the form validation.

Hiding occurs depending on the element on which we moved the table:

variable - hides the variable
button - hides the button
table - hides the table
form - hides header and table variables specified in the parameter
label - hides the label

 

Panel
titleAction execution
Warning

Leaving the conditional field blank is tantamount to setting it to "true."

Location of the actionOperation of the "Conditional execution" parameterCondition of calling the action
TableExecutes the actionChange of condition of Conditional Execution to "True"
VariableExecutes the actionChange of condition of Conditional Execution to "True"
ButtonExecutes the actionChange of condition of Conditional Execution to "True"
FormExecutes the actionChange of condition of Conditional Execution to "True"
LabelExecutes the actionChange of condition of Conditional Execution to "True"
Panel
titleConfiguration parameters
Name of the parameterDescriptionParameter typeDefault valueField typeNotes and restrictions
VariablesHeader / tabular variables to hideArray of variables Editable fieldVisible only when the action is transferred to the form

Parameter*- required field

Panel
titleSample configuration

Panel
titleChange log

1.0.0

  • Adding a component

1.0.43

  • Blocking the placement of actions under the accept button

1.0.45

  • Restoring the option of placing the action under the accept button

1.0.64

  • The label can be hidden