[SOLVED] Re: PropertyModel / PropertyResolver / Map or List access

2014-11-07 Thread Patrick Davids
Hi Sven, Hi Paul, thanx, now its working. I thought the PropertyModel/PropertyResolver will unpack the model-object itself, so there is no need to adress getObject by .object. Maybe a small note in javadoc could help others not running into this issue. So... All ways (mentioned in javadoc) are

Wicket-Ajax-BaseURL encoding problem when uploading file using ajax

2014-11-07 Thread Daniel Stoch
Hi, I have a strange error when uploading file using ajax request. I have a page with parameters whit url like: http://localhost:8080/myapp/customer/id/1234 When I am opening a modal window with upload form the Wicket-Ajax-BaseURL is: customer/id/1234?1 and all links in ajax response are

Re: Wicket-Ajax-BaseURL encoding problem when uploading file using ajax

2014-11-07 Thread Daniel Stoch
I think the problem is in POST request when submitting a form. In wicket-ajax-jquery.js wicket-ajax-baseurl parametr is appended to request url. It is encoded using Wicket.Form.encode: form.action = attrs.u + separator + wicket-ajax=truewicket-ajax-baseurl= +

CircularDependencyException when upgrading from Wicket 6.9.0 to 6.10.0

2014-11-07 Thread Tom Götz
Hi there, I’m trying to upgrade some semi-legacy app to the current Wicket version. I discovered that I get a CircularDependencyException when upgrading from 6.9.0 to 6.10.0 without any code changes. I created a quickstart based on Wicket 6.10.0 that throws the exception when opening the home

hiding a bit of markup

2014-11-07 Thread Garret Wilson
All, I have a little list in HTML: ul lifoo/li libar/li /ul There are some wicket:message tags, but no components on the page. I want only to show the foo list item if the flag variable is set to true. What's the easiest way to do this in Wicket? I've read the

Re: hiding a bit of markup

2014-11-07 Thread Garret Wilson
Haha! OK, this was simple---my brain apparently hasn't got started yet. I can use a WebMarkup container, and I don't have to add any HTML---I can add the wicket:id on the li itself: ul li wicket:id=flagItemfoo/li libar/li /ul Duh! The code looks like this: add(new

Re: hiding a bit of markup

2014-11-07 Thread Patrick Davids
Hi Garret, did you try this? ul li wicket:id=foofoo/li libar/li /ul Everything can be a WebMarkupContainer. No need to always use divs or spans. have a nice weekend Patrick Am 07.11.2014 17:32, schrieb Garret Wilson: All, I have a little list in HTML: ul lifoo/li

Re: hiding a bit of markup

2014-11-07 Thread Adam Hammer
Hi garret In onconfigure of your panel, Setvisibility of foo based on flag there. Every time page loads or Ajax includes panel it'll handle the visibility. Adam On Nov 7, 2014 8:33 AM, Garret Wilson gar...@globalmentor.com wrote: All, I have a little list in HTML: ul lifoo/li

Re: CircularDependencyException when upgrading from Wicket 6.9.0 to 6.10.0

2014-11-07 Thread Andrea Del Bene
It should be a bug: https://issues.apache.org/jira/browse/WICKET-5752 Hi there, I’m trying to upgrade some semi-legacy app to the current Wicket version. I discovered that I get a CircularDependencyException when upgrading from 6.9.0 to 6.10.0 without any code changes. I created a quickstart