Re: [Wicket-user] display border conditionally

2006-10-14 Thread Johan Compagner
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:

Re: [Wicket-user] ICryptFactory Uses

2006-10-14 Thread Ayodeji Aladejebi
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_

Re: [Wicket-user] ICryptFactory Uses

2006-10-14 Thread Johan Compagner
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

Re: [Wicket-user] ajax refresh on date picker

2006-10-14 Thread Matej Knopp
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

Re: [Wicket-user] Call stack size exceeded in Safari with Wicket-1.x

2006-10-14 Thread Matej Knopp
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

Re: [Wicket-user] Handling tree node onclick

2006-10-14 Thread Matej Knopp
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

[Wicket-user] DataTable with column styles and widths

2006-10-14 Thread Niels Bo
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

Re: [Wicket-user] display border conditionally

2006-10-14 Thread Bondarenko, Oleg
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

Re: [Wicket-user] ICryptFactory Uses

2006-10-14 Thread Igor Vaynberg
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

Re: [Wicket-user] Call stack size exceeded in Safari with Wicket-1.x

2006-10-14 Thread Caleb Land
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

Re: [Wicket-user] Compound Property model and Palette

2006-10-14 Thread samyem
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

Re: [Wicket-user] Compound Property model and Palette

2006-10-14 Thread Igor Vaynberg
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

Re: [Wicket-user] Call stack size exceeded in Safari with Wicket-1.x

2006-10-14 Thread Matej Knopp
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)

Re: [Wicket-user] Two feedback panels on one page

2006-10-14 Thread Landry Soules
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

Re: [Wicket-user] Two feedback panels on one page

2006-10-14 Thread Igor Vaynberg
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

Re: [Wicket-user] Compound Property model and Palette

2006-10-14 Thread Igor Vaynberg
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

Re: [Wicket-user] Form, FeedbackPanel and AjaxSubmitbutton's default

2006-10-14 Thread Igor Vaynberg
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,

Re: [Wicket-user] IE causes Unable to load class errors...

2006-10-14 Thread Eelco Hillenius
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,

Re: [Wicket-user] Two feedback panels on one page

2006-10-14 Thread Landry Soules
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

[Wicket-user] wiki link

2006-10-14 Thread Scott Swank
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

[Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-14 Thread Caleb Land
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