Re: Wicket and Javascript framework integration
check this https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jquery-parent Dipu On Wed, Dec 24, 2008 at 6:15 AM, T C tc_wic...@yahoo.com wrote: I understand all integrations may be different but has anyone posted a recipe for how to create an integration jQuery, i.e., what is required for creating a behavior? Thanks, /tc From: Jeremy Thomerson jer...@wickettraining.com To: users@wicket.apache.org Cc: fredy.wij...@gmail.com Sent: Tuesday, December 23, 2008 6:20:18 PM Subject: Re: Wicket and Javascript framework integration Check out one of the many examples in Wicket Stuff, for instance, the YUI integration: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/yui/ You can also see what Nino has just been working on in the past couple of days with this: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/artwork-parent/artwork/ Basically, you'll just need to include the JS file (i.e. jQuery, etc) with a ResourceReference, and then create a behavior (for example, extend AbstractBehavior) that adds the appropriate JS code to the page to add jQuery (or other) components / behaviors to your Wicket components. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Dec 23, 2008 at 8:15 PM, tabiul mahmood tab...@gmail.com wrote: Hi, I would like to know more about how can I go about integrating wicket with one of the popular javascript framework (Dojo or jQuery). We would like to use the standard wicket component and flavour the component with the JS. I want to avoid writing wicket component extension. I am aware that there is Ajax based Wicket component but how can I go about adding my own feature which might be lacking with the wicket Ajax component? If there is any sample that I can refer to that would be helpful Thanks -- Regards, Tabiul Mahmood - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Ajax Table Demo
The dropdowns are not updating via ajax as I could see they refresh the whole screen? Ayodeji Aladejebi wrote: please can you explain what you mean? its actually still in making... On Tue, Dec 23, 2008 at 11:20 PM, Nino Martinez nino.martinez.w...@gmail.com wrote: Yeah, but why not go all the way, and make the dropdowns ajax too..? Ayodeji Aladejebi wrote: Better quality video http://uk.youtube.com/watch?v=QujRhlCRb9w - 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: Wicket and Javascript framework integration
I also wrote something on my blog on this : http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/ And on the company blog I worked for at a time: http://blog.jayway.com/2008/09/26/wicket-javascript-internals-dissected/ T C wrote: I understand all integrations may be different but has anyone posted a recipe for how to create an integration jQuery, i.e., what is required for creating a behavior? Thanks, /tc From: Jeremy Thomerson jer...@wickettraining.com To: users@wicket.apache.org Cc: fredy.wij...@gmail.com Sent: Tuesday, December 23, 2008 6:20:18 PM Subject: Re: Wicket and Javascript framework integration Check out one of the many examples in Wicket Stuff, for instance, the YUI integration: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/yui/ You can also see what Nino has just been working on in the past couple of days with this: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/artwork-parent/artwork/ Basically, you'll just need to include the JS file (i.e. jQuery, etc) with a ResourceReference, and then create a behavior (for example, extend AbstractBehavior) that adds the appropriate JS code to the page to add jQuery (or other) components / behaviors to your Wicket components. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Wicket Ajax Table Demo
no they doits ajax all the way...its not the whole screen refreshing, just the table section. the screen flicker was the fault of the screen capture software On Wed, Dec 24, 2008 at 9:17 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: The dropdowns are not updating via ajax as I could see they refresh the whole screen? Ayodeji Aladejebi wrote: please can you explain what you mean? its actually still in making... On Tue, Dec 23, 2008 at 11:20 PM, Nino Martinez nino.martinez.w...@gmail.com wrote: Yeah, but why not go all the way, and make the dropdowns ajax too..? Ayodeji Aladejebi wrote: Better quality video http://uk.youtube.com/watch?v=QujRhlCRb9w - 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: Wicket Ajax Table Demo
Ahh Cool then :) Merry x-mas Ayodeji Aladejebi wrote: no they doits ajax all the way...its not the whole screen refreshing, just the table section. the screen flicker was the fault of the screen capture software On Wed, Dec 24, 2008 at 9:17 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: The dropdowns are not updating via ajax as I could see they refresh the whole screen? Ayodeji Aladejebi wrote: please can you explain what you mean? its actually still in making... On Tue, Dec 23, 2008 at 11:20 PM, Nino Martinez nino.martinez.w...@gmail.com wrote: Yeah, but why not go all the way, and make the dropdowns ajax too..? Ayodeji Aladejebi wrote: Better quality video http://uk.youtube.com/watch?v=QujRhlCRb9w - 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: [OT] Merb-Rails Merge
I hope Java web frameworks never got merged together. Whenever my Rails dudes points toward how many Java has web frameworks and considering this as a bad thing, I smile. I smile because they don't have an option, just Rails. We (Java guys), have request/action frameworks, component-based frameworks, Java2JavaScript frameworks, Hybrid framework. DHH is a jerk, but a smart one. He tries so hard to convince every body on the planet that his Rails is the ultimate framework. Rails should be a good replacement of PHP, nothing more. The funniest thing when I hear Ruby/Rails guys talking about deploying Rails applications in the enterprise, What a good joke !! Serkan Camurcuoglu wrote: This page http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 made me dream about a world where all Java web frameworks merge into Wicket :) -- View this message in context: http://www.nabble.com/-OT--Merb-Rails-Merge-tp21151511p21156821.html Sent from the Wicket - User 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: [OT] Merb-Rails Merge
Please, no Ruby bashing here (or no bashing whatsoever). The Ruby world has many more options besides Rails and Merb. Camping, Sinatra, Ramaze, Nitro just to name a few. Its not such a ridiculous long list as in the Java world, but hey, Ruby has not been popular for that long. Rails should be a good replacement of PHP, nothing more. I think you severely underestimate both. (When given to the right people of course.) I hope Java web frameworks never got merged together. Too late :) Struts merged with Webworks. But I agree; choice is good. Erik. HHB wrote: I hope Java web frameworks never got merged together. Whenever my Rails dudes points toward how many Java has web frameworks and considering this as a bad thing, I smile. I smile because they don't have an option, just Rails. We (Java guys), have request/action frameworks, component-based frameworks, Java2JavaScript frameworks, Hybrid framework. DHH is a jerk, but a smart one. He tries so hard to convince every body on the planet that his Rails is the ultimate framework. Rails should be a good replacement of PHP, nothing more. The funniest thing when I hear Ruby/Rails guys talking about deploying Rails applications in the enterprise, What a good joke !! -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).
Not sure if this applies to your case but have you seen http://cwiki.apache.org/WICKET/websphere.html Notes on using Wicket with WebSphere ? -- View this message in context: http://www.nabble.com/HTTP-error-code-404-is-returned-by-Wicket1.3.5%28WicketFilter%29-and-WAS6.0.1%28And-FixPack-21%29.-tp21155885p21156851.html Sent from the Wicket - User 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: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).
Thank you for the giving information. To our regret, I already had confirmed this information. HTTP error code 404 is not generated because I am using WicketServlet now. However, the use of WicketFilter is recommended from WicketServlet since Wicket1.3. I want to learn the achievement method in WicketFilter. If I can do, I want to learn the achievement method in WicketFilter. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: [OT] wicket users around the world
Switzerland, Basel, like Sébastien! On 11.12.2008, at 19:57, francisco treacy wrote: to know a little bit more of our great (and vast) community, i was just wondering if you're keen on sharing where you come from and/or where you work with wicket... for instance, here argentinian/belgian working with wicket in antibes, france francisco - 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: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).
To our regret, I already had confirmed this information. HTTP error code 404 is not generated because I am using WicketServlet now. However, the use of WicketFilter is recommended from WicketServlet since Wicket1.3. I want to learn the achievement method in WicketFilter. If I can do, I want to learn the achievement method in WicketFilter. -- View this message in context: http://www.nabble.com/HTTP-error-code-404-is-returned-by-Wicket1.3.5%28WicketFilter%29-and-WAS6.0.1%28And-FixPack-21%29.-tp21155885p21156900.html Sent from the Wicket - User 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: About a thread safe problem of the WebApplication class
It might be one idea to use concurrenthashmap. However, concurrenthashmap is API supported from JDK1.5. Moreover, I think that the Wicket1.3 series was JDK1.4 support. Therefore, I think that the method of exclusively controlling the method is suitable in this case(synchronized). -- View this message in context: http://www.nabble.com/About-a-thread-safe-problem-of-the-WebApplication-class-tp21154813p21156901.html Sent from the Wicket - User 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
ClassCastException in BehaviorRequestTarget
I've run across a couple of strange ClassCastExceptions in our logs re: the HeaderContributor: java.lang.ClassCastException: org.apache.wicket.behavior.HeaderContributor at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:91) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353) at org.apache.wicket.RequestCycle.request(RequestCycle.java:493) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:378) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.rememberme.RememberMeProcessingFilter.doFilterHttp(RememberMeProcessingFilter.java:109) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.webapp.DefaultLoginPageGeneratingFilter.doFilterHttp(DefaultLoginPageGeneratingFilter.java:86) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.ui.AbstractProcessingFilter.doFilterHttp(AbstractProcessingFilter.java:277) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:390) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:175) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:236) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
Re: [OT] Merb-Rails Merge
Okay, but you'd just get Wicket again. Serkan Camurcuoglu wrote: This page http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 http://weblog.rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 made me dream about a world where all Java web frameworks merge into Wicket :) -- View this message in context: http://www.nabble.com/-OT--Merb-Rails-Merge-tp21151511p21156938.html Sent from the Wicket - User 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 Ajax Table Demo
Merry Xmas to you too On Wed, Dec 24, 2008 at 11:41 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: Ahh Cool then :) Merry x-mas Ayodeji Aladejebi wrote: no they doits ajax all the way...its not the whole screen refreshing, just the table section. the screen flicker was the fault of the screen capture software On Wed, Dec 24, 2008 at 9:17 AM, Nino Martinez nino.martinez.w...@gmail.com wrote: The dropdowns are not updating via ajax as I could see they refresh the whole screen? Ayodeji Aladejebi wrote: please can you explain what you mean? its actually still in making... On Tue, Dec 23, 2008 at 11:20 PM, Nino Martinez nino.martinez.w...@gmail.com wrote: Yeah, but why not go all the way, and make the dropdowns ajax too..? Ayodeji Aladejebi wrote: Better quality video http://uk.youtube.com/watch?v=QujRhlCRb9w - 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 Get A Free Blog: http://blogs.cowblock.net/
Re: HTTP error code 404 is returned by Wicket1.3.5(WicketFilter) and WAS6.0.1(And FixPack 21).
The WicketSerlvet class is still fully supported -- if you look closely at its code, you will see that it basically hands everything off to the WicketFilter class. My experience has been that the servlet solution works best with WebSphere 6.1. -- View this message in context: http://www.nabble.com/HTTP-error-code-404-is-returned-by-Wicket1.3.5%28WicketFilter%29-and-WAS6.0.1%28And-FixPack-21%29.-tp21155885p21156963.html Sent from the Wicket - User 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
about homepage in url path
I use version is wicket1.3.3 I mount Homepage is /home mountBookmarkablePage(/home, Home.class); now if I view http://www.abc.com , URL path will be automatic changed http://www.abc.com/home. but I don't allow it ,because I use apache rewrite , if url is htt://www.abc.com/username, redirect to http://username.abc.com , but url will be changed http://username.abc.com/home . I want to delete /home in url ,please help me !! thanks ! -- View this message in context: http://www.nabble.com/about-homepage-in-url-path-tp21156988p21156988.html Sent from the Wicket - User 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: Unit testing ListView
pokkie wrote: I am trying to write a test case for my listView that contains some links. When the user clicks on a link, a certain action should be performed, and it is for this action that I wish to write a test case for. I can get a handle on the ListView by using the wicketTester.getLastRenderedPage().get(pathToListView);, but the problem then is that the listView isn't populated. I thought about extracting the above method call, into a variable, so that the listView is returned, i.e. MyListView listView = (MyListView)wicketTester.getLastRenderedPage().get(pathToListView); // Populate the listView with a model object so that it will populate the ListView listView.setModelObject(new ModelObject()); // Create a new ListItem so that the listView can be populated ListItem listItem = new ListItem(0, listView.getModel()); // Populate the listView with the listItem listView.populateItem(listItem); // Execute ajax event wicketTester.executeAjaxEvent(pathToLinkOnListView,onclick); Would be greatful if somebody could advise me on how to proceed. Thanks, -- pokkie Please use: ListItem listItem = (ListItem) listView.get(0); to get the ListItem, then you can go ahead. -- View this message in context: http://www.nabble.com/Unit-testing-ListView-tp12631265p21157383.html Sent from the Wicket - User 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: about homepage in url path
Don't mount your homepage - Wicket automatically responds with your Application.getHomePage() class at /. On Wed, Dec 24, 2008 at 8:37 PM, SunBasic sunqunf...@sina.com wrote: I use version is wicket1.3.3 I mount Homepage is /home mountBookmarkablePage(/home, Home.class); now if I view http://www.abc.com , URL path will be automatic changed http://www.abc.com/home. but I don't allow it ,because I use apache rewrite , if url is htt://www.abc.com/username, redirect to http://username.abc.com , but url will be changed http://username.abc.com/home . I want to delete /home in url ,please help me !! thanks ! -- View this message in context: http://www.nabble.com/about-homepage-in-url-path-tp21156988p21156988.html Sent from the Wicket - User 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 -- Jeremy Thomerson http://www.wickettraining.com