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
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
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());
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
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
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
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?)
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
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
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
Sebastiaan van Erk wrote:
Ok, to answer my own question, it seems that ExternalLink does not have
the ability to be disabled like Link.
Looks like a bug to me. I'd suggest that you submit a JIRA issue at
http://issues.apache.org/jira/browse/WICKET
--
View this message in context:
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
yeah, more like an omission, but this is definitely a problem so far as i
recall.
Kent Tong wrote:
Sebastiaan van Erk wrote:
Ok, to answer my own question, it seems that ExternalLink does not have
the ability to be disabled like Link.
Looks like a bug to me. I'd suggest that
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
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/
15 matches
Mail list logo