{"id":15952520,"url":"https://github.com/try0/wicket-toastr","last_synced_at":"2026-03-05T21:33:26.924Z","repository":{"id":52592066,"uuid":"147343370","full_name":"try0/wicket-toastr","owner":"try0","description":"Apache Wicket utilities for using toastr.","archived":false,"fork":false,"pushed_at":"2024-07-18T15:21:03.000Z","size":285,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"wicket-10.x","last_synced_at":"2025-07-12T01:48:07.384Z","etag":null,"topics":["display-toast","feedback-message","java","toast-component","toastr","wicket"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/try0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-04T12:35:19.000Z","updated_at":"2024-12-28T08:56:12.000Z","dependencies_parsed_at":"2024-04-09T12:43:48.302Z","dependency_job_id":"7ec9cb7b-2c16-4bea-92f3-a86d12bd9f45","html_url":"https://github.com/try0/wicket-toastr","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/try0/wicket-toastr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/try0%2Fwicket-toastr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/try0%2Fwicket-toastr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/try0%2Fwicket-toastr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/try0%2Fwicket-toastr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/try0","download_url":"https://codeload.github.com/try0/wicket-toastr/tar.gz/refs/heads/wicket-10.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/try0%2Fwicket-toastr/sbom","scorecard":{"id":900174,"data":{"date":"2025-08-11","repo":{"name":"github.com/try0/wicket-toastr","commit":"efd50e02c0b836c6da1f38dd3257a643c7d69990"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/maven.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/try0/wicket-toastr/maven.yml/wicket-10.x?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/maven.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/try0/wicket-toastr/maven.yml/wicket-10.x?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'wicket-10.x'","Warn: branch protection not enabled for branch 'wicket-9.x'","Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-vv7r-c36w-3prj","Warn: Project is vulnerable to: GHSA-9cxr-76pm-j3wf","Warn: Project is vulnerable to: GHSA-hhwc-gh8h-9rrp","Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T15:17:35.458Z","repository_id":52592066,"created_at":"2025-08-24T15:17:35.458Z","updated_at":"2025-08-24T15:17:35.458Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30150488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T21:15:50.531Z","status":"ssl_error","status_checked_at":"2026-03-05T21:15:11.173Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["display-toast","feedback-message","java","toast-component","toastr","wicket"],"created_at":"2024-10-07T13:08:56.922Z","updated_at":"2026-03-05T21:33:26.897Z","avatar_url":"https://github.com/try0.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wicket-toastr\r\n\r\n\r\n[![Build Status](https://travis-ci.org/try0/wicket-toastr.svg?branch=develop)](https://travis-ci.org/try0/wicket-toastr) \r\n[![codecov](https://codecov.io/gh/try0/wicket-toastr/branch/develop/graph/badge.svg)](https://codecov.io/gh/try0/wicket-toastr) \r\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=try0_wicket-toastr\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=try0_wicket-toastr) \r\n[![Maven Central](https://img.shields.io/maven-central/v/jp.try0.wicket/wicket-toastr-core.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22jp.try0.wicket%22%20AND%20a:%22wicket-toastr-core%22) \r\n[![Javadocs](https://www.javadoc.io/badge/jp.try0.wicket/wicket-toastr-core.svg?color=lightgrey)](https://www.javadoc.io/doc/jp.try0.wicket/wicket-toastr-core)\r\n\r\n\r\n[Apache Wicket](https://wicket.apache.org/) utilities for using [toastr](https://codeseven.github.io/toastr/) which is a library of a simple javascript toast notification.  \r\nJust add behavior to the component, and you can display toast.\r\nThis behavior uses a wicket feedback message system.  \r\nAlso, you can display toast manually without using a feedback message.\r\n\r\n\r\n## Version\r\n|  |toastr  |wicket  |\r\n|--:|--:|--:|\r\n|3.0.0  |2.1.4  |10.x  |\r\n|2.0.0  |2.1.4  |9.x  |\r\n|1.0.2  |2.1.4  |8.x  |\r\n\r\n\r\n## Demo\r\nDeployed wicket-toastr-samples module.  \r\n[demo](https://try0.jp/app/wicket-toastr-samples/)\r\n\r\n\r\n## Usage\r\n\r\n### Maven\r\n\r\nWicket10\r\n```xml\r\n\u003cdependency\u003e\r\n    \u003cgroupId\u003ejp.try0.wicket\u003c/groupId\u003e\r\n    \u003cartifactId\u003ewicket-toastr-core\u003c/artifactId\u003e\r\n    \u003cversion\u003e3.0.0\u003c/version\u003e\r\n\u003c/dependency\u003e\r\n```\r\n\r\nWicket9\r\n```xml\r\n\u003cdependency\u003e\r\n    \u003cgroupId\u003ejp.try0.wicket\u003c/groupId\u003e\r\n    \u003cartifactId\u003ewicket-toastr-core\u003c/artifactId\u003e\r\n    \u003cversion\u003e2.0.0\u003c/version\u003e\r\n\u003c/dependency\u003e\r\n```\r\n\r\nWicket8\r\n```xml\r\n\u003cdependency\u003e\r\n    \u003cgroupId\u003ejp.try0.wicket\u003c/groupId\u003e\r\n    \u003cartifactId\u003ewicket-toastr-core\u003c/artifactId\u003e\r\n    \u003cversion\u003e1.0.2\u003c/version\u003e\r\n\u003c/dependency\u003e\r\n```\r\n\r\n### Initialize Settings\r\nYou can set default values, in the application initialize process(Application#init).\r\n```java\r\nToastrSettings.createInitializer(this)\r\n.setAutoAppendBehavior(true)\r\n.setMessageFilter(filter)\r\n.setToastrBehaviorFactory(factory)\r\n.initialize();\r\n```\r\n\r\n\r\n### Display toast using ToastrBehavior\r\n\r\nadd ToastrBehavior to any of the components on the page\r\n```java\r\nadd(new ToastrBehavior());\r\n```\r\nor set true to setAutoAppendBehavior on initialize settings\r\n```java\r\nToastrSettings.createInitializer(this)\r\n.setAutoAppendBehavior(true)\r\n```\r\n\r\nComponent#success(Serializable), Session#success(Serializable)  \r\n⇒ success toast  \r\n\u003cimg alt=\"toast_success\" src=\"https://user-images.githubusercontent.com/17096601/45070139-dd932f00-b10a-11e8-8c8a-b539945fcdc1.png\" width=\"350px\"\u003e\r\n\r\nComponent#info(Serializable), Session#info(Serializable)  \r\n⇒ info toast  \r\n\u003cimg alt=\"toast_info\" src=\"https://user-images.githubusercontent.com/17096601/45070137-dd932f00-b10a-11e8-85ec-03036d325299.png\" width=\"350px\"\u003e\r\n\r\nComponent#warn(Serializable), Session#warn(Serializable)  \r\n⇒ warn toast  \r\n\u003cimg alt=\"toast_warn\" src=\"https://user-images.githubusercontent.com/17096601/45070136-dd932f00-b10a-11e8-85b8-69ff6accf8e1.png\" width=\"350px\"\u003e\r\n\r\nComponent#error(Serializable), Session#error(SerializableSerializable)  \r\nComponent#fatal(Serializable), Session#fatal(Serializable)  \r\n⇒ error toast  \r\n\u003cimg alt=\"toast_error\" src=\"https://user-images.githubusercontent.com/17096601/45070135-dcfa9880-b10a-11e8-8b32-9f1741bb2925.png\" width=\"350px\"\u003e\r\n\r\n### Display toast manually\r\nIn this case, it needs an instance of the class that implemented IHeaderResponse or AjaxRequestTarget.\r\n\r\n```java\r\nToast.create(toastLevel, message)\r\n.show(target);\r\n```\r\n\r\n### Others\r\n#### With title\r\n```java\r\nToast.create(toastLevel, message)\r\n.withTitle(title)\r\n.show(target);\r\n```\r\n\r\n#### With options\r\nOverrides global options.\r\n```java\r\nToast.create(toastLevel, message)\r\n.withToastOptions(options)\r\n.show(target);\r\n```\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftry0%2Fwicket-toastr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftry0%2Fwicket-toastr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftry0%2Fwicket-toastr/lists"}