Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Martin Grigorov
Hi Petr, How do you register this JS execution ? You should do it in AjaxCallListener#afterHandler because if you do it earlier then form submit wont sent the values for disabled fields. On Thu, May 23, 2013 at 12:39 AM, Petr Zajac petr.za...@gmail.com wrote: Hi Martin, thanks for the quick

Re: Component:continueToOriginalDestination to pass parameters to original page

2013-05-23 Thread Martin Grigorov
Hi, No. At the moment there is no such API. The collected parameters during the interception will be used. On Thu, May 23, 2013 at 8:24 AM, glidek glidekensing...@gmail.com wrote: When Component:continueToOriginalDestination() is called, is there a way to pass parameters to the original

Re: when i click the link quickly in my page,then will show the wrong page

2013-05-23 Thread Martin Grigorov
Hi, Check your server logs. Most probably the current page is not stored due to some error, e.g. not serializable object in the page. On Thu, May 23, 2013 at 8:56 AM, fan wang xingfan_w...@live.cn wrote: in my project,i have a menu in my page,but when i click the menu quickly,the will show

Re: Revisit WICKET-2684?

2013-05-23 Thread Martin Grigorov
Hi, You can override org.apache.wicket.model.CompoundPropertyModel#propertyExpression and use something else, not the component id. On Wed, May 22, 2013 at 4:49 PM, John Krasnay j...@krasnay.ca wrote: WICKET-2684 is titled 'Provide a way to disable Child component has a non-safe child id'.

[ANNOUNCE] WicketStuff 6.8.0 is released

2013-05-23 Thread Martin Grigorov
Hi, WicketStuff core 6.8.0 based on Apache Wicket 6.8.0 is released and shortly will be available in Maven Central. The changelog for this release is: Martin Tzvetanov Grigorov (5): [gmap3] Issue #210 - Added GIcon constructor with char parameter Use Wicket 6.8.0-SNAPSHOT

REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Dirk Forchel
For security reasons we've added a filter to our web application which invalidates session if the session ID is exposed in the URL (disable JSessionID URL encoding). We only accept HttpSession creation if the user allows cookies. But this may be a problem for web crawlers (e.g. Google bot), as

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Sven Meier
Please attach a quickstart to a new jira issue showing the difference between 6.7.0 and 6.8.0. Thanks Sven On 05/23/2013 11:41 AM, Dirk Forchel wrote: For security reasons we've added a filter to our web application which invalidates session if the session ID is exposed in the URL (disable

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Dirk Forchel
A simple quickstart application running with Wicket 6.8.0 and Jetty and two mounted pages (stateless?) do not trigger the problem. It might be more difficult to figure out what causes the redirect. Any hint? -- View this message in context:

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Martin Grigorov
On Thu, May 23, 2013 at 1:18 PM, Dirk Forchel dirk.forc...@exedio.comwrote: A simple quickstart application running with Wicket 6.8.0 and Jetty and two mounted pages (stateless?) do not trigger the problem. It might be more difficult to figure out what causes the redirect. Any hint? Clone

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Petr Zajac
Hi, the JS is registered in @Override public void renderHead(IHeaderResponse response) { ClientSettings settings = new ClientSettings(getMarkupId()); response.render(OnDomReadyHeaderItem.forScript(new IJC.LoginForm( + settings.toJson() + );)); } of panel with the

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Martin Grigorov
Hi, Just re-read your previous message. I see now: $submitBtn.click(function(e) {... So you have two listeners on 'click' event on this button. Depending on which one is executed first the data will be send or not. By moving this logic in onAfter() handler you can be sure that the data is

JQuery contribution question

2013-05-23 Thread heikki
hello list, the way things work with Wicket-provided contributions confuses me a bit. I'm using Wicket 6.5. What I'd like to achieve is: a single jQuery library available in my page. Whether or not my page includes jQuery-contributing Wicket components like the Ajax components: I need jQuery

Re: JQuery contribution question

2013-05-23 Thread Martin Grigorov
Hi, Check https://cwiki.apache.org/confluence/display/WICKET/Wicket+Ajax#WicketAjax-Setup You can contribute JavaScriptHeaderItem.forReference(app.getJavaScriptLibrarySettings().getJQueryReference()); You can do this in a global header contributor: app.getHeaderContributors().add(new

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Petr Zajac
Hi, after fighting with registration AjaxCallListener to AjaxSubmitLink it works fine now. :-) Thanks Petr Dne 23.5.2013 13:13, Martin Grigorov napsal(a): Hi, Just re-read your previous message. I see now: $submitBtn.click(function(e) {... So you have two listeners on 'click' event on this

Re: JQuery contribution question

2013-05-23 Thread Raul
Hello, I also need to upgrade the version of jQuery to 1.9.1, I do it with getJavaScriptLibrarySettings (). setJQueryReference (resource), but I have some problems running this version with AjaxEventBehavior. -- View this message in context:

Re: REDIRECT_TO_BUFFER render strategy and Wicket 6.8.0

2013-05-23 Thread Dirk Forchel
Unfortunately I can not build the package. Any help would be appreciated. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test) on project wicket-core: There are test failures. [ERROR] [ERROR] Please refer to

DatePicker doesn't work in the WSRP portlet

2013-05-23 Thread jhi
Hi all, I'm developing WicketPortlet which will be used via WSRP. I'm using GateIn 3.5 as a producer and a consumer. DatePicker works fine when I use portlet straight from the producer portal, but when I try to use it via WSRP something goes wrong. It try to load following file

Re: DatePicker doesn't work in the WSRP portlet

2013-05-23 Thread jhi
I forgot to mention that the Wicket version is 1.4.22. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DatePicker-doesn-t-work-in-the-WSRP-portlet-tp4659006p4659007.html Sent from the Users forum mailing list archive at Nabble.com.