Re: [Wicket-user] jfreechart and wicket
I'm using jfreechart with both Wicket and WebObjects - there isn't much you have to do. I created a class ChartResource that extends DynamicImageResource. In that class I have this: protected byte[] getImageData() { JFreeChart tmpChart = this.getFactory().getChart(); tmpChart.setBorderVisible(false); tmpChart.setBackgroundPaint(this.getChartBackgroundPaint()); tmpChart.getPlot().setOutlinePaint(this.getPlotOutlinePaint()); tmpChart.getPlot().setBackgroundPaint(this.getPlotBackgroundPaint()); ByteArrayOutputStream tmpStream = new ByteArrayOutputStream(); try { ChartUtilities.writeChartAsPNG(tmpStream, tmpChart, this.getWidth().intValue(), this.getHeight().intValue()); } catch (IOException anException) { // TODO Something!! } return tmpStream.toByteArray(); } Erik Brakkee wrote: Decebal Suiu wrote: Any example about how to display a chart generated with jfreechart in a WebPage? I am going to do the same for my application (trackdetective.com) for displaying height profiles of GPS tracks. Just browsed a little through the APIs. It seems you can use the Image class. The most general constructor is public Image(final String id, final Resource imageResource) In this way you can determine for yourself where it gets the input from. Perhaps BlobImageResource or its super class DynamicImageResource are good resource implementations for this. I found a link about this topic (http://www.nabble.com/JFreeChart-Experiment-tf1824840.html#a4977424) but the link containing the source code is broken. Thanks, Decebal - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 -- http://ojalgo.org/ Mathematics, Linear Algebra and Optimisation with Java /* * Copyright © 2005 Optimatika (www.optimatika.se) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the Software), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ package se.optimatika.wicket.markup.html; import java.awt.Paint; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.util.Locale; import org.jfree.chart.ChartUtilities; import org.jfree.chart.JFreeChart; import se.optimatika.jfree.chart.AbstractChartFactory; import se.optimatika.jfree.chart.ColourPalette; import wicket.markup.html.image.resource.DynamicImageResource; import wicket.protocol.http.WebResponse; public abstract class ChartResource extends DynamicImageResource { private static final String CONTENT_TYPE = image/png; private Paint myChartBackgroundPaint = ColourPalette.getInstance().getWhite(); // private transient byte[] myData; private Number myHeight = 240; private Paint myPlotBackgroundPaint = ColourPalette.getInstance().getWhite(); private Paint myPlotOutlinePaint = ColourPalette.getInstance().getWhite(); private Number myWidth = 320; public ChartResource() { super(); this.configure(); } public ChartResource(Locale newLocale) { super(newLocale); this.configure(); } public Paint getChartBackgroundPaint() { return myChartBackgroundPaint; } public String getContentType() { return CONTENT_TYPE; } public abstract AbstractChartFactory getFactory(); public Number getHeight() { return myHeight; } public Paint getPlotBackgroundPaint() { return myPlotBackgroundPaint; } public Paint getPlotOutlinePaint() { return myPlotOutlinePaint; } public Number getWidth() { return myWidth; } public void setChartBackgroundPaint(Paint newChartBackgroundPaint) { myChartBackgroundPaint =
Re: [Wicket-user] Ajax request 'hangs' on Safari - problem found (Wicket 2.0)
Wow. Now that's a stupid safari bug. Please fill a bug, I'll look at it as soon as I can. Thanks for finding it. -Matej Adam Smyczek wrote: Problem found, it looks like safari aborts execution when getElementsByTagName is called on a text node (in contrast calling e.g. 'childNodes' works fine.) The problem occurs in the Wicket.Head.addJavascripts (called from Wicket.replaceOuterHtml) function when one of the elements is a text node. A fix could be to check for the node type of the element or childNodes.lenght 0 before element.getElementsByTagName(script) is called. Do you have another solution or can I file a bug for it? Adam On Sep 9, 2006, at 11:44 AM, Eelco Hillenius wrote: I can't reproduce this. All Ajax examples (wicket-examples/ajax) work fine with Safari (2.0.4) for me. Maybe you could give us a code sample of the thing that fails with you? Eelco On 9/9/06, Adam Smyczek [EMAIL PROTECTED] wrote: Hi All, I have an ajax problem on Safari browser. When I update a component using AbstractDefaultAjaxBehavior the ajax log looks like following: -- begin -- INFO: INFO: Initiating Ajax GET request on /quickstart/app? wicket:interface=: 1:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId =0 random=0.4174859744578069 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (686 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responsecomponent id=tooltip2Trigger_tooltip2Border encoding=wicket1 ![CDATA [span style=display:none; id=tooltip2Trigger_tooltip2Border wicket:id=tooltip2Border class=tooltipwicket:borderwicket:body This is a static tooltip loaded on first mouseover event! /wicket:body/wicket:border/spanscript type=text/javascript !--/*--![CDATA[/*!--*/ tooltipManager.registerTrigger('tooltip2Trigger', 'tooltip2Trigger_tooltip2Border', false, '/quickstart/app? wicket:interface=: 1:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId =0' ); /*--]^]^*//script ]]/component/ajax-response INFO: Response parsed. Now invoking steps... -- end -- It looks like the response cannot be processed correctly and javascript 'hangs' because on every following request I get the 'Chanel busy - postponing...' message. On Firefox everything works fine. To compare following is the ajax log: -- begin-- INFO: INFO: Initiating Ajax GET request on /quickstart/app? wicket:interface=: 2:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId =0 random=0.9799105785595497 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (686 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responsecomponent id=tooltip2Trigger_tooltip2Border encoding=wicket1 ![CDATA [span style=display:none; id=tooltip2Trigger_tooltip2Border wicket:id=tooltip2Border class=tooltipwicket:borderwicket:body This is a static tooltip loaded on first mouseover event! /wicket:body/wicket:border/spanscript type=text/javascript !--/*--![CDATA[/*!--*/ tooltipManager.registerTrigger('tooltip2Trigger', 'tooltip2Trigger_tooltip2Border', false, '/quickstart/app? wicket:interface=: 2:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behaviorId =0' ); /*--]^]^*//script ]]/component/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... -- end -- Any idea what could be wrong with this response? Regards, Adam - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on
[Wicket-user] HyperLink
How du I make a Link Component (an hyperlink) render as aLink Name/a without the href att - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HyperLink
Do you mean how to disable the link so it's not a link anymore?Link.setEnabled(false).The asomething/a is not valid html as far as I remember.Frank On 9/13/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: How du I make a Link Component (an hyperlink) render as aLink Name/a without the href att -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
Rick, Ted, At this stage of the project we are just researching which options current popular CMS systems There are many many many (did I say many?) different features possible. I think you should first pick a target audience and then model your CMS towards that group of users with their application. We are also in doubt about using the JSR-170. I can sincerely recommend using a JSR-170 implementation. Because: - you will be using a standard, this looks good on your graduation report, - the hard-to-do-right mapping from a hierarchical structure to a (flat) database is already done for you so you have more time for other features. Good luck and have fun, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ Ted Roeloffzen schreef: Hello Wicket community, We, two IT-students, are currently working on our graduation assignment. Our assignment states that we develop a Wicket CMS, or at least components for the CMS. This assignment will take place from 4-9-2006 until late January of 2007. At this stage of the project we are just researching which options current popular CMS systems are offering and which we should implement in the Wicket CMS. At the same time we are researching how wicket works and which options are useful for using in the Wicket CMS. Through this mailinglist we would like to inform you about our assignment and we were hoping to get any suggestions and ideas from you, about which kind of components would you like to see and which not. We are also in doubt about using the JSR-170. Are you familiar with this JSR and if so what are your experiences with it. Should we use it or toss it out the window? We hope that you’re willing to cooperate with us and make this project into a success. Yours sincerely, Rick Postma Ted Roeloffzen - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
Hey, At this stage of the project we are just researching which options current popular CMS systems I think you should first pick a target audience and then model your CMS towards that group of users with their application. Agree to disagree :) The few stars in the flood of available CMS systems have shown that a generalized approach IS possible. And especially with wicket it should be a breeze to individualize whatever you guys (Ted and Rick) come up with at the end of your project - if it is nice and abstract. If you focus too much on one group of users, in my experience you end up being stuck or having to write ugly workarounds once you want something a little more exotic. On the other hand - and since wicket is in itself such a clean and flexible framework - being too abstract will have you end up with writing not very much at all since all the functionality is basically already 'there'. Just as always, it's a fine line - enjoy walking it! :) // Che __ DISCLAIMER: This e-mail message is intended for the addressee(s) or authorized recipient only. If you are not the addressee, or an authorized recipient, you are specifically advised that any use, distribution, publication, copying or repetition of this information is prohibited. If you have received this information in error, please notify us immediately (+31 (0)20 50 25 800) and destroy this message. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Changing Value of ListItem model object
OK, so I ripped out more of the stuff and hopefully it is manageable. The problem is that in my last example I was able to set a new date when I selected a radio button (I just couldn't clear it). Now I can't even set the date. It leads me to beleive that maybe I'm not using the ListView and/or it's model properly. Ultimately, when I change the radio button selection I want to be able to change the related date field. I completely understand time limitations, but if there is somewhere where I can try an find this solution (I searched the wiki and mailing-list thru Nabble) I would appreicate that info as well. http://www.nabble.com/user-files/235992/quickstart-listview.zip quickstart-listview.zip Thanks, Chuck igor.vaynberg wrote: your example is too big, there is too much going on. personally i dont have time to go through it and understand everything in order to help you with your problem. you should distill it down to a very small and concise example. -Igor -- View this message in context: http://www.nabble.com/Changing-Value-of-ListItem-model-object-tf2254438.html#a6283715 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen. The wiki page (http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters) on custom converters says if conversion fails, you'll get a feedback message instead of a stacktrace, so this seems to be an error. This occurs in wicket 1.2.2. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] AJAX in Firefox 1.0
Do live AJAX examples at wicketframework.org work in Firefox 1.0.7? I have them working only in IE 6. Is it only my problem (may be firewall or smth.)? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
Hello, What is the intended audience? Do you intend to create a product suitable for CMS administrators needs? In that case, we (the list) might not really be the ones to ask. Most people here would probably be more interested in a Wicket-CMS extension, something that would help us to create CMSlike applications rather than a full standalone app. As far as I am concerned, I would need components that allow to integrate easyly some CMS functionnlities in a Web app more than a complete application. Pierre-Yves Ted Roeloffzen a écrit : Hello Wicket community, We, two IT-students, are currently working on our graduation assignment. Our assignment states that we develop a Wicket CMS, or at least components for the CMS. This assignment will take place from 4-9-2006 until late January of 2007. At this stage of the project we are just researching which options current popular CMS systems are offering and which we should implement in the Wicket CMS. At the same time we are researching how wicket works and which options are useful for using in the Wicket CMS. Through this mailinglist we would like to inform you about our assignment and we were hoping to get any suggestions and ideas from you, about which kind of components would you like to see and which not. We are also in doubt about using the JSR-170. Are you familiar with this JSR and if so what are your experiences with it. Should we use it or toss it out the window? We hope that you’re willing to cooperate with us and make this project into a success. Yours sincerely, Rick Postma Ted Roeloffzen - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AJAX in Firefox 1.0
We only tested them in firefox 1.5+ See: http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#Which_browsers_has_been_tested_with_Wicket_AJAX Martijn On 9/13/06, Ars [EMAIL PROTECTED] wrote: Do live AJAX examples at wicketframework.org work in Firefox 1.0.7? I have them working only in IE 6. Is it only my problem (may be firewall or smth.)? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow -- http://wicketframework.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
What we would like to do is create these components and to incorporate those in a comlete application.The components could become a Wicket-extension and the CMS could be used by others. Ted Rick On 9/13/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: Hello,What is the intended audience? Do you intend to create a productsuitable for CMS administrators needs? In that case, we (the list) mightnot really be the ones to ask. Most people here would probably be more interested in a Wicket-CMS extension, something that would help us tocreate CMSlike applications rather than a full standalone app.As far as I am concerned, I would need components that allow tointegrate easyly some CMS functionnlities in a Web app more than a complete application.Pierre-YvesTed Roeloffzen a écrit : Hello Wicket community, We, two IT-students, are currently working on our graduation assignment. Our assignment states that we develop a Wicket CMS, or at least components for the CMS. This assignment will take place from 4-9-2006 until late January of 2007. At this stage of the project we are just researching which options current popular CMS systems are offering and which we should implement in the Wicket CMS. At the same time we are researching how wicket works and which options are useful for using in the Wicket CMS. Through this mailinglist we would like to inform you about our assignment and we were hoping to get any suggestions and ideas from you, about which kind of components would you like to see and which not. We are also in doubt about using the JSR-170. Are you familiar with this JSR and if so what are your experiences with it. Should we use it or toss it out the window? We hope that you're willing to cooperate with us and make this project into a success. Yours sincerely, Rick Postma Ted Roeloffzen - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AJAX in Firefox 1.0
so if it works please edit the FAQ to say that it do. :)FrankOn 9/13/06, Martijn Dashorst [EMAIL PROTECTED] wrote:We only tested them in firefox 1.5+See: http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#Which_browsers_has_been_tested_with_Wicket_AJAXMartijnOn 9/13/06, Ars [EMAIL PROTECTED] wrote: Do live AJAX examples at wicketframework.org work in Firefox 1.0.7? I have them working only in IE 6. Is it only my problem (may be firewall or smth.)? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user--Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow-- http://wicketframework.org -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
That sounds good. The main component that I think is needed is one that allow the user to create rich documents. There are already many solutions for this, but they are generally not well integrated. (By rich documents, I mean rich text + images + minimal layout). Images are an important problem because they must probably be processed in several ways, such as downsampling to optimize storage space. For rich text, we have used APT format, which is a minimal acceptable solution, and XDOC which is much better for a programmer but would need a front end for end users. The next need would be a way to mark the documents with different status, and a user hierarchy management system that would allow to manage user rights to: read write edit publish unpublish etc. Version tracking is also something that is desirable, although less important. Other functionnlities I can think of are Manage list of users that subscribe to receive mail about different events (new document, change in document status, etc). Calendar and the possibility to program events in advance, such as document publication or unpublication. Availability of some content through RSS or web services Statistics about the application use... Of course, i18n and styling is mandatory, but this comes for free with Wicket ;-) Pierre-Yves Ted Roeloffzen a écrit : What we would like to do is create these components and to incorporate those in a comlete application. The components could become a Wicket-extension and the CMS could be used by others. Ted Rick On 9/13/06, *Pierre-Yves Saumont* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello, What is the intended audience? Do you intend to create a product suitable for CMS administrators needs? In that case, we (the list) might not really be the ones to ask. Most people here would probably be more interested in a Wicket-CMS extension, something that would help us to create CMSlike applications rather than a full standalone app. As far as I am concerned, I would need components that allow to integrate easyly some CMS functionnlities in a Web app more than a complete application. Pierre-Yves Ted Roeloffzen a écrit : Hello Wicket community, We, two IT-students, are currently working on our graduation assignment. Our assignment states that we develop a Wicket CMS, or at least components for the CMS. This assignment will take place from 4-9-2006 until late January of 2007. At this stage of the project we are just researching which options current popular CMS systems are offering and which we should implement in the Wicket CMS. At the same time we are researching how wicket works and which options are useful for using in the Wicket CMS. Through this mailinglist we would like to inform you about our assignment and we were hoping to get any suggestions and ideas from you, about which kind of components would you like to see and which not. We are also in doubt about using the JSR-170. Are you familiar with this JSR and if so what are your experiences with it. Should we use it or toss it out the window? We hope that you're willing to cooperate with us and make this project into a success. Yours sincerely, Rick Postma Ted Roeloffzen - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application
Re: [Wicket-user] Developing a Wicket CMS
I can imagine 2 very basic components (assuming jsr-170 is used): - An editor component Features: - supporting different client side editors (e.g. FCKeditor and such) or clear text (e.g. for Textile fans) - supporting different models, but at least an implementation of a jsr-170 detachable model - preview? - A tree component Features: - icons configurable for different node types - shows a part of the jsr-170 tree, with filters to further remove items from the tree You will also have to think about what you want to do with images and other types of binary files (pdf, flash, etc.). Another common cms hurdle is linking between articles/pages/whatever text and linking from those text to binary files. A very important aspect of modern CMSs is the ability to add metadata to articles. Though there are many, components for categories and/or labels would be nice. Commenting is perhaps also something to look at. Erik. Ted Roeloffzen schreef: What we would like to do is create these components and to incorporate those in a comlete application. The components could become a Wicket-extension and the CMS could be used by others. Ted Rick On 9/13/06, *Pierre-Yves Saumont* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: As far as I am concerned, I would need components that allow to integrate easyly some CMS functionnlities in a Web app more than a complete application. Pierre-Yves -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] AJAX in Firefox 1.0
I updated my FireFox to 1.5 and problems disappeared. Thnx! Arseny MD We only tested them in firefox 1.5+ MD See: MD http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#Which_browsers_has_been_tested_with_Wicket_AJAX MD Martijn MD On 9/13/06, Ars [EMAIL PROTECTED] wrote: Do live AJAX examples at wicketframework.org work in Firefox 1.0.7? I have them working only in IE 6. Is it only my problem (may be firewall or smth.)? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Best regards, Arsmailto:[EMAIL PROTECTED] - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 If you're wanting your CMS to be anything more than a school projects, I don't really consider JSR-170 to be an optional piece. Both Liferay and JBoss Portal are either adding or have already added support for it. AFAIK, all the major players are as well. Ted Roeloffzen wrote: Hello Wicket community, We, two IT-students, are currently working on our graduation assignment. Our assignment states that we develop a Wicket CMS, or at least components for the CMS. This assignment will take place from 4-9-2006 until late January of 2007. At this stage of the project we are just researching which options current popular CMS systems are offering and which we should implement in the Wicket CMS. At the same time we are researching how wicket works and which options are useful for using in the Wicket CMS. Through this mailinglist we would like to inform you about our assignment and we were hoping to get any suggestions and ideas from you, about which kind of components would you like to see and which not. We are also in doubt about using the JSR-170. Are you familiar with this JSR and if so what are your experiences with it. Should we use it or toss it out the window? We hope that you?re willing to cooperate with us and make this project into a success. Yours sincerely, Rick Postma Ted Roeloffzen - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - -- Justin Lee http://www.antwerkz.com AIM : evan chooly Skype : evanchooly -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) iD8DBQFFCAeKJnQfEGuJ90MRA56CAJ9ZmmUzaxR1aVIHZryria/wEKigsgCfZcxJ eHgmltzkJtIWcJnebiu4ST8= =JdsZ -END PGP SIGNATURE- - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Developing a Wicket CMS
Hello Wicket community, We, two IT-students, are currently working on our graduation assignment. Our assignment states that we develop a Wicket CMS, or at least components for the CMS. This assignment will take place from 4-9-2006 until late January of 2007. At this stage of the project we are just researching which options current popular CMS systems are offering and which we should implement in the Wicket CMS. At the same time we are researching how wicket works and which options are useful for using in the Wicket CMS. Through this mailinglist we would like to inform you about our assignment and we were hoping to get any suggestions and ideas from you, about which kind of components would you like to see and which not. We are also in doubt about using the JSR-170. Are you familiar with this JSR and if so what are your experiences with it. Should we use it or toss it out the window? We hope that youre willing to cooperate with us and make this project into a success. Yours sincerely, Rick Postma Ted Roeloffzen - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Ajax request 'hangs' on Safari - problem found (Wicket 2.0)
Done. Thanks, Adam On Sep 13, 2006, at 1:58 AM, Matej Knopp wrote: Wow. Now that's a stupid safari bug. Please fill a bug, I'll look at it as soon as I can. Thanks for finding it. -Matej Adam Smyczek wrote: Problem found, it looks like safari aborts execution when getElementsByTagName is called on a text node (in contrast calling e.g. 'childNodes' works fine.) The problem occurs in the Wicket.Head.addJavascripts (called from Wicket.replaceOuterHtml) function when one of the elements is a text node. A fix could be to check for the node type of the element or childNodes.lenght 0 before element.getElementsByTagName(script) is called. Do you have another solution or can I file a bug for it? Adam On Sep 9, 2006, at 11:44 AM, Eelco Hillenius wrote: I can't reproduce this. All Ajax examples (wicket-examples/ajax) work fine with Safari (2.0.4) for me. Maybe you could give us a code sample of the thing that fails with you? Eelco On 9/9/06, Adam Smyczek [EMAIL PROTECTED] wrote: Hi All, I have an ajax problem on Safari browser. When I update a component using AbstractDefaultAjaxBehavior the ajax log looks like following: -- begin -- INFO: INFO: Initiating Ajax GET request on /quickstart/app? wicket:interface=: 1:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behavior Id =0 random=0.4174859744578069 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (686 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responsecomponent id=tooltip2Trigger_tooltip2Border encoding=wicket1 ![CDATA [span style=display:none; id=tooltip2Trigger_tooltip2Border wicket:id=tooltip2Border class=tooltipwicket:borderwicket:body This is a static tooltip loaded on first mouseover event! /wicket:body/wicket:border/spanscript type=text/javascript !--/*--![CDATA[/*!--*/ tooltipManager.registerTrigger('tooltip2Trigger', 'tooltip2Trigger_tooltip2Border', false, '/quickstart/app? wicket:interface=: 1:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behavior Id =0' ); /*--]^]^*//script ]]/component/ajax-response INFO: Response parsed. Now invoking steps... -- end -- It looks like the response cannot be processed correctly and javascript 'hangs' because on every following request I get the 'Chanel busy - postponing...' message. On Firefox everything works fine. To compare following is the ajax log: -- begin-- INFO: INFO: Initiating Ajax GET request on /quickstart/app? wicket:interface=: 2:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behavior Id =0 random=0.9799105785595497 INFO: Invoking pre-call handler(s)... INFO: Received ajax response (686 characters) INFO: ?xml version=1.0 encoding=UTF-8?ajax-responsecomponent id=tooltip2Trigger_tooltip2Border encoding=wicket1 ![CDATA [span style=display:none; id=tooltip2Trigger_tooltip2Border wicket:id=tooltip2Border class=tooltipwicket:borderwicket:body This is a static tooltip loaded on first mouseover event! /wicket:body/wicket:border/spanscript type=text/javascript !--/*--![CDATA[/*!--*/ tooltipManager.registerTrigger('tooltip2Trigger', 'tooltip2Trigger_tooltip2Border', false, '/quickstart/app? wicket:interface=: 2:tooltip2Trigger:tooltip2Border::IBehaviorListenerwicket:behavior Id =0' ); /*--]^]^*//script ]]/component/ajax-response INFO: Response parsed. Now invoking steps... INFO: Response processed successfully. INFO: Invoking post-call handler(s)... -- end -- Any idea what could be wrong with this response? Regards, Adam --- -- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel? cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
[Wicket-user] PortletPage vs. WebPage
Dear Janne, Currently, while starting up with wicket-portlets-exapmles (successfully running now on LifeRay + Tomcat), the initial webapp we are developing was started using WebPage, following the reference of wicket-examples. But, what about that webapp - based on WebPage - to be integrated in a portlet by means of PortletPage? I mean, does PortletPage offer the same flexibility WebPage does? I guess we'll find some limitations, have to test yet, but all information learnt in advance might help. Following this doubt: will it be so easy to create the portlet from the webapp as translating from WebPage to PortletPage? And last, why doesn't PortletPage extends WebPage? Has it any sense, you tell me. Manu - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
can you show us some code please?-IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi,When I throw a wicket.util.convert.ConversionException in my customIConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen.The wiki page(http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters )on custom converters saysif conversion fails, you'll get a feedback message instead of astacktrace, so this seems to be an error.This occurs in wicket 1.2.2.CheersErik -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] setStripXmlDeclarationFromOutput(true) does not always work
Hello, Although setStripXmlDeclarationFromOutput() is set to true in the application class, the XML declaration is somtimes removed and somtimes not. It is removed on each normal page load. However, it is not when the page is reloaded by clicking the reload button in the browser and the session as expired. This happens in IE6 and Firefox. It has no effect in Firefox, but it has the distastrous well known effect in IE6. Is this a known issue? Pierre-Yves - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Developing a Wicket CMS
* Ted Roeloffzen: Our assignment states that we develop a Wicket CMS, or at least components for the CMS [...] We are also in doubt about using the JSR-170. Are you familiar with this JSR JSR-170 and especially its reference implementation Jackrabbit rock! I would love to see a wicket-contrib-jcr! -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] setStripXmlDeclarationFromOutput(true) does not always work
I guess it has something to do with how ResponseBuffer works. Johan? Juergen On 9/13/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: Hello, Although setStripXmlDeclarationFromOutput() is set to true in the application class, the XML declaration is somtimes removed and somtimes not. It is removed on each normal page load. However, it is not when the page is reloaded by clicking the reload button in the browser and the session as expired. This happens in IE6 and Firefox. It has no effect in Firefox, but it has the distastrous well known effect in IE6. Is this a known issue? Pierre-Yves - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
Hi all, Can anyone confirm that this is a bug or am I doing something wrong? Cheers Erik Erik Brakkee wrote: Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen. The wiki page (http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters) on custom converters says if conversion fails, you'll get a feedback message instead of a stacktrace, so this seems to be an error. This occurs in wicket 1.2.2. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
you need to show us more code first-IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi all,Can anyone confirm that this is a bug or am I doing something wrong? CheersErikErik Brakkee wrote: Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen. The wiki page (http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters ) on custom converters says if conversion fails, you'll get a feedback message instead of a stacktrace, so this seems to be an error. This occurs in wicket 1.2.2. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
Igor Vaynberg wrote: can you show us some code please? The code is below. The MessageValidationResult.isOk() returns false leading to a conversion exception being thrown by the converter. I can make a standalone example as well if you like. Cheers Erik package nl.jmonks.bonloon.app.components; import java.util.Locale; import nl.jmonks.bonloon.app.dataobjects.SofiNummerData; import nl.jmonks.generic.validation.MessageValidationResult; import nl.jmonks.tax.domain.SofiNummerValidator; import nl.jmonks.wicket.components.AbstractConverter; import wicket.WicketRuntimeException; import wicket.util.convert.ConversionException; public class SofiNummerConverter extends AbstractConverterSofiNummerData { private static final int REQUIRED_DIGIT_COUNT = 9; public SofiNummerConverter() { // Empty. } @Override public SofiNummerData convertToObject(String aValue, Locale aLocale) { aValue = aValue.replaceAll("\\s", ""); aValue = aValue.replaceAll("\\.", ""); SofiNummerValidator validator = new SofiNummerValidator(); MessageValidationResultString result = validator.validate(aValue); if (!result.isOk()) { throw new ConversionException(result.getMessage()); } SofiNummerData sofi = new SofiNummerData(); sofi.value = aValue; return sofi; } @Override public String convertToString(SofiNummerData aValue, Locale aLocale) { return aValue.value; } } -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen. The wiki page (http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters ) on custom converters says "if conversion fails, you'll get a feedback message instead of a stacktrace", so this seems to be an error. This occurs in wicket 1.2.2. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
Igor Vaynberg wrote: you need to show us more code first Just posted it. My mail client has a problem because I did not show me your reply. -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi all, Can anyone confirm that this is a bug or am I doing something wrong? Cheers Erik Erik Brakkee wrote: Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen. The wiki page (http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters ) on custom converters says "if conversion fails, you'll get a feedback message instead of a stacktrace", so this seems to be an error. This occurs in wicket 1.2.2. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
can you show us how you use the converter?-IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: can you show us some code please? The code is below. The MessageValidationResult.isOk() returns false leading to a conversion exception being thrown by the converter. I can make a standalone example as well if you like. Cheers Erik package nl.jmonks.bonloon.app.components; import java.util.Locale; import nl.jmonks.bonloon.app.dataobjects.SofiNummerData; import nl.jmonks.generic.validation.MessageValidationResult; import nl.jmonks.tax.domain.SofiNummerValidator; import nl.jmonks.wicket.components.AbstractConverter; import wicket.WicketRuntimeException; import wicket.util.convert.ConversionException; public class SofiNummerConverter extends AbstractConverterSofiNummerData { private static final int REQUIRED_DIGIT_COUNT = 9; public SofiNummerConverter() { // Empty. } @Override public SofiNummerData convertToObject(String aValue, Locale aLocale) { aValue = aValue.replaceAll(\\s, ); aValue = aValue.replaceAll(\\., ); SofiNummerValidator validator = new SofiNummerValidator(); MessageValidationResultString result = validator.validate(aValue); if (!result.isOk()) { throw new ConversionException(result.getMessage()); } SofiNummerData sofi = new SofiNummerData(); sofi.value = aValue; return sofi; } @Override public String convertToString(SofiNummerData aValue, Locale aLocale) { return aValue.value; } } -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, When I throw a wicket.util.convert.ConversionException in my custom IConverter, I don't see a message on the form, but instead I get to see the stacktrace for the conversion exception on screen. The wiki page (http://www.wicket-wiki.org.uk/wiki/index.php/Using_custom_converters ) on custom converters says if conversion fails, you'll get a feedback message instead of a stacktrace, so this seems to be an error. This occurs in wicket 1.2.2. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Date Picker in Modal Window
When the date picker is used in a modal window, the picker comes behind the modal window, making it unusuable. See http://www.nabble.com/user-files/235996/datepicker.png . Also, I am eagerly waiting for the earlier problem with date picker being unusable after an ajax refresh. -- View this message in context: http://www.nabble.com/Date-Picker-in-Modal-Window-tf2266489.html#a6289592 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HyperLink
If you attach Links to other elements, like span, an onclick handler is generated. If you want to do the same, you should make a custom component that implements ILinkListener and override onComponentTag like this (simplified): protected final void onComponentTag(final ComponentTag tag) { super.onComponentTag(tag); CharSequence url = getURL(); if (!isEnabled()) { tag.remove(onclick); } else { tag.put(onclick, location.href=' + url + ';); } } Eelco On 9/13/06, Frank Bille [EMAIL PROTECTED] wrote: Do you mean how to disable the link so it's not a link anymore? Link.setEnabled(false). The asomething/a is not valid html as far as I remember. Frank On 9/13/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: How du I make a Link Component (an hyperlink) render as aLink Name/a without the href att - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] palette validator
Title: palette validator how can i make the selected list of a palette require, so that it is invalid if the selected list is empty. I can not get to the form components to add validators because the methods are all private. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] inconsistent exception
Could you add a bug report please? Eelco On 9/11/06, Nili Adoram [EMAIL PROTECTED] wrote: After a long testing cycle we've discovered the problem. Since we work in development mode, by default Page.checkRendering() verifies that all page components were indeed rendered. When each component is rendered it calls Page.componentRendered(). This method is responsible for adding the calling component to the list of rendered components, if debug settings require that (again, true in development mode). However, if during this checkRendering an AJAX request has been sent, it turns componentUseCheck to false. This causes to all components that were not yet check to be marked as unredered which causes a WicketRuntimeException - The component(s) below failed to render... This looks like a bug to me. I believe there should be some protection on the currently checked page. Moreover, it seems that working in deployment mode will never reveal this problem. Please advise, Thanks, Nili Nili Adoram wrote: Could this be a race between Ajax and synchronized rendering? Is it possible that Ajax has removed nodes from the DOM and the when Page tries to render itself it does not find the components in the markup? Tomer Mevorach wrote: Hi, My application works fine most of the time, however, sometimes an exception indicating a mismatch between java and html component's hierarchy is thrown. I can't think of a test case that generates this exception as it is thrown inconsistently. can anyone please help figure out the problem. I must add that all of my pages are unversioned and some of the components are being refreshed by ajax every 5 seconds. Best Regards, Tomer. Runtime exception has ocurred in Page [Page class = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, id = 2]. Original cause: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [MarkupContainer [Component id = feedback, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:feedback.JavascriptFeedbackPanel, isVisible = true, isVersioned = false]] 2. [MarkupContainer [Component id = feedback-simple, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:feedback-simple.FeedbackPanel, isVisible = true, isVersioned = false]] 3. [Component id = breadcrumbs, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:breadcrumbs.Label, isVisible = true, isVersioned = false] 4. [Component id = title, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:title.Label, isVisible = true, isVersioned = false] 5. [MarkupContainer [Component id = mainTabs, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs.FiltersPanel, isVisible = true, isVersioned = false]] 6. [MarkupContainer [Component id = filters, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters.FiltersPanel$FiltersListView, isVisible = true, isVersioned = false]] 7. [MarkupContainer [Component id = 0, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0.ListItem, isVisible = true, isVersioned = false]] 8. [MarkupContainer [Component id = filterLink, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink.FiltersPanel$FiltersListView$1, isVisible = true, isVersioned = false]] 9. [Component id = filterImage, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink:filterImage.FiltersPanel$FiltersListView$2, isVisible = true, isVersioned = false] 10. [Component id = filterCount, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink:filterCount.Label, isVisible = true, isVersioned = false] 11. [MarkupContainer [Component id = 1, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1.ListItem, isVisible = true, isVersioned = false]] 12. [MarkupContainer [Component id = filterLink, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1:filterLink.FiltersPanel$FiltersListView$1, isVisible = true, isVersioned = false]] 13. [Component id = filterImage, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1:filterLink:filterImage.FiltersPanel$FiltersListView$2, isVisible = true, isVersioned = false] 14. [Component id = filterCount, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1:filterLink:filterCount.Label, isVisible = true, isVersioned = false] 15. [MarkupContainer [Component id = 2, page =
Re: [Wicket-user] palette validator
palette.getRecorderComponent().setRequired(true);also please add an rfe to add a palette.setrequired() targetted for 1.3.-IgorOn 9/13/06, Lusebrink, Scott E CTR DISA GIG-CS [EMAIL PROTECTED] wrote: how can i make the selected list of a palette require, so that it is invalid if the selected list is empty. I can not get to the form components to add validators because the methods are all private. -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Date Picker in Modal Window
Going a bit deeper into the problem, it looks like wicket picks up the z-index values in an arbitrary way. The components do not integrate enough to figure out the correct z-index values. For instance, the date picker is set at z-index 1000, while the modal window's mask is set to 2000 and so on. I am not sure why these particular z-index values are picked, but they sure not working together. A better approach perhaps would be to derive the z-index value from peer components in the page in a relative manner rather than picking absolute values. -- View this message in context: http://www.nabble.com/Date-Picker-in-Modal-Window-tf2266489.html#a6289950 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] inconsistent exception
actually i think its already been fixed action type=fix dev=Matej Knopp due-to=Tomer MevorachAjaxRequestTarget now doesn't switch component use check off, as it is no longer needed./action -IgorOn 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you add a bug report please?EelcoOn 9/11/06, Nili Adoram [EMAIL PROTECTED] wrote: After a long testing cycle we've discovered the problem. Since we work in development mode, by default Page.checkRendering() verifies that all page components were indeed rendered. When each component is rendered it calls Page.componentRendered(). This method is responsible for adding the calling component to the list of rendered components, if debug settings require that (again, true in development mode). However, if during this checkRendering an AJAX request has been sent, it turns componentUseCheck to false. This causes to all components that were not yet check to be marked as unredered which causes a WicketRuntimeException - The component(s) below failed to render... This looks like a bug to me. I believe there should be some protection on the currently checked page. Moreover, it seems that working in deployment mode will never reveal this problem. Please advise, Thanks, Nili Nili Adoram wrote: Could this be a race between Ajax and synchronized rendering? Is it possible that Ajax has removed nodes from the DOM and the when Page tries to render itself it does not find the components in the markup? Tomer Mevorach wrote: Hi, My application works fine most of the time, however, sometimes an exception indicating a mismatch between java and html component's hierarchy is thrown. I can't think of a test case that generates this exception as it is thrown inconsistently. can anyone please help figure out the problem. I must add that all of my pages are unversioned and some of the components are being refreshed by ajax every 5 seconds. Best Regards, Tomer.Runtime exception has ocurred in Page [Page class = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, id = 2]. Original cause: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [MarkupContainer [Component id = feedback, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:feedback._javascript_FeedbackPanel, isVisible = true, isVersioned = false]] 2. [MarkupContainer [Component id = feedback-simple, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:feedback-simple.FeedbackPanel, isVisible = true, isVersioned = false]] 3. [Component id = breadcrumbs, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:breadcrumbs.Label, isVisible = true, isVersioned = false] 4. [Component id = title, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:title.Label, isVisible = true, isVersioned = false] 5. [MarkupContainer [Component id = mainTabs, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs.FiltersPanel, isVisible = true, isVersioned = false]] 6. [MarkupContainer [Component id = filters, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters.FiltersPanel$FiltersListView, isVisible = true, isVersioned = false]] 7. [MarkupContainer [Component id = 0, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0.ListItem, isVisible = true, isVersioned = false]] 8. [MarkupContainer [Component id = filterLink, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink.FiltersPanel$FiltersListView$1, isVisible = true, isVersioned = false]] 9. [Component id = filterImage, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink:filterImage.FiltersPanel$FiltersListView$2, isVisible = true, isVersioned = false] 10. [Component id = filterCount, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink:filterCount.Label, isVisible = true, isVersioned = false] 11. [MarkupContainer [Component id = 1, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1.ListItem, isVisible = true, isVersioned = false]] 12. [MarkupContainer [Component id = filterLink, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1:filterLink.FiltersPanel$FiltersListView$1, isVisible = true, isVersioned = false]] 13. [Component id = filterImage, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1:filterLink:filterImage.FiltersPanel$FiltersListView$2, isVisible = true, isVersioned = false] 14. [Component id = filterCount, page =
Re: [Wicket-user] inconsistent exception
Ah, cool. Eelco On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: actually i think its already been fixed action type=fix dev=Matej Knopp due-to=Tomer MevorachAjaxRequestTarget now doesn't switch component use check off, as it is no longer needed./action -Igor On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Could you add a bug report please? Eelco On 9/11/06, Nili Adoram [EMAIL PROTECTED] wrote: After a long testing cycle we've discovered the problem. Since we work in development mode, by default Page.checkRendering() verifies that all page components were indeed rendered. When each component is rendered it calls Page.componentRendered(). This method is responsible for adding the calling component to the list of rendered components, if debug settings require that (again, true in development mode). However, if during this checkRendering an AJAX request has been sent, it turns componentUseCheck to false. This causes to all components that were not yet check to be marked as unredered which causes a WicketRuntimeException - The component(s) below failed to render... This looks like a bug to me. I believe there should be some protection on the currently checked page. Moreover, it seems that working in deployment mode will never reveal this problem. Please advise, Thanks, Nili Nili Adoram wrote: Could this be a race between Ajax and synchronized rendering? Is it possible that Ajax has removed nodes from the DOM and the when Page tries to render itself it does not find the components in the markup? Tomer Mevorach wrote: Hi, My application works fine most of the time, however, sometimes an exception indicating a mismatch between java and html component's hierarchy is thrown. I can't think of a test case that generates this exception as it is thrown inconsistently. can anyone please help figure out the problem. I must add that all of my pages are unversioned and some of the components are being refreshed by ajax every 5 seconds. Best Regards, Tomer. Runtime exception has ocurred in Page [Page class = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, id = 2]. Original cause: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [MarkupContainer [Component id = feedback, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:feedback.JavascriptFeedbackPanel, isVisible = true, isVersioned = false]] 2. [MarkupContainer [Component id = feedback-simple, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:feedback-simple.FeedbackPanel, isVisible = true, isVersioned = false]] 3. [Component id = breadcrumbs, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:breadcrumbs.Label, isVisible = true, isVersioned = false] 4. [Component id = title, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:title.Label, isVisible = true, isVersioned = false] 5. [MarkupContainer [Component id = mainTabs, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs.FiltersPanel, isVisible = true, isVersioned = false]] 6. [MarkupContainer [Component id = filters, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters.FiltersPanel$FiltersListView, isVisible = true, isVersioned = false]] 7. [MarkupContainer [Component id = 0, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0.ListItem, isVisible = true, isVersioned = false]] 8. [MarkupContainer [Component id = filterLink, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink.FiltersPanel$FiltersListView$1, isVisible = true, isVersioned = false]] 9. [Component id = filterImage, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink:filterImage.FiltersPanel$FiltersListView$2, isVisible = true, isVersioned = false] 10. [Component id = filterCount, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:0:filterLink:filterCount.Label, isVisible = true, isVersioned = false] 11. [MarkupContainer [Component id = 1, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1.ListItem, isVisible = true, isVersioned = false]] 12. [MarkupContainer [Component id = filterLink, page = com.qlusters.qrm.plugins.provision.web.ProvisioningRequest, path = 2:mainTabs:filters:1:filterLink.FiltersPanel$FiltersListView$1, isVisible = true, isVersioned = false]] 13. [Component id = filterImage,
Re: [Wicket-user] Date Picker in Modal Window
That probably has to do with the fact that the datepicker component was build on top of jscalendar, which is not maintained by Wicket's team. By now we acknowledge that many times it is actually a good idea to re-invent the wheel instead of building on such components... the problems we have with that jscalendar bastard... Anyway, if you have a patch for fixing this problem, we'd be happy to apply. Eelco On 9/13/06, samyem [EMAIL PROTECTED] wrote: Going a bit deeper into the problem, it looks like wicket picks up the z-index values in an arbitrary way. The components do not integrate enough to figure out the correct z-index values. For instance, the date picker is set at z-index 1000, while the modal window's mask is set to 2000 and so on. I am not sure why these particular z-index values are picked, but they sure not working together. A better approach perhaps would be to derive the z-index value from peer components in the page in a relative manner rather than picking absolute values. -- View this message in context: http://www.nabble.com/Date-Picker-in-Modal-Window-tf2266489.html#a6289950 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Date Picker in Modal Window
i think for now we can change the zindex of modal to 500 or something. but then if you have any jscalendars on the page that invokes the modal window they will show through :)-Igor On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That probably has to do with the fact that the datepicker componentwas build on top of jscalendar, which is not maintained by Wicket'steam. By now we acknowledge that many times it is actually a good ideato re-invent the wheel instead of building on such components... the problems we have with that jscalendar bastard...Anyway, if you have a patch for fixing this problem, we'd be happy to apply.EelcoOn 9/13/06, samyem [EMAIL PROTECTED] wrote: Going a bit deeper into the problem, it looks like wicket picks up the z-index values in an arbitrary way. The components do not integrate enough to figure out the correct z-index values. For instance, the date picker is set at z-index 1000, while the modal window's mask is set to 2000 and so on. I am not sure why these particular z-index values are picked, but they sure not working together. A better approach perhaps would be to derive the z-index value from peer components in the page in a relative manner rather than picking absolute values. -- View this message in context: http://www.nabble.com/Date-Picker-in-Modal-Window-tf2266489.html#a6289950 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Date Picker in Modal Window
On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i think for now we can change the zindex of modal to 500 or something. but then if you have any jscalendars on the page that invokes the modal window they will show through :) Ugh. What do you think Matej? Eelco - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Date Picker in Modal Window
Most likely, there is no reason why a modal window would be invoked by a date picker, but the general problem of assuming random z-index is still valid. igor.vaynberg wrote: i think for now we can change the zindex of modal to 500 or something. but then if you have any jscalendars on the page that invokes the modal window they will show through :) -Igor On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: That probably has to do with the fact that the datepicker component was build on top of jscalendar, which is not maintained by Wicket's team. By now we acknowledge that many times it is actually a good idea to re-invent the wheel instead of building on such components... the problems we have with that jscalendar bastard... Anyway, if you have a patch for fixing this problem, we'd be happy to apply. Eelco On 9/13/06, samyem [EMAIL PROTECTED] wrote: Going a bit deeper into the problem, it looks like wicket picks up the z-index values in an arbitrary way. The components do not integrate enough to figure out the correct z-index values. For instance, the date picker is set at z-index 1000, while the modal window's mask is set to 2000 and so on. I am not sure why these particular z-index values are picked, but they sure not working together. A better approach perhaps would be to derive the z-index value from peer components in the page in a relative manner rather than picking absolute values. -- View this message in context: http://www.nabble.com/Date-Picker-in-Modal-Window-tf2266489.html#a6289950 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/Date-Picker-in-Modal-Window-tf2266489.html#a6291306 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Date Picker in Modal Window
If a user clicks a button that opens a datepicker, and then clicks something else that shows the modal window, the datepicker will still show. Eelco Most likely, there is no reason why a modal window would be invoked by a date picker, but the general problem of assuming random z-index is still valid. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [Wicket-announce] First Wicket book published
This is great! Has anyone gotten their hands on a copy? How is it? Hugh. On 9/13/06, Stephanie Parker [EMAIL PROTECTED] wrote: I'm glad we're having our first real Wicket book available now...It is more than just a how-to guide; Karthik goes through the effort of explaining alternatives and explains how things are done by Wicket instead of merely giving you the steps to get a task done. — Eelco Hillenius :::NEW BOOK INFORMATION::: Pro Wicket By Karthik Gurumurthy ISBN: 1-59059-722-2 328 pp. Published: Sep 2006 Price: $39.99 Buy the eBook for $20.00 http://apress.com/book/bookDisplay.html?bID=10189 Wicket is an open source, component-oriented (POJOs-based), lightweight Java web application development framework that brings the Java Swing event-based programming model to web development. Wicket pages can be mocked up, previewed, and later revised using standard WYSIWYG HTML design tools. Wicket provides stateful components, thereby improving productivity. It has an architecture and rich component suite that aims to bring back the object orientation and, more importantly, the fun that is missing from the Java web development space. With the impending 1.2 release, Wicket is set for wider adoption. Pro Wicket gets you up and running quickly with this framework. You'll learn how to configure Wicket, then gradually gain exposure to the Wicket way of addressing web development requirements. Key features: * Is the first book to cover the Wicket framework with Spring integration and Ajax features * Demonstrates all major wicket capabilities through simple examples * Covers important aspects like Wicket-Spring integration and Ajax support Author Information Karthik Gurumurthy Karthik Gurumurthy has been associated with the IT industry for more than six years now and has employed open source libraries to solve business problems. Karthik also has the experience of having documented a popular open source project: XDoclet2. He has been having a great time with Wicket since day one of adoption and would like to let others know how Wicket succeeds in bringing back the fun that has been missing in the Java web development space. He also contributed to the Wicket project through the Wicket-Spring integration module using Jakarta Commons Attributes. Stephanie Parker | Product Marketing Manager | Apress | Based in UK. Phone: + 44 1983 299974 or email: [EMAIL PROTECTED] Apress Head Office: Apress Inc., 2560 Ninth Street, Suite 219, Berkeley, CA 94710 USA | www.apress.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Custom converter ConversionException leads to stacktrace on screen...
Hi, I found out what the problem was. I did not call setType() on the component. The problem is that I did not get a good error message but just a big stack trace on my screen (see end of this mail), so it was difficult to find this problem. Now that I have my converter working correctly, I see that if I define a converter for a type T than my (wicket 1.2.2) converter has to deal with conversions from T to String, String to T, and surprisingly also from T to T. So I have code like this in my conversion method: if (aValue == null ) { return null; } if ( aC.isAssignableFrom(aValue.getClass())) { return aValue; } if (aC.equals(String.class)) { return convertToString((T)aValue, getLocale()); } else { return convertToObject((String)aValue, getLocale()); } Is this normal? Cheers Erik wicket.util.convert.ConversionException: Sofinummer moet precies 9 cijfers bevatten at nl.jmonks.bonloon.app.components.SofiNummerConverter.convertToObject(SofiNummerConverter.java:28) at nl.jmonks.bonloon.app.components.SofiNummerConverter.convertToObject(SofiNummerConverter.java:1) at nl.jmonks.wicket.components.AbstractConverter.convert(AbstractConverter.java:26) at wicket.util.lang.PropertyResolver$FieldGetAndSetter.setValue(PropertyResolver.java:984) at wicket.util.lang.PropertyResolver$ObjectAndGetSetter.setValue(PropertyResolver.java:447) at wicket.util.lang.PropertyResolver.setValue(PropertyResolver.java:136) at wicket.model.AbstractPropertyModel.onSetObject(AbstractPropertyModel.java:182) at wicket.model.AbstractDetachableModel.setObject(AbstractDetachableModel.java:131) at wicket.Component.setModelObject(Component.java:1984) at wicket.markup.html.form.FormComponent.updateModel(FormComponent.java:548) at wicket.markup.html.form.Form$11.formComponent(Form.java:917) at wicket.markup.html.form.Form$4.component(Form.java:459) at wicket.MarkupContainer.visitChildren(MarkupContainer.java:744) at wicket.markup.html.form.Form.visitFormComponents(Form.java:455) at wicket.markup.html.form.Form.updateFormComponentModels(Form.java:908) at wicket.markup.html.form.Form.process(Form.java:890) at wicket.markup.html.form.Form.onFormSubmitted(Form.java:310) at java.lang.reflect.Method.invoke(Method.java:585) at wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:163) at wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:74) at wicket.request.compound.DefaultEventProcessorStrategy.processEvents(DefaultEventProcessorStrategy.java:65) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents(AbstractCompoundRequestCycleProcessor.java:57) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:852) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:885) at wicket.RequestCycle.step(RequestCycle.java:966) at wicket.RequestCycle.steps(RequestCycle.java:1040) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:216) at wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:259) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Igor Vaynberg wrote: can you show us how you use the converter? -Igor On 9/13/06, Erik Brakkee
[Wicket-user] Search with firefox for the sourcecode viewer and the use of buttonFactory
If we use Ctrl-F with firefox to search something inside the sourcecode viewer of the wicket examples the close link will shift to the scroll bar, and user cannot scroll it. here are the screen capture: http://photos1.blogger.com/blogger/7086/3341/1600/wicket.jpg After i cancel the search panel, the close link return to the original position. Apart form that, are there any example or explanation to use the |DefaultButtonImageResourceFactory| http://wicket.sourceforge.net/apidocs/wicket/markup/html/image/resource/DefaultButtonImageResourceFactory.html ? It is means that after we set the img or input tag with value=buttonFactory:save:Save. we will get the Save button image? But I don't know why it do not work for my app. Seem that the buttonFactory have not been created yet. Form the doc, I know that. value=[factoryName]:[sharedImageName]?:[specification]. But I still not clear about the meaning of sharedImageName. If I want to customize my buttonFactory, seem that I need to use the |*IResourceSettings.**addResourceFactory http://wicket.sourceforge.net/apidocs/wicket/settings/IResourceSettings.html#addResourceFactory%28java.lang.String,%20wicket.IResourceFactory%29*(java.lang.String name, IResourceFactory http://wicket.sourceforge.net/apidocs/wicket/IResourceFactory.html resourceFactory) method to add my resourceFactory with its sharedImageName. However, do I need to add the image resource with sharedImageName? | Thanks a lot Man Kam - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [Wicket-announce] First Wicket book published
I bought it, though I didn't read it entirely yet. It looks like a well done book. There is an example chapter if you want to sample: http://www.apress.com/book/supplementDownload.html?bID=10189sID=3763 Eelco On 9/13/06, Hugh Willson [EMAIL PROTECTED] wrote: This is great! Has anyone gotten their hands on a copy? How is it? Hugh. On 9/13/06, Stephanie Parker [EMAIL PROTECTED] wrote: I'm glad we're having our first real Wicket book available now...It is more than just a how-to guide; Karthik goes through the effort of explaining alternatives and explains how things are done by Wicket instead of merely giving you the steps to get a task done. — Eelco Hillenius :::NEW BOOK INFORMATION::: Pro Wicket By Karthik Gurumurthy ISBN: 1-59059-722-2 328 pp. Published: Sep 2006 Price: $39.99 Buy the eBook for $20.00 http://apress.com/book/bookDisplay.html?bID=10189 Wicket is an open source, component-oriented (POJOs-based), lightweight Java web application development framework that brings the Java Swing event-based programming model to web development. Wicket pages can be mocked up, previewed, and later revised using standard WYSIWYG HTML design tools. Wicket provides stateful components, thereby improving productivity. It has an architecture and rich component suite that aims to bring back the object orientation and, more importantly, the fun that is missing from the Java web development space. With the impending 1.2 release, Wicket is set for wider adoption. Pro Wicket gets you up and running quickly with this framework. You'll learn how to configure Wicket, then gradually gain exposure to the Wicket way of addressing web development requirements. Key features: * Is the first book to cover the Wicket framework with Spring integration and Ajax features * Demonstrates all major wicket capabilities through simple examples * Covers important aspects like Wicket-Spring integration and Ajax support Author Information Karthik Gurumurthy Karthik Gurumurthy has been associated with the IT industry for more than six years now and has employed open source libraries to solve business problems. Karthik also has the experience of having documented a popular open source project: XDoclet2. He has been having a great time with Wicket since day one of adoption and would like to let others know how Wicket succeeds in bringing back the fun that has been missing in the Java web development space. He also contributed to the Wicket project through the Wicket-Spring integration module using Jakarta Commons Attributes. Stephanie Parker | Product Marketing Manager | Apress | Based in UK. Phone: + 44 1983 299974 or email: [EMAIL PROTECTED] Apress Head Office: Apress Inc., 2560 Ninth Street, Suite 219, Berkeley, CA 94710 USA | www.apress.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [Wicket-announce] First Wicket book published
spying on the competition eh? :))-IgorOn 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote:I bought it, though I didn't read it entirely yet. It looks like awell done book. There is an example chapter if you want to sample: http://www.apress.com/book/supplementDownload.html?bID=10189sID=3763EelcoOn 9/13/06, Hugh Willson [EMAIL PROTECTED] wrote: This is great! Has anyone gotten their hands on a copy?How is it? Hugh. On 9/13/06, Stephanie Parker [EMAIL PROTECTED] wrote: I'm glad we're having our first real Wicket book available now...It is more than just a how-to guide; Karthik goes through the effort of explaining alternatives and explains how things are done by Wicket instead of merely giving you the steps to get a task done. —Eelco Hillenius :::NEW BOOK INFORMATION::: Pro Wicket By Karthik Gurumurthy ISBN: 1-59059-722-2 328 pp. Published: Sep 2006 Price: $39.99 Buy the eBook for $20.00 http://apress.com/book/bookDisplay.html?bID=10189 Wicket is an open source, component-oriented (POJOs-based), lightweight Java web application development framework that brings the Java Swing event-based programming model to web development. Wicket pages can be mocked up, previewed, and later revised using standard WYSIWYG HTML design tools. Wicket provides stateful components, thereby improving productivity. It has an architecture and rich component suite that aims to bring back the object orientation and, more importantly, the fun that is missing from the Java web development space. With the impending 1.2 release, Wicket is set for wider adoption. Pro Wicket gets you up and running quickly with this framework. You'll learn how to configure Wicket, then gradually gain exposure to the Wicket way of addressing web development requirements. Key features: * Is the first book to cover the Wicket framework with Spring integration and Ajax features * Demonstrates all major wicket capabilities through simple examples * Covers important aspects like Wicket-Spring integration and Ajax support Author Information Karthik Gurumurthy Karthik Gurumurthy has been associated with the IT industry for more than six years now and has employed open source libraries to solve business problems. Karthik also has the experience of having documented a popular open source project: XDoclet2. He has been having a great time with Wicket since day one of adoption and would like to let others know how Wicket succeeds in bringing back the fun that has been missing in the Java web development space. He also contributed to the Wicket project through the Wicket-Spring integration module using Jakarta Commons Attributes. Stephanie Parker | Product Marketing Manager | Apress | Based in UK. Phone: + 44 1983 299974 or email: [EMAIL PROTECTED] Apress Head Office: Apress Inc., 2560 Ninth Street, Suite 219, Berkeley, CA 94710 USA | www.apress.com- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
[Wicket-user] Fwd: [Wicket-announce] First Wicket book published
Forward from announcement list. Sorry for the cross post subscribers of wicket-announce, but there are a lot more subscribers on wicket-user and I thought it might interest most users of Wicket. Eelco -- Forwarded message -- From: Stephanie Parker [EMAIL PROTECTED] Date: Sep 13, 2006 10:52 AM Subject: [Wicket-announce] First Wicket book published To: wicket-announce@lists.sourceforge.net I'm glad we're having our first real Wicket book available now...It is more than just a how-to guide; Karthik goes through the effort of explaining alternatives and explains how things are done by Wicket instead of merely giving you the steps to get a task done. — Eelco Hillenius :::NEW BOOK INFORMATION::: Pro Wicket By Karthik Gurumurthy ISBN: 1-59059-722-2 328 pp. Published: Sep 2006 Price: $39.99 Buy the eBook for $20.00 http://apress.com/book/bookDisplay.html?bID=10189 Wicket is an open source, component-oriented (POJOs-based), lightweight Java web application development framework that brings the Java Swing event-based programming model to web development. Wicket pages can be mocked up, previewed, and later revised using standard WYSIWYG HTML design tools. Wicket provides stateful components, thereby improving productivity. It has an architecture and rich component suite that aims to bring back the object orientation and, more importantly, the fun that is missing from the Java web development space. With the impending 1.2 release, Wicket is set for wider adoption. Pro Wicket gets you up and running quickly with this framework. You'll learn how to configure Wicket, then gradually gain exposure to the Wicket way of addressing web development requirements. Key features: * Is the first book to cover the Wicket framework with Spring integration and Ajax features * Demonstrates all major wicket capabilities through simple examples * Covers important aspects like Wicket-Spring integration and Ajax support Author Information Karthik Gurumurthy Karthik Gurumurthy has been associated with the IT industry for more than six years now and has employed open source libraries to solve business problems. Karthik also has the experience of having documented a popular open source project: XDoclet2. He has been having a great time with Wicket since day one of adoption and would like to let others know how Wicket succeeds in bringing back the fun that has been missing in the Java web development space. He also contributed to the Wicket project through the Wicket-Spring integration module using Jakarta Commons Attributes. Stephanie Parker | Product Marketing Manager | Apress | Based in UK. Phone: + 44 1983 299974 or email: [EMAIL PROTECTED] Apress Head Office: Apress Inc., 2560 Ninth Street, Suite 219, Berkeley, CA 94710 USA | www.apress.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] specific validation messages/custom converters...
Hi, Converters allow localized messages to be configured in property files but as far as I can see it is only possible to specify one validation message per converted type. In practice it would be nice to specify multiple ones. This is useful because in my code I can give a detailed explanation of exactly what went wrong so it would be more user friendly if I could also give these specific messages to users. Is something like this possible with wicket? Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
you can use TypeValidator for the generic keyor TypeValidator.failedtype-simple-name for the specific keys eg TypeValidator.PhoneNumber = if conversion string-phonenumber failed.-Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi,Converters allow localized messages to be configured in property filesbut as far as I can see it is only possible to specify one validationmessage per converted type. In practice it would be nice to specify multiple ones. This is useful because in my code I can give a detailedexplanation of exactly what went wrong so it would be more user friendlyif I could also give these specific messages to users.Is something like this possible with wicket? CheersErik-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
Igor Vaynberg wrote: you can use TypeValidator for the generic key or TypeValidator.failedtype-simple-name for the specific keys eg TypeValidator.PhoneNumber = if conversion string-phonenumber failed. I am already using this, but I want to one level more specific, for instance: TypeValidator.PhoneNumber.tooshort=Phone number requires at least 10 digits TypeValidator.PhoneNumber.unrecognized=Unrecognized chars in phone number, user only digts, and '-' In my specific case for a social security number I have three different specific messages that I can give. Cheers Erik -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, Converters allow localized messages to be configured in property files but as far as I can see it is only possible to specify one validation message per converted type. In practice it would be nice to specify multiple ones. This is useful because in my code I can give a detailed explanation of exactly what went wrong so it would be more user friendly if I could also give these specific messages to users. Is something like this possible with wicket? Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Pagemap null is locked
Did you have any luck with this yet tracking it down?Because i am very curious how this can happen because in the detach of the request i am clearing all things of the current threadin that map. So why something hangs is very strange. If you could debug or change the src a bit of wicket (by placing some output statements in at wicket.Session.getPage(Session.java:482)where you print the thread and the pagemap that is just lockedand then also print out on the release.I am then very curious why it doesn't get to the detach.. johanOn 9/12/06, Philip A. Chapman [EMAIL PROTECTED] wrote: Everyone, I am getting the following error whenever I try to hit a certain page in my webapp. The error can be reproduced and happens every time I try to access the page. I have not yet been successful in creating a small non-trivial test app that will display this behaviour. Any thoughts would be appreciated. Thanks, WicketMessage: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect Root cause: wicket.WicketRuntimeException: After 20s the Pagemap null is still locked by: Thread[resin-803,5,main], giving up trying to get the page for path: 12:categorySelect at wicket.Session.getPage(Session.java:482) at wicket.request.compound.AbstractRequestTargetResolverStrategy.resolveRenderedPage(AbstractRequestTargetResolverStrategy.java:80) at wicket.request.compound.DefaultRequestTargetResolverStrategy.resolve(DefaultRequestTargetResolverStrategy.java:79) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.resolve(AbstractCompoundRequestCycleProcessor.java:49) at wicket.RequestCycle.step(RequestCycle.java:993) at wicket.RequestCycle.steps(RequestCycle.java:1082) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:233) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at wicket.protocol.http.servlet.WicketSessionFilter.doFilter(WicketSessionFilter.java:197) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:386) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490) at com.caucho.util.ThreadPool.run(ThreadPool.java:423) at java.lang.Thread.run(Thread.java:595) -- Philip A. ChapmanDesktop and Web Application Development:Java, .NET, PostgreSQL, MySQL, MSSQLLinux, Windows 2000, Windows XP -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
hmm, right now we dont support it, although it should be pretty easy to do. we will need to add a field to ConversionException to let you specify the key, and then append that to the resourcekey.give me a bit -IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: you can use TypeValidator for the generic key or TypeValidator.failedtype-simple-name for the specific keys eg TypeValidator.PhoneNumber = if conversion string-phonenumber failed. I am already using this, but I want to one level more specific, for instance: TypeValidator.PhoneNumber.tooshort=Phone number requires at least 10 digits TypeValidator.PhoneNumber.unrecognized=Unrecognized chars in phone number, user only digts, and '-' In my specific case for a social security number I have three different specific messages that I can give. Cheers Erik -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, Converters allow localized messages to be configured in property files but as far as I can see it is only possible to specify one validation message per converted type. In practice it would be nice to specify multiple ones. This is useful because in my code I can give a detailed explanation of exactly what went wrong so it would be more user friendly if I could also give these specific messages to users. Is something like this possible with wicket? Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
what would you poll the form for? (calling isVersioned()) from the form components isVersioned()?That is pretty much already done in that method.i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change. I guess the rest like visible it should workjohanOn 9/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote:not formcomponents, which i think is a bit weird/wrong.what we want is to let the form control the versioning of formcomponents, so inside formcomponent constructor we set it to false. and then form overrides setversioned() and replicates that call to the formcomponents. the problem is that during page constructor that wont do anything because form components might be added later - the chain is not yet complete - and also defaulting to false is wrong i think. johan you got any thoughts on this? in 2.0 we can fix this by overriding isversioned on formcomponent and polling the form directly instead of having the form push.-Igor On 9/12/06, Erik Brakkee [EMAIL PROTECTED] wrote: Can the call'addLink.setVersioned(true);' be left out? By defaultpages are versioned so components on pages are versioned too by default,right?- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
yes, it doesnt make sense for form components that act on input, but this doesnt exactly apply to buttons.-IgorOn 9/13/06, Johan Compagner [EMAIL PROTECTED] wrote:what would you poll the form for? (calling isVersioned()) from the form components isVersioned()? That is pretty much already done in that method.i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change. I guess the rest like visible it should workjohanOn 9/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote: not formcomponents, which i think is a bit weird/wrong.what we want is to let the form control the versioning of formcomponents, so inside formcomponent constructor we set it to false. and then form overrides setversioned() and replicates that call to the formcomponents. the problem is that during page constructor that wont do anything because form components might be added later - the chain is not yet complete - and also defaulting to false is wrong i think. johan you got any thoughts on this? in 2.0 we can fix this by overriding isversioned on formcomponent and polling the form directly instead of having the form push.-Igor On 9/12/06, Erik Brakkee [EMAIL PROTECTED] wrote: Can the call'addLink.setVersioned(true);' be left out? By defaultpages are versioned so components on pages are versioned too by default,right?- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
yeah that a button is a FormComponent on the wicket side is maybe a bit strange..Because almost all the things formcomponent has are not really used by a button.I get that on the markup side it is a form thing.. But to be a formcomponent in java is maybe not even needed. johanOn 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, it doesnt make sense for form components that act on input, but this doesnt exactly apply to buttons.-Igor On 9/13/06, Johan Compagner [EMAIL PROTECTED] wrote: what would you poll the form for? (calling isVersioned()) from the form components isVersioned()? That is pretty much already done in that method.i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change. I guess the rest like visible it should workjohanOn 9/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote: not formcomponents, which i think is a bit weird/wrong.what we want is to let the form control the versioning of formcomponents, so inside formcomponent constructor we set it to false. and then form overrides setversioned() and replicates that call to the formcomponents. the problem is that during page constructor that wont do anything because form components might be added later - the chain is not yet complete - and also defaulting to false is wrong i think. johan you got any thoughts on this? in 2.0 we can fix this by overriding isversioned on formcomponent and polling the form directly instead of having the form push.-Igor On 9/12/06, Erik Brakkee [EMAIL PROTECTED] wrote: Can the call'addLink.setVersioned(true);' be left out? By defaultpages are versioned so components on pages are versioned too by default,right?- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
add an rfe for 2.0 :)-IgorOn 9/13/06, Johan Compagner [EMAIL PROTECTED] wrote: yeah that a button is a FormComponent on the wicket side is maybe a bit strange..Because almost all the things formcomponent has are not really used by a button.I get that on the markup side it is a form thing.. But to be a formcomponent in java is maybe not even needed. johanOn 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, it doesnt make sense for form components that act on input, but this doesnt exactly apply to buttons.-Igor On 9/13/06, Johan Compagner [EMAIL PROTECTED] wrote: what would you poll the form for? (calling isVersioned()) from the form components isVersioned()? That is pretty much already done in that method.i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change. I guess the rest like visible it should workjohanOn 9/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote: not formcomponents, which i think is a bit weird/wrong.what we want is to let the form control the versioning of formcomponents, so inside formcomponent constructor we set it to false. and then form overrides setversioned() and replicates that call to the formcomponents. the problem is that during page constructor that wont do anything because form components might be added later - the chain is not yet complete - and also defaulting to false is wrong i think. johan you got any thoughts on this? in 2.0 we can fix this by overriding isversioned on formcomponent and polling the form directly instead of having the form push.-Igor On 9/12/06, Erik Brakkee [EMAIL PROTECTED] wrote: Can the call'addLink.setVersioned(true);' be left out? By defaultpages are versioned so components on pages are versioned too by default,right?- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to detect page switch
you really shouldn't lock objects over request.. Because you don't controll anything. He can close the browser or go awayIn a swing app where you have a connection to you can at least do something about it(and show that to the user that he looses it and take it again on a focus of a field) But long transactions or locks over request is in my eyes bad praktisch that shouldn't be done in a webapp.Maybe with full use of ajax you can get to the behaviour a bit that a fat client would have.. But i prefer other way. Just let it change it and if it did change (does that really happen a lot? i can't believe that)then report that first back to the user that a save couldn't happen because another person did change it already and do show those changes (try to merge it)johanOn 9/12/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: Hi,Is there a Wicket (ie really smart) way to detext when the user switch to another page?The use case is to release locks that a user might have put on databaserecords with pessimistic locking when the user switch to another page.Pierre-Yves- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
alright, if you check out from wicket-1.x branch (which will be 1.2.3 when it is released) you will have ConversionException.setResourceKey(String).-IgorOn 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: hmm, right now we dont support it, although it should be pretty easy to do. we will need to add a field to ConversionException to let you specify the key, and then append that to the resourcekey.give me a bit -IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: you can use TypeValidator for the generic key or TypeValidator.failedtype-simple-name for the specific keys eg TypeValidator.PhoneNumber = if conversion string-phonenumber failed. I am already using this, but I want to one level more specific, for instance: TypeValidator.PhoneNumber.tooshort=Phone number requires at least 10 digits TypeValidator.PhoneNumber.unrecognized=Unrecognized chars in phone number, user only digts, and '-' In my specific case for a social security number I have three different specific messages that I can give. Cheers Erik -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, Converters allow localized messages to be configured in property files but as far as I can see it is only possible to specify one validation message per converted type. In practice it would be nice to specify multiple ones. This is useful because in my code I can give a detailed explanation of exactly what went wrong so it would be more user friendly if I could also give these specific messages to users. Is something like this possible with wicket? Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
I guess the reason that a button is a formcomponent is because a button can receive input... the value of a submit is pretty important... Martijn On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: add an rfe for 2.0 :) -Igor On 9/13/06, Johan Compagner [EMAIL PROTECTED] wrote: yeah that a button is a FormComponent on the wicket side is maybe a bit strange.. Because almost all the things formcomponent has are not really used by a button. I get that on the markup side it is a form thing.. But to be a formcomponent in java is maybe not even needed. johan On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, it doesnt make sense for form components that act on input, but this doesnt exactly apply to buttons. -Igor On 9/13/06, Johan Compagner [EMAIL PROTECTED] wrote: what would you poll the form for? (calling isVersioned()) from the form components isVersioned()? That is pretty much already done in that method. i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change. I guess the rest like visible it should work johan On 9/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote: not formcomponents, which i think is a bit weird/wrong. what we want is to let the form control the versioning of formcomponents, so inside formcomponent constructor we set it to false. and then form overrides setversioned() and replicates that call to the formcomponents. the problem is that during page constructor that wont do anything because form components might be added later - the chain is not yet complete - and also defaulting to false is wrong i think. johan you got any thoughts on this? in 2.0 we can fix this by overriding isversioned on formcomponent and polling the form directly instead of having the form push. -Igor On 9/12/06, Erik Brakkee [EMAIL PROTECTED] wrote: Can the call 'addLink.setVersioned(true);' be left out? By default pages are versioned so components on pages are versioned too by default, right? - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done
Re: [Wicket-user] SubmitLink and back button...
Johan Compagner wrote: what would you poll the form for? (calling isVersioned()) from the form components isVersioned()? That is pretty much already done in that method. So I don't need to wait until all components are added to the form to call setVersioned(true)? i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change. I guess the rest like visible it should work I don't understand this. I just ran into a practical situation where versioning is needed. There is a form that has two lists inside it. One for items added to a list (say shopping cart) and another for items to choose (say products) (my actual case was different). The items in the shopping card used SubmitLinks for removing them, and the products have submit links for adding them to the cart. This case will fail with the current default settings. In my opinion consistency is everything. The fact that a form is not versioned is really surprising. Why don't you just set versioning to true by default, and leave setting it to false to the people who want to do performance optimization and know that it is safe for their problem to turn it off? johan - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
we are talking about form components that take their input off form submissions - like textfield - its not very practical to version it because on backbutton you would resubmit the form and it would once again pull its value from the request params. it doesnt work right now on buttons - i am going to fix that momentarily.-IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote:Johan Compagner wrote: what would you poll the form for? (calling isVersioned()) from the form components isVersioned()? That is pretty much already done in that method.So I don't need to wait until all components are added to the form tocall setVersioned(true)? i guess why we don't versioning formcomponents because it doesn't make much sense for the data (model) change. I guess the rest like visible it should workI don't understand this. I just ran into a practical situation whereversioning is needed. There is a form that has two lists inside it. One for items added to a list (say shopping cart) and another for items tochoose (say products) (my actual case was different). The items in theshopping card used SubmitLinks for removing them, and the products have submit links for adding them to the cart. This case will fail with thecurrent default settings.In my opinion consistency is everything. The fact that a form is notversioned is really surprising. Why don't you just set versioning to true by default, and leave setting it to false to the people who want todo performance optimization and know that it is safe for their problemto turn it off? johan- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
Igor Vaynberg wrote: we are talking about form components that take their input off form submissions - like textfield - its not very practical to version it because on backbutton you would resubmit the form and it would once again pull its value from the request params. Ok, I didn't get that. But will the default for Forms be changed to isVersioned = true in wicket 2? it doesnt work right now on buttons - i am going to fix that momentarily. -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
Igor Vaynberg wrote: alright, if you check out from wicket-1.x branch (which will be 1.2.3 when it is released) you will have ConversionException.setResourceKey(String). Wow! The people on this list keep on amazing me. Do you have a private life? :-) -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] SubmitLink and back button...
Forms themselves are versioned by default afaik, its the form components that are not. and now buttons are versioned by default.-IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote:Igor Vaynberg wrote: we are talking about form components that take their input off form submissions - like textfield - its not very practical to version it because on backbutton you would resubmit the form and it would once again pull its value from the request params.Ok, I didn't get that. But will the default for Forms be changed toisVersioned = true in wicket 2? it doesnt work right now on buttons - i am going to fix that momentarily. -Igor-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
i have a gorgeous wife and two beautiful kids :)-IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: alright, if you check out from wicket-1.x branch (which will be 1.2.3 when it is released) you will have ConversionException.setResourceKey(String).Wow! The people on this list keep on amazing me. Do you have a privatelife? :-) -Igor -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] specific validation messages/custom converters...
In other words: his bar bum years are over and he can code instead of chasing girls all the time :) Eelco On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i have a gorgeous wife and two beautiful kids :) -Igor On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Igor Vaynberg wrote: alright, if you check out from wicket-1.x branch (which will be 1.2.3 when it is released) you will have ConversionException.setResourceKey(String). Wow! The people on this list keep on amazing me. Do you have a private life? :-) -Igor - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to detect page switch
I eventually implemented something very close to what you describe. Basically it is a sort of optimistic locking with field merging so that update fails only for those fields that are found different at update time than at read time. In such case, fields that can be updated are and those that can't are left unchanged. The form is redisplayed so the user can see the two versions. If he saves a second time, all fields are updated. However, to achieve this, I need to implement pessimistic locking for a short time, between the time the form is redisplayed and the time the user saves again or cancel. (Pessimistic locking is also implemented between a delete request and its confirmation or cancellation.) The problem is that the user can make a third choice and go to have a coffe break. So, the lock that the user (in fact the session) has acquire will expire after some configurable time. It works by writing the session id, the lock time and the maximum delay into the database. That way, if another user comes, he can see if there is a lock and if this lock is active, and act accordingly. This is supposed to solve the problem of the user not releasing a lock. There is still a problem: in the optimistic/merge scenario, I must have a copy of the field values at read time to compare with the modified fields and the actual fields. For this, I keep a reference to the hibernate object. The modified fields are in a value object. Not holding a reference to the original object would not be relevant if I would still hold a reference to the value object. It makes little sense to throw one away and keep the other. But there is no hibernate related problem, since the object is never used to persist or merge the data. Now, it could be possible to keep only the ids of the objects. For this, I would have to store the two objects in the database. But I do not think this would be rewarding. I would need to create special tables for this, write the two objects, read them, and eventually delete them. I prefer to have small objects (in case of big entities, just break them in smaller parts) and store them for the duration of the pseudo transaction. At worst, they will be thrown away when the session expires and the locks in the database will have themsevles expired much longer before. The real question is which potential problem is hidden in this scenario and will suddenly jump out when the app will be in production ? :-( Pierre-Yves Johan Compagner a écrit : you really shouldn't lock objects over request.. Because you don't controll anything. He can close the browser or go away In a swing app where you have a connection to you can at least do something about it (and show that to the user that he looses it and take it again on a focus of a field) But long transactions or locks over request is in my eyes bad praktisch that shouldn't be done in a webapp. Maybe with full use of ajax you can get to the behaviour a bit that a fat client would have.. But i prefer other way. Just let it change it and if it did change (does that really happen a lot? i can't believe that) then report that first back to the user that a save couldn't happen because another person did change it already and do show those changes (try to merge it) johan On 9/12/06, *Pierre-Yves Saumont* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, Is there a Wicket (ie really smart) way to detext when the user switch to another page? The use case is to release locks that a user might have put on database records with pessimistic locking when the user switch to another page. Pierre-Yves - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net
Re: [Wicket-user] How to detect page switch
Just a general comment on this thread, I have added a VersionedForm to our application which will discover a stale object based on the version number in the object (using javax.persistence @Version annotation). I have described this component here: http://jroller.com/page/dashorst?entry=wicket_goodie_hibernate_versioned_form (BTW Frank: woogle didn't find this article!) If a concurrent update has been detected, the form will repopulate with the values from the database. The user should then re enter the values (as the previous values were based on old information, the new data can invalidate his data!). It doesn't do locking across requests, and has served our purpose. It may provide you with an alternative. Martijn -- Download Wicket 1.2.2 now! New Ajax components: Tree, TreeTable and ModalWindow -- http://wicketframework.org - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] what mail client to you use?
Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to detect page switch
if you keep a clone of the object before the change in your session (which sounds like you do) then there wont be any issues. you have all 3 states needed to merge correctly.-Igor On 9/13/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote: I eventually implemented something very close to what you describe.Basically it is a sort of optimistic locking with field merging so thatupdate fails only for those fields that are found different at updatetime than at read time. In such case, fields that can be updated are and those that can't are left unchanged. The form is redisplayed so the usercan see the two versions. If he saves a second time, all fields are updated.However, to achieve this, I need to implement pessimistic locking for a short time, between the time the form is redisplayed and the time theuser saves again or cancel. (Pessimistic locking is also implementedbetween a delete request and its confirmation or cancellation.)The problem is that the user can make a third choice and go to have a coffe break. So, the lock that the user (in fact the session) hasacquire will expire after some configurable time. It works by writingthe session id, the lock time and the maximum delay into the database.That way, if another user comes, he can see if there is a lock and if this lock is active, and act accordingly. This is supposed to solve theproblem of the user not releasing a lock.There is still a problem: in the optimistic/merge scenario, I must havea copy of the field values at read time to compare with the modified fields and the actual fields. For this, I keep a reference to thehibernate object. The modified fields are in a value object.Not holding a reference to the original object would not be relevant ifI would still hold a reference to the value object. It makes little sense to throw one away and keep the other. But there is no hibernaterelated problem, since the object is never used to persist or merge thedata.Now, it could be possible to keep only the ids of the objects. For this, I would have to store the two objects in the database. But I do notthink this would be rewarding. I would need to create special tables forthis, write the two objects, read them, and eventually delete them. I prefer to have small objects (in case of big entities, just break themin smaller parts) and store them for the duration of the pseudotransaction. At worst, they will be thrown away when the session expiresand the locks in the database will have themsevles expired much longer before.The real question is which potential problem is hidden in this scenarioand will suddenly jump out when the app will be in production ? :-(Pierre-YvesJohan Compagner a écrit : you really shouldn't lock objects over request.. Because you don't controll anything. He can close the browser or go away In a swing app where you have a connection to you can at least do something about it (and show that to the user that he looses it and take it again on a focus of a field) But long transactions or locks over request is in my eyes bad praktisch that shouldn't be done in a webapp. Maybe with full use of ajax you can get to the behaviour a bit that a fat client would have.. But i prefer other way. Just let it change it and if it did change (does that really happen a lot? i can't believe that) then report that first back to the user that a save couldn't happen because another person did change it already and do show those changes (try to merge it) johan On 9/12/06, *Pierre-Yves Saumont* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, Is there a Wicket (ie really smart) way to detext when the user switch to another page? The use case is to release locks that a user might have put on database records with pessimistic locking when the user switch to another page. Pierre-Yves - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user https://lists.sourceforge.net/lists/listinfo/wicket-user- Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing
Re: [Wicket-user] what mail client to you use?
Use gmail. Works perfect. If you don't have an account, let me know so that I can give you one. Eelco On 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote: Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] what mail client to you use?
g m a i l :) would never use a mailing list without it again.-IgorOn 9/13/06, Erik Brakkee [EMAIL PROTECTED] wrote:Hi,I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads.CheersErik-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [Wicket-announce] First Wicket book published
Nice! Wouldn't mind picking up a copy - too bad Amazon's one Canadian delivery truck is apparently busy for the next 4 to 6 weeks :-( ... looks like it's an electronic version for me! Thanks! Hugh. On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I bought it, though I didn't read it entirely yet. It looks like a well done book. There is an example chapter if you want to sample: http://www.apress.com/book/supplementDownload.html?bID=10189sID=3763 Eelco On 9/13/06, Hugh Willson [EMAIL PROTECTED] wrote: This is great! Has anyone gotten their hands on a copy? How is it? Hugh. On 9/13/06, Stephanie Parker [EMAIL PROTECTED] wrote: I'm glad we're having our first real Wicket book available now...It is more than just a how-to guide; Karthik goes through the effort of explaining alternatives and explains how things are done by Wicket instead of merely giving you the steps to get a task done. — Eelco Hillenius :::NEW BOOK INFORMATION::: Pro Wicket By Karthik Gurumurthy ISBN: 1-59059-722-2 328 pp. Published: Sep 2006 Price: $39.99 Buy the eBook for $20.00 http://apress.com/book/bookDisplay.html?bID=10189 Wicket is an open source, component-oriented (POJOs-based), lightweight Java web application development framework that brings the Java Swing event-based programming model to web development. Wicket pages can be mocked up, previewed, and later revised using standard WYSIWYG HTML design tools. Wicket provides stateful components, thereby improving productivity. It has an architecture and rich component suite that aims to bring back the object orientation and, more importantly, the fun that is missing from the Java web development space. With the impending 1.2 release, Wicket is set for wider adoption. Pro Wicket gets you up and running quickly with this framework. You'll learn how to configure Wicket, then gradually gain exposure to the Wicket way of addressing web development requirements. Key features: * Is the first book to cover the Wicket framework with Spring integration and Ajax features * Demonstrates all major wicket capabilities through simple examples * Covers important aspects like Wicket-Spring integration and Ajax support Author Information Karthik Gurumurthy Karthik Gurumurthy has been associated with the IT industry for more than six years now and has employed open source libraries to solve business problems. Karthik also has the experience of having documented a popular open source project: XDoclet2. He has been having a great time with Wicket since day one of adoption and would like to let others know how Wicket succeeds in bringing back the fun that has been missing in the Java web development space. He also contributed to the Wicket project through the Wicket-Spring integration module using Jakarta Commons Attributes. Stephanie Parker | Product Marketing Manager | Apress | Based in UK. Phone: + 44 1983 299974 or email: [EMAIL PROTECTED] Apress Head Office: Apress Inc., 2560 Ninth Street, Suite 219, Berkeley, CA 94710 USA | www.apress.com - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-announce mailing list Wicket-announce@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-announce - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list
Re: [Wicket-user] what mail client to you use?
I use Thunderbird, threaded view. I don't know if it's true, but I was told that gmail requires subjects to stay unchanged in order to group threads. (seems to be the case in this list, anyway) - Gustavo. Erik Brakkee wrote: Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] [GMAIL TEST] Was Re: what mail client to you use?
subject change testOn 9/13/06, Gustavo Santucho [EMAIL PROTECTED] wrote: I use Thunderbird, threaded view.I don't know if it's true, but I was told that gmail requires subjectsto stay unchanged in order to group threads.(seems to be the case in this list, anyway)-Gustavo. Erik Brakkee wrote: Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] what mail client to you use?
yep, its true.seems gmail threading is a list not a tree. i dont know if its good or bad, i think i actually prefer it.-IgorOn 9/13/06, Gustavo Santucho [EMAIL PROTECTED] wrote: I use Thunderbird, threaded view.I don't know if it's true, but I was told that gmail requires subjectsto stay unchanged in order to group threads.(seems to be the case in this list, anyway)-Gustavo. Erik Brakkee wrote: Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] what mail client to you use?
On 9/13/06, Gustavo Santucho [EMAIL PROTECTED] wrote: I use Thunderbird, threaded view. I liked Thunderbird too. But I use gmail for everything now. I don't know if it's true, but I was told that gmail requires subjects to stay unchanged in order to group threads. (seems to be the case in this list, anyway) True. But that's a good thing imho, as it'll let you start a new thread based on an old one easily. Eelco - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [GMAIL TEST] Was Re: what mail client to you use?
Does it work? PS: Note that the new subject contains the original one in your test. - Gustavo. Igor Vaynberg wrote: subject change test On 9/13/06, *Gustavo Santucho* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I use Thunderbird, threaded view. I don't know if it's true, but I was told that gmail requires subjects to stay unchanged in order to group threads. (seems to be the case in this list, anyway) - Gustavo. Erik Brakkee wrote: Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] [GMAIL TEST] Was Re: what mail client to you use?
this appears as a separate thread.-IgorOn 9/13/06, Gustavo Santucho [EMAIL PROTECTED] wrote:Does it work?PS: Note that the new subject contains the original one in your test. -Gustavo.Igor Vaynberg wrote: subject change test On 9/13/06, *Gustavo Santucho* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: I use Thunderbird, threaded view. I don't know if it's true, but I was told that gmail requires subjects to stay unchanged in order to group threads. (seems to be the case in this list, anyway) - Gustavo. Erik Brakkee wrote: Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Pro Wicket: Great first book on wicket
Hello, I have been looking at wicket for some time. I found it after looking at many other frameworks (Struts, Spring, WebWork, etc). Wicket seemed to be the best suited to my needs (more java focused with great components). Although, technically, it had one the web framework race for me, its documentation was minimal to non-existent (esp high level non api docs). Now there is finally a book that addresses this issue. APress will be publishing Pro Wicket (http://www.apress.com/book/bookDisplay.html?bID=10189) I bought the beta e-book online (US$20) and it is very good. So a big thanks to Karthik Gurumurthy. The book is almost complete (although a little rough and could use some more editing). It covers the Wicket basics very well, explaining why you do things (which is often more important than how). Chapters cover: - setting up wicket (quick start) - validation - layout - integration with spring, velocity - localization - components (and wicket extensions) - ajax - unit testing and even wicket 2 Pro: - Easy to read - Great coverage of Wicket - Addresses the why as well as the how - Covers advanced topics like unit testing, integration with other frameworks, wicket 2 Cons: - Still a little rough (some needless repetition, references to tomcat instead of jetty) - Although the spring integration was interesting, there was a little too much of it - Some key code was not in bold. The bold really helped me find the important line so when it was not there I really missed it. So, if you are using wicket (or plan to or even using something like struts and want to know what the fun, easy alternative is) get wicket and Pro Wicket. Note: There is also a sample chapter that can be downloaded free. Now all I have to do is find time to play with Wicket... You can see some other comments at on Pro Wicket at https://chillenious.wordpress.com/2006/08/18/beta-ebook-pro-wicket-available/ PS: Wicket in Action is supposed to be in the works so that would make 2 great wicket books. Keep it up. https://chillenious.wordpress.com/2006/08/18/beta-ebook-pro-wicket-available/ -- View this message in context: http://www.nabble.com/Pro-Wicket%3A-Great-first-book-on-wicket-tf2268721.html#a6296863 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Modal Window
If the modal window is resizable, why is it ignoring the window size, and what should be done if I do need to supply a width and height? At the moment, I can set an initial width and height, but after I close the window and go to another page with another modal window, instead of using the initial width/height set for the modal window, it uses the last known width/height values. For non-resizable modal windows, this behaviour does not occur. -- View this message in context: http://www.nabble.com/Modal-Window-tf2268885.html#a6297354 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Dyanmic component's model
Thanks for the reply igor I will experiment... On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote:depends on what you want to do with it, if you want the input to go back into the question you can just do item.add(new TextField(inputText , new PropertyModel(item.getModel(), questionText));-IgorOn 9/12/06, Joshua Lim [EMAIL PROTECTED] wrote: Hi I am trying to create a set of dynamic components that will generate dynamic numbers of input components, but I got stuck in providing a model for it.for e.g. I have TextGroupPanel - which will create a series of TextField RadioGroupPanel - which will generate a Grid type of Radio buttons.. etc ...Generating it is not a problem, I have a problem though with providing the models for each (dynamic numnber) of Text/Radio components I know I'll probably need a hashMap to handle that, but not sure of the best approach so that this component can be reuseable...any suggestion would be most welcomed/** Text Group **/public class TextGroupPanel extends WidgetPanel public TextGroupPanel(String id, final IQuestion question) { super(id, question); add(new Label(questionText, question.getText())); // a list of children question List questions = question.getQuestions(); add(new ListView(questions, questions) {@Overrideprotected void populateItem(ListItem item) { IQuestion question = (IQuestion) item.getModelObject(); item.add(new Label(question, question.getText())); item.add(new TextField(inputText , newModel()));} }); }/** Radio Group as a Grid **/ public class RadioGroupPanel extends WidgetPanel public RadioGroupPanel(String id, IQuestion question) { super(id, question); // add the question (group) add(new Label(questionText, question.getText())); final List choices = question.getChoices(); List questions = question.getQuestions(); // add Choices Text add(new RefreshingView(choiceTexts) {@Overrideprotected Iterator getItemModels(){ return new ModelIteratorAdapter( choices.iterator()) { @Override protected IModel model(Object object) { return new Model((Serializable)object); } }; }@Overrideprotected void populateItem(Item item){ IChoice choice = (IChoice) item.getModelObject(); item.add(new Label(choiceText, choice.getText()));} }); // add rows of Question and Choices add(new ListView(questions, questions) { @Overrideprotected void populateItem(ListItem item){ // question for this row IQuestion aQuestion = (IQuestion)item.getModelObject(); item.add(new Label(question, aQuestion.getText())); // choices for this row RadioGroup radioGroup = new RadioGroup(choicesGroup, newModel()); item.add(radioGroup); // adds radio into radio group radioGroup.add(new RefreshingView(choices) { @Override protected Iterator getItemModels() { return new ModelIteratorAdapter(choices.iterator()) { @Overrideprotected IModel model(Object object){ return new Model((Serializable)object); } }; } @Override protected void populateItem(Item item) { item.add(new Radio(choice, item.getModel())); } });} }); } -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Modal Window
Hi Samyem, If you have concrete suggestions to improve components, it works best to create feature requests for them at http://sourceforge.net/tracker/?group_id=119783atid=684978. That way, they won't get lost in the email archives. Eelco On 9/13/06, samyem [EMAIL PROTECTED] wrote: If the modal window is resizable, why is it ignoring the window size, and what should be done if I do need to supply a width and height? At the moment, I can set an initial width and height, but after I close the window and go to another page with another modal window, instead of using the initial width/height set for the modal window, it uses the last known width/height values. For non-resizable modal windows, this behaviour does not occur. -- View this message in context: http://www.nabble.com/Modal-Window-tf2268885.html#a6297354 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Modal Window
And of course, if you have concrete code (patches), that will even increase the chance of the request being honored and quickly so. Eelco On 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: Hi Samyem, If you have concrete suggestions to improve components, it works best to create feature requests for them at http://sourceforge.net/tracker/?group_id=119783atid=684978. That way, they won't get lost in the email archives. Eelco On 9/13/06, samyem [EMAIL PROTECTED] wrote: If the modal window is resizable, why is it ignoring the window size, and what should be done if I do need to supply a width and height? At the moment, I can set an initial width and height, but after I close the window and go to another page with another modal window, instead of using the initial width/height set for the modal window, it uses the last known width/height values. For non-resizable modal windows, this behaviour does not occur. -- View this message in context: http://www.nabble.com/Modal-Window-tf2268885.html#a6297354 Sent from the Wicket - User forum at Nabble.com. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] what mail client did you use?
I'm not a fan of gmail because all of your list mail is all bunched up in with all of your other lists. Labels just don't replace folders IMHO.Ayway, I just wanted to try changing the subject to see if a new thread was started. That seems like a bad move because of all the RE and spacing issues that other clients add to the subject line. Maybe they filter that cruft out? -- jimOn 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: On 9/13/06, Gustavo Santucho [EMAIL PROTECTED] wrote: I use Thunderbird, threaded view.I liked Thunderbird too. But I use gmail for everything now. I don't know if it's true, but I was told that gmail requires subjects to stay unchanged in order to group threads. (seems to be the case in this list, anyway)True. But that's a good thing imho, as it'll let you start a new thread based on an old one easily.Eelco-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] what mail client to you use?
LOL, just tried the same thing.Now what if I change the subject back to the original?On 9/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote:this appears as a separate thread. -IgorOn 9/13/06, Gustavo Santucho [EMAIL PROTECTED] wrote:Does it work?PS: Note that the new subject contains the original one in your test. -Gustavo.Igor Vaynberg wrote: subject change test On 9/13/06, *Gustavo Santucho* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: I use Thunderbird, threaded view. I don't know if it's true, but I was told that gmail requires subjects to stay unchanged in order to group threads. (seems to be the case in this list, anyway) - Gustavo. Erik Brakkee wrote: Hi, I am having more and more difficulty following the mail discussions. I need a mail client that supports watching mail threads. Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto: Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] what mail client did you use?
there is a trick to the labels.assign each list a label, then do archive - skip inbox, and your list gets its own folder-IgorOn 9/13/06, James Cook [EMAIL PROTECTED] wrote: I'm not a fan of gmail because all of your list mail is all bunched up in with all of your other lists. Labels just don't replace folders IMHO.Ayway, I just wanted to try changing the subject to see if a new thread was started. That seems like a bad move because of all the RE and spacing issues that other clients add to the subject line. Maybe they filter that cruft out? -- jimOn 9/13/06, Eelco Hillenius [EMAIL PROTECTED] wrote: On 9/13/06, Gustavo Santucho [EMAIL PROTECTED] wrote: I use Thunderbird, threaded view. I liked Thunderbird too. But I use gmail for everything now. I don't know if it's true, but I was told that gmail requires subjects to stay unchanged in order to group threads. (seems to be the case in this list, anyway)True. But that's a good thing imho, as it'll let you start a new thread based on an old one easily.Eelco-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] shades wicket project
yo yo yo, So I've got a decent build of Shades up on sourceforge http://sourceforge.net/projects/shadesdb I've incorporated some of the feedback I received on my blog from some of the Wicket folks. http://notskateboarding.blogspot.com/ I'm feeling ready to start some type of Wicket-stuff project using shades. It might simply be a good way to show some examples of how to use Shades. Would that be an acceptable use of wicket stuff? I'm really stoked on how shades is shaping up. The code base feels tight. I have a wiki going http://c2.com/cgi/wiki?ShadesDb -geoff - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user