Re: Two small questions

2007-09-13 Thread Gerolf Seitz
sebastiaan, sorry for not saying that in my first post: thank you for your contribution. could you also attach this file to the issue WICKET-949? as you said, you'd probably subclass the behavior anyway to provide an application wide implementation. it's just that it seems to be the wicketier

Re: Two small questions

2007-09-13 Thread Gerolf Seitz
On 9/13/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: Hi, Gerolf Seitz wrote: sebastiaan, sorry for not saying that in my first post: thank you for your contribution. could you also attach this file to the issue WICKET-949? No problem, you guys are welcome. :-) I will attach it

Re: Two small questions

2007-09-12 Thread Sebastiaan van Erk
Hi, I decided to wrote a behavior to do what I want. Just in case anybody is interested, I will attach it to this email. You can use it like so: ExternalLink externalLink = new ExternalLink(externalLink, http://www.google.com;); externalLink.add(new DisableLinkBehavior());

Re: Two small questions

2007-09-12 Thread Gerolf Seitz
hi sebastiaan, what you could do instead of having the beforeDisabledLink and afterDisabledLink properties as members of the class, let the methods get(Before|After)DisabledLink return li and /li. in case the user wants to provide different before/after tags, they just override the methods and

Re: Two small questions

2007-09-11 Thread Eelco Hillenius
Is this related to this task: http://issues.apache.org/jira/browse/WICKET-466 It is. Not sure whether that patch is the best solution though, so I need some time to look into it. Eelco - To unsubscribe, e-mail: [EMAIL

Re: Two small questions

2007-09-08 Thread Sebastiaan van Erk
Thanks guys for the quick answers! :-) Regards, Sebastiaan Martijn Dashorst wrote: On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Nope, add wicket-datetime. Hmm, memory needs reboot at 2:30 am. Martijn smime.p7s Description: S/MIME Cryptographic Signature

Re: Two small questions

2007-09-08 Thread Korbinian Bachl
So wicket-extensions shouldnt be used for dates now? If so, how can I pursuade the DateTextField from there to use a long (classic unix timestamp) instead of a Date inside a model? (without overiding getModelObject/ setModelOject as its an inner class and I cant have the model beeing final?)

Re: Two small questions

2007-09-08 Thread Sebastiaan van Erk
Hi, Best Regards, Korbinian PS: does wicket-datetime somehow depend on yoda-time? sorry, for asking but I'm bit confused lately with the Date/ Locale/ pattern/ long chaos in Java http://www.mvnrepository.com/artifact/org.apache.wicket/wicket-datetime/1.3.0-beta3 :-) wicket-datetime

Re: Two small questions

2007-09-08 Thread Eelco Hillenius
On 9/8/07, Korbinian Bachl [EMAIL PROTECTED] wrote: So wicket-extensions shouldnt be used for dates now? You can, and there is another DateTextField in that project. The question was where the DateLabel component resides, which is in wicket-datetime. If so, how can I pursuade the DateTextField

Re: Two small questions

2007-09-08 Thread Sebastiaan van Erk
Ok, to answer my own question, it seems that ExternalLink does not have the ability to be disabled like Link. Regards, Sebastiaan Sebastiaan van Erk wrote: I have the following code: final ExternalLink link = new ExternalLink(link, model.bind(website)) { @Override

Re: Two small questions

2007-09-08 Thread Kent Tong
://www.nabble.com/Two-small-questions-tf4404428.html#a12570244 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Two small questions

2007-09-08 Thread Korbinian Bachl
Hi Eeclo, thanks for pointing this out. Ive come to a solution and created a MultiPatternDateConverter - it accepts long/Long, Date and DateTime (joda). Maybe you can use it for wicket-datetime. Code is here: http://pastebin.com/m43b5e339 Let me know what you think, its based on the

Re: Two small questions

2007-09-08 Thread Jonathan Locke
that you submit a JIRA issue at http://issues.apache.org/jira/browse/WICKET -- View this message in context: http://www.nabble.com/Two-small-questions-tf4404428.html#a12576156 Sent from the Wicket - User mailing list archive at Nabble.com

Two small questions

2007-09-07 Thread Sebastiaan van Erk
Hi, I am trying to display a date in my own format in Wicket 1.3.0 beta 3, and the JavaDocs at http://people.apache.org/~tobrien/wicket/apidocs/index.html list a DateLabel component, however I cannot find it in my version of wicket. Is it removed, or is it going to be added to the next

Re: Two small questions

2007-09-07 Thread Eelco Hillenius
On 9/7/07, Martijn Dashorst [EMAIL PROTECTED] wrote: On 9/8/07, Sebastiaan van Erk [EMAIL PROTECTED] wrote: DateLabel component, however I cannot find it in my version of wicket. Add wicket-extensions to your project. Nope, add wicket-datetime. Eelco

Re: Two small questions

2007-09-07 Thread Martijn Dashorst
On 9/8/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Nope, add wicket-datetime. Hmm, memory needs reboot at 2:30 am. Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/