Re: Ajax Link not resolving Wicket 6.4
We're trying to improve on the double-slash issue. A quickstart would be helpful. Please try out with 6.5.0 which contains a fix for WICKET-4935: https://dist.apache.org/repos/dist/dev/wicket/wicket-6.5.0 Sven On 01/19/2013 04:13 AM, Chris Colman wrote: 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: How to change the model of an panel and refresh it
You have to change the object *in* the model, since EditPanel still holds a reference to the old model: private void showEditPanel(AjaxRequestTarget target, SomeType someType) { model.setObject(someType); // it's too late to tell editPanel to render a placeholder, // if it doesn't already have a markup tag in the browser, // it won't be updated anyway // editPanel.setOutputMarkupPlaceholderTag(true); editPanel.setVisible(true); target.add(editPanel); logger.info(refreshed editPanel); } Sven On 01/19/2013 03:30 AM, saty wrote: I have a Datagrid and i am trying to populated a panel below the grid with the data model of selected row on grid (for editing). The panel is initially hidden but made visible with the row selected and some other conditions met. The panel does appear but not the data on its fields, what is the most appropriate way to do this in wicket. The code that i have currently is below. global variable.. IModelSomeType model; Initially.. model= new ModelSomeType(new SomeType()); EditPanel ep = new EditPanel(editPanel, model); ep.setOutputMarkupPlaceholderTag(true); ep.setVisible(false); form.add(ep); Than based on ajax events from data grid below method is invoked, it does get invoked but nothing is displayed on UI. //sometype is actual Object with data private void showEditPanel(AjaxRequestTarget target, SomeType someType) { editPanel.modelChanging(); model = new ModelSomeType (someType); editPanel.modelChanged(); editPanel.setOutputMarkupPlaceholderTag(true); editPanel.setVisible(true); target.add(editPanel); logger.info(refreshed editPanel); } Thanks!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-change-the-model-of-an-panel-and-refresh-it-tp4655524.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: [Announce] Introducing Wicked Charts
Hi Tom, Great work ! Many Thanks ! François Le 18 janv. 2013 à 23:44, Matthias Gasser wic...@matthiasgasser.com a écrit : 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 - 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, This seams to be really excellent! I did a such integration some times ago (first was on wicket 1.4), but it' was incomplete: I only integrated chart type I needed. So congratulation for this hard job and I think I will probably use Wicked Chart it in a few weeks/month :) However, just by looking quickly at your sample, I saw you are setting values with a setData() method. Wouldn't be possible to have/use a DataProvider? Thanks best regards, Sebastien. On Sat, Jan 19, 2013 at 11:12 AM, Francois Meillet francois.meil...@gmail.com wrote: Hi Tom, Great work ! Many Thanks ! François Le 18 janv. 2013 à 23:44, Matthias Gasser wic...@matthiasgasser.com a écrit : 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 - 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, you did a great work, I'm looking forward this project to use it in SRMvision platform (we're actually using Google Visualization, but it has a lot of drawbacks). Regards, Cedric __ Cedric Gatay http://www.bloggure.info | http://cedric.gatay.fr | @Cedric_Gatayhttp://twitter.com/Cedric_Gatay On Sat, Jan 19, 2013 at 11:56 AM, Sebastien seb...@gmail.com wrote: Hi Tom, This seams to be really excellent! I did a such integration some times ago (first was on wicket 1.4), but it' was incomplete: I only integrated chart type I needed. So congratulation for this hard job and I think I will probably use Wicked Chart it in a few weeks/month :) However, just by looking quickly at your sample, I saw you are setting values with a setData() method. Wouldn't be possible to have/use a DataProvider? Thanks best regards, Sebastien. On Sat, Jan 19, 2013 at 11:12 AM, Francois Meillet francois.meil...@gmail.com wrote: Hi Tom, Great work ! Many Thanks ! François Le 18 janv. 2013 à 23:44, Matthias Gasser wic...@matthiasgasser.com a écrit : 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Referring to static files in .jar root directly from HTML, with context added automatically?
Ondrej Zizka wrote: Hi all, I'm wondering if I can refer to static files just from HTML, while keeping it aware of the context. Example: .jar contains /favicon.ico . I'd like to refer to it by link rel=... href=/favicon.ico. But when the app is at non-root context, this breaks as it still points to http://host/favicon.ico . Have you tried to use simply href=favicon.ico? AFAIK, Wicket adjusts that relativ URL accordingly when you mount your pages to an application sub-directory. (I fought it changing such URLs some time ago.) HTH, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod, Roedermark, Germany Email: jsch...@acm.org - 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 Sebastien, Wouldn't be possible to have/use a DataProvider? I hadn't thought of that. However, I want to keep the API independent of Wicket. That way, it is possible to use the same API for different web frameworks. We already used that to create a JSF component. But there will be a way to use DataProvider nonetheless...I will think about this. Thanks for the idea! Regards, Tom -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-Introducing-Wicked-Charts-tp4655519p4655532.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! As nice as it looks but unfortunately, I feel like it should be pointed out that only your wrapper is Apache 2 licensed. Highcharts itself is only free to use for non-profit/non-commercial applications and requires purchase of a license otherwise, see: http://shop.highsoft.com/highcharts.html As long as a project meets the requirements for a free license or one can afford buying a commercial license, that's fine. Unfortunately, it opens a trap for developers that are less cautious and rely on licenses of libraries without checking full dependencies before adding them to their projects. Highcharts may be well-known but I haven't heard of it before. There will be others who see your library but don't know they may require a license for Highcharts, so they may fall for the license. It always disappoints me a bit if I see something published under a really (even commercially) free license but then realize that its dependencies are unfree. Don't get me wrong, your project looks really nice and useful but the license issue should be handled more carefully. A short but prominent notice on your project homepage would be enough. Sorry for spoiling the party. :) Regards, Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [Announce] Introducing Wicked Charts
Highcharts itself is only free to use for non-profit/non-commercial applications and requires purchase of a license otherwise Yes, you are right of course. Sorry for not pointing that out. I will add a notice to the project's front page to close the trap door you mentioned. Thanks for the hint. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Announce-Introducing-Wicked-Charts-tp4655519p4655534.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