Re: Wicket and Responsive Design question
Ok thanks, i will give it a try! Gabriel Landon , 3-12-2013 18:59: For this, I'm using Twitter's Bootstrap 3 : http://getbootstrap.com It's mainly HTML5 and CSS 3 stuff. With the wicket-boostrap project : https://github.com/l0rdn1kk0n/wicket-bootstrap/ The master branch is still using Bootstrap2 but there is a bootstrap3 branch. Enjoy. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Responsive-Design-question-tp4662736p4662742.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 and Responsive Design question
Thanks a lot. This helps me further! Jeremy Thomerson , 3-12-2013 18:29: Responsive design means different things to different people. However, the most common definition these days has to do with markup that adjusts to various types of devices. Accomplishing this primarily centers around your HTML, CSS (using media queries, etc), and JS for enhanced features. Thus, most of that doesn't have a strict requirement for Wicket. If you're new to responsive design I'd suggest you compare responsive CSS frameworks like Bootstrap [1] or some alternative [2]. You can use most of these frameworks without any additional Wicket-specific code by using their flavor of markup and CSS class names, etc. However, there are integration projects that folks have made available to make common components that work with these frameworks (like wicket-bootstrap [3] or [4]) that you can also take advantage of. There are, of course, finer details to responsive design like providing alternative image sizes for different devices, etc. However, there are a myriad of ways those things can be accomplished and what you do largely depends on your other integrations (i.e. how you serve your static assets, etc). [1] http://getbootstrap.com/ [2] http://list.ly/list/303-alternatives-to-twitter-bootstrap-html5-css3-responsive-framework [3] http://mvnrepository.com/artifact/org.apache.wicket/wicket-bootstrap [4] https://github.com/l0rdn1kk0n/wicket-bootstrap -- Jeremy Thomerson http://wickettraining.com On Tue, Dec 3, 2013 at 8:27 AM, gerritqf wrote: > Hello, > > I am new to Wicket and i need some advice about building a webapplication > with Wicket and making this suitable for several devices, like tablet and > smartphone. > What is the best way of building the markup pages with Wicket, or is it > just > a way of including the right css3 and html5 to the pages afterwards? > Is it a good idea to make a Single-page application using panels or better > inherit pages regarding responsive design? > > I hope you can help me into the right direction. > > Thanks in advance. > > Gerrit > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Responsive-Design-question-tp4662736.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: Problem with SVG Rendering with Wicket 6.5.0
Consult Wicket's website for directions on how to create a QuickStart: http://wicket.apache.org/start/quickstart.html If you need help on installing Maven (or a quick tutorial): http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html You'll need Maven to create the QuickStart. Once you created it, reproduce your problem in the newly created project with the least code possible and attach it to a Jira ticket at: https://issues.apache.org/jira/browse/WICKET ~ Thank you, Paul Bors On Wed, Nov 27, 2013 at 8:53 AM, SUBRA wrote: > Sorry i didn't have any idea on quick start and jira. My Problem is my > drawing is loading with all svg elements normally. when i make an ajax call > from wicket i rendering the svg panel again , second time after ajax call > i > didn't the elements which are displayed by tag. > > Suppose: > SVGPanel.java this is my Panel > > i am add AbstractDefaultAjaxBehavior to my panel. > > In ajax behaviour respond method After made a ajax, i call > target.add(SVGPanel.this); > > my drawing is loadded uncompletely, I miss the elements in svg drawing > which are displayed by tag > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Problem-with-SVG-Rendering-with-Wicket-6-5-0-tp4662692p4662695.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 and Responsive Design question
For this, I'm using Twitter's Bootstrap 3 : http://getbootstrap.com It's mainly HTML5 and CSS 3 stuff. With the wicket-boostrap project : https://github.com/l0rdn1kk0n/wicket-bootstrap/ The master branch is still using Bootstrap2 but there is a bootstrap3 branch. Enjoy. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Responsive-Design-question-tp4662736p4662742.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 and Responsive Design question
Responsive design means different things to different people. However, the most common definition these days has to do with markup that adjusts to various types of devices. Accomplishing this primarily centers around your HTML, CSS (using media queries, etc), and JS for enhanced features. Thus, most of that doesn't have a strict requirement for Wicket. If you're new to responsive design I'd suggest you compare responsive CSS frameworks like Bootstrap [1] or some alternative [2]. You can use most of these frameworks without any additional Wicket-specific code by using their flavor of markup and CSS class names, etc. However, there are integration projects that folks have made available to make common components that work with these frameworks (like wicket-bootstrap [3] or [4]) that you can also take advantage of. There are, of course, finer details to responsive design like providing alternative image sizes for different devices, etc. However, there are a myriad of ways those things can be accomplished and what you do largely depends on your other integrations (i.e. how you serve your static assets, etc). [1] http://getbootstrap.com/ [2] http://list.ly/list/303-alternatives-to-twitter-bootstrap-html5-css3-responsive-framework [3] http://mvnrepository.com/artifact/org.apache.wicket/wicket-bootstrap [4] https://github.com/l0rdn1kk0n/wicket-bootstrap -- Jeremy Thomerson http://wickettraining.com On Tue, Dec 3, 2013 at 8:27 AM, gerritqf wrote: > Hello, > > I am new to Wicket and i need some advice about building a webapplication > with Wicket and making this suitable for several devices, like tablet and > smartphone. > What is the best way of building the markup pages with Wicket, or is it > just > a way of including the right css3 and html5 to the pages afterwards? > Is it a good idea to make a Single-page application using panels or better > inherit pages regarding responsive design? > > I hope you can help me into the right direction. > > Thanks in advance. > > Gerrit > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Responsive-Design-question-tp4662736.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: Modern javascript/html code generation, is Wicket the only one?
Take your pick: http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java On Tue, Dec 3, 2013 at 10:10 AM, Brown, Berlin [PRI-1PP] < berlin.br...@primerica.com> wrote: > This is more a general question. Is wicket pretty much the only > mainstream java framework that generates javascript calls from Java code. > E.g. Wicket generates ajax code for those particular widgets. > > With the web moving to javascript heavy frameworks, does struts/spring mvc > really stand up if they just generating pure HTML. > > Also for wicket, is there a move to use more jquery or some other > javascript framework, more javascript? >
Modern javascript/html code generation, is Wicket the only one?
This is more a general question. Is wicket pretty much the only mainstream java framework that generates javascript calls from Java code. E.g. Wicket generates ajax code for those particular widgets. With the web moving to javascript heavy frameworks, does struts/spring mvc really stand up if they just generating pure HTML. Also for wicket, is there a move to use more jquery or some other javascript framework, more javascript?
a discussion on current java web stacks
http://www.reddit.com/r/java/comments/1rwvqa/current_java_web_stacks/?sort=old François
Wicket and Responsive Design question
Hello, I am new to Wicket and i need some advice about building a webapplication with Wicket and making this suitable for several devices, like tablet and smartphone. What is the best way of building the markup pages with Wicket, or is it just a way of including the right css3 and html5 to the pages afterwards? Is it a good idea to make a Single-page application using panels or better inherit pages regarding responsive design? I hope you can help me into the right direction. Thanks in advance. Gerrit -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-Responsive-Design-question-tp4662736.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: client timezone and flickering
Done: https://issues.apache.org/jira/browse/WICKET-5435 Thanks! On Tue, Dec 3, 2013 at 4:08 PM, Martin Grigorov wrote: > Hi Maxim, > > Please file a ticket in Wicket Jira for this feature request. > Link to this discussion and to your repository. > There are some things I don't like in ClientInfoBehavior but we will > improve it. > Thanks! > > > On Tue, Dec 3, 2013 at 1:18 AM, Maxim Solodovnik >wrote: > > > Hello Martin, > > > > I finally was able implement this feature :) > > Could you please take a look at it? > > > > > https://github.com/solomax/ajax-client-info/blob/master/src/main/java/org/ajax/ClientInfoBehavior.java > > > > If it is generally OK I can try to create pull request > > Unfortunately it was impossible for me to reuse existent BrowserInfoForm > > without modifications :( > > What I have changed is: > > 1) extract javascript from html to *.js file (to be able to use it in my > > code) > > 2) split submitForm into 2 methods: fill+submit > > 3) make the form accessible outside the class > > > > > https://github.com/solomax/ajax-client-info/blob/master/src/main/java/org/ajax/BrowserInfoForm.java > > > > Will wait for feedback from you :) > > > > > > > > > > On Wed, Sep 11, 2013 at 3:27 PM, Maxim Solodovnik > >wrote: > > > > > Will try :) > > > > > > > > > On Wed, Sep 11, 2013 at 3:20 PM, Martin Grigorov > >wrote: > > > > > >> Implement it and attach it to a ticket. > > >> > > >> > > >> On Wed, Sep 11, 2013 at 11:15 AM, Maxim Solodovnik < > > solomax...@gmail.com > > >> >wrote: > > >> > > >> > Would be nice to have WebSession#getAjaxClientInfo out of the box :) > > >> > > > >> > > > >> > On Wed, Sep 11, 2013 at 2:17 PM, Martin Grigorov < > > mgrigo...@apache.org > > >> > >wrote: > > >> > > > >> > > Hi, > > >> > > > > >> > > By default Wicket redirects temporarily to a special page where > > >> > JavaScript > > >> > > extracts the info and sends it back to the server. > > >> > > You may need custom solution that does this logic with Ajax in the > > >> > > background. > > >> > > > > >> > > > > >> > > On Tue, Sep 10, 2013 at 7:43 PM, infiniter > > >> wrote: > > >> > > > > >> > > > has anyone been able to get around the flicker issue when > getting > > >> the > > >> > > > client > > >> > > > timezone from WebSession#getClientInfo in a painless way? > > >> > > > > > >> > > > > > >> > > > > > >> > > > -- > > >> > > > View this message in context: > > >> > > > > > >> > > > > >> > > > >> > > > http://apache-wicket.1842946.n4.nabble.com/client-timezone-and-flickering-tp4661284.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 > > >> > > > > > >> > > > > > >> > > > > >> > > > >> > > > >> > > > >> > -- > > >> > WBR > > >> > Maxim aka solomax > > >> > > > >> > > > > > > > > > > > > -- > > > WBR > > > Maxim aka solomax > > > > > > > > > > > -- > > WBR > > Maxim aka solomax > > > -- WBR Maxim aka solomax
Re: client timezone and flickering
Hi Maxim, Please file a ticket in Wicket Jira for this feature request. Link to this discussion and to your repository. There are some things I don't like in ClientInfoBehavior but we will improve it. Thanks! On Tue, Dec 3, 2013 at 1:18 AM, Maxim Solodovnik wrote: > Hello Martin, > > I finally was able implement this feature :) > Could you please take a look at it? > > https://github.com/solomax/ajax-client-info/blob/master/src/main/java/org/ajax/ClientInfoBehavior.java > > If it is generally OK I can try to create pull request > Unfortunately it was impossible for me to reuse existent BrowserInfoForm > without modifications :( > What I have changed is: > 1) extract javascript from html to *.js file (to be able to use it in my > code) > 2) split submitForm into 2 methods: fill+submit > 3) make the form accessible outside the class > > https://github.com/solomax/ajax-client-info/blob/master/src/main/java/org/ajax/BrowserInfoForm.java > > Will wait for feedback from you :) > > > > > On Wed, Sep 11, 2013 at 3:27 PM, Maxim Solodovnik >wrote: > > > Will try :) > > > > > > On Wed, Sep 11, 2013 at 3:20 PM, Martin Grigorov >wrote: > > > >> Implement it and attach it to a ticket. > >> > >> > >> On Wed, Sep 11, 2013 at 11:15 AM, Maxim Solodovnik < > solomax...@gmail.com > >> >wrote: > >> > >> > Would be nice to have WebSession#getAjaxClientInfo out of the box :) > >> > > >> > > >> > On Wed, Sep 11, 2013 at 2:17 PM, Martin Grigorov < > mgrigo...@apache.org > >> > >wrote: > >> > > >> > > Hi, > >> > > > >> > > By default Wicket redirects temporarily to a special page where > >> > JavaScript > >> > > extracts the info and sends it back to the server. > >> > > You may need custom solution that does this logic with Ajax in the > >> > > background. > >> > > > >> > > > >> > > On Tue, Sep 10, 2013 at 7:43 PM, infiniter > >> wrote: > >> > > > >> > > > has anyone been able to get around the flicker issue when getting > >> the > >> > > > client > >> > > > timezone from WebSession#getClientInfo in a painless way? > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > View this message in context: > >> > > > > >> > > > >> > > >> > http://apache-wicket.1842946.n4.nabble.com/client-timezone-and-flickering-tp4661284.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 > >> > > > > >> > > > > >> > > > >> > > >> > > >> > > >> > -- > >> > WBR > >> > Maxim aka solomax > >> > > >> > > > > > > > > -- > > WBR > > Maxim aka solomax > > > > > > -- > WBR > Maxim aka solomax >