Re: Warnings from RequestCycle.handleException(Exception)
I agree that this might be a useful default in some cases, but how about at least using a separate Logger instance for this, so we can get rid of these warnings without silencing all of RequestCycle's logging? Cheers, Jonas On Sat, Apr 27, 2013 at 11:12 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: in many cases this exception will lead to the error page, so its not just debugging information. this is the case i would rather wicket be loud by default to help while developing and have interested parties silence the logger in production systems... -igor On Sat, Apr 27, 2013 at 11:43 AM, Martin Grigorov mgrigo...@apache.org wrote: ivaynberg: ping On Fri, Apr 26, 2013 at 10:59 AM, Jonas barney...@gmail.com wrote: Hi all, after having upgraded to wicket 6.7.0, we get a lot of warnings logged from RequestCycle.handleException(Exception). Can you please change the level of 'Handling the following exception' messages to debug, as those warnings get really annoying. Using level debug, an interested developer still has the option to see the messages if he's having trouble in that area (by configuring logging accordingly), while you don't nag all other developers. IMHO log level warn should only be used if it's known something rather bad is happening, which isn't the case here - this is really just debugging information. Thank you for considering this. Cheers, Jonas -- Martin Grigorov Wicket Training Consulting http://jWeekend.com http://jweekend.com/
Fwd: [HEADS UP] New samples workspace on Github = Donate your sample!
Hi Emond, Do you think it is a good idea to move your https://github.com/papegaaij/wicket-atmosphere-quickstart to https://github.com/Atmosphere/atmosphere-samples ? -- Forwarded message -- From: Jeanfrancois Arcand jfarcand@gmail.com Date: Mon, May 6, 2013 at 2:38 PM Subject: [HEADS UP] New samples workspace on Github = Donate your sample! To: atmosphere-framew...@googlegroups.com atmosphere-framew...@googlegroups.com Salut, I've created https://github.com/Atmosphere/**atmosphere-sampleshttps://github.com/Atmosphere/atmosphere-samples I would like to use that workspace to put any kind of samples the community is working on. So if you have a sample you can share, please give it to the community! I will give commit access to anyone interested! A+ -- Jeanfrancois -- Please donate to help the Atmosphere Framework: http://async-io.org -- Martin Grigorov Wicket Training Consulting http://jWeekend.com http://jweekend.com/
Re: A newer, flatter design for wicket site
For those that are paying attention to the commits list and/or JIRA (WICKET-3341), you've probably seen several attempts at developing a new web site design for the Wicket main site. Previous attempts all stalled because of a desire to make things too complicated and difficult to maintain/develop. I therefore crafted a more minimalist design, inspired by the flat design movement. I received 2 positive reactions already, which enticed me to craft a HTML mockup of our homepage in this new design. You can see it in action here: http://people.apache.org/~dashorst/wicket-flat/ Feedback is welcome. Please take the following in consideration: - I'm looking for design guidance, IE issues can be tackled when we actually want to use this design - this is still a work in progress - I haven't had the time to create the minimal set of fonts necessary - the idea is to create a minimal, minimum maintenance, modern design, paired with captivating copy to attract new users (or at least not turn them away). I'd like to propose this as our new site design and move quickly forward into implementing this in our template setup. This design is pretty easy to implement, as evidenced by the small css I've needed thus far. Martijn On Mon, May 6, 2013 at 1:00 PM, Martin Grigorov (JIRA) j...@apache.orgwrote: [ https://issues.apache.org/jira/browse/WICKET-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13649648#comment-13649648] Martin Grigorov commented on WICKET-3341: - I like the new one too! New design for wicket site -- Key: WICKET-3341 URL: https://issues.apache.org/jira/browse/WICKET-3341 Project: Wicket Issue Type: Improvement Components: site Reporter: Martijn Dashorst Attachments: ASF.LICENSE.NOT.GRANTED--Alternative design.jpg, KeynoteScreenSnapz001.png, KeynoteScreenSnapz002.png, KeynoteScreenSnapz003.png, KeynoteScreenSnapz004.png, KeynoteScreenSnapz005.png, wicket-flat.001.png Our current site design has been with us for quite a while. It looked fresh in the 1980s, but now it has gone stale. This is a proposal for a new, fresh design of the home page and sub pages. The home page will feature a prominent download link, a list of feature descriptions, screenshots of sites powered by Wicket, official blog items and Buzz by our users. The screenshots of wicket powered websites will link to short descriptions of the sites under /meet/poweredby. Links to the websites will of course have nofollow Other pages will feature a menu on the right side of the page providing direct links to content. Attached are a couple of screen shots of how the site might look like. Screen 005 is an alternative of the home page without the list of features, but including the introduction to wicket article. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira -- Become a Wicket expert, learn from the best: http://wicketinaction.com
Re: A newer, flatter design for wicket site
Great work Martijn, I think this one can replace the actual. __ Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay) http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr On Mon, May 6, 2013 at 3:46 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: For those that are paying attention to the commits list and/or JIRA (WICKET-3341), you've probably seen several attempts at developing a new web site design for the Wicket main site. Previous attempts all stalled because of a desire to make things too complicated and difficult to maintain/develop. I therefore crafted a more minimalist design, inspired by the flat design movement. I received 2 positive reactions already, which enticed me to craft a HTML mockup of our homepage in this new design. You can see it in action here: http://people.apache.org/~dashorst/wicket-flat/ Feedback is welcome. Please take the following in consideration: - I'm looking for design guidance, IE issues can be tackled when we actually want to use this design - this is still a work in progress - I haven't had the time to create the minimal set of fonts necessary - the idea is to create a minimal, minimum maintenance, modern design, paired with captivating copy to attract new users (or at least not turn them away). I'd like to propose this as our new site design and move quickly forward into implementing this in our template setup. This design is pretty easy to implement, as evidenced by the small css I've needed thus far. Martijn On Mon, May 6, 2013 at 1:00 PM, Martin Grigorov (JIRA) j...@apache.org wrote: [ https://issues.apache.org/jira/browse/WICKET-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13649648#comment-13649648 ] Martin Grigorov commented on WICKET-3341: - I like the new one too! New design for wicket site -- Key: WICKET-3341 URL: https://issues.apache.org/jira/browse/WICKET-3341 Project: Wicket Issue Type: Improvement Components: site Reporter: Martijn Dashorst Attachments: ASF.LICENSE.NOT.GRANTED--Alternative design.jpg, KeynoteScreenSnapz001.png, KeynoteScreenSnapz002.png, KeynoteScreenSnapz003.png, KeynoteScreenSnapz004.png, KeynoteScreenSnapz005.png, wicket-flat.001.png Our current site design has been with us for quite a while. It looked fresh in the 1980s, but now it has gone stale. This is a proposal for a new, fresh design of the home page and sub pages. The home page will feature a prominent download link, a list of feature descriptions, screenshots of sites powered by Wicket, official blog items and Buzz by our users. The screenshots of wicket powered websites will link to short descriptions of the sites under /meet/poweredby. Links to the websites will of course have nofollow Other pages will feature a menu on the right side of the page providing direct links to content. Attached are a couple of screen shots of how the site might look like. Screen 005 is an alternative of the home page without the list of features, but including the introduction to wicket article. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira -- Become a Wicket expert, learn from the best: http://wicketinaction.com
CDI upgrade to 1.1
Hi all, I noticed the TODO for Wicket 7 to upgrade the CDI dependency to 1.1. I think it's better to pospone this upgrade to Wicket 8. CDI 1.1 is part of JEE 7, for which the spec only has been approved last week. Containers will need some time to implement the spec, for example wildFly (formerly JBoss) 8 is expected to be released in November and Glassfish somewhere this summer. Upgrading CDI in a container like Glassfish 3.2 or JBoss 7 often is not option, so I think it's probably better not to upgrade wicket-cdi before containers supporting CDI 1.1 are available. Best regards, Emond
Re: A newer, flatter design for wicket site
Hi Martijn, looks really clean and modern! I like it :) Here are my improvements: - use a more fluent design to scale from small to large screens - the headlines of each section should be a bit more separated and colorful (use some special hr-tags) - make the header fixed to top - the news section needs some splitter and color too, looks a bit confusing - use bootstrap, it provides a fluent/responsive layout, browser fixes, some js features and it's easy to modify ;) - hover and active state for navigation would be good best, Michael Am 06.05.2013 um 15:56 schrieb Cedric Gatay gata...@gmail.com : Great work Martijn, I think this one can replace the actual. __ Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay) http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr On Mon, May 6, 2013 at 3:46 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: For those that are paying attention to the commits list and/or JIRA (WICKET-3341), you've probably seen several attempts at developing a new web site design for the Wicket main site. Previous attempts all stalled because of a desire to make things too complicated and difficult to maintain/develop. I therefore crafted a more minimalist design, inspired by the flat design movement. I received 2 positive reactions already, which enticed me to craft a HTML mockup of our homepage in this new design. You can see it in action here: http://people.apache.org/~dashorst/wicket-flat/ Feedback is welcome. Please take the following in consideration: - I'm looking for design guidance, IE issues can be tackled when we actually want to use this design - this is still a work in progress - I haven't had the time to create the minimal set of fonts necessary - the idea is to create a minimal, minimum maintenance, modern design, paired with captivating copy to attract new users (or at least not turn them away). I'd like to propose this as our new site design and move quickly forward into implementing this in our template setup. This design is pretty easy to implement, as evidenced by the small css I've needed thus far. Martijn On Mon, May 6, 2013 at 1:00 PM, Martin Grigorov (JIRA) j...@apache.org wrote: [ https://issues.apache.org/jira/browse/WICKET-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13649648#comment-13649648 ] Martin Grigorov commented on WICKET-3341: - I like the new one too! New design for wicket site -- Key: WICKET-3341 URL: https://issues.apache.org/jira/browse/WICKET-3341 Project: Wicket Issue Type: Improvement Components: site Reporter: Martijn Dashorst Attachments: ASF.LICENSE.NOT.GRANTED--Alternative design.jpg, KeynoteScreenSnapz001.png, KeynoteScreenSnapz002.png, KeynoteScreenSnapz003.png, KeynoteScreenSnapz004.png, KeynoteScreenSnapz005.png, wicket-flat.001.png Our current site design has been with us for quite a while. It looked fresh in the 1980s, but now it has gone stale. This is a proposal for a new, fresh design of the home page and sub pages. The home page will feature a prominent download link, a list of feature descriptions, screenshots of sites powered by Wicket, official blog items and Buzz by our users. The screenshots of wicket powered websites will link to short descriptions of the sites under /meet/poweredby. Links to the websites will of course have nofollow Other pages will feature a menu on the right side of the page providing direct links to content. Attached are a couple of screen shots of how the site might look like. Screen 005 is an alternative of the home page without the list of features, but including the introduction to wicket article. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira -- Become a Wicket expert, learn from the best: http://wicketinaction.com
Re: A newer, flatter design for wicket site
Hi Martijn, Here are some suggestions from me: - make the top navigation bar fixed to prevent long scrolling. Or show something like http://twitter.github.io/bootstrap/javascript.html#affix on the left/right to prevent scrolling to the top to choose something else. - from the News section below it becomes too lean/simple. Maybe it will become nicer once you improve the font settings. I'm not sure whether some images will improve this, but the images at the top part of the page makes it feel richer/nicer. - is it possible to put all the information from the current site to the new one ? Most of Meet Wicket section at http://wicket.apache.org/ could be dropped. The other sections (Learn, Releases, API Docs, Contribute, Apache) I find useful. On Mon, May 6, 2013 at 3:46 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: For those that are paying attention to the commits list and/or JIRA (WICKET-3341), you've probably seen several attempts at developing a new web site design for the Wicket main site. Previous attempts all stalled because of a desire to make things too complicated and difficult to maintain/develop. I therefore crafted a more minimalist design, inspired by the flat design movement. I received 2 positive reactions already, which enticed me to craft a HTML mockup of our homepage in this new design. You can see it in action here: http://people.apache.org/~dashorst/wicket-flat/ Feedback is welcome. Please take the following in consideration: - I'm looking for design guidance, IE issues can be tackled when we actually want to use this design - this is still a work in progress - I haven't had the time to create the minimal set of fonts necessary - the idea is to create a minimal, minimum maintenance, modern design, paired with captivating copy to attract new users (or at least not turn them away). I'd like to propose this as our new site design and move quickly forward into implementing this in our template setup. This design is pretty easy to implement, as evidenced by the small css I've needed thus far. Martijn On Mon, May 6, 2013 at 1:00 PM, Martin Grigorov (JIRA) j...@apache.org wrote: [ https://issues.apache.org/jira/browse/WICKET-3341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13649648#comment-13649648 ] Martin Grigorov commented on WICKET-3341: - I like the new one too! New design for wicket site -- Key: WICKET-3341 URL: https://issues.apache.org/jira/browse/WICKET-3341 Project: Wicket Issue Type: Improvement Components: site Reporter: Martijn Dashorst Attachments: ASF.LICENSE.NOT.GRANTED--Alternative design.jpg, KeynoteScreenSnapz001.png, KeynoteScreenSnapz002.png, KeynoteScreenSnapz003.png, KeynoteScreenSnapz004.png, KeynoteScreenSnapz005.png, wicket-flat.001.png Our current site design has been with us for quite a while. It looked fresh in the 1980s, but now it has gone stale. This is a proposal for a new, fresh design of the home page and sub pages. The home page will feature a prominent download link, a list of feature descriptions, screenshots of sites powered by Wicket, official blog items and Buzz by our users. The screenshots of wicket powered websites will link to short descriptions of the sites under /meet/poweredby. Links to the websites will of course have nofollow Other pages will feature a menu on the right side of the page providing direct links to content. Attached are a couple of screen shots of how the site might look like. Screen 005 is an alternative of the home page without the list of features, but including the introduction to wicket article. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira -- Become a Wicket expert, learn from the best: http://wicketinaction.com -- Martin Grigorov Wicket Training Consulting http://jWeekend.com http://jweekend.com/
Re: A newer, flatter design for wicket site
I like the goal of improving the site. I think some of the previous commenters nailed the changes to the beta that we would need. In particular (and in rough order of what I see as their importance): 1. Fluid design - let's use Bootstrap. It's easy and ubiquitous. It gives us fluid (rescalable) design easy as well as some of the other things mentioned. 2. Jumbotron - agree with Mike - it's too big, maybe entirely unnecessary. If we're going to have a hero box or jumbotron at the top, it needs to be of use - advertising something. But I think the six-box thing just below the jumbotron is much more attractive for above the fold content - and it's useful. 3. consistency in coloring / logo ... is the blue an intentional change from Wicket orange? If so, I think we need to think about the ramifications - an entire rebrand (including wicket-examples, probably a new logo, etc). Easy == stick with the orange. 4. fixed header - I think it is useful - bootstrap would give us this 5. the sections of the page could likely be distinguished from each other a bit more with more obvious section headers (news, downloads, etc). I worry, too, about how to navigate on pages other than the homepage. If we have the flat design where the top navbar on the homepage only contains links to sections on that page, what happens when you are on another page of the site? How do you navigate back home? It seems bad to have a different navigation on those other pages than on the homepage. Do you have an example of how other flat websites handle this? Many thanks for all the work on this and everything else Martijn! -- Jeremy Thomerson http://wickettraining.com *Ask me about our plans for on-line training lessons.*
create link to email with attached file wicket
Hi all, I created a link that when you press on it - it opens the default email program (code above) span wicket:id=emailText/ # and then add a label into the link like: ExternalLink link = new ExternalLink (email, mailto:; + user.getEmail()); link.add (new Label (emailText, user.getEmail())); item.add (link); My question is - how can I attached File to the mail? Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/create-link-to-email-with-attached-file-wicket-tp4658584.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.
Adding javascript to form submit
I have a wicket Form and a AjaxButton on it, my requirement is to create a cookie/local storage on form submit. For this i tried to add following js: addEvent(form[0], submit, save); function addEvent(elem, evt, fn) { if (elem.addEventListener) elem.addEventListener(evt, fn, false); else if (elem.attachEvent) elem.attachEvent(on + evt, fn); } function save() { createStorage(); } but this js is not executed at all, submit event is not fired.(I dont want to use setPersistent() also as I want to use localstorage as well) Can you please tell me how to add javascript to form submit for the above scenario. TIA Krishna Mohan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-javascript-to-form-submit-tp4658586.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.
Re: create link to email with attached file wicket
Please, send this kind of mail to the user mailing list (us...@wicket.apache.org). BTW, I think you need to use a further parameter to specify the attachment (like attachment=/my_location/file.ext). Hi all, I created a link that when you press on it - it opens the default email program (code above) span wicket:id=emailText/ # and then add a label into the link like: ExternalLink link = new ExternalLink (email, mailto:; + user.getEmail()); link.add (new Label (emailText, user.getEmail())); item.add (link); My question is - how can I attached File to the mail? Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/create-link-to-email-with-attached-file-wicket-tp4658584.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.
WICKET-5064
Can it be closed as not an issue?
Re: WICKET-5064
I don't think it is an issue __ Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay) http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr On Mon, May 6, 2013 at 5:44 PM, Andrea Del Bene an.delb...@gmail.comwrote: Can it be closed as not an issue?
Re: Adding javascript to form submit
Please, send this kind of mail to the user mailing list (us...@wicket.apache.org). I have a wicket Form and a AjaxButton on it, my requirement is to create a cookie/local storage on form submit. For this i tried to add following js: addEvent(form[0], submit, save); function addEvent(elem, evt, fn) { if (elem.addEventListener) elem.addEventListener(evt, fn, false); else if (elem.attachEvent) elem.attachEvent(on + evt, fn); } function save() { createStorage(); } but this js is not executed at all, submit event is not fired.(I dont want to use setPersistent() also as I want to use localstorage as well) Can you please tell me how to add javascript to form submit for the above scenario. TIA Krishna Mohan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Adding-javascript-to-form-submit-tp4658586.html Sent from the Forum for Wicket Core developers mailing list archive at Nabble.com.
Re: WICKET-5064
Right, so you agree with me :-) I don't think it is an issue __ Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay) http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr On Mon, May 6, 2013 at 5:44 PM, Andrea Del Bene an.delb...@gmail.comwrote: Can it be closed as not an issue?
Re: CDI upgrade to 1.1
I think that the rationale behind upgrading to CDI 1.1 is the support of the conversational scope right in the spec. Right now it is plumbed using seam-conversation-spi along with the appropriate seam-conversation-{weld,owb,candi} container integration module. The point is that seam-conversation is somewhat outdated and seems abandoned (no new releases since version 3.0 in January 2012). It will not work with openwebbeans =1.1.4 nor will it work with tomee =1.5.0 leaving the user with the only option - weld 1.1.x. Don't be affraid of cdi 1.1 not being implemented in containers, one can always settle for custom cdi integration, deployed as part of web application - both weld and owb are fitted with appropriate listeners that bootstrap embedded cdi container. Besides, cdi 1.1 implementations are around the corner - Weld 2.0.0.Final got released on 24 April, OWB guys declare that it will be pretty straightforward to support CDI 1.1 after the refactorings that they had done to OWB 1.2. I understand that upgrading CDI impl in containers already supporting it is not an option, but by the time wicket 7 RCs start rolling, both wildfly (jboss 8) and glassfish 4 reach GA (both use weld). regz, /dd 2013/5/6 Emond Papegaaij emond.papega...@topicus.nl Hi all, I noticed the TODO for Wicket 7 to upgrade the CDI dependency to 1.1. I think it's better to pospone this upgrade to Wicket 8. CDI 1.1 is part of JEE 7, for which the spec only has been approved last week. Containers will need some time to implement the spec, for example wildFly (formerly JBoss) 8 is expected to be released in November and Glassfish somewhere this summer. Upgrading CDI in a container like Glassfish 3.2 or JBoss 7 often is not option, so I think it's probably better not to upgrade wicket-cdi before containers supporting CDI 1.1 are available. Best regards, Emond -- /* Spelin donut mader if iz ina coment */