在哪里可以找到 Wicket Stuff 注释包?
在哪里可以找到 wicketstuff-annotation.jar
?它过去至少在 http://wicketstuff.org/maven/repository 的 Maven 存储库中可用但现在已经不存在了,而且 Wicket Stuff 主页也没有多大帮助。
具体来说,我需要 org.wicketstuff.annotation.mount.MountPath 因为我想要 可读 URL 在我的 Wicket 应用程序中,并以一种优雅的方式找到注释安装页面。 (我想知道为什么这种东西不包含在核心 Wicket 发行版中......)
(任何下载 jar 的地方都可以;我在当前项目中不使用 Maven。)
Where I can find wicketstuff-annotation.jar
? It's used to be available at least in a Maven repo at http://wicketstuff.org/maven/repository but that doesn't exist anymore, and the Wicket Stuff homepage is not very helpful either.
Specifically, I need org.wicketstuff.annotation.mount.MountPath
because I want readable URLs in my Wicket app and find annotations an elegant way to mount pages. (I wonder why this kind of stuff isn't included in core Wicket distribution...)
(Any place to download the jar from would be fine; I don't use Maven in current project.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以将页面安装在应用程序中的任何位置,通常是在
Application
的init()
方法中,例如:也就是说,如果您想使用注释包,它可以从 Maven Central 获取
You can just mount your pages anywhere in your application, typically in your
Application
'sinit()
method, like:That said, if you want to use the annotations package, it is available from Maven Central
Wicket 1.5 更新:
您应该使用方法 mountPage() 而不是 mountBookmarkablePage(),因为该方法已从 Wicket 1.5 中删除。
https://cwiki.apache.org/WICKET/migration-to-wicket -15.html
Update from Wicket 1.5:
You should use the method mountPage() instead of mountBookmarkablePage() as that method has been removed from Wicket 1.5.
https://cwiki.apache.org/WICKET/migration-to-wicket-15.html
这是URL。您可以点击Binary链接下载所需的jar。
This is the URL. You can click on Binary link to download the required jar.
今天,一位社区用户将该库升级到了 Wicket 1.5,因此它将可用于下一版本 (1.5-RC6)。在此之前,1.5 的用户可以从 Github 存储库使用它。
A community user today contributed an upgrade of the library to Wicket 1.5, so it will be available for next release (1.5-RC6). Until then the users of 1.5 can use it from Github repo.