take a look at the DateTextField#forDatePattern(...) methods
hth,
gerolf
On 7/28/07, Mark van Leeuwen <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> How can I set the date format with the DateTimeField? Looking at the code,
> the format appears to be set in DateTimeField.init() with the line:
>
> a
iirc, you have to call .setOutputMarkupPlaceHolder(true) on the
webmarkupcontainer to make this work.
gerolf
On 7/23/07, atul <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 1.I have a WebMarkupContainer with some components nested. I do
> setVisible(false) to it when page loadslater on an ajax request
((WebRequest)RequestCycle.get().getRequest()).getHttpServletRequest().getServletPath()
hth,
gerolf
On 7/8/07, Alexander Lohse <[EMAIL PROTECTED]> wrote:
Hi,
I guess this has been asked several times, but I was unable to find a
hint:
From within a component I need to create a absolute url to
thx, eelco
i really enjoy my wicket ride ;)
On 7/5/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
On 7/4/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
> eelco,
> speaking of wicket-datetime.
> is it possible to change the default implementation of
> notifyComponentOnDat
eelco,
speaking of wicket-datetime.
is it possible to change the default implementation of
notifyComponentOnDateSelected to return true?
when telling other people (happend twice up to now) about how to use the
datepicker, i always felt the urge to tell them to override this method if
they wanted o
;s been a tremendous journey so far :)
gerolf
p.s.: gotta go rewrite some code now...
On 7/2/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 7/1/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
>
> thx for the corrections, igor.
> i have one question though: what if the panel get
ing of the component.
please correct any false assumption i have (i also don't have too much
knowledge of the internals of wicket-ajax)
gerolf
On 7/2/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 7/1/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
[...]
@Override
>
you could try to implement this as a behavior:
public class RicoCorner extends AbstractBehavior {
private Component component;
@Override
public void renderHead(IHeaderResponse response) {
// add the javascript libraries to the header
response.render
you could take a look at databinder.net
hth,
gerolf
On 6/28/07, tnjtn1 <[EMAIL PROTECTED]> wrote:
HI,
i am newer to wicket.
i would like to know simple application using wicket.
tell me url or give example code.
Thanks & Regards,
kumar
--
View this message in context:
http://www.nabble.com
but i can make a call to setouputmarkupid when the target components are
added to the markupidmodel.
i'll take a look at it.
thx
On 6/26/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 6/26/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
>
> thx,
>
> but attention: t
MarkupIdModel class (with which you can wrap any number of components - the
model extracts the markupids of the components).
or do you mean, that setOutputMarkupId(true) should be called on every
component involved?
gerolf
On 6/26/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
On 6/26/07, Gerolf
hi,
i just wanted to annouce the release of the project wicketstuff-animator,
which integrates the great animation library animator.js [0] and wicket.
take a look at the wicketstuff-animator wiki page [1] and check it out from
the repository [2]
if you want to contribute to wicketstuff-animator
and the mailing list archives here:
http://www.nabble.com/Wicket---User-f13976.html
On 6/26/07, Remco Bos <[EMAIL PROTECTED]> wrote:
And the wiki:
http://cwiki.apache.org/WICKET/index.html
Lec wrote:
>
> Im just wondering where can i get the wicket1.3 documentation. Been
> searching around b
afaik, the wiki at www.wicket-wiki.org.uk is kind of deprecated, as it's
readonly and changes are only applied to the apache wiki at
http://cwiki.apache.org/WICKET/
wicket-spring dokumentation: http://cwiki.apache.org/WICKET/spring.html
hth,
gerolf
On 6/21/07, Andreas Walter <[EMAIL PROTECTED]
take a look at the class
org.apache.wicket.extensions.yui.calendar.DatePicker (in wicket-datetime)
there is the following statement in line 183
TextTemplateHeaderContributor.forJavaScript(DatePicker.class, "DatePicker.js
",
Model.valueOf(variables)).renderHead(response);
this does
thx for fixing it.
using a method is obviously better, too.
gerolf
On 6/18/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
done
checkout https://issues.apache.org/jira/browse/WICKET-661
gerolf
On 6/17/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> > hi,
> > someti
done
checkout https://issues.apache.org/jira/browse/WICKET-661
gerolf
On 6/17/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> hi,
> sometimes i'd like the datepicker to fire the onchange event of the
> component it's bound to.
> it doesn't seem to do it ootb.
>
> the main fix would probably o
i don't know what the original wicket-examples contained,
but if you're looking for some examples, www.wicketstuff.org/wicket13/ might
be a good start...
On 6/15/07, Stefan Lindner <[EMAIL PROTECTED]> wrote:
The live examples link from www.wicketframework.org points to
http://www.wicket-library
hi,
sometimes i'd like the datepicker to fire the onchange event of the
component it's bound to.
it doesn't seem to do it ootb.
the main fix would probably only meen to call the onchange() method of the
targetcomponent after the call to cal.hide() (line 236 in DatePicker.java)
i could also imagi
oh, of course the methods name is "validate"
also take a look at the wiki:
http://cwiki.apache.org/WICKET/validating-related-fields.html
On 6/14/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
take a look at the EqualInputValidator [0] and adapt the onValidate method
to your
take a look at the EqualInputValidator [0] and adapt the onValidate method
to your needs.
[0]
http://svn.apache.org/repos/asf/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/validation/EqualInputValidator.java
hth,
gerolf
On 6/14/07, kubino <[EMAIL PROTE
target ) and why would you want to do that for?
Gerolf Seitz wrote:
>
> you could try to invoke the click eventhandler, that is onclick(). i
tried
> it on a simple example and got the same error with click() in firefox.
> onclick() worked like a charm.
>
> hth,
> gerol
you could try to invoke the click eventhandler, that is onclick(). i tried
it on a simple example and got the same error with click() in firefox.
onclick() worked like a charm.
hth,
gerolf
On 5/22/07, Lec <[EMAIL PROTECTED]> wrote:
This portion of code works in IE
public void onClick( AjaxR
i don't know exactly, but i think the change was made because returning a
String[] is how it's in the spec.
please correct me if i'm wrong or have the wrong conversation in mind.
gerolf
On 5/8/07, manu <[EMAIL PROTECTED]> wrote:
Dear Sirs,
I updated to Wicket 1.2.6 and I have found the follo
you may want to take a look at the class FormComponentLabel
it should do the trick
On 5/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Ok, but how does one do labels properly like this (i.e. with a for
attribute).
A reminder of what this thread was about ...
I'm reusing a custom PostalAdd
since you probably don't want to show the login form after a successful
login,
you could replace the login panel with the logout panel (and vice versa)
this could look something like the following:
// constructor of class LoginPanel
public LoginPanel(final String id) {
super(id);
th
thx a lot
On 5/3/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
changed it
On 5/2/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
>
> hm, i did mess up. there's one more thing left in line 1534:
> if (positionArray['w']==-1) positionArray['m'] = for
thx, works like a charm
On 5/2/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
selectoptions is a quick way to do it. if you want total control then put
a repeater into the select and create your own options using selectoption.
-igor
On 5/1/07, Gerolf Seitz <[EMAIL PROTECTED]> w
27;w'] = format.indexOf('w');
after that change, everything works great.
sry for that,
gerolf
On 5/2/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
i applied it look if it works for you now.
On 5/2/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
>
> thx,
> jira
e let me know.
tia,
gerolf
On 5/2/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
or you can use Select, SelectOption, and SelectOptions in extensions
-igor
On 5/1/07, Gerolf Seitz < [EMAIL PROTECTED]> wrote:
> afaik, there is no way to style options of an AbstractChoice (an
afaik, there is no way to style options of an AbstractChoice (and it's
descendants).
i could imagine 3 ways to add this (although i don't know which would be the
most wicket-like way)
1) expand IChoiceRenderer
add methods like String getClass(), String getStyle() to the IChoiceRenderer
interface.
thx,
jira issue with attached patch: http://wicketstuff.org/jira/browse/WSCAL-1
since it's my first contribution, i hope i didn't mess up ;)
gerolf
On 5/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
i created a jira project for it
-igor
On 5/1/07, Gerolf Seitz <[EMAI
as for now, i added the week of year pattern 'w' to the wicket-calendar in
wicket-stuff.
one may click either the week number directly or any day in the desired
week.
since there is no JIRA project for wicket-calendar (to which i would attach
a patch or the whole file),
how would you like me to p
i'd like to help "un-limit" the new datepicker in the datetime project.
what i personally need is the ability to select a week or a month.
i'm not sure though how much we can change the datepicker itself, because
it's a YUI widget.
however, as i said, i'd really like to contribute...
gerolf
On
34 matches
Mail list logo