Re: Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Tobias Soloschenko
Hi, would you be so kind and apply some more information like StackTrace of the interal server error. Thanks a lot. kind regards Tobias. Am 04.02.15 um 20:05 schrieb Chris: Sven, I have an additional situation where I am getting an internal error. Could you help me in figuring out the

Re: Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Chris
Hi Tobias - sorry, here it is: Last cause: mycompany.DeleteItem cannot be cast to java.lang.String WicketMessage: Method onRequest of interface org.apache.wicket.behavior.IBehaviorListener targeted at com.googlecode.wicket.jquery.ui.interaction.selectable.SelectableBehavior$1@127d9785 on

Re: Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Sven Meier
Hi, you're using a DeleteItem as payload of the event: send(getPage(), Broadcast.BREADTH, new DeleteItem(target)); Yet in #onRemove() you're casting the payload to a String: java.lang.ClassCastException: tripplanner.mycompany.DeleteItem cannot be cast to java.lang.String

Re: Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Chris
Sven, I have an additional situation where I am getting an internal error. Could you help me in figuring out the problem? Panel A senses the selection of an item from a user and adds the „sortable“ as container to the ajax target. In addition, Panel B should be added to the ajax target, using

Re: Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Chris
Hi Sven, thanks. The onRemove method is from the class com.googlecode.wicket.jquery.ui.interaction.sortable.Sortable: @Override public void onRemove(AjaxRequestTarget target, String item) { super.onRemove(target, item); } Why is the payload processed in this method, as it takes the target

Re: Clicking a button should fire a 'CSS event'

2015-02-04 Thread Chris
Hi Martin, dear all. thanks for the hint, I tried it the following way (see below). However, when #isTemporary returns true and the page is loaded afterwards, the attribute is not appended to the marker component. This only happens when setting it to false which has the disadvantage that this

Re: Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Grün Christoph
Sven - thank you. That solved it! Am 04.02.2015 um 14:14 schrieb Sven Meier s...@meiers.net: Your container has to output its markup id: container.setOutputMarkupId() Regards Sven On 04.02.2015 14:11, Chris wrote: Hi, When the user clicks on a certain icon, a specific

Re: Wicket JQuery Selectable Sortable combined

2015-02-04 Thread Chris
Hi Sebastien, how is it possible to call the #onRemove from the #onSelect method as the sortable is not created at that moment in order to remove the selected item? @Override public void onSelect(AjaxRequestTarget target, ListString items) { info(selected + items); target.add(feedback);

Re: Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Sven Meier
Your container has to output its markup id: container.setOutputMarkupId() Regards Sven On 04.02.2015 14:11, Chris wrote: Hi, When the user clicks on a certain icon, a specific part of the page should be reloaded through ajax. The icon is part of a panel, the specific part is a

Ajax - render Webmarkup-Container based on Wicket Events

2015-02-04 Thread Chris
Hi, When the user clicks on a certain icon, a specific part of the page should be reloaded through ajax. The icon is part of a panel, the specific part is a webmarkupcontainer added directly to the page. I am using Wicket Events to push the click event. However, when adding the web markup

[ANNOUNCE] Apache Wicket 7.0.0-M5 Released

2015-02-04 Thread Andrea Del Bene
The Apache Wicket PMC is proud to announce Apache Wicket 7.0.0-M5! We have released another milestone release for Apache Wicket 7. We aim to finalize Wicket 7 over the coming months and request your help in testing the new major version. Caveats --- It is still a development version so

[ANNOUNCE] Apache Wicket 6.19.0 Released

2015-02-04 Thread Andrea Del Bene
The Apache Wicket PMC is proud to announce Apache Wicket 6.19.0! This is the nineteenth maintenance release of the Wicket 6.x series. This release brings 28 bug fixes and improvements. Starting with Wicket 6 we use semantic versioning for the future development of Wicket, and as such no API