Re: JNDI and mvn test
Hi, I'm executing the standard Wicket maven archetype's test target and it is having trouble finding my JNDI datasource. *mvn jetty:run* works just fine but when I execute the *mvn test* target from within m2eclipse, I get a huge stracktrace with the following excerpt: Caused by: javax.naming.NameNotFoundException; remaining name 'jdbc/ds' My pom references a jetty-env.xml file which includes the definition for this datasource but that entry is in the Jetty plugin section and I don't think it is is getting sourced when exec'ing the *mvn test *target. How should the maven lifecycle test know about jetty specific configuration files read by the jetty plugin? You could use simple-jndi for your purposes. I could provide you an example if you want to give it a try. Best Regards, Ilja Pavkovic -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342 465 Handelsregister: HRB 115854 - Amtsgericht Charlottenburg Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: table columns ajax update
Hi guys, where can I find this fantastic TableColumns? Thanx Pedro H. O. dos Santos wrote: I just commit the new version: - Refactoring the OrderingImage class - Using TableColumns and default renders per class to resolve the cell component creation - Remove the static cell model version - Css separation for selectableListView, since this class can to be used for direferent purposes than Table - Development of columns components that use ajax timing behavior On the table-example you can notes the line: table.getColumnModel().addColumn(new SelfUpdateColumn(1, Duration.seconds(5))); Hope it is what you looking for, best regards On Mon, Oct 5, 2009 at 3:19 AM, vineet semwal vineetsemwal1...@gmail.comwrote: Pedro, eagerly waiting for next version ;) thank you , -- regards, Vineet Semwal On Mon, Oct 5, 2009 at 4:25 AM, Pedro Santos pedros...@gmail.com wrote: Hi Semwal, it has capability to update some columns. I update HomePage on table-example to show how it can be done now. But it makes no sense, since the model on non editable cells table are static, so the values on table model will not be queried every ajax update. In next version, all table cells will have dynamic models. On Sun, Oct 4, 2009 at 3:04 AM, vineet semwal vineetsemwal1...@gmail.com wrote: Pedro, does it have or will it have capability to update some columns in a table with ajax timer ? table still is good but good to hear that you are doing major improvement in design ;) thank you ! -- regards, Vineet Semwal On Sun, Oct 4, 2009 at 3:57 AM, Pedro Santos pedros...@gmail.com wrote: Hi Semwal, I'm currently working on Table class design to turn simple this kind of extension. On Sat, Oct 3, 2009 at 10:38 AM, vineet semwal vineetsemwal1...@gmail.comwrote: can i update some columns in wicket-stuff table with ajax timer ? i have seen wicket-stuff table example but can't understand how to do it .. -- regards, Vineet Semwal -- Pedro Henrique Oliveira dos Santos -- Pedro Henrique Oliveira dos Santos -- Pedro Henrique Oliveira dos Santos -- View this message in context: http://old.nabble.com/table-columns-ajax-update-tp25728860p26691434.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
button in one panel can change the components in other panel ?
Hi, I need a help in wicket. I have a panel containing a button and another panel containing components. on click of the first panel button i want to change the second panel components. Is there any way to do that. Please reply ASAP. Regards Madhu.
Re: button in one panel can change the components in other panel ?
The simplest solution is to make your button a submit button, this way when it clicked, the entire page will be reloaded components will render according to their new state. The second approach can be using ajax. I prefer the approach described on this blog: http://techblog.molindo.at/2008/09/wicket-loose-coupling-of-componens-for-ajax-updates.html Alex Objelean Madhuri Garimella wrote: Hi, I need a help in wicket. I have a panel containing a button and another panel containing components. on click of the first panel button i want to change the second panel components. Is there any way to do that. Please reply ASAP. Regards Madhu. -- View this message in context: http://old.nabble.com/button-in-one-panel-can-change-the-components-in-other-panel---tp26692926p26693609.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: button in one panel can change the components in other panel ?
I suggest you work with a callback/listener mechanism. ButtonPanel has a reference to a calback/listener. In the onclick() you call that callback. The implementation of that callback can be done by the component/page that uses the buttonPanel. (Losely coupling...) On Tue, Dec 8, 2009 at 12:21 PM, Madhuri Garimella m.garimel...@gmail.comwrote: Hi, I need a help in wicket. I have a panel containing a button and another panel containing components. on click of the first panel button i want to change the second panel components. Is there any way to do that. Please reply ASAP. Regards Madhu. -- Pieter Degraeuwe Systemworks bvba Belgiëlaan 61 9070 Destelbergen GSM: +32 (0)485/68.60.85 Email: pieter.degrae...@systemworks.be visit us at http://www.systemworks.be
Re: Bookmarkable images from db
Hi, Actually there is a clean and easy Wicket way to do this. No servlets, no URL hand writing. It is achieved by using a shared resource with parameters as mentioned above. I have described it http://dotev.blogspot.com/2009/11/serving-images-and-other-resources-with.html here . Best regards, Peter Juan Pablo Picasso wrote: Hi, I've implemented this by mounting a bookmarkable page and writing into the response. I've imagine this bypasses some useful wicket features, but was the only way I use bookmarkable urls like /image/someImageName for mapping user uploaded images: #Application this.mount(new IndexedParamUrlCodingStrategy(/image, ImagePage.class)); #ImagePage class public class ImagePage extends WebPage { private static Logger logger = LoggerFactory.getLogger(ImagePage.class); @Override protected void onRender(MarkupStream markupStream) { String imageName = (String) this.getRequest().getParameterMap().get(0); byte[] fileContents = PersistenceFacade.readFile(imageName); try { this.getResponse().getOutputStream().write(fileContents); } catch (IOException e) { logger.error(Could not write image [ + imageName + ] into the response, e); } } } } Any suggestions are welcome, regards! Juan On Mon, Nov 2, 2009 at 3:00 PM, Alex Objelean alex_objel...@yahoo.comwrote: Exactly. You can see the example posted by Vytautas Racelis earlier at this link: http://xaloon.googlecode.com/svn/trunk/xaloon-wicket-repository/src/main/java/org/xaloon/wicket/component/resource/ImageLink.java I prefer to do it this way: http://pastebin.com/m328e21ff The first example allow you to use directly an Image component, while the second allows you to build the url of any resource by name.. Alex Objelean Peter Dotchev wrote: Hi Alex, I check SharedResources, but as I understand it I would have to add there a Resource object for each image. After checking again the javadoc there might be another way. Display each image with Image constructor that takes ValueMap and provide there some image identification. Add a single Resource object for all images and from getResourceStream() implementation to call getParameters() which will return the same parameters passed to Image constructor and tell me which image to return. Will this work? Best regards, Petar Alexandru Objelean wrote: Besides the servlet, there is also a wicket way of do it: - Use shared resource, which is stateless and bookmarkable If you need more informations about this approach, search on forum or just ask... and I'll provide you with some examples of how I do it.. Alex Objelean Peter Dotchev wrote: Hi, My app allows users to upload images and I store them in JCR http://en.wikipedia.org/wiki/Content_repository_API_for_Java. I can get InputStream for each one of them. I want to display images in specific pages and I want image URLs to be stable/bookmarkable. Also I don't want these pages to use the session in any way. I checked again chapter 9 about images from Wicket In Action but such use case is not addressed there. I found that SharedResources allows for stable URLs, but I cannot register each individual image. What approach would you suggest? Best regards, Peter -- View this message in context: http://old.nabble.com/Bookmarkable-images-from-db-tp26154577p26157757.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 -- View this message in context: http://old.nabble.com/Bookmarkable-images-from-db-tp26154577p26693928.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
Wicket Test Harness and HTTP objects
I discovered as I implemented the SessionListener to clean up user record locks that the WicketTester object does not behave as expected in regards to the HttpSession objects. I expected to have my MockHttpSession already configured with the application session object bound in the specified location. In otherwords I would expect the following to work: MySession session = MySession.get(); HttpSession htSession = tester.getHttpSession(); assertEquals(session, htSession.get(wicket:myapp.context: + Session.SESSION_ATTRIBUTE_NAME)) This is a true condition with a deployed application, however the mapping has to be done manually by my testcase. Is this by design or is this a bug? The mock objects should provide enough imitation of reality to allow testing integration points like this a bit easier.
Redirect after for submit, but not what you think
Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744
RE: Redirect after for submit, but not what you think
So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Redirect after for submit, but not what you think
That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Redirect after for submit, but not what you think
You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26697704.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: Redirect after for submit, but not what you think
I could do that, but would be nicer if I didn't have to touch n classes or create a class hierarchy for my Panel. I don't like my Page knowing so much about what goes on in my Panels either. Thanks! Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:44 PM, Alex Objelean alex_objel...@yahoo.comwrote: You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26697704.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: Redirect after for submit, but not what you think
You can define a default behavior (for instance no redirect after submit) apply redirect only for few pages. It is a nice solution... it reminds me about template method design pattern. Alex rmoskal wrote: I could do that, but would be nicer if I didn't have to touch n classes or create a class hierarchy for my Panel. I don't like my Page knowing so much about what goes on in my Panels either. Thanks! Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:44 PM, Alex Objelean alex_objel...@yahoo.comwrote: You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26697704.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 -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26698038.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
Questions about Serialization...
Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? If no, why ? Technically, is it possible to imagine a SimpleHttpSessionPageStore that don't serialize objects and keep them as they are in session, like it's done in others frameworks ? I know, the main reason is to save Session memory by writing pages versions on disk... ok. But... I'm working on an app that consist of few pages, not versioned (no need of the back button support), because I need to keep page state through navigation, I keep pages references created, avoiding creation of a new page instance when back on a visited page.. I don't need to write anything on disk, the session space is enough. This way, i wanted to share a data object instance between pages (as class member), for modification. But due to the Page Serialization the object identity is broken. My unique data object instance turn into several instances (As much as pages that references it i guess ...) I know that I can get arround this by putting directly my object in session.. But, my question is, why to force serialization when we don't need it ? Regards, Yves-Marie PS : sorry for my english. Thanks!
Re: Redirect after for submit, but not what you think
Thanks Alex. It does seem a like a slightly old-fashioned way of doing things. My factory instantiates the Panels by reflection from the class name (kept in a spring file). I personally don't know how to create an anonymous class when I instantiate something using the reflection api. I suppose I could pass in an interface that is to be called by the onSubmit method or change the factory to create an anonymous subclass of my panels, but all this seems like a lot of work to accomplish such a simple thing. I will keep thinking on it and will post if I come up a less obtrusive way to handle this. You have helped me focus my thoughts. Regards, Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 1:05 PM, Alex Objelean alex_objel...@yahoo.comwrote: You can define a default behavior (for instance no redirect after submit) apply redirect only for few pages. It is a nice solution... it reminds me about template method design pattern. Alex rmoskal wrote: I could do that, but would be nicer if I didn't have to touch n classes or create a class hierarchy for my Panel. I don't like my Page knowing so much about what goes on in my Panels either. Thanks! Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:44 PM, Alex Objelean alex_objel...@yahoo.comwrote: You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26697704.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 -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26698038.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: Redirect after for submit, but not what you think
Wicket is unmanaged framework. I've never have seen a wicket code which would use instantiation of panels using spring. I don't know I understand it... do you have some special use-case? Can you describe it? My first thought is, that this is some sort of over engineering which doesn't bring you any advantage. Alex rmoskal wrote: Thanks Alex. It does seem a like a slightly old-fashioned way of doing things. My factory instantiates the Panels by reflection from the class name (kept in a spring file). I personally don't know how to create an anonymous class when I instantiate something using the reflection api. I suppose I could pass in an interface that is to be called by the onSubmit method or change the factory to create an anonymous subclass of my panels, but all this seems like a lot of work to accomplish such a simple thing. I will keep thinking on it and will post if I come up a less obtrusive way to handle this. You have helped me focus my thoughts. Regards, Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 1:05 PM, Alex Objelean alex_objel...@yahoo.comwrote: You can define a default behavior (for instance no redirect after submit) apply redirect only for few pages. It is a nice solution... it reminds me about template method design pattern. Alex rmoskal wrote: I could do that, but would be nicer if I didn't have to touch n classes or create a class hierarchy for my Panel. I don't like my Page knowing so much about what goes on in my Panels either. Thanks! Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:44 PM, Alex Objelean alex_objel...@yahoo.comwrote: You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26697704.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 -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26698038.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 -- View this message in context: http://old.nabble.com/Redirect-after-for-submit%2C-but-not-what-you-think-tp26697152p26699099.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:
Re: Questions about Serialization...
Where do you keep your data between pages if not in session? ** Martin 2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? If no, why ? Technically, is it possible to imagine a SimpleHttpSessionPageStore that don't serialize objects and keep them as they are in session, like it's done in others frameworks ? I know, the main reason is to save Session memory by writing pages versions on disk... ok. But... I'm working on an app that consist of few pages, not versioned (no need of the back button support), because I need to keep page state through navigation, I keep pages references created, avoiding creation of a new page instance when back on a visited page.. I don't need to write anything on disk, the session space is enough. This way, i wanted to share a data object instance between pages (as class member), for modification. But due to the Page Serialization the object identity is broken. My unique data object instance turn into several instances (As much as pages that references it i guess ...) I know that I can get arround this by putting directly my object in session.. But, my question is, why to force serialization when we don't need it ? Regards, Yves-Marie PS : sorry for my english. Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Questions about Serialization...
you can create your own ISessionStore implementation that keeps all objects in memory. -igor 2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? If no, why ? Technically, is it possible to imagine a SimpleHttpSessionPageStore that don't serialize objects and keep them as they are in session, like it's done in others frameworks ? I know, the main reason is to save Session memory by writing pages versions on disk... ok. But... I'm working on an app that consist of few pages, not versioned (no need of the back button support), because I need to keep page state through navigation, I keep pages references created, avoiding creation of a new page instance when back on a visited page.. I don't need to write anything on disk, the session space is enough. This way, i wanted to share a data object instance between pages (as class member), for modification. But due to the Page Serialization the object identity is broken. My unique data object instance turn into several instances (As much as pages that references it i guess ...) I know that I can get arround this by putting directly my object in session.. But, my question is, why to force serialization when we don't need it ? Regards, Yves-Marie PS : sorry for my english. Thanks! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxEditableLabel
Try to add URIEncoding=UTF-8 in the Connector meta in the server.xml file of Tomcat: Connector URIEncoding=UTF-8 ... Should solve your problem... Regards, Gabriel. -- View this message in context: http://old.nabble.com/AjaxEditableLabel-tp26676156p26699350.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: Questions about Serialization...
2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? It is. Use only stateless components. Technically, is it possible to imagine a SimpleHttpSessionPageStore that don't serialize objects and keep them as they are in session, like it's done in others frameworks ? Logic flaw: session contents CAN get serialized. Read Servlet spec, you shouldn't put non-serializable stuff in session. But... I'm working on an app that consist of few pages, not versioned (no need of the back button support), because I need to keep page state through navigation, I keep pages references created, avoiding creation of a new page instance when back on a visited page.. I don't need to write anything on disk, the session space is enough. Same flaw. This way, i wanted to share a data object instance between pages (as class member), for modification. But due to the Page Serialization the object identity is broken. That just means your data object serialization is broken. Sidenote: you can use HttpSessionStore (instead of SecondLevelCacheSessionStore) to make wicket store everything in session (but not in it's custom wicket on-disk store) - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Redirect after for submit, but not what you think
Our application is configured after compilation. I have many different renderers implemented as panels with a private form for a large population of content types. When we deploy the application we have to specify the ones we want to actually use. Since there's no compilation involved in deploying and since we already use it for all sorts of other things (like specifying persistence providers, third party integration), the spring context seems like a a natural place from which to load the Currently I'm thinking about implementing the functionality using jquery in the client. Find the appropriate ui control, decorate it and programmatically click the next button. It's elegant in the sense that use case is addressed with a single change and not too fragile, since it is done on the page level and page is where the paging control lives. Again Alex, thanks for sharpening my thoughts ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 2:12 PM, Alex Objelean alex_objel...@yahoo.comwrote: Wicket is unmanaged framework. I've never have seen a wicket code which would use instantiation of panels using spring. I don't know I understand it... do you have some special use-case? Can you describe it? My first thought is, that this is some sort of over engineering which doesn't bring you any advantage. Alex rmoskal wrote: Thanks Alex. It does seem a like a slightly old-fashioned way of doing things. My factory instantiates the Panels by reflection from the class name (kept in a spring file). I personally don't know how to create an anonymous class when I instantiate something using the reflection api. I suppose I could pass in an interface that is to be called by the onSubmit method or change the factory to create an anonymous subclass of my panels, but all this seems like a lot of work to accomplish such a simple thing. I will keep thinking on it and will post if I come up a less obtrusive way to handle this. You have helped me focus my thoughts. Regards, Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 1:05 PM, Alex Objelean alex_objel...@yahoo.comwrote: You can define a default behavior (for instance no redirect after submit) apply redirect only for few pages. It is a nice solution... it reminds me about template method design pattern. Alex rmoskal wrote: I could do that, but would be nicer if I didn't have to touch n classes or create a class hierarchy for my Panel. I don't like my Page knowing so much about what goes on in my Panels either. Thanks! Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:44 PM, Alex Objelean alex_objel...@yahoo.comwrote: You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- View
Re: Redirect after for submit, but not what you think
You may want to take a look to brix (http://code.google.com/p/brix-cms/) project. It is a wicket-based CMS framework it also has a similar use-case like yours. Maybe you'll find their approach interesting... Alex rmoskal wrote: Our application is configured after compilation. I have many different renderers implemented as panels with a private form for a large population of content types. When we deploy the application we have to specify the ones we want to actually use. Since there's no compilation involved in deploying and since we already use it for all sorts of other things (like specifying persistence providers, third party integration), the spring context seems like a a natural place from which to load the Currently I'm thinking about implementing the functionality using jquery in the client. Find the appropriate ui control, decorate it and programmatically click the next button. It's elegant in the sense that use case is addressed with a single change and not too fragile, since it is done on the page level and page is where the paging control lives. Again Alex, thanks for sharpening my thoughts ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 2:12 PM, Alex Objelean alex_objel...@yahoo.comwrote: Wicket is unmanaged framework. I've never have seen a wicket code which would use instantiation of panels using spring. I don't know I understand it... do you have some special use-case? Can you describe it? My first thought is, that this is some sort of over engineering which doesn't bring you any advantage. Alex rmoskal wrote: Thanks Alex. It does seem a like a slightly old-fashioned way of doing things. My factory instantiates the Panels by reflection from the class name (kept in a spring file). I personally don't know how to create an anonymous class when I instantiate something using the reflection api. I suppose I could pass in an interface that is to be called by the onSubmit method or change the factory to create an anonymous subclass of my panels, but all this seems like a lot of work to accomplish such a simple thing. I will keep thinking on it and will post if I come up a less obtrusive way to handle this. You have helped me focus my thoughts. Regards, Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 1:05 PM, Alex Objelean alex_objel...@yahoo.comwrote: You can define a default behavior (for instance no redirect after submit) apply redirect only for few pages. It is a nice solution... it reminds me about template method design pattern. Alex rmoskal wrote: I could do that, but would be nicer if I didn't have to touch n classes or create a class hierarchy for my Panel. I don't like my Page knowing so much about what goes on in my Panels either. Thanks! Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:44 PM, Alex Objelean alex_objel...@yahoo.comwrote: You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :). ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at 12:09 PM, Alex Rass a...@itbsllc.com wrote: So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I want to deploy an application where I do the auto-navigation and sometimes I want the user to stay on the same page after submitting. The ideal place seems to be on the page level. but it seems you can't call setResponsePage in the onDetach method. Where in request life-cycle would be the place to do this sort of redirect? Thanks and regards, ___ Robert Moskal Most Media
Form submit error after upgrading to 4.1
I've been having some upgrade woes. I tried to upgrade to 4.3 and got the wicket:enclosure error then I rolled back to 4.1 and everything seemed fine, but I just found an error with a form that wouldn't submit. I had a drop drop that was set to required and it was preventing the form from submitting even though it had a valid value. This works fine in 4.0 but not in 4.1. D/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Form submit error after upgrading to 4.1
quickstart+jira issue. -igor On Tue, Dec 8, 2009 at 2:24 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I've been having some upgrade woes. I tried to upgrade to 4.3 and got the wicket:enclosure error then I rolled back to 4.1 and everything seemed fine, but I just found an error with a form that wouldn't submit. I had a drop drop that was set to required and it was preventing the form from submitting even though it had a valid value. This works fine in 4.0 but not in 4.1. D/ - 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
Data Provider
Hello Group, Just a questions to get a point in the right direction. I have a Modal Window that opens when a Search AjaxLink is clicked. All is Good There. The modal Window is a form which has a datatable which autoupdates on textfield. No Problems there. The problem is the Navigation 1 2 3 4 5 6 When I click on the Navigation, the Model window closes. When I click on the ajaxLink again, the Model opens at the page I clicked prior to the window closing. odd, not sure if this is the wrong component to use, or if I need to set some parameter to prevent the Model Window from closing. Thanks, joe.
Re: WicketStuff and wicket-contrib-javaee
On Tue, 2009-12-08 at 00:26 +0100, Major Péter wrote: Hi all, Lately I had to make some refactoring in wicket-contrib-javaee, and I saw, that the project is not well maintained. In the repo I only could find the source for v1.0, but only on sourceforge did I found the v1.1 sources. :s So after I had refactored the source to make it work with Wicket 1.5 trunk, I would like to resurrect, maybe maintain the project for a while. I've found these guides: http://wicketstuff.org/confluence/display/STUFFWIKI/Developer+Information http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Core+-+Migration+Guide Is there something else, that I should be aware of? Also I'm using NetBeans with Automatic Code Format, but as far as I know there are some code format rules for projects (how the code should be indented where are the brackets, etc). The only problem is that NetBeans auto format doesn't format the code this way, so I may would break these rules. Do you know any tool which would solve me this issue? :) Thanks Best Regards, Peter Major Hey Peter, Well, it would appear there hasn't been a massive response to your question (which IMHO appears to be pretty common whenever you mention EJB on this list), but anyway I'm very interested in what you've done and I really hope you can take over the maintenance of wicket-contrib-javaee. Thanks, Alan. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: WicketStuff and wicket-contrib-javaee
Hi Peter, When my response has EJB in it, it can't be MASSIVE because EJB, you hardly worry about it. EJB is great, easy to use, and Wicket with EJB is even better. VERY powerful combination. The thing is it just works, and there is no need to talk about it much, especially with the NetBeans Wicket plugin, NetBeans automatic Deploy on Save, refactoring support etc.. Many thanks for your contribution in this area. Bernard On Wed, 09 Dec 2009 11:51:18 +1100, you wrote: Hey Peter, Well, it would appear there hasn't been a massive response to your question (which IMHO appears to be pretty common whenever you mention EJB on this list), but anyway I'm very interested in what you've done and I really hope you can take over the maintenance of wicket-contrib-javaee. Thanks, Alan. - 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: Data Provider
Modal window can contain only ajax components. Are you using ajaxdatatable? ** Martin 2009/12/9 hill180 hill...@gmail.com: Hello Group, Just a questions to get a point in the right direction. I have a Modal Window that opens when a Search AjaxLink is clicked. All is Good There. The modal Window is a form which has a datatable which autoupdates on textfield. No Problems there. The problem is the Navigation 1 2 3 4 5 6 When I click on the Navigation, the Model window closes. When I click on the ajaxLink again, the Model opens at the page I clicked prior to the window closing. odd, not sure if this is the wrong component to use, or if I need to set some parameter to prevent the Model Window from closing. Thanks, joe. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Form submit error after upgrading to 1.4.1
I figured out that it has to do with required but not visible fields. Is this already a known issue? Also, I verified that it still exists in 1.4.4 D/ On Dec 8, 2009, at 4:32 PM, Igor Vaynberg wrote: quickstart+jira issue. -igor On Tue, Dec 8, 2009 at 2:24 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I've been having some upgrade woes. I tried to upgrade to 4.3 and got the wicket:enclosure error then I rolled back to 4.1 and everything seemed fine, but I just found an error with a form that wouldn't submit. I had a drop drop that was set to required and it was preventing the form from submitting even though it had a valid value. This works fine in 4.0 but not in 4.1. D/ - 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
2 ModalWIndows at once
I try to open two modal Windows at once AjaxLink onClick(AjaxRequestTarget) { modal1.show(target); modal2.show(target); } Both modal windows are Pages, no panels. Both modal windows are opened as expected, modal2 above modal1. But when I close modal2 in IE, modal1 does not get the focus, my applicationis no more responding at all. In FF, Chrome, Safari it works. After closing modal2, modal1 gets the focus. Is it forbidden to open 2 modal windows at once? Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Test (sorry)
Please ignore
unreachable john.mattu...@td.com
Every time I send an email to users@wicket.apache.org I receive the message john.mattu...@td.com is not reachable TDGROUP #5.0.0 X-Notes;Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] Am I the only one who gets this message? Stefan
Re: Form submit error after upgrading to 1.4.1
check jira, and if its not in there its not knownplease open a ticket and attach a quickstart. -igor On Tue, Dec 8, 2009 at 10:28 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I figured out that it has to do with required but not visible fields. Is this already a known issue? Also, I verified that it still exists in 1.4.4 D/ On Dec 8, 2009, at 4:32 PM, Igor Vaynberg wrote: quickstart+jira issue. -igor On Tue, Dec 8, 2009 at 2:24 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I've been having some upgrade woes. I tried to upgrade to 4.3 and got the wicket:enclosure error then I rolled back to 4.1 and everything seemed fine, but I just found an error with a form that wouldn't submit. I had a drop drop that was set to required and it was preventing the form from submitting even though it had a valid value. This works fine in 4.0 but not in 4.1. D/ - 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: unreachable john.mattu...@td.com
That sounds really strange - I'd recommend a thorough virus scan of your box... On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de wrote: Every time I send an email to users@wicket.apache.org I receive the message john.mattu...@td.com is not reachable TDGROUP #5.0.0 X-Notes;Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] Am I the only one who gets this message? Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: 2 ModalWIndows at once
opening two modals doesnt really make sense unless one is the parent of the other... -igor On Tue, Dec 8, 2009 at 11:26 PM, Stefan Lindner lind...@visionet.de wrote: I try to open two modal Windows at once AjaxLink onClick(AjaxRequestTarget) { modal1.show(target); modal2.show(target); } Both modal windows are Pages, no panels. Both modal windows are opened as expected, modal2 above modal1. But when I close modal2 in IE, modal1 does not get the focus, my applicationis no more responding at all. In FF, Chrome, Safari it works. After closing modal2, modal1 gets the focus. Is it forbidden to open 2 modal windows at once? Stefan - 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: unreachable john.mattu...@td.com
forget that, I just also received that message, but it was filtered out as spam On Wed, Dec 9, 2009 at 8:45 AM, Jonas barney...@gmail.com wrote: That sounds really strange - I'd recommend a thorough virus scan of your box... On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de wrote: Every time I send an email to users@wicket.apache.org I receive the message john.mattu...@td.com is not reachable TDGROUP #5.0.0 X-Notes;Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] Am I the only one who gets this message? Stefan - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AW: 2 ModalWIndows at once
Hi Igor, how can I make modal2 the child of modal1. Or how can I open modal2 automatically after modal1 was opened? Fake an ajax roundtrip with a self updating timer? Stefan -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Gesendet: Mittwoch, 9. Dezember 2009 08:45 An: users@wicket.apache.org Betreff: Re: 2 ModalWIndows at once opening two modals doesnt really make sense unless one is the parent of the other... -igor On Tue, Dec 8, 2009 at 11:26 PM, Stefan Lindner lind...@visionet.de wrote: I try to open two modal Windows at once AjaxLink onClick(AjaxRequestTarget) { modal1.show(target); modal2.show(target); } Both modal windows are Pages, no panels. Both modal windows are opened as expected, modal2 above modal1. But when I close modal2 in IE, modal1 does not get the focus, my applicationis no more responding at all. In FF, Chrome, Safari it works. After closing modal2, modal1 gets the focus. Is it forbidden to open 2 modal windows at once? Stefan - 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: unreachable john.mattu...@td.com
I get similar a delivery failure, even if my message is successful... The same thing happens if I post messages to struts mailing list... Best, Ernesto On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de wrote: Every time I send an email to users@wicket.apache.org I receive the message john.mattu...@td.com is not reachable TDGROUP #5.0.0 X-Notes;Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] Am I the only one who gets this message? Stefan