Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 475 for FORM (0.24 sec)

  1. docs_src/request_files/tutorial002_an.py

    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    <form action="/uploadfiles/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    </body>
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 861 bytes
    - Viewed (0)
  2. docs_src/request_files/tutorial003.py

    
    @app.get("/")
    async def main():
        content = """
    <body>
    <form action="/files/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    <form action="/uploadfiles/" enctype="multipart/form-data" method="post">
    <input name="files" type="file" multiple>
    <input type="submit">
    </form>
    </body>
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 913 bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/webauth/admin_webauth_edit.jsp

                                            <la:text styleId="hostname" property="hostname" styleClass="form-control"/>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="port" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.webauth_port"/></label>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

        @Execute
        public ActionResponse index(final CacheForm form) {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            try {
                doc = searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getCacheResponseFields(), getUserBean()).orElse(null);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/request-forms.md

    # 表单数据
    
    接收的不是 JSON,而是表单字段时,要使用 `Form`。
    
    !!! info "说明"
    
        要使用表单,需预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。
    
        例如,`pip install python-multipart`。
    
    ## 导入 `Form`
    
    从 `fastapi` 导入 `Form`:
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    ## 定义 `Form` 参数
    
    创建表单(`Form`)参数的方式与 `Body` 和 `Query` 一样:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java

        @Execute
        public ActionResponse index(final ThumbnailForm form) {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            final Map<String, Object> doc =
                    searchHelper.getDocumentByDocId(form.docId, queryFieldConfig.getResponseFields(), getUserBean()).orElse(null);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/view/admin/fileauth/admin_fileauth_edit.jsp

                                            <la:text styleId="hostname" property="hostname" styleClass="form-control"/>
                                        </div>
                                    </div>
                                    <div class="form-group row">
                                        <label for="port" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.file_auth_port"/></label>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 13 07:47:04 GMT 2020
    - 7.9K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/scheduler/admin_scheduler_edit.jsp

                                        <div class="form-inline col-sm-9">
                                            <la:errors property="jobLogging"/>
                                            <div class="form-check">
                                                <la:checkbox styleId="jobLogging" styleClass="form-check-input" property="jobLogging"/>
                                                <label for="jobLogging" class="form-check-label">
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 16 12:54:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/searchlog/AdminSearchlogAction.java

        @Execute
        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            searchLogService.getSearchLog(form.logType, form.id).alwaysPresent(e -> {
                searchLogService.deleteSearchLog(e);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/request-forms.md

    !!! info
        `Form` is a class that inherits directly from `Body`.
    
    !!! tip
        To declare form bodies, you need to use `Form` explicitly, because without it the parameters would be interpreted as query parameters or body (JSON) parameters.
    
    ## About "Form Fields"
    
    The way HTML forms (`<form></form>`) sends the data to the server normally uses a "special" encoding for that data, it's different from JSON.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top