How to manage redirects using rewrite maps

2012-06-02 Thread Jan Riehn
Hello, we use a tomcat behind a apache. we also use mod_rewrite proxy rules to manage requests from the apache to the tomcat. Our wicket application modifies the location header: curl -I http://wicket-application/application-context/login HTTP/1.1 302 Moved Temporarily Date: Wed, 30 May

Refresh listItem only of listView

2012-06-02 Thread kshitiz
Hi, I have a scenario like this: ListViewUserTypeDomain userTypeDomainListView = new ListViewUserTypeDomain( userType, userTypeDomainList) { protected void populateItem(final ListItemUserTypeDomain listItem) {

Re: Refresh listItem only of listView

2012-06-02 Thread Sebastien
Hi, Well, you do not tell a much about the issue... So, several possible answers are: - You cannot add the listview in the target as it is a repeater, you should add its (or one of its) parent. - If you change the list, is your list a model ? (userTypeDomainList) Regards, Sebastien. On Sat,

Re: Refresh listItem only of listView

2012-06-02 Thread kshitiz
Hi, Yes...actually userTypeDomainList is a list of domain objects. I am creating view from this list, where each item of the view has saveral components. Now, on updating a component, i want to update its respective item, rather than whole listview. Do I need to put that item in a container to

Re: Refresh listItem only of listView

2012-06-02 Thread Sebastien
Hi again, Except if I am wrong, you cannot re-render just one listitem. If you are going to change the content of one of the listitem's model object, you will have to re-render the listview (by re-attaching its parent to the target). Now, if the list does not change (meaning, you are not going to

Re: Wicket page has a redirect loop

2012-06-02 Thread Martin Grigorov
Hi, I guess 'markupProvider' is null. This is improved in 1.5.7 to not fail with NPE. But even in 1.5.7 your app will fail with : throw new MarkupNotFoundException(No Markup found for Fragment + markupId + in providing markup container +