- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 492 for Form (0.01 sec)
-
docs/ru/docs/tutorial/request-form-models.md
Этот функционал доступен с версии `0.113.0`. 🤓 /// ## Pydantic-модель для формы Вам просто нужно объявить **Pydantic-модель** с полями, которые вы хотите получить как **поля формы**, а затем объявить параметр как `Form`: {* ../../docs_src/request_form_models/tutorial001_an_py39.py hl[9:11,15] *} **FastAPI** **извлечёт** данные для **каждого поля** из **данных формы** в запросе и выдаст вам объявленную Pydantic-модель.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri May 30 13:17:36 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/en/docs/tutorial/request-form-models.md
<div class="screenshot"> <img src="/img/tutorial/request-form-models/image01.png"> </div> ## Forbid Extra Form Fields { #forbid-extra-form-fields } In some special use cases (probably not very common), you might want to **restrict** the form fields to only those declared in the Pydantic model. And **forbid** any **extra** fields. /// note This is supported since FastAPI version `0.114.0`. 🤓 ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
*/ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, () -> asListHtml(form.dictId)); stopwordsService.getStopwordsItem(form.dictId, form.id).ifPresent(entity -> { form.input = entity.getInputValue(); }).orElse(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java
op.setup(form -> { form.initialize(); form.crudMode = CrudMode.CREATE; }); }); } /** * Displays the form for editing an existing duplicate host configuration. * * @param form the edit form containing the duplicate host ID * @return HTML response for the duplicate host edit form */ @Execute
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
validate(form, messages -> {}, () -> asListHtml(form.dictId)); kuromojiService.getKuromojiItem(form.dictId, form.id).ifPresent(entity -> { copyBeanToBean(entity, form, op -> {}); }).orElse(() -> { throwValidationError(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, form.getDisplayId()), () -> asListHtml(form.dictId)); });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java
searchPaging(data, form); }); } /** * Searches key matches based on the form criteria. * * @param form the search form * @return HTML response for the search results */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse search(final SearchForm form) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java
* Create a new data config. * @param form The create form. * @return The HTML response. */ @Execute @Secured({ ROLE }) public HtmlResponse create(final CreateForm form) { verifyCrudMode(form.crudMode, CrudMode.CREATE); validate(form, messages -> {}, this::asEditHtml); verifyToken(this::asEditHtml); getDataConfig(form).ifPresent(entity -> { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java
*/ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, () -> asListHtml(form.dictId)); synonymService.getSynonymItem(form.dictId, form.id).ifPresent(entity -> { form.inputs = entity.getInputsValue(); form.outputs = entity.getOutputsValue(); }).orElse(() -> {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java
* Show the edit page. * @param form The edit form. * @return The HTML response. */ @Execute @Secured({ ROLE }) public HtmlResponse edit(final EditForm form) { validate(form, messages -> {}, this::asListHtml); final String id = form.id; accessTokenService.getAccessToken(id).ifPresent(entity -> { copyBeanToBean(entity, form,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
searchPaging(data, form); }); } /** * Searches label types based on the form criteria. * * @param form the search form * @return HTML response for the search results */ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse search(final SearchForm form) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.5K bytes - Viewed (0)