Redirecting from Ajax onSubmit
I am trying to do the redirection from AjaxSubmitLink onSubmit method using this RequestCycle.get().scheduleRequestHandlerAfterCurrent(reqTarget); But i am not seeing redirection on browser I am using wicket 1.5.7 Please help me -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirecting-from-Ajax-onSubmit-tp4650938.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
How to Mount Multiple URLS to Same Class in wicket 1.5.7
I am making an application where multiple urls need to mount to Same Class Like /product /category /upgrades to DynamicWebPage.class I have mount like new MountMapper(url, class); Now when i hit the page /product its coming fine, but all the links on that page is coming like this /category?fsadas:dgs which should be /product?fsadas:dgs My thought is that its coming like that because both urls pointing to same class Please help on this -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-Mount-Multiple-URLS-to-Same-Class-in-wicket-1-5-7-tp4650932.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: Redirecting from Ajax onSubmit
So What should i do exactly in this case -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirecting-from-Ajax-onSubmit-tp4650938p4650971.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: How to Mount Multiple URLS to Same Class in wicket 1.5.7
Actually I cant do in my case As i have given a flexibility to create n number of pages by adding and removing different wicket components and my framework allows to add those component dynamically in a class So every time when we need to create new page using those components can be done without and dev work. Is there any other way. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-Mount-Multiple-URLS-to-Same-Class-in-wicket-1-5-7-tp4650932p4650972.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: How to Mount Multiple URLS to Same Class in wicket 1.5.7
Thanks Christophe Opoix for the suggestion and it works -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-Mount-Multiple-URLS-to-Same-Class-in-wicket-1-5-7-tp4650932p4650997.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: Redirecting from Ajax onSubmit
It was the problem with the Ajax.basurl , now its working fine -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Redirecting-from-Ajax-onSubmit-tp4650938p4650998.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
Values got lost from Property model or compound property model on ajax call
Please help me i have page and using compound property model i am showing the values on clicking ajax link values got lost from the model -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Values-got-lost-from-Property-model-or-compound-property-model-on-ajax-call-tp4651001.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: Values got lost from Property model or compound property model on ajax call
I can not paste the exact code but i am putting replica of that code public class BillingAddressPanel extends Panel { public BillingAddressPanel() { final CompoundPropertyModel model = new CompoundPropertyModel(getShoppingCart()); // use CompoundPropertyModel. setDefaultModel(model); add(new Label(WKT_FIRST_NAME).setEscapeModelStrings(false)); add(new Label(WKT_LAST_NAME).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_COMPANY).setEscapeModelStrings(false)); add(new Label(WKT_ADDRESS_ONE).setEscapeModelStrings(false)); add(new Label(WKT_ADDRESS_TWO).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_APT_SUITE).setEscapeModelStrings(false)); add(new Label(WKT_CITY).setEscapeModelStrings(false)); add(new Label(KEY_BILLADDR_STATE).setEscapeModelStrings(false)); add(new AjaxLink(){ @Override public void onClick(AjaxRequestTarget target) { logger.debug("[CompleteOrderLink] [onClick] Starts "); WebRequest webRequest = (WebRequest) RequestCycle.get().getRequest(); WebResponse webResponse = (WebResponse) RequestCycle.get().getResponse(); Here I am not able to get the value from ShoppingCart.getFirstName, last Name , all values got blank } }) } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Values-got-lost-from-Property-model-or-compound-property-model-on-ajax-call-tp4651001p4651004.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: how to map 2 html files to 1 class?
Guys, You can always create dynamic class Use java assist I was also having same problem and i use that and it works fine -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-map-2-html-files-to-1-class-tp1890619p4651138.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
Not to validate the Html while rendering in wicket
I want to disable the Html validation while rendering in wicket 1.5.7 I am running wicket in deployment mode Please suggest its urgent -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-to-validate-the-Html-while-rendering-in-wicket-tp4651202.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: Not to validate the Html while rendering in wicket
I was thinking the same thing but it looks like it is not and its throwing an exception -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Not-to-validate-the-Html-while-rendering-in-wicket-tp4651202p4651205.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
Avoiding XMlPullParser Parse exception
I am migrating from 1.3.4 to 1.5.7 No in my Html some places extra quotes are exits but my Html was working fine in 1.3.4 Now in 1.5.7 parsing exception is coming I can not modified htmls as i am having around 1k htmls please suggest what to do and how to solve this -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Avoiding-XMlPullParser-Parse-exception-tp4651210.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: Avoiding XMlPullParser Parse exception
Hmm So there is no other way ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Avoiding-XMlPullParser-Parse-exception-tp4651210p4651214.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
HybridPageParamter encoder
Hi I am using wicket 1.5.7 and i want my url to be formed as /mf/landing and if i am hitting /mf/landing/?=&= then it should also work and url in the browser should remain same. Which is not happening when i am using HybridPageParamterEncoder , it is redirecting again by changing the format Please help me -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279.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: HybridPageParamter encoder
Thanks Martin for checking this , Actually in my system they want to support both in single request like /mounturl//?q=1 is this possible ? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279p4653467.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: HybridPageParamter encoder
Thanks But sorry to bother you again and again, If wicket can ignore the ?param1=value1 , and do not use them as parameters my problem will be solved but wicket should not changed the url in browser Thanks Vinit -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/HybridPageParamter-encoder-tp4653279p4653470.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