Re: Wicket 6: Using AutoCompleteBehavior with other behaviors
Sven Meier wrote Your first problem is a regression, see WICKET-1280. Please open a jira issue. Sven On 01/18/2013 04:45 AM, james yong wrote: Hi, Now migrating a working project from wicket version 1.4 to 6.4. I have a text field that uses the following behaviors: A. AjaxFormComponentUpdatingBehavior(onchange); B. AutoCompleteBehavior; and C. AjaxFormComponentUpdatingBehavior(onkeypress). Say I enter an letter 'U' into the text field, and an auto-suggest list pops up. There are 2 problems which is not seen in wicket 1.4: 1) When I select an item (e.g. USD) from the auto-suggest list using a mouse, the onchange event from behavior A is fired twice. The 1st onchange event is for 'U' and the 2nd onchange event is for 'USD'. Can I prevent the 1st onchange event from happening? 2) When I select an item (e.g. USD) from the auto-suggest list using the Enter keypress, an onkeypress event is fired by behavior C. Can I prevent this onkeypress event from happening? Regards, James Thanks. For problem 1, I have raised a JIRA issue, WICKET-4990 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Using-AutoCompleteBehavior-with-other-behaviors-tp4655495p4655497.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
jqwicket questions
Hi, Jqwicket has several components that I would like to use (CKEditor, MaskedInput, maybe later other), but I see some issues: 1. Is there an option to use jqwicket components (maybe other project?) without incorporating/integrating jqwicket jquery? If not, then: 2. When I want to use jqwicket with custom jQuery (local copy) using constructor with JS resource reference I get url cannot be empty or null exception. See http://code.google.com/p/jqwicket/issues/detail?id=29 In fact when you use JS resource reference constructor core jquery url var is left null. Is is possible to use jqwicket with custom jquery without problems? I saw on the home page that newest 0.8 version supports Wicket 1.5.3. Maybe it is connected, as I use newer Wicket version (1.5.9). 3. I cannot use custom jquery so I configure non-conflicting alias with JQContributionConfig().enableNonConflictMode( jq ).withDefaultJQueryUi(); It seems that components are working, but I see in wicket debug window JS error saying that jq is not defined. For Jqwicket behavior I see no error. Best regards, Michal Wegrzyn
Re: Wicket 6+ through JSONP tunneling
Maybe you should use GWT instead... Michael MattyDE ufer.mar...@gmail.com schrieb: We have to implement a Wicket-driven webapp which could be easily included in any other customer HTML-WebPage without a java-driven webserver (could be also php or only html or anything else). My first idea: iframe. But iframes are not allowed cause of accessibly for handicaped people. My second one (and last): JSONP. So on customer-side the customer just has to include a script-Tag to our java-wicket-webserver and we let wicket submit the rendered page output to json, transfering it back to the customer, on which side the json would be unpacked, interpreted and injected. But what is with the user-actions on this side. They all have to be transfered through JSONP again back to our java-server and so on. Did anybody of you did this before? Any ideas how to pack the rendered page-markup in json (should i implement my own WicketFilter?) Thanks in Advance for any help, and apologise for my horrible English. Its not my mothers tongue. - Matt -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-through-JSONP-tunneling-tp4655501.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Re: Wicket 6+ through JSONP tunneling
Hi, More and more people ask for this. It is an interesting problem. You wont need the markup of a page but more likely the markup of a Panel. Let's say that there is a way to transfer the page HTML back. Then the next problem that I see is that you will have to trap all events triggered from the Wicket code. For example: - clicking on non-Ajax link will reload the whole host page, not just the Wicket area - Ajax requests should be suppressed completely and replaced with JSONP ones I guess there are many other problems which will arise. Using any other technology will have similar problems. On Fri, Jan 18, 2013 at 12:56 PM, MattyDE ufer.mar...@gmail.com wrote: We have to implement a Wicket-driven webapp which could be easily included in any other customer HTML-WebPage without a java-driven webserver (could be also php or only html or anything else). My first idea: iframe. But iframes are not allowed cause of accessibly for handicaped people. My second one (and last): JSONP. So on customer-side the customer just has to include a script-Tag to our java-wicket-webserver and we let wicket submit the rendered page output to json, transfering it back to the customer, on which side the json would be unpacked, interpreted and injected. But what is with the user-actions on this side. They all have to be transfered through JSONP again back to our java-server and so on. Did anybody of you did this before? Any ideas how to pack the rendered page-markup in json (should i implement my own WicketFilter?) Thanks in Advance for any help, and apologise for my horrible English. Its not my mothers tongue. - Matt -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-through-JSONP-tunneling-tp4655501.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: Wicket 6+ through JSONP tunneling
Yeah you right Martin. But, dont get it wrong, we would develop this app exactly for this purpose. So there would be no non-ajax links for example. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-through-JSONP-tunneling-tp4655501p4655505.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket 6+ through JSONP tunneling
I think I can see how such application can be made. It will be much simpler with cross origin Ajax requests using Wicket.Ajax JavaScript APIs. I'll experiment with it soon and if it works it would be a nice blog article for www.wicketinaction.com On Fri, Jan 18, 2013 at 1:48 PM, MattyDE ufer.mar...@gmail.com wrote: Yeah you right Martin. But, dont get it wrong, we would develop this app exactly for this purpose. So there would be no non-ajax links for example. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-through-JSONP-tunneling-tp4655501p4655505.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: Wicket 6+ through JSONP tunneling
AFAIK a GTW app is nothing more then a script and a div tag on the client page.. dont know which protocoll GWT uses for server communication... MattyDE ufer.mar...@gmail.com schrieb: so Google-WebToolkit is able to communicate through JSONP with the server? Because i really have to ask the server for data (backend) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-through-JSONP-tunneling-tp4655501p4655503.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Ajax Link not resolving Wicket 6.4
Hi I'm using wicket 6.4.0 on Jetty I've got mounted Bookmarkable page with various forms submitted via a AjaxButton (actually a IndicatingAjaxButton) When I go to the page by directly copying the url of the mounted Bookmarkable page into the nav bar or clicking the url from an email, the target url for the ajax requests triggered by the AjaxButton(s) does not resolve properly. The Wicket Ajax Debug Window goes red and an Error entry appears: ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Not Found Looking at the source there are several entries like the following: Looking at the net panel of firebug it seems that the url simply does not resolve with wicket: note the //wicket/page;jsessionid=yvcj55z9trey1omjoh9cqme7p Once I go back to the page, thereby having established a session with the application, things work fine, at that point the Wicket.Ajax.ajax call is as follows: the url resolves ok with wicket: note the /wicket/page rather than //wicket/page and the lack of ;sessionid= This happens in all browsers, I'm using Wicket 6.4.0 // 1.6.4, as far as I'm aware it was working in wicket 1.5 Has anyone experiencied similar issues, is there a fix. I don't want to jump the gun, but it appears like it might be a bug. Does anyone have any suggestions to help resolve this? Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Link-not-resolving-Wicket-6-4-tp4655511.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Ajax Link not resolving Wicket 6.4
Hi, On Fri, Jan 18, 2013 at 4:22 PM, Simon B simon.bott...@gmail.com wrote: Hi I'm using wicket 6.4.0 on Jetty I've got mounted Bookmarkable page with various forms submitted via a AjaxButton (actually a IndicatingAjaxButton) When I go to the page by directly copying the url of the mounted Bookmarkable page into the nav bar or clicking the url from an email, the target url for the ajax requests triggered by the AjaxButton(s) does not resolve properly. Can you give more details what exactly you do ? ^^ The Wicket Ajax Debug Window goes red and an Error entry appears: ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Not Found Looking at the source there are several entries like the following: Looking at the net panel of firebug it seems that the url simply does not resolve with wicket: note the //wicket/page;jsessionid=yvcj55z9trey1omjoh9cqme7p Once I go back to the page, thereby having established a session with the application, things work fine, at that point the Wicket.Ajax.ajax call is as follows: the url resolves ok with wicket: note the /wicket/page rather than //wicket/page and the lack of ;sessionid= This happens in all browsers, I'm using Wicket 6.4.0 // 1.6.4, as far as I'm aware it was working in wicket 1.5 Has anyone experiencied similar issues, is there a fix. I don't want to jump the gun, but it appears like it might be a bug. Does anyone have any suggestions to help resolve this? Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Link-not-resolving-Wicket-6-4-tp4655511.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: Ajax Link not resolving Wicket 6.4
Hi Martin, Thanks for replying. I take the url of the page for example: http://localhost:8080/rental/piedras-otra-afuera-de-bs-as-52368.html This is mounted using a MountedMapper in the Application object and resolves to a subclass of WebPage I copy the url, then boot up a fresh version of IE 9 from scratch and paste the URL into the navigation bar. Then I look at the source and see that the URLs that are being created for the AjaxButtons (called via: Wicket.Ajax.ajax) are like I mentioned in my original post e.g.: the above url which is called when I click the AjaxButton, does not resolve with the Wicket Servlet on the Jetty Container I guess it's got something to do with the // in the relative url. incidentally I'm also using a one pass render stategy set up in my Application class i.e. I'm not sure if that's pertinent or not. If you'd like any more information let me know Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Link-not-resolving-Wicket-6-4-tp4655511p4655513.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Ajax Link not resolving Wicket 6.4
Try to reproduce it in a quickstart, with any render strategy. If you succeed then please attach it to a ticket in Jira and we will investigate. On Fri, Jan 18, 2013 at 4:50 PM, Simon B simon.bott...@gmail.com wrote: Hi Martin, Thanks for replying. I take the url of the page for example: http://localhost:8080/rental/piedras-otra-afuera-de-bs-as-52368.html This is mounted using a MountedMapper in the Application object and resolves to a subclass of WebPage I copy the url, then boot up a fresh version of IE 9 from scratch and paste the URL into the navigation bar. Try with other browser too. Then I look at the source and see that the URLs that are being created for the AjaxButtons (called via: Wicket.Ajax.ajax) are like I mentioned in my original post e.g.: the above url which is called when I click the AjaxButton, does not resolve with the Wicket Servlet on the Jetty Container I guess it's got something to do with the // in the relative url. incidentally I'm also using a one pass render stategy set up in my Application class i.e. I'm not sure if that's pertinent or not. Try with the default render strategy too If you'd like any more information let me know Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Link-not-resolving-Wicket-6-4-tp4655511p4655513.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Popups in wicket 6
Hi, I have recently switched my web application to Wicket 6 version and my popups does not work as they did in Wicket 1.5. I have a normal link that should open a popup. Before the switch it worked fine, a new popup was opened with specified height and width. Now, the content of the popup opens in the parent window. I have found a workaround for this issue by setting target attribute to _blank in the markup for the link that opens the popup, but I am not sure that this is the optimal solution( popup size is ignored). Any ideas about this behavior and other possible solutions? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Popups-in-wicket-6-tp4655515.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Popups in wicket 6
http://www.wicket-library.com/wicket-examples-6.0.x/linkomatic/home?0 - Click this link for a Popup works OK. On Fri, Jan 18, 2013 at 5:51 PM, silberstern colin.m...@gmail.com wrote: Hi, I have recently switched my web application to Wicket 6 version and my popups does not work as they did in Wicket 1.5. I have a normal link that should open a popup. Before the switch it worked fine, a new popup was opened with specified height and width. Now, the content of the popup opens in the parent window. I have found a workaround for this issue by setting target attribute to _blank in the markup for the link that opens the popup, but I am not sure that this is the optimal solution( popup size is ignored). Any ideas about this behavior and other possible solutions? Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Popups-in-wicket-6-tp4655515.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
[Announce] Introducing Wicked Charts
Hi Wicket users, i would like to introduce to you the Wicked Charts library, consisting of a java wrapper for the Highcharts javascript charting library and a component for Wicket (and for JSF as a by-product). Wicked Charts supports most of the features Highcharts supports, including many different chart types, drilldown, ajax interaction between charts and Wicket and more. If you ever need fancy charts in your Wicket application, have a look at the project site at http://wicked-charts.org or the showcase at http://wicked-charts.appspot.com. We'd love to hear your feedback. Best Regards, Tom -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-Introducing-Wicked-Charts-tp4655519.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [Announce] Introducing Wicked Charts
Hi Tom, Great work! Thanks. Best regards, Matthias On 18.01.2013, at 23:30, tom.hombergs tom.hombe...@gmail.com wrote: Hi Wicket users, i would like to introduce to you the Wicked Charts library, consisting of a java wrapper for the Highcharts javascript charting library and a component for Wicket (and for JSF as a by-product). Wicked Charts supports most of the features Highcharts supports, including many different chart types, drilldown, ajax interaction between charts and Wicket and more. If you ever need fancy charts in your Wicket application, have a look at the project site at http://wicked-charts.org or the showcase at http://wicked-charts.appspot.com. We'd love to hear your feedback. Best Regards, Tom -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-Introducing-Wicked-Charts-tp4655519.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
RE: Ajax Link not resolving Wicket 6.4
This looks very similar to: https://issues.apache.org/jira/browse/WICKET-4920 Which was I thought was fixed but might have been unfixed ;) Regards, Chris -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Saturday, 19 January 2013 2:02 AM To: users@wicket.apache.org Subject: Re: Ajax Link not resolving Wicket 6.4 Try to reproduce it in a quickstart, with any render strategy. If you succeed then please attach it to a ticket in Jira and we will investigate. On Fri, Jan 18, 2013 at 4:50 PM, Simon B simon.bott...@gmail.com wrote: Hi Martin, Thanks for replying. I take the url of the page for example: http://localhost:8080/rental/piedras-otra-afuera-de-bs-as-52368.html This is mounted using a MountedMapper in the Application object and resolves to a subclass of WebPage I copy the url, then boot up a fresh version of IE 9 from scratch and paste the URL into the navigation bar. Try with other browser too. Then I look at the source and see that the URLs that are being created for the AjaxButtons (called via: Wicket.Ajax.ajax) are like I mentioned in my original post e.g.: the above url which is called when I click the AjaxButton, does not resolve with the Wicket Servlet on the Jetty Container I guess it's got something to do with the // in the relative url. incidentally I'm also using a one pass render stategy set up in my Application class i.e. I'm not sure if that's pertinent or not. Try with the default render strategy too If you'd like any more information let me know Cheers Simon -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Ajax-Link-not-resolving- Wicket-6-4-tp4655511p4655513.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org