Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for createItem (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

                itemList.add(createItem(entry.getKey(), entry.getValue()));
            }
            return itemList;
        }
    
        public static List<Map<String, String>> getPropItems() {
            final List<Map<String, String>> itemList = new ArrayList<>();
            for (final Map.Entry<Object, Object> entry : System.getProperties().entrySet()) {
                itemList.add(createItem(entry.getKey(), entry.getValue()));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC));
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_digest"), Constants.DIGEST));
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_ntlm"), Constants.NTLM));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

            final Locale locale = ComponentUtil.getRequestManager().getUserLocale();
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.file_auth_scheme_samba"), Constants.SAMBA));
            itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.file_auth_scheme_ftp"), Constants.FTP));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            for (final WebConfig webConfig : webConfigList) {
                itemList.add(createItem(webConfig.getName(), webConfig.getId().toString()));
            }
            RenderDataUtil.register(data, "webConfigItems", itemList);
        }
    
        protected Map<String, String> createItem(final String label, final String value) {
            final Map<String, String> map = new HashMap<>(2);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

                    entity.setOriginalPassword(form.password);
                    entity.setPassword(encodedPassword);
                }
                return entity;
            });
        }
    
        protected Map<String, String> createItem(final String label, final String value) {
            final Map<String, String> map = new HashMap<>(2);
            map.put(Constants.ITEM_LABEL, label);
            map.put(Constants.ITEM_VALUE, value);
            return map;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  6. src/main/webapp/css/admin/html5shiv.min.js

    c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createEleme...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Dec 31 23:16:54 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  7. docs_src/response_status_code/tutorial002.py

    from fastapi import FastAPI, status
    
    app = FastAPI()
    
    
    @app.post("/items/", status_code=status.HTTP_201_CREATED)
    async def create_item(name: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 173 bytes
    - Viewed (0)
  8. docs_src/separate_openapi_schemas/tutorial002.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
    
    
    app = FastAPI(separate_input_output_schemas=False)
    
    
    @app.post("/items/")
    def create_item(item: Item):
        return item
    
    
    @app.get("/items/")
    def read_items() -> List[Item]:
        return [
            Item(
                name="Portal Gun",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 25 19:10:22 UTC 2023
    - 524 bytes
    - Viewed (0)
  9. docs_src/path_operation_advanced_configuration/tutorial006.py

                                "description": {"type": "string"},
                            },
                        }
                    }
                },
                "required": True,
            },
        },
    )
    async def create_item(request: Request):
        raw_body = await request.body()
        data = magic_data_reader(raw_body)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jul 29 20:01:13 UTC 2021
    - 1K bytes
    - Viewed (0)
  10. docs_src/response_model/tutorial001_py39.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: list[str] = []
    
    
    @app.post("/items/", response_model=Item)
    async def create_item(item: Item) -> Any:
        return item
    
    
    @app.get("/items/", response_model=list[Item])
    async def read_items() -> Any:
        return [
            {"name": "Portal Gun", "price": 42.0},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 07 13:45:48 UTC 2023
    - 556 bytes
    - Viewed (0)
Back to top