Re: [Wicket-user] display border conditionally
Usecase could be that you want to light up the importand fields to fill in if they are not filled in.Thinking about that we should have a border that works like swing borders if possibleso not wrap a component in a border but just giving the component a border: component.setBorder(borderComponent)and a borderComponent can generate markup that must be before and after the components tags..Then it is really like a border that also can be set to none visible. johanOn 10/13/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: What is the use case? Why do you want to do it?No way might not be correct, may be not a simple one. Which versionare you using?JuergenOn 10/13/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: ok, Juergen, my guess was wrong then. But does it mean there is no way to dynamically disable the border markup and render only the border body? Schade. ;) thanks anyway Oleg -Original Message- From: [EMAIL PROTECTED] on behalf of Juergen Donnerstag Sent: Fri 10/13/2006 10:01 PM To: wicket-user@lists.sourceforge.net Cc: Subject:Re: [Wicket-user] display border conditionally setRenderBodyOnly() can be used to change the behavior. But it only prevent the component from writing the open and close tag. The box html markup associated with BoxBorder will not be disabled this way. Juergen On 10/13/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: Is it possible to change Border rendering dynamically? E.g. take the wicket.markup.html.border.BoxBorder , I want the body of the border to display always, but the border itself only on some condition. I think if I could overwrite Component.getRenderBodyOnly() that would be it, but unfortunately this method is final ;-( - 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 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] ICryptFactory Uses
so how should passwords be stored into a database especially when yu are using JPA ( a User object) for instance with username prop and password prop? Please do not use the crypt factory for storingapplication password in your database or whereever as the interfaceasks for encryption _and_ decryption (synchronous algorithms)JuergenOn 10/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i believe we first encode using the crypto algorithm given a key you specify, and then base64 the result so it can be put into the url -Igor On 10/13/06, craigdd [EMAIL PROTECTED] wrote: It is great that wicket provides this functionality out of the box...props to the wicket development team. So am I correct in seeing that the CryptedUrlWebRequestCodingStrategy is using base64 to encode and decode the URL string? So getting back to the ICryptFactory interface, is this just a convenient way to provide a utility to the application has a whole for encrypting things? Johan Compagner wrote: no use CryptedUrlWebRequestCodingStrategy for that. johan On 10/13/06, craigdd [EMAIL PROTECTED] wrote: So are you saying that by implementing the ICryptFactory interface that URLs will also be encrypted? igor.vaynberg wrote: it is used to retrieve crypto algorithms whenever we need to encrypt something - which isnt very often. wicket has support for encrypting urlssothat is one place where it is used. generally you can find all places in code where it is used by asking yourIDE to find references to it. -Igor On 10/13/06, craigdd [EMAIL PROTECTED] wrote: In looking at the JavaDoc I noticed the ICryptFactory interface that canbeimplemented and added to the security settings of a wicket applicationobject. I'm a little confuses as to what this is used for, does anyone have anyinfor on this interface or how they are utilizing it? --View this message in context:http://www.nabble.com/ICryptFactory-Uses-tf2438588.html#a6800168 Sent from the Wicket - User mailing list archive 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 jobeasierDownload IBM WebSphere Application Server v.1.0.1 based on ApacheGeronimo 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 jobeasierDownload 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 -- View this message in context: http://www.nabble.com/ICryptFactory-Uses-tf2438588.html#a6800792 Sent from the Wicket - User mailing list archive 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 -- View this message in context: http://www.nabble.com/ICryptFactory-Uses-tf2438588.html#a6801708 Sent from the Wicket - User mailing list archive 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
Re: [Wicket-user] ICryptFactory Uses
use a one way encryption (hash) like SHAOn 10/14/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: so how should passwords be stored into a database especially when yu are using JPA ( a User object) for instance with username prop and password prop? Please do not use the crypt factory for storingapplication password in your database or whereever as the interfaceasks for encryption _and_ decryption (synchronous algorithms)JuergenOn 10/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i believe we first encode using the crypto algorithm given a key you specify, and then base64 the result so it can be put into the url -Igor On 10/13/06, craigdd [EMAIL PROTECTED] wrote: It is great that wicket provides this functionality out of the box...props to the wicket development team. So am I correct in seeing that the CryptedUrlWebRequestCodingStrategy is using base64 to encode and decode the URL string? So getting back to the ICryptFactory interface, is this just a convenient way to provide a utility to the application has a whole for encrypting things? Johan Compagner wrote: no use CryptedUrlWebRequestCodingStrategy for that. johan On 10/13/06, craigdd [EMAIL PROTECTED] wrote: So are you saying that by implementing the ICryptFactory interface that URLs will also be encrypted? igor.vaynberg wrote: it is used to retrieve crypto algorithms whenever we need to encrypt something - which isnt very often. wicket has support for encrypting urlssothat is one place where it is used. generally you can find all places in code where it is used by asking yourIDE to find references to it. -Igor On 10/13/06, craigdd [EMAIL PROTECTED] wrote: In looking at the JavaDoc I noticed the ICryptFactory interface that canbeimplemented and added to the security settings of a wicket applicationobject. I'm a little confuses as to what this is used for, does anyone have anyinfor on this interface or how they are utilizing it? --View this message in context: http://www.nabble.com/ICryptFactory-Uses-tf2438588.html#a6800168 Sent from the Wicket - User mailing list archive 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 jobeasierDownload IBM WebSphere Application Server v.1.0.1 based on ApacheGeronimo 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 jobeasierDownload 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/ICryptFactory-Uses-tf2438588.html#a6800792 Sent from the Wicket - User mailing list archive 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 -- View this message in context: http://www.nabble.com/ICryptFactory-Uses-tf2438588.html#a6801708 Sent from the Wicket - User mailing list archive at Nabble.com.- Using Tomcat
Re: [Wicket-user] ajax refresh on date picker
Hi Pierre-Yvers, I've tested your example with IE, FF and Opera, in all browsers it worked well. I've tested it wicket current svn (branch 1.3). So if there really is a bug, I still can't reproduce it :( However, there is one bug your example helped me to find, and that is AjaxTabbedPanel being versioned (it throwed exceptions on page refresh). -Matej Pierre-Yves Saumont wrote: Hi Matej, I eventually was able to make a stripped down version of my app. It still contains lot of unusefull stuff for the test case, but it is only 270kb. I removed the jars in the lib directory to reduce the size. You just have to copy the standard quickstart jars to make it work (and rename the zip file since zip archive are not allowed in this list). For user name and password, use wicket/wicket. There is a datepicker on the first page. You can then click on any tab (inner or outer) and go back to the first tab to experiment the problem. After an Ajax call, the datePicker still opens, but it is not possible to select a date. Pierre-Yves Matej Knopp a écrit : Well, the modification basically restored the behavior from before the speed optimization was done. It shouldn't really change anything, definitely not cause null instead of AjaxRequest (which probably means that you're using fallback links and for some reason they are not fired using Ajax). Anyway, are you able to provide a test case from any of this? All these issues you are facing seem to be related to your application quite closely, and I'm not able to reproduce any of it on my own. -Matej Pierre-Yves Saumont wrote: Hi Matej, With this modification, some Ajax link are seeing there onClick methods called with a null target. In the page I load, there is a top menu bar that loaded Ajax pages. In this pages there is genrally a ajax tabbed panel. The inner ajax links are working and the datepicker also works. When I try to activate an outer link to display another ajax page, I get the null target exception. So I cannot test the datepicker on the other pages. Pierre-Yves Matej Knopp a écrit : This is very unfortunate. I'm not able to reproduce the stack overflow problem even with huge ajax responses. Can you plese replace the processNext method with this: processNext: function() { if (this.current this.functions.length) { var f = this.functions[this.current]; var run = function() { f(this.notify.bind(this)); }.bind(this); this.current++; window.setTimeout(run, 1); } so that we can be sure that this is the problem. -Matej Pierre-Yves Saumont wrote: I changed the value to 10. It does not change anything. I don't know if it can be usefull, but I added the line: alert(this.depth); before line 120. When loading the Ajax response that contains the datepicker, this alert is displayed 10 times with values 0 to 9. Pierre-Yves Matej Knopp a écrit : That's not really the problem. The javascript _is_ included only once. Problem is the performance improvement I did, calling the run method from call stack instead of scheduling it on window.setTimeout(). The latter is very slow, because it redraws browser window. Anyway, it should no longer cause problem. Please make sure you've cleaned browsers cache. If this is the case, please try to change the number in wicket-ajax.js on line 120 (if (this.depth 50 || Wicket.Browser.isKHTML try to set it to lower number, like 10 to see if it helps. Perhaps I'm still overestimating the stack size? It's strange because I've tested the code on large ajax updates and it worked well. -Matej igor.vaynberg wrote: is it possible to change calendar.js and include an include_only_once logic? -Igor Pierre-Yves Saumont wrote: Hello Matej, I eventually found the updated file. (I was looking for the calendar.js file, and not for wicket-ajax.js). It doesn't change anything. I still have a too much recursion error at line 1796 of calendar.js Pierre-Yves Matej Knopp a ?crit : I assume there's something wrong with your svn setup. The revision of wicket-ajax.js in svn is 7534, it's 3 days old http://svn.sourceforge.net/viewvc/*checkout*/wicket/branches/wicket-1.x/wicket/src/java/wicket/ajax/wicket-ajax.js?revision=7534 Maybe it would help to do a clean checkout of entire project. -Matej Pierre-Yves Saumont wrote: Hi Matej, I can't find anything newer than revision 7520 (udpate of the french files) in branche 1.x and revision 7519 in trunk. Where did you put the updated files? Thanks, Pierre-Yves Matej Knopp a ?crit : Hi, it should be fixed in SVN, but I can't really test it. I've simulated updating of many elements so that I could reproduce the stack overflow, but I don't know if that is your case. please try the current version and let me know.
Re: [Wicket-user] Call stack size exceeded in Safari with Wicket-1.x
Hi, can you please try if the same code (with this.depth 50) works in Firefox? It is possible that safari has smaller call stack, in which case we would need to handle it properly. Thanks. -Matej Caleb Land wrote: I'm using Wicket-1.x from SVN and in Safari 2.0.4 when I try to replace a number of components and partially update the page I get an error: ERROR: Error while parsing response: Maximum call stack size exceeded. This same code works in 1.2.2. I traced the problem to the Wicket.FunctionsExecuter.processNext() function (line 120 of wicket-ajax.js): if (this.depth 50 || Wicket.Browser.isKHTML()) { // to prevent khtml bug that crashes entire browser // or to prevent stack overflow this.depth = 0; window.setTimeout(run, 1); } else { this.depth ++; run(); } I put a log message above the if statement that printed the value of this.depth and Safari goes to 11 and then crashes, so I changed the conditional to: if (this.depth 10 || Wicket.Browser.isKHTML()) { and everything works correctly. Could something I'm doing be causing this problem? Or is this a bug in Wicket-1.x? -- Caleb Land ([EMAIL PROTECTED] mailto:[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 - 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] Handling tree node onclick
Okay, this answer didn't really make sense :) onNodeLinkClicked is of course already in DefaultAbstractTree. -Matej Matej Knopp wrote: Good point. I'll add the method to AbstractTree, should be there before 1.2.3 is out. -Matej Karl M. Davis wrote: Matej, Doesn't it make more sense just to override onNodeLinkClicked(...)? That's what I've been doing, anyways. That way you don't have to worry about how the ndoes are created-- just what to do with them once one is clicked. If you want to control how the nodes look, override renderNode(...) to customize the node's text, and getNodeIcon(...). -- Karl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matej Knopp Sent: Thursday, October 12, 2006 7:18 AM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] Handling tree node onclick I assume you are talking about the new (ajax) tree. Override the method newNodeLink to create link with action you want. -Matej billa wrote: Can someone point me to some sample code for intercepting a tree node onclick event? I would like the tree node click to update a pane on the same page that contains an edit form for the object represented by the node. - 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
[Wicket-user] DataTable with column styles and widths
Hi I have thissuggestion for an extension totheDataTable component that willmake it easier to set width andccs styles individually on each column. It involves these files (attached): IColumn.java - new getWidth() and getStyleName() AbstractColumn.java - implement default get/set Width and StyleName DataTable.html - added colgroupsection DataTable.java - added a few lines. Usage like: IColumn column = new PropetyColumn(...); column.setStyleName(rightadjust); column.setWidth(200); Would this be a useful improvement for other Wicket users? Niels datatable.isazip Description: Zip compressed data - 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] display border conditionally
Exactly what I need! And the usecase is also mine! I would really appreciate such a border component. Is there a workaround in the current version (1.2) to emulate such behavior? Oleg -Original Message- From: [EMAIL PROTECTED] on behalf of Johan Compagner Sent: Sat 10/14/2006 11:19 AM To: wicket-user@lists.sourceforge.net Cc: Subject:Re: [Wicket-user] display border conditionally Usecase could be that you want to light up the importand fields to fill in if they are not filled in. Thinking about that we should have a border that works like swing borders if possible so not wrap a component in a border but just giving the component a border: component.setBorder(borderComponent) and a borderComponent can generate markup that must be before and after the components tags.. Then it is really like a border that also can be set to none visible. johan On 10/13/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: What is the use case? Why do you want to do it? No way might not be correct, may be not a simple one. Which version are you using? Juergen On 10/13/06, Bondarenko, Oleg mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: ok, Juergen, my guess was wrong then. But does it mean there is no way to dynamically disable the border markup and render only the border body? Schade. ;) thanks anyway Oleg -Original Message- From: [EMAIL PROTECTED] on behalf of Juergen Donnerstag Sent: Fri 10/13/2006 10:01 PM To: wicket-user@lists.sourceforge.net Cc: Subject:Re: [Wicket-user] display border conditionally setRenderBodyOnly() can be used to change the behavior. But it only prevent the component from writing the open and close tag. The box html markup associated with BoxBorder will not be disabled this way. Juergen On 10/13/06, Bondarenko, Oleg [EMAIL PROTECTED] wrote: Is it possible to change Border rendering dynamically? E.g. take the wicket.markup.html.border.BoxBorder , I want the body of the border to display always, but the border itself only on some condition. I think if I could overwrite Component.getRenderBodyOnly() that would be it, but unfortunately this method is final ;-( - 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=lnk http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 kid=120709bid=263057dat=121642 ___ Wicket-user mailing list 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 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list mailto:Wicket-user@lists.sourceforge.net 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=lnk http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 kid=120709bid=263057dat=121642 ___ Wicket-user mailing list 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 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list mailto:Wicket-user@lists.sourceforge.net Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ICryptFactory Uses
yes, you never ever store a password directly in the db!!!also good idea to use salt so a dictionary attack wont work.String salt=generate random string of some length;String tmp=password+salt; String hash=hash(tmp);store in the database salt and hash.-IgorOn 10/14/06, Johan Compagner [EMAIL PROTECTED] wrote:use a one way encryption (hash) like SHA On 10/14/06, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: so how should passwords be stored into a database especially when yu are using JPA ( a User object) for instance with username prop and password prop? Please do not use the crypt factory for storingapplication password in your database or whereever as the interfaceasks for encryption _and_ decryption (synchronous algorithms)JuergenOn 10/13/06, Igor Vaynberg [EMAIL PROTECTED] wrote: i believe we first encode using the crypto algorithm given a key you specify, and then base64 the result so it can be put into the url -Igor On 10/13/06, craigdd [EMAIL PROTECTED] wrote: It is great that wicket provides this functionality out of the box...props to the wicket development team. So am I correct in seeing that the CryptedUrlWebRequestCodingStrategy is using base64 to encode and decode the URL string? So getting back to the ICryptFactory interface, is this just a convenient way to provide a utility to the application has a whole for encrypting things? Johan Compagner wrote: no use CryptedUrlWebRequestCodingStrategy for that. johan On 10/13/06, craigdd [EMAIL PROTECTED] wrote: So are you saying that by implementing the ICryptFactory interface that URLs will also be encrypted? igor.vaynberg wrote: it is used to retrieve crypto algorithms whenever we need to encrypt something - which isnt very often. wicket has support for encrypting urlssothat is one place where it is used. generally you can find all places in code where it is used by asking yourIDE to find references to it. -Igor On 10/13/06, craigdd [EMAIL PROTECTED] wrote: In looking at the JavaDoc I noticed the ICryptFactory interface that canbeimplemented and added to the security settings of a wicket applicationobject. I'm a little confuses as to what this is used for, does anyone have anyinfor on this interface or how they are utilizing it? --View this message in context: http://www.nabble.com/ICryptFactory-Uses-tf2438588.html#a6800168 Sent from the Wicket - User mailing list archive 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 jobeasierDownload IBM WebSphere Application Server v.1.0.1 based on ApacheGeronimo 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 jobeasierDownload 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/ICryptFactory-Uses-tf2438588.html#a6800792 Sent from the Wicket - User mailing list archive 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
Re: [Wicket-user] Call stack size exceeded in Safari with Wicket-1.x
On 10/14/06, Matej Knopp [EMAIL PROTECTED] wrote: Hi,can you please try if the same code (with this.depth 50) works inFirefox? It is possible that safari has smaller call stack, in whichcase we would need to handle it properly.Doh! I did test in Firefox, but forgot to mention that it does work correctly with the default depth limit of 50. I just converted my project to wicket 2 and it behaves slightly differently in Safari, but I get the same error and the fix is the same (to change the call depth limit). Thanks.-MatejCaleb Land wrote: I'm using Wicket-1.x from SVN and in Safari 2.0.4 when I try to replace a number of components and partially update the page I get an error: ERROR: Error while parsing response: Maximum call stack size exceeded. This same code works in 1.2.2. I traced the problem to the Wicket.FunctionsExecuter.processNext() function (line 120 of wicket-ajax.js): if (this.depth 50 || Wicket.Browser.isKHTML ()) { // to prevent khtml bug that crashes entire browser // or to prevent stack overflow this.depth = 0; window.setTimeout(run, 1); } else { this.depth ++; run(); } I put a log message above the if statement that printed the value of this.depth and Safari goes to 11 and then crashes, so I changed the conditional to: if (this.depth 10 || Wicket.Browser.isKHTML()) { and everything works correctly. Could something I'm doing be causing this problem?Or is this a bug in Wicket-1.x? -- Caleb Land ([EMAIL PROTECTED] mailto:[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- 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 -- Caleb Land([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] Compound Property model and Palette
Since the Palette does not allow you to implicitly use the container's compound model, there does not appear to be an obvious way for Palette to behave the same way as the other FormComponents. So I was wondering if this is a limitation of Palette or it was done this way by design? samyem wrote: Is it possible for a Palette to take the CompoundPropertyModel set on the form? -- View this message in context: http://www.nabble.com/Compound-Property-model-and-Palette-tf2439928.html#a6812005 Sent from the Wicket - User mailing list archive 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] Compound Property model and Palette
it is a limitation, i will patch it soon.-IgorOn 10/14/06, samyem [EMAIL PROTECTED] wrote: Since the Palette does not allow you to implicitly use the container'scompound model, there does not appear to be an obvious way for Palette to behave the same way as the other FormComponents. So I was wondering if thisis a limitation of Palette or it was done this way by design?samyem wrote: Is it possible for a Palette to take the CompoundPropertyModel set on the form?--View this message in context: http://www.nabble.com/Compound-Property-model-and-Palette-tf2439928.html#a6812005 Sent from the Wicket - User mailing list archive 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 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] Call stack size exceeded in Safari with Wicket-1.x
Okay, it seems that Safari has significantly lower call stack size, so we need to handle it appropriately. -Matej Caleb Land wrote: On 10/14/06, *Matej Knopp* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, can you please try if the same code (with this.depth 50) works in Firefox? It is possible that safari has smaller call stack, in which case we would need to handle it properly. Doh! I did test in Firefox, but forgot to mention that it does work correctly with the default depth limit of 50. I just converted my project to wicket 2 and it behaves slightly differently in Safari, but I get the same error and the fix is the same (to change the call depth limit). Thanks. -Matej Caleb Land wrote: I'm using Wicket-1.x from SVN and in Safari 2.0.4 when I try to replace a number of components and partially update the page I get an error: ERROR: Error while parsing response: Maximum call stack size exceeded. This same code works in 1.2.2. I traced the problem to the Wicket.FunctionsExecuter.processNext() function (line 120 of wicket-ajax.js): if (this.depth 50 || Wicket.Browser.isKHTML ()) { // to prevent khtml bug that crashes entire browser // or to prevent stack overflow this.depth = 0; window.setTimeout(run, 1); } else { this.depth ++; run(); } I put a log message above the if statement that printed the value of this.depth and Safari goes to 11 and then crashes, so I changed the conditional to: if (this.depth 10 || Wicket.Browser.isKHTML()) { and everything works correctly. Could something I'm doing be causing this problem? Or is this a bug in Wicket-1.x? -- Caleb Land ([EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[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 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 https://lists.sourceforge.net/lists/listinfo/wicket-user -- Caleb Land ([EMAIL PROTECTED] mailto:[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 - 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
Re: [Wicket-user] Two feedback panels on one page
Hello, I put this thread back to the light because I had a similar problem : My site has a signin panel on the left side, and another form in the center. Each of them has a feedback panel. In order to avoid having the same messages displayed in the 2 panels, i followed Igor's tip, but now every feedback in one panel deletes the other's content... Please how can i solve this ? Igor Vaynberg a écrit : well, its not the default because this is a tiny subset of what wicket's feedback system is capable of. now if it is a common usecase in your app you can craete a BoundedFeedbackPanel given the code i gave you previously. its a 10 line component that you can then reuse in your app - this is the power of wicket. we give you the tools that make it easy to adapt the functionality to many situations. if we started to provide impls for all common usecases the api would be too big and you would have a hard time finding what you needed anyways. -Igor On 8/13/06, *Predrag Spasojevic* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Why it isn't FeedbackPanel's default behavior? I think that the common use is one FeedbackPanel per form, not per page On 8/13/06, *Igor Vaynberg* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: final Form form=. new FeedbackPanel(foo, new IFeedbackMessageFilter() { boolean accept(FeedbackMessage message) { // messages reported on the session have a null reporter if ( message.getreporter()!=null) { // only accept messages coming from the children of the form return form.contains(message.getreporter(), true); } return false; } } -Igor On 8/13/06, *Predrag Spasojevic* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have a page with 2 panels. Each panel has its own form and feedback panel. When any validator fails the same messages are displayed on both feedback panels. I have looked into wicket source code and in the class FeedbackMessageModel there is a method for getting feedback messages: public final Object onGetObject(final Component component) { if (messages == null) { // Get filtered messages from page where component lives List pageMessages = component.*getPage().getFeedbackMessages() *.messages(filter); It looks like when validator fails it adds feedback message to a page. And when feedback panel is displayed it calls page to get messages. I suppose that is the reason why both feedback panels shows the same messages. Is there any way to have two feedback panels on one page that are not showing the same messages? -- Regards, Predrag Spasojevic - 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 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
Re: [Wicket-user] Two feedback panels on one page
the panels dont delete feedback messages.components raise feedback messages - which are kept at the page levelpanels render messagesat the end of request the message are cleared - so if they werent shown during the same request they are gone if you have messages that need to span requests then you need to raise them on the session object - session.error() etc. those are kept in session until they are rendered-Igor On 10/14/06, Landry Soules [EMAIL PROTECTED] wrote: Hello,I put this thread back to the light because I had a similar problem :My site has a signin panel on the left side, and another form in thecenter. Each of them has a feedback panel.In order to avoid having the same messages displayed in the 2 panels, i followed Igor's tip, but now every feedback in one panel deletes theother's content...Please how can i solve this ?Igor Vaynberg a écrit : well, its not the default because this is a tiny subset of what wicket's feedback system is capable of. now if it is a common usecase in your app you can craete a BoundedFeedbackPanel given the code i gave you previously. its a 10 line component that you can then reuse in your app - this is the power of wicket. we give you the tools that make it easy to adapt the functionality to many situations. if we started to provide impls for all common usecases the api would be too big and you would have a hard time finding what you needed anyways. -Igor On 8/13/06, *Predrag Spasojevic* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: Why it isn't FeedbackPanel's default behavior? I think that the common use is one FeedbackPanel per form, not per page On 8/13/06, *Igor Vaynberg* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: final Form form=. new FeedbackPanel(foo, new IFeedbackMessageFilter() { boolean accept(FeedbackMessage message) { // messages reported on the session have a null reporter if ( message.getreporter()!=null) {// only accept messages coming from the children of the formreturn form.contains(message.getreporter(), true); } return false; } } -Igor On 8/13/06, *Predrag Spasojevic* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have a page with 2 panels. Each panel has its own form and feedback panel. When any validator fails the same messages are displayed on both feedback panels. I have looked into wicket source code and in the class FeedbackMessageModel there is a method for getting feedback messages:public final Object onGetObject(final Component component) { if (messages == null) {// Get filtered messages from page where component livesList pageMessages = component.*getPage().getFeedbackMessages() *.messages(filter); It looks like when validator fails it adds feedback message to a page. And when feedback panel is displayed it calls page to get messages. I suppose that is the reason why both feedback panels shows the same messages. Is there any way to have two feedback panels on one page that are not showing the same messages? -- Regards, Predrag Spasojevic - 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 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 -- Pozdrav, Predrag Spasojevic - 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
Re: [Wicket-user] Compound Property model and Palette
and its patched, let me know if it works.-IgorOn 10/14/06, Igor Vaynberg [EMAIL PROTECTED] wrote:it is a limitation, i will patch it soon.-Igor On 10/14/06, samyem [EMAIL PROTECTED] wrote: Since the Palette does not allow you to implicitly use the container'scompound model, there does not appear to be an obvious way for Palette to behave the same way as the other FormComponents. So I was wondering if thisis a limitation of Palette or it was done this way by design?samyem wrote: Is it possible for a Palette to take the CompoundPropertyModel set on the form?--View this message in context: http://www.nabble.com/Compound-Property-model-and-Palette-tf2439928.html#a6812005 Sent from the Wicket - User mailing list archive 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 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] Form, FeedbackPanel and AjaxSubmitbutton's default
and its updated-IgorOn 10/11/06, Igor Vaynberg [EMAIL PROTECTED] wrote: actually that example is wrong, it does need to be updated. onError() was added after the example was written, and since there was no compile time break i missed that spot :)i will update the example soon. -Igor On 10/11/06, Stefan Lindner [EMAIL PROTECTED] wrote: I see! Perhaps you are right when you say that there is no food defaultbehavior. Thank you for answering my stupid question. :-)But maybe the documentation should be updated. the examle in wicket-examples did not make it clear that a FeedbackPanel inside of a Form needs an overwritten onErrorMethod. A Feedbackpanel outside of the form (on thePanel) does not (see wicket.examples.ajax.builtin.FormPage).Stefan Lindnerigor.vaynberg wrote: it is not wrong, you can have a feedback panel anywhere you like. nothing happens because nothing is added to the target. all im saying is that there is no good default behavior because everyone structures their components differently. -Igor On 10/11/06, Stefan Lindner [EMAIL PROTECTED] wrote: -Ursprüngliche Nachricht- My FeedbackPanel is inside of the form. Ist this wrong? If I have it inside of the Form, nothing happens if I do not override onError. Stefan Lindner - 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/Re%3A-Form%2C-FeedbackPanel-and-AjaxSubmitbutton%27s-default-tf2425580.html#a6765901 Sent from the Wicket - User mailing list archive 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 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] IE causes Unable to load class errors...
Could you file a bug? I've never seen this, but I never ran a Wicket app on WebLogic myself. Eelco On 10/14/06, Gwyn Evans [EMAIL PROTECTED] wrote: More info... It's also server specific, in that if I fire it up in Jetty, it's fine, whereas using WebLogic, it's not... /Gwyn On 13/10/06, Gwyn Evans [EMAIL PROTECTED] wrote: Hi, Anyone seen this sort of thing? If I use Firefox, there's nothing in the logs, whereas if I try IE, I get the page (including the css file) but there's an error logged - 2006-10-13 23:05:21,589 [ERROR] RequestCycle - Unable to load class with name: c.z.t.web.manual.page.log.css The page I'm loading is c.z.t.web.manual.page.log.Index, which has no CSS load but does extend ../BasePage, which contains head ... link rel=stylesheet type=text/css href=css/styles.css /head This is translated to link href=/manual/css/styles.css type=text/css rel=stylesheet and does load OK, although it does contain behavior:url(css/csshover.htc); which could be the issue? What's really a problem is that while I get this page, trying to get to any page needing authentication just ends up with a 404 after logging in, so any suggestions welcome! As I said though, FF is fine with it... /Gwyn -- Download Wicket 1.2.2 now! - 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 - 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] Two feedback panels on one page
Thank you Igor for the precision. This behaviour is perfectly logical, so the case i describe shouldn't arise. However, you never know the crazy things users will do ! So i'll give your session solution a try. Best regards. Landry Igor Vaynberg a écrit : the panels dont delete feedback messages. components raise feedback messages - which are kept at the page level panels render messages at the end of request the message are cleared - so if they werent shown during the same request they are gone if you have messages that need to span requests then you need to raise them on the session object - session.error() etc. those are kept in session until they are rendered -Igor On 10/14/06, *Landry Soules* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello, I put this thread back to the light because I had a similar problem : My site has a signin panel on the left side, and another form in the center. Each of them has a feedback panel. In order to avoid having the same messages displayed in the 2 panels, i followed Igor's tip, but now every feedback in one panel deletes the other's content... Please how can i solve this ? Igor Vaynberg a écrit : well, its not the default because this is a tiny subset of what wicket's feedback system is capable of. now if it is a common usecase in your app you can craete a BoundedFeedbackPanel given the code i gave you previously. its a 10 line component that you can then reuse in your app - this is the power of wicket. we give you the tools that make it easy to adapt the functionality to many situations. if we started to provide impls for all common usecases the api would be too big and you would have a hard time finding what you needed anyways. -Igor On 8/13/06, *Predrag Spasojevic* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Why it isn't FeedbackPanel's default behavior? I think that the common use is one FeedbackPanel per form, not per page On 8/13/06, *Igor Vaynberg* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: final Form form=. new FeedbackPanel(foo, new IFeedbackMessageFilter() { boolean accept(FeedbackMessage message) { // messages reported on the session have a null reporter if ( message.getreporter()!=null) { // only accept messages coming from the children of the form return form.contains(message.getreporter(), true); } return false; } } -Igor On 8/13/06, *Predrag Spasojevic* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I have a page with 2 panels. Each panel has its own form and feedback panel. When any validator fails the same messages are displayed on both feedback panels. I have looked into wicket source code and in the class FeedbackMessageModel there is a method for getting feedback messages: public final Object onGetObject(final Component component) { if (messages == null) { // Get filtered messages from page where component lives List pageMessages = component.*getPage().getFeedbackMessages() *.messages(filter); It looks like when validator fails it adds feedback message to a page. And when feedback panel is displayed it calls page to get messages. I suppose that is the reason why both feedback panels shows the same messages. Is there any way to have two feedback panels on one page that are not showing the same messages? -- Regards, Predrag Spasojevic - 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
[Wicket-user] wiki link
On wicket.sourceforge.net the link to the wiki takes you to wicket.sourceforge.net/wiki -- which results in a connection timeout instead of re-directing you to http://www.wicket-wiki.org.uk/ -- Scott Swank reformed mathematician Power is not a means, it is an end. One does not establish a dictatorship in order to safeguard a revolution; one makes the revolution in order to establish the dictatorship. The object of persecution is persecution. The object of torture is torture. The object of power is power. -- George Orwell, 1984 - 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] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox
When I add a component via ajax that contributes _javascript_ to be executed (like the AutoCompleteTextField from wicket-extensions) the _javascript_ is executed before the component elements are added to the page in Firefox ( 1.5.0.7). The same code works correctly in Safari, Opera, and IE7 (I haven't tests 6.x).In the case of the AutoCompleteTextField (which adds _javascript_ through the AbstractAutoCompleteBehavior), the _javascript_: new Wicket.Ajax.AutoComplete('id ', 'callbackUrl');gets executed before the control is added to the page, so an element with the specified id cannot be found and the autocomplete functionality isn't added to the control. Here is a quickstart application that demonstrates the problem:http://www.granfalloon.com/~caleb/wicket-quickstart.zipif I alter AbstractAutoCompleteBehavior to execute the _javascript_ in a setTimeout() then everything work correctly in Firefox. -- Caleb Land([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