Re: Timestamp -> java.util.Date convertion in Wicket

2008-05-31 Thread Jeremy Thomerson
Weird indeed. Do this... capture the return of your ((ConverterLocator) getConverterLocator()).set(...) call. In that method, it is returning the result of a Map.put(Timestamp.class, your-converter). Therefore, the result should be non-null, as you should be overriding the default implementation

RE: Timestamp -> java.util.Date convertion in Wicket

2008-05-31 Thread Michael Mehrle
Yes, exactly the way you're doing it - didn't change anything except for removing the generic def in the IConverter interface (not using generics yet in my current project). And yes, I also set my breakpoint but it's never being called. The field simply grabs the time value and no conversion seems

tabbed pages not panels

2008-05-31 Thread nazeem
Does wicket have inbuilt support for tabbed pages ? not tabbed panels. Please point me to if available -- View this message in context: http://www.nabble.com/tabbed-pages-not-panels-tp17582637p17582637.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

RE: Timestamp -> java.util.Date convertion in Wicket

2008-05-31 Thread Jeremy Thomerson
Did you make sure to use the code exactly (it calls SET on the concrete implementation rather than the standard way of just adding a converter to the interface)? Which version are you using? This problem appeared in 1.3, and I have tested my fix in all versions of of 1.3 and 1.4-m1 and m2. Yo

RE: Timestamp -> java.util.Date convertion in Wicket

2008-05-31 Thread Michael Mehrle
Hello Jeremy: I added the converter to my apps init() method per your example but the problem persists. I keep seeing 12:00am instead of the date. Any suggestions? Michael -Original Message- From: Jeremy Thomerson [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2008 7:35 PM To: users@wi

Changing Link string conditionally?

2008-05-31 Thread Michael Mehrle
Okay, this seems so easy, but I'm somehow stuck. How do I change the string of a Link based on some condition? Do I simply provide a terminated tag and set the model (i.e. the visible string) in my code? Michael

Re: problems with stateless forms and radiogroups/checkgroups

2008-05-31 Thread joelhalbert
I was wondering whether this was scheduled for a fix in the next release and if are any suggested work arounds for using checkbox's within stateless forms? Thanks Joel alexei.sokolov wrote: > > Done. > https://issues.apache.org/jira/browse/WICKET-1545 > > Alex > > On Tue, Apr 15, 2008 at 11:

Re: Templating + performance question

2008-05-31 Thread Stefan Simik
Ok, I'll take it into consideration and solve this type of performance issues later. Thanx for your advice. Jonathan Locke wrote: > > > I would wait on this one if I were you. Use the powerful feature as simply > as possible, then determine if you need to optimize anything by using a > profile

RE: Best Wicket Books or Tutorials

2008-05-31 Thread Brill Pappin
Having just checked out the link, I assure you this is not "free". Money is exchanging hands even if it's not you who has to pay it; you do have to pay in terms of several stages and companies you go through to get at the material. - Brill -Original Message- From: Martijn Dashorst [mail

Re: Back button problem with form

2008-05-31 Thread Eelco Hillenius
> After some debugging I solved it in a ugly way. I used PropertyModel() for > the form and when I > pressed submit the object did'nt update in a correct manner. I think it has > to do with that the object is in the session. Weird. Did you check that the target of the property model was the one yo

Re: Resource servlet from wicket

2008-05-31 Thread Igor Vaynberg
implement support for HEAD request -igor On Sat, May 31, 2008 at 3:54 AM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! > > I have this servlet that is called from wicket only using a url > /Files/thefile.jpg > The servlet is url-mapped on /Files/*. But it is very slow and I was just > w

Re: Templating + performance question

2008-05-31 Thread Jonathan Locke
I would wait on this one if I were you. Use the powerful feature as simply as possible, then determine if you need to optimize anything by using a profiler. I know it is a bit of an old saw, but premature optimization really is the root of all evil. Stefan Simik wrote: > > Hi boys, > > I wo

Re: maven deployment..?

2008-05-31 Thread James Carman
Well, the "test" and "prod" profiles do have that property set to "deployment". The default properties just sets it to development. On Fri, May 30, 2008 at 2:38 PM, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > Great:) Looks like we do a lot of stuff the same way:) > > So you

Templating + performance question

2008-05-31 Thread Stefan Simik
Hi boys, I would like to ask about Templating (ass CssTemplate, ...) and performance. I think about the best solution for customizing design of our components. I see templating as a very powerful feature, but I worry about degraded performance, because of much processing when interpolating vari

Re: Back button problem with form

2008-05-31 Thread Mathias P.W Nilsson
After some debugging I solved it in a ugly way. I used PropertyModel() for the form and when I pressed submit the object did'nt update in a correct manner. I think it has to do with that the object is in the session. When I used Model() instead it worked. -- View this message in context: http:

Re: Back button problem with form

2008-05-31 Thread Mathias P.W Nilsson
I still don't get it. If I check another radio button and press submit it would still do a post from wicket right? -- View this message in context: http://www.nabble.com/Back-button-problem-with-form-tp17512965p17574963.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Manipulate Component Markup before rendering

2008-05-31 Thread Erik van Oosten
Any component defined within the "script" area seems to be ignored by wicket Weird. That sounds like a bug to me. Anyway, your solution seems robust enough to me. Regards, Erik. Jürgen Lind wrote: Hi Erik, thank you for the suggestion. I tried that already and it did not work. Any comp

Resource servlet from wicket

2008-05-31 Thread Mathias P.W Nilsson
Hi! I have this servlet that is called from wicket only using a url /Files/thefile.jpg The servlet is url-mapped on /Files/*. But it is very slow and I was just wondering could this be done in a better way package se.edgesoft.hairless.web.resource; import java.io.DataInputStream; import java.io

Re: Manipulate Component Markup before rendering

2008-05-31 Thread Jürgen Lind
Hi Erik, thank you for the suggestion. I tried that already and it did not work. Any component defined within the "script" area seems to be ignored by wicket, i.e. when I define the label in the Java code, I get an error message stating that the component was not declared in the markup file... Wh

how to implement a SSL submit link/button

2008-05-31 Thread Ken Leung
I want to implement a signin form with a submit link/button.  The initial signin page is via HTTP. When the user clicks on the link, the underlying form POST will be HTTPS and subsequent interaction will be HTTPS until the user signs off. Any code examples ? Thanks in Advance...