[
https://issues.apache.org/jira/browse/ISIS-815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14063760#comment-14063760
]
Dan Haywood commented on ISIS-815:
----------------------------------
Hi Martin,
Just double checked, is definitely an issue.
Possibly a bit large for an example, but the todo app demonstrates the issue.
to set up:
- pull down from snapshot (eg
https://github.com/apache/isis/tree/27e2596c475ee380c78c3a17e9cd8cb33f968f6e)
- mvn clean install // to build everything, then
- cd example/application/quickstart_wicket_restful_jdo
cd webapp
mvn jetty:run
... should run fine, and should be able to navigate to
http://localhost:8080/quickstart_wicket_restful_jdo-webapp/wicket (can login
using sven/pass, though no need)
Now, edit IsisWicketApplication, change:
@Override
protected void internalInit() {
setResourceSettings(new IsisResourceSettings(this));
super.internalInit();
}
@Override
protected void init() {
...
}
to:
@Override
protected void internalInit() {
super.internalInit();
}
@Override
protected void init() {
setResourceSettings(new IsisResourceSettings(this));
...
}
when run the app and hit the same URL, hit a redirect loop.
> Internationalization of Wicket UI elements (edit, ok, cancel, logout, about)
> ----------------------------------------------------------------------------
>
> Key: ISIS-815
> URL: https://issues.apache.org/jira/browse/ISIS-815
> Project: Isis
> Issue Type: Improvement
> Components: Viewer: Wicket
> Affects Versions: viewer-wicket-1.5.0
> Reporter: Dan Haywood
> Assignee: Dan Haywood
> Priority: Minor
> Fix For: viewer-wicket-1.6.0
>
>
> Using Wicket's built-in i18n capabilities, but tweaked so that
> application-scoped properties override page-scope properties (rather than
> other way around)
--
This message was sent by Atlassian JIRA
(v6.2#6252)