Re: How to get a value of textfield on onBlur event..

2010-06-08 Thread Gerolf Seitz
AjaxFormComponentUpdatingBehavior might be what you want. Regards, Gerolf On Tue, Jun 8, 2010 at 10:58 PM, jammyjohn wrote: > > Hi, > > How to get the value of the textfield on onBlur event? The below code > always prints null for shipIdTf.getInput() > > final TextField shipIdTf = new TextF

Re: AutocompleteTextField behaviours

2010-05-23 Thread Gerolf Seitz
AjaxRequestTarget.get() returns the current AjaxRequestTarget, if there is one, otherwise it returns null. use that in the getChoices callback and you should be fine. On Sun, May 23, 2010 at 8:17 PM, Katherine wrote: > Hello, > > Can anybody help newbie with following question: > I'm using Aut

Re: ajaxfallback

2010-04-06 Thread Gerolf Seitz
before adding a component to the ajaxrequesttarget, simply check that the target is not null (aka the request is an ajax request). otherwise you don't need to add the components to the ajaxrequesttarget anyway. gerolf On Wed, Apr 7, 2010 at 12:20 AM, tubin gen wrote: > I am using AjaxLink a

Re: Display timeout page for long running requests

2010-04-06 Thread Gerolf Seitz
you can use an ajax timer to check if the long running process has finished after 5 seconds and abort the process and redirect the user to the timeout page if it hasn't. gerolf On Wed, Apr 7, 2010 at 12:11 AM, Mak wrote: > Hi All, > I am new to wicket framework. I have a requirement that my w

Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?

2009-12-30 Thread Gerolf Seitz
i will try to find some time to take a look at it tonight. gerolf On Wed, Dec 30, 2009 at 11:51 AM, Giovanni wrote: > I got the same error today, trying to use the JmxPanel with Wicket 1.3.7. > > Any idea about how to solve this issue? > > I would really like to use the JmxPanel in my applica

Re: ATOM/RSS feeds in wicket

2009-12-03 Thread Gerolf Seitz
maybe [0] is of interest for you. [0] http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-rome On Thu, Dec 3, 2009 at 9:03 AM, shiraz memon wrote: > Hi, > > I would like to use ATOM/RSS feed with the application developed on wicket, > I wonder if wicket provides an integration/implem

Re: PropertyModels *without* strings

2009-11-26 Thread Gerolf Seitz
se works with this kind of > >>> stuff, but IDEA definitely has hooks for this kind of stuff. > >>> > >>> On Thu, Nov 26, 2009 at 2:28 AM, Martin Makundi > >>> wrote: > >>> > If refactoring is not supported it is just easier to use st

Re: PropertyModels *without* strings

2009-11-26 Thread Gerolf Seitz
which do not break. > > > > ** > > Martin > > > > 2009/11/26 Gerolf Seitz : > >> as far as i have read, the binding "methods" aren't automatically > refactored > >> (eg. renamed), > >> but you get compiler errors in the c

Re: PropertyModels *without* strings

2009-11-26 Thread Gerolf Seitz
On Thu, Nov 26, 2009 at 8:54 AM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > I would say that refactoring calls for improvement in the bindgen > approach. Is it theoretically possible to facilitate refactoring with > bindgen? Is it practically possible to facilitate refactoring w

Re: PropertyModels *without* strings

2009-11-25 Thread Gerolf Seitz
; If refactoring is not supported it is just easier to use string > > constants, which do not break. > > > > ** > > Martin > > > > 2009/11/26 Gerolf Seitz : > >> as far as i have read, the binding "methods" aren't automatically > refactore

Re: PropertyModels *without* strings

2009-11-25 Thread Gerolf Seitz
as far as i have read, the binding "methods" aren't automatically refactored (eg. renamed), but you get compiler errors in the code where you use the "old names". so it should be fairly easy to fix your own code (in contrast to some strings) On Thu, Nov 26, 2009 at 8:04 AM, Giambalvo, Christian <

Re: WicketStuff JMX

2009-11-24 Thread Gerolf Seitz
t; > > > I'll mention that the one from JBOSS(4.0.2-4.2) have a very retro ui, > > light > > > years from jmxpanel.. > > > > > > regards Nino > > > > > > 2009/11/24 Gerolf Seitz > > > > > >> it hasn't been int

Re: WicketStuff JMX

2009-11-24 Thread Gerolf Seitz
ot eat your own dogfood :) just need to find myself some kind of out-of-work-project for that i guess :) nino, thanks for taking care of the jmxpanel update. cheers, gerolf On Tue, Nov 24, 2009 at 12:43 PM, Martijn Dashorst < martijn.dasho...@gmail.com> wrote: > On Tue, Nov 24, 2009 a

Re: WicketStuff JMX

2009-11-24 Thread Gerolf Seitz
it hasn't been integrated with wicket-jmx, since i wasn't really happy with a few things in wicketstuff-jmxpanel. if my memory serves me well, i've seen at least 1 other solution that had even more functionality, i think, than the jmxpanel i started. couldn't say specific project names or links th

Re: pb to access to this on event onchange on the AutoCompleteTextField

2009-01-05 Thread Gerolf Seitz
hi, in case you haven't done it, can you please file a jira issue with an attached example quickstart project that leads to the error? i will take a look at it later today. thanks, gerolf On Sun, Jan 4, 2009 at 6:15 PM, Olivier Dutrieux wrote: > > I would like create a component that extends A

Re: DateTimeField Error and Question

2009-01-01 Thread Gerolf Seitz
you can override the method newDateTextField(String, PropertyModel) and return a customized DateTextField object. gerolf On Thu, Jan 1, 2009 at 6:44 AM, tbt wrote: > > > Hi > > I am not sure if the DateTextField attribute in the DateTimeField class can > be modified to change the calendar beh

Re: Round corners n' stuff? Possible Contribution?

2008-12-22 Thread Gerolf Seitz
i think i have an integration for the latest nifty libs [0] lying around haven't looked at it in quite a while, so maybe it's not that good anyway :) gerolf [0] http://www.html.it/articoli/niftycube/index.html On Fri, Dec 19, 2008 at 9:31 PM, Nino Martinez wrote: > Im fed up with all the di

Re: Form field (value) does not update after validation error

2008-12-10 Thread Gerolf Seitz
don't know if i totally understood the setting of your example, but your edit button shouldn't submit/post the form, eg. just use a Link attached to an tag instead of a Button. Gerolf On Wed, Dec 10, 2008 at 1:11 PM, Rutger Jansen <[EMAIL PROTECTED]> wrote: > Well this is of course a simple

Re: How to strip wicket tags from markup in development mode?

2008-05-21 Thread Gerolf Seitz
in MyApplication.init(): getMarkupSettings().setStripWicketTags(true); Gerolf On Wed, May 21, 2008 at 7:08 PM, Lauri Lehtinen < [EMAIL PROTECTED]> wrote: > Hi - > > Is there an easy way to strip the wicket tags from the produced markup > while keeping the application in development mode? > >

Re: (Class>) casting troubles

2008-05-21 Thread Gerolf Seitz
l in the wicket directory... > > Not sure if the java version is helpful: > ryan$ mvn -version > Maven version: 2.0.6 > ryan$ javac -version > javac 1.6.0_04-dp > > thanks for any pointers > > > > > On May 21, 2008, at 3:19 AM, Gerolf Seitz wrote: > >>

Re: AjaxButton without a Form

2008-05-21 Thread Gerolf Seitz
you can have in markup and new AjaxLink("linkButton") {...} in java code. Gerolf On Tue, May 20, 2008 at 2:35 AM, mnwicket <[EMAIL PROTECTED]> wrote: > > That is an option, but would rather use; > > > > I have styles around my input buttons that I want to reuse. I'm sure I can > create my o

Re: (Class>) casting troubles

2008-05-21 Thread Gerolf Seitz
On Wed, May 21, 2008 at 10:30 AM, Johan Compagner <[EMAIL PROTECTED]> wrote: > always strange that that works > If you just look at it then it seems to be the same thing :) > tbh, i would still like to get an explanation _why_ it works with > and not directly with >. Gerolf

Re: (Class>) casting troubles

2008-05-21 Thread Gerolf Seitz
Eelco, can you try it again with latest trunk? Cheers, Gerolf On Wed, May 21, 2008 at 6:54 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > On Tue, May 20, 2008 at 9:44 PM, Gerolf Seitz <[EMAIL PROTECTED]> > wrote: > > i have the fix for that in my local checkou

Re: DateTimeField AjaxEventBehavior problem

2008-05-20 Thread Gerolf Seitz
new DateTimeField(...) { protected DateTextField newDateTextField(...) { DateTextField field = super.newDateTextField(...); field.add(new AjaxEventBehavior(...) {...}); return field; } } On Wed, May 21, 2008 at 3:32 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I've got a DateTi

Re: (Class>) casting troubles

2008-05-20 Thread Gerolf Seitz
i have the fix for that in my local checkout and will commit it sometime today. Gerolf p.s.: kudos to ijuma ;) On Wed, May 21, 2008 at 6:42 AM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Hello- > > I'm using 1.4 trunk and running into troubles compiling. > > My base page extends WebPage, then

Re: DateField strangeness

2008-05-20 Thread Gerolf Seitz
iirc, that happens when the corresponding markup of the DateField is an tag and not a tag. DateField is a Panel (or FormComponentPanel), but not a FormComponent like TextField. hth, Gerolf On Tue, May 20, 2008 at 10:47 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > I'm adding a DateField li

Re: RequiredBorder being applied multiple times in ajax calls

2008-05-15 Thread Gerolf Seitz
On Thu, May 15, 2008 at 6:25 PM, Sam Barnum <[EMAIL PROTECTED]> wrote: > * Somehow disable the border only for ajax calls > Sam, I think you can do something like this in RequiredBorder#renderAfter: AjaxRequestTarget target = AjaxRequestTarget.get(); if (target == null) { // we're in a normal

Re: RequiredBorder being applied multiple times in ajax calls

2008-05-14 Thread Gerolf Seitz
Sam, a similar issue happened to the WicketAjaxIndicatorAppender. take a look at WicketAjaxIndicatorAppender#renderHead to see how this is solved there. maybe you can do something similar with your RequiredBorder. regards, Gerolf On Thu, May 15, 2008 at 2:58 AM, Sam Barnum <[EMAIL PROTECTED]> w

Re: Using generics with some non-generic classes in Wicket

2008-05-14 Thread Gerolf Seitz
i think something similar happend to me with Model.valueOf(Map), so i had to change it back to return Model instead of Model Gerolf On Wed, May 14, 2008 at 11:41 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > well, apparently johan ran into a situation where component is too > restrictive... >

Re: A question about IHeaderContributor

2008-05-14 Thread Gerolf Seitz
gotcha, thx On Wed, May 14, 2008 at 6:40 PM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > >> If you think it is a bug, please open a JIRA > >> issue for it. > > > > > > didn't we EOL Wicket 1.2.x? > > > http://martijndashorst.com/blog/2008/03/23/wicket-127-the-last-maintenance-release/ > > Yeah,

Re: FYI: new wicket site

2008-05-14 Thread Gerolf Seitz
On Wed, May 14, 2008 at 10:52 AM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > @Gerolf er op uit could be loosely translated as "going places" or > taking a trip. > thx :) > > Maurice > > On Wed, May 14, 2008 at 10:36 AM, lars vonk <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > A new Wicket si

Re: FYI: new wicket site

2008-05-14 Thread Gerolf Seitz
the site looks nice. i especially like the "advanced dropdown box". for us non-dutch, does eropuit mean anything in particular? cheers, Gerolf On Wed, May 14, 2008 at 10:36 AM, lars vonk <[EMAIL PROTECTED]> wrote: > Hi all, > > A new Wicket site is born! It's a Dutch site on which you can sea

Re: A question about IHeaderContributor

2008-05-14 Thread Gerolf Seitz
On Wed, May 14, 2008 at 2:33 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > If you think it is a bug, please open a JIRA > issue for it. didn't we EOL Wicket 1.2.x? http://martijndashorst.com/blog/2008/03/23/wicket-127-the-last-maintenance-release/ Gerolf

Re: Disabling the date part in the DateTimeField component

2008-05-12 Thread Gerolf Seitz
this is not possible, but based on DateTimeField, it should be fairly straight forward to run your own TimeField. Gerolf On Mon, May 12, 2008 at 8:28 PM, nitinkc <[EMAIL PROTECTED]> wrote: > > Does anyone know if it is possible to disable just the date part in the > DateTimeField component. I

Re: encapsulation, extension and transparent resolvers

2008-05-12 Thread Gerolf Seitz
On Mon, May 12, 2008 at 7:26 PM, Jan Kriesten <[EMAIL PROTECTED]> wrote: > maybe gerolf didn't want to step into ground where others may have more > insight - that's the reason i filed this to jira. > correct. also, because of what igor said: > especially if it is markup parsing code which is a

Re: AutoCompleteTextField "type mismatch" in line 227

2008-05-08 Thread Gerolf Seitz
On Fri, May 9, 2008 at 2:04 AM, Hoover, William <[EMAIL PROTECTED]> wrote: > > i'm assuming the same issue also causes the selection to be lost on > occasion > never heard of this one... > > -Original Message- > From: Gerolf Seitz [mailto:[EMAIL PRO

Re: AutoCompleteTextField "type mismatch" in line 227

2008-05-08 Thread Gerolf Seitz
oard events combo ;o) > > -Original Message----- > From: Gerolf Seitz [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 08, 2008 4:23 PM > To: users@wicket.apache.org > Subject: Re: AutoCompleteTextField "type mismatch" in line 227 > > it's fixed in the u

Re: AutoCompleteTextField "type mismatch" in line 227

2008-05-08 Thread Gerolf Seitz
it's fixed in the upcoming 1.3.4 and the already release 1.4-M1 Gerolf On Thu, May 8, 2008 at 10:20 PM, taygolf <[EMAIL PROTECTED]> wrote: > > Yes I am just starting to try and get the autocompletetextfield working on > my > app and I am using wicket 1.3. as well and it is doing the same thing

Re: Problem with MultiFileUploadField and keeping rest of fields in model

2008-05-08 Thread Gerolf Seitz
when the file size exceeds the size limit, the request processing is kind of "aborted" and the other request params are not processed (no conversion, validation, ...). when the page is then rendered again, the formcomponents don't have an input value set, and that's why the fields are cleared and n

Re: Pros and cons of WicketBench

2008-05-03 Thread Gerolf Seitz
On Fri, May 2, 2008 at 10:05 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > however, it does have its problems. eclipse' java editor is not built > with embedding in mind, so once you start using (2) you will miss out > on such useful things as "mark occurences", double clicking the left > border

Re: way to traverse / get all form validators

2008-05-02 Thread Gerolf Seitz
there is final List getValidators() {...} on FormComponent Gerolf On Fri, May 2, 2008 at 4:17 PM, michalb_cz <[EMAIL PROTECTED]> wrote: > > Is there some way how to traverse all validators which are associated > (added > through the add(IValidator) method) with the form? I look for something >

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread Gerolf Seitz
such information is usually found in the migration notes: http://cwiki.apache.org/WICKET/migrate-14.html Gerolf On Wed, Apr 30, 2008 at 4:49 PM, James Carman <[EMAIL PROTECTED]> wrote: > ok, thanks. That makes sense. > > On Wed, Apr 30, 2008 at 10:32 AM, Leszek Gawron <[EMAIL PROTECTED]> > wr

Re: JmxPanel

2008-04-30 Thread Gerolf Seitz
ee all domains in my jmx-Panel > > > > I hope it helps. > > > > Benjamin > > > > > > > > > > > > On Wed, Apr 23, 2008 at 11:09 PM, Paolo Di Tommaso < > > [EMAIL PROTECTED]> wrote: > > > > > No. Just a plain ht

Re: rendering the navigation toolbar

2008-04-29 Thread Gerolf Seitz
nk; >} > > And then, in the CSS file I do whatever I want... > > And now, is this the best way to access the PNL ? > Was I able to get the newPagingNavigationLink with less overridden > classes? > > And thanks for you help. > I really enjoy thi

Re: rendering the navigation toolbar

2008-04-29 Thread Gerolf Seitz
On Tue, Apr 29, 2008 at 11:00 AM, Eyal Golan <[EMAIL PROTECTED]> wrote: > wow!! > cool. That was so educational :) > Thanks. > np :) > > If I change this, it will change EVERYTHING, right? yes, this is the setting for all disabled links. > > What if I want to do something like: only for > th

Re: rendering the navigation toolbar

2008-04-28 Thread Gerolf Seitz
a PagingNavigationLink is autoenabled (see constructor of PNL). for a PNL this means, that when the page the PNL links to is the same as the current page, the link is automatically disabled. the tags come from a setting in IMarkupSettings. check accessors for defaultBeforeDisabledLink and defaultA

Re: Wicket 1.4 and Wicketstuff/Dojo/DragAndDrop

2008-04-25 Thread Gerolf Seitz
all of the mentioned project maintainers have been away for some time now. you might need to lay your own hands on it. i would guess nobody objects to such efforts. Gerolf On Thu, Apr 24, 2008 at 6:53 PM, Stefan Lindner <[EMAIL PROTECTED]> wrote: > Is there a Wicketstuff/dojo version that work

Re: autocomplete: no popup when field is empty

2008-04-23 Thread Gerolf Seitz
> i really dont care about a 3kb or 13kb script .. > > > Those are cached anyway so thats fine by me > > > its not that it its 100kb+ or something like that > > > > > > johan > > > > > > > > > On Wed, Apr 23, 2008 at 8:34 PM, Gerolf Sei

Re: autocomplete: no popup when field is empty

2008-04-23 Thread Gerolf Seitz
i _could_ use something from a combobox i did some time ago: http://people.apache.org/~gseitz/combo/<http://people.apache.org/%7Egseitz/combo/> but that script is 13kb (unstripped) compared to wicket-autocomplete 3k (stripped) and it's based on YUI... On Wed, Apr 23, 2008 at 4:49 PM, G

Re: JmxPanel

2008-04-23 Thread Gerolf Seitz
> add(new JmxPanel("jmx")); > > > but nothing is displayed .. > > You have it working? Have you used any trick? > > // Paolo > > > On Wed, Apr 23, 2008 at 3:46 PM, Gerolf Seitz <[EMAIL PROTECTED]> > wrote: > > > Paolo, > > I'm n

Re: autocomplete: no popup when field is empty

2008-04-23 Thread Gerolf Seitz
nother div with style "overflow:scroll; height: XYpx;" this way scrollIntoView does not affect the entire page. now if anyone can think of better names than "allowEmptyInput" or "showListOnEmptyInput" i will happily use the better suggestions ;) Gerolf On Wed, Apr 2

Re: autocomplete: no popup when field is empty

2008-04-23 Thread Gerolf Seitz
nah, i think this should be pretty straight forward. let me take a look. Gabriel, can you file a jira issue for that? thanks. Gerolf On Wed, Apr 23, 2008 at 4:14 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > I guess this is being done because when nothing is typed there is normally > no list

Re: JmxPanel

2008-04-23 Thread Gerolf Seitz
Paolo, I'm not sure where the "display:none" comes from, but i'm pretty sure it's not from the JmxPanel. do you have jmx enabled at all? Gerolf On Thu, Apr 17, 2008 at 9:07 AM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > Guys, > > someone has soem experience with the nice JmxPanel describe he

Re: "option transfer" widget

2008-04-22 Thread Gerolf Seitz
there is Palette in wicket-extensions. Gerolf On Tue, Apr 22, 2008 at 6:36 PM, Niels van Kampenhout < [EMAIL PROTECTED]> wrote: > Hi all > > Before I write it myself, is there any component in Wicket stuff or > somewhere else like the "option transfer" on [1]. I couldn't find it, but I > don't

Re: Implementing AutoComplete Issue

2008-04-21 Thread Gerolf Seitz
doesn't tell you that much) > > On Mon, Apr 21, 2008 at 10:27 AM, Gerolf Seitz <[EMAIL PROTECTED]> > wrote: > > > this is fixed for 1.3.4 > > > > Gerolf > > > > On Mon, Apr 21, 2008 at 3:50 PM, Ricky <[EMAIL PROTECTED]> wrote: > > >

Re: Implementing AutoComplete Issue

2008-04-21 Thread Gerolf Seitz
this is fixed for 1.3.4 Gerolf On Mon, Apr 21, 2008 at 3:50 PM, Ricky <[EMAIL PROTECTED]> wrote: > Hi, > > I have implemented autocomplete using 1.3.3. examples in wicket stuff. It > is working fine in firefox, however doesnt work in IE. Is there a fix for > this ? Is scriptaculous thing the

Re: Is it possible to disable dates in Wicket Date Picker ?

2008-04-21 Thread Gerolf Seitz
public class MyDatePicker extends DatePicker { private static final long serialVersionUID = 1L; private static final SimpleDateFormat format = new SimpleDateFormat("MM/dd/"); @SuppressWarnings("unchecked") @Override protected void configure(Map widgetProperties) {

Re: Form clear

2008-04-18 Thread Gerolf Seitz
you have to clear the model of the form(components). so either set a new (empty) model object for the form (in combination with a compoundpropertymodel) or you have to reset the models of the formcomponents somehow one by one... Gerolf On Fri, Apr 18, 2008 at 8:53 AM, Mathias P.W Nilsson <[EMAI

Re: Logging every request into db

2008-04-17 Thread Gerolf Seitz
you could do that in your own WebRequestCycle subclass in the onBeginRequest method. Gerolf On Thu, Apr 17, 2008 at 10:12 AM, Artur W. <[EMAIL PROTECTED]> wrote: > > Hi! > > I need to log every request (session id, ip address, user id, url, > response > time etc) into db. > > The code is simpl

Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2008-04-16 Thread Gerolf Seitz
On Wed, Apr 16, 2008 at 11:12 PM, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > the wicketstuff-scriptaculous project adds an attribute > "autocomplete='off'" > to prevent browsers from adding their specific autocomplete suggestions. > and so does the AutoCompleteTextField Gerolf > > On Wed, Apr

Re: Can I use LazyLoad or something like it with a modal?

2008-04-16 Thread Gerolf Seitz
take a look at AjaxLazyLoadPanel. this might do the trick. Gerolf On Wed, Apr 16, 2008 at 4:52 PM, taygolf <[EMAIL PROTECTED]> wrote: > > Ok here is my issue. I have a modal that has a lot of information in it > and > it has to get back a large amount of data from the database and it is > taki

Re: Auto-Complete TextField Problem

2008-04-15 Thread Gerolf Seitz
it's fixed in trunk for 1.3.4 and 1.4M1 Gerolf On Tue, Apr 15, 2008 at 12:25 PM, Vatroslav <[EMAIL PROTECTED]> wrote: > > Hi, > I've problem with AutoCompleteTextField with IE6 and Wicket 1.3.3.installed > on Tomcat6 and/or Jetty6. > > Online example: > http://www.wicketstuff.org/wicket13/ajax

Re: CompoundPropertyModel need to track changes

2008-04-14 Thread Gerolf Seitz
On Mon, Apr 14, 2008 at 1:05 PM, Maurice Marrink <[EMAIL PROTECTED]> wrote: > Hmm, it should try to use bean methods before trying the field directly. > you could try changing the wicket id of your formcomponent to the full > method name, e.g. setLastname() if your property is lastname. > If that

Re: DatePicker Simple Question

2008-04-12 Thread Gerolf Seitz
iirc, the default behavior is that you can click on the month, and then an "advanced" month/year selection will be displayed. if that's not the case, you need to override Datepicker#enableMonthYearSelection and return true. Gerolf On Sat, Apr 12, 2008 at 4:37 AM, Ayodeji Aladejebi <[EMAIL PROTE

Re: customize SignInPanel look and feel

2008-04-09 Thread Gerolf Seitz
or, you can really use roll your own. last time i used it (for a small project for my studies), it felt like it wasn't actually made with customization in mind. and iirc, it's in the wicket-auth-roles project, so it's basically an example on how to do it. Gerolf On Wed, Apr 9, 2008 at 10:48 PM,

Re: tag in Link

2008-04-09 Thread Gerolf Seitz
in Application.init(): getMarkupSettings().setDefaultBeforeDisabledLink(""); getMarkupSettings().setDefaultAfterDisabledLink(""); Gerolf On Wed, Apr 9, 2008 at 5:32 PM, Beyonder Unknown <[EMAIL PROTECTED]> wrote: > > Hi All, > > I was wondering if there's a way to get rid of the > added tag e

Re: Is there a Wicket spinner component?

2008-04-09 Thread Gerolf Seitz
wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis doesn't > seem > to work yes, right now it doesn't work. browse the wicketstuff SVN repository (url available on sf.net) and look inside the wicketstuff-minis project. Gerolf > > 2008/4/9, Gerolf S

Re: Is there a Wicket spinner component?

2008-04-09 Thread Gerolf Seitz
the spinner in wicketstuff-minis should do the trick. Gerolf On Wed, Apr 9, 2008 at 2:00 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > Something like this: http://www.eclipse.org/swt/R3_1/spinner.png > > -- > Martijn Lindhout > JointEffort IT Services > http://www.jointeffort.nl > [EMAIL

Re: wicketstuff-jmx-panel: can't find a repository

2008-04-07 Thread Gerolf Seitz
pendencies (as it should :)). Could we perhaps bother you to > make a release of wicket-jmx-panel? It seems stable enough. > > Thanks in advance, > Ivo van Dongen > > On Fri, Mar 7, 2008 at 4:00 AM, Gerolf Seitz <[EMAIL PROTECTED]> > wrote: > >

Re: DataPicker problem

2008-04-04 Thread Gerolf Seitz
you don't have joda-time in your classpath. Gerolf On Fri, Apr 4, 2008 at 9:55 AM, lienok <[EMAIL PROTECTED]<[EMAIL PROTECTED]>> wrote: > > Hello, > > I am following book Enjoying web development with wicket, using Wicket > 1.3.2. > Everythink worked fine till I added form.add(quoteDate). > Ple

Re: StackOverflowError using 1.3.2

2008-04-03 Thread Gerolf Seitz
i was able to reproduce it in a quickstart. see WICKET-1476 Gerolf On Wed, Apr 2, 2008 at 9:02 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > if we have a quickstart for this we could look for the solution... > > > On Wed, Apr 2, 2008 at 8:26 PM, André Souza <[EMAIL PROTECTED]> > wrote: > >

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
t; <[EMAIL PROTECTED]> wrote: > > Is it even something wicket supports? > > > > Gerolf Seitz wrote: > > > what's the use case for doing that? > > > > > > Gerolf > > > > > > On Mon, Mar 31, 2008 at 4:32 PM, Eyal Golan <[EMAIL PR

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
yes, this is what happens to all the time. also with , ... Gerolf On Mon, Mar 31, 2008 at 9:04 PM, Nino Saturnino Martinez Vazquez Wael < [EMAIL PROTECTED]> wrote: > Is it even something wicket supports? > > Gerolf Seitz wrote: > > what's the use case for do

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
what's the use case for doing that? Gerolf On Mon, Mar 31, 2008 at 4:32 PM, Eyal Golan <[EMAIL PROTECTED]> wrote: > Hi, > How can I convert a tag that is of type open-close: > to bla bla ? > > The API says that I should not use the setTag(XmlTag) method. > If I do I get all kind of exceptio

Re: Wicket group on linkedin

2008-03-31 Thread Gerolf Seitz
nice. one minor issue: the url of the website is wrong: it's not www.wicket.apache.org but just http://wicket.apache.org. cheers, gerolf On Mon, Mar 31, 2008 at 4:27 PM, Nino Saturnino Martinez Vazquez Wael < [EMAIL PROTECTED]> wrote: > Hi > > I've created a linkedin group for wicket, please f

Re: creating dynamic text in web page

2008-03-28 Thread Gerolf Seitz
Or, if you need to parameterize a larger portion of javascript, you can use TextTemplates. (see DatePicker in wicket-datetime as an example) Gerolf On Fri, Mar 28, 2008 at 11:46 AM, Martijn Dashorst < [EMAIL PROTECTED]> wrote: > Another option: > > add(new Label("js", " > type=\"text/javascrip

Re: Adding new Link() to an tag = weird default behavior

2008-03-27 Thread Gerolf Seitz
that's because Link only adds the onclick event handler for non anchor tags and browser only do the cursor and status bar thing for anchor tags by default. you already fixed the cursor issue and you can write text to the status bar via window.status = "foo", although this doesn't work in IE7 and o

Re: Setting text content of component

2008-03-27 Thread Gerolf Seitz
you can also roll your own TextLink very easily: class textlink extends link { public textlink(id, model) { super(id, model); } protected void onComponentTagBody(...) { replaceComponentTagBody(..., getModelObjectAsString()); } } this way you don't need a label inside the link.

Re: using PropertyModel in abstract class

2008-03-27 Thread Gerolf Seitz
> org.apache.wicket.WicketRuntimeException: No get method defined for class: > class com.domain.Child expression: filed > looks like you mispelled the property name in the propertymodel constructor? Gerolf

Re: Problem with DatePicker

2008-03-26 Thread Gerolf Seitz
this is fixed in 1.3.2 Gerolf On Wed, Mar 26, 2008 at 11:42 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to use a DatePicker like this : > >TextField date_version = new TextField("date_version", > model_date_version, Date.class); >date_version.setRequired(true); >

Re: Links, getting values from form text field

2008-03-24 Thread Gerolf Seitz
SubmitLink seems useful in this case. Gerolf On Tue, Mar 25, 2008 at 2:03 AM, BretChampoux <[EMAIL PROTECTED]> wrote: > > I've got a log on screen, ie user name and password with a submit button. > That part works fine. > > I want to have a link on the screen that can be clicked on to email a

Re: Multipart-form with nested ajaxform throws exception in 1.3.1

2008-03-22 Thread Gerolf Seitz
it's fixed for 1.3.3 see https://issues.apache.org/jira/browse/WICKET-1442 Gerolf On Wed, Mar 12, 2008 at 11:14 PM, albert.brand <[EMAIL PROTECTED]> wrote: > > > > Michael Sparer wrote: > > > > I have a multipart-enabled form, inside this form there is a nested form > > with ajaxsubmitbehavior

Re: Display of own message in FeedbackPanel

2008-03-21 Thread Gerolf Seitz
because it's getValue() - capital V Gerolf On Fri, Mar 21, 2008 at 11:49 AM, Fabien D. <[EMAIL PROTECTED]> wrote: > > O_o sorry for this mistake I try this : > >email.add(new IValidator() { >public void validate(IValidatable v) { > if ( !CDataVe

Re: Panel setVisible() in Ajax call

2008-03-21 Thread Gerolf Seitz
if you set the panel to be invisible on first render, you also have to call panel.setOutputMarkupPlaceholderTag(true) so that a "hidden" placeholder is rendered, which gets replaced with the real panel once you set it to visible and add it to the ajaxrequestarget. Gerolf On Fri, Mar 21, 2008 at

Re: Javadoc problem ?

2008-03-20 Thread Gerolf Seitz
these are just the javadocs for the wicket core project. you can find the classes for wicket-extensions here, in case you missed one of the classes in there: http://wicket.apache.org/docs/wicket-1.3.2/wicket-extensions/apidocs/index.html more projects (datetime, spring, ...) will follow soon. G

Re: "Multiple panels" like behaviour

2008-03-20 Thread Gerolf Seitz
i agree with you. i had to fight similar problems and came up with similar (ugly) work arounds. let's see how the post-1.4 solution works out ;) Gerolf On Thu, Mar 20, 2008 at 10:12 AM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > Gerolf Seitz wrote: > > you can provid

Re: "Multiple panels" like behaviour

2008-03-20 Thread Gerolf Seitz
you can provide factory methods in your base page like protected abstract Component newHeader(String id, IModel model); in the constructor of base page do: add(newHeader("header", someModelOrNull)); and just override/implement the factory method in your concrete page classes. hth, Gerolf On T

Re: Amsterdam Community meeting 2008

2008-03-18 Thread Gerolf Seitz
On Tue, Mar 18, 2008 at 4:56 PM, Sebastiaan van Erk <[EMAIL PROTECTED]> wrote: > Or a "Wicket Antipatterns" would be cool as well, > i.e., how NOT to do things in Wicket and then show the right way to do > them (standard example is not using a model which causes constructor > time binding and peop

Re: [vote] Release 1.4 with only generics and stop support for 1.3

2008-03-18 Thread Gerolf Seitz
+1 On Mon, Mar 17, 2008 at 9:13 AM, Martijn Dashorst < [EMAIL PROTECTED]> wrote: > This thread is for voting only. Use the [discuss] thread for voicing > your opinion or asking questions. This makes counting the votes much > easier. > > The discussion on our development list makes it clear that a

Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
yes, unfortunately, one would have to live with that. should've mentioned that ;) On Mon, Mar 17, 2008 at 7:30 PM, Matej Knopp <[EMAIL PROTECTED]> wrote: > Creating new page version every time... > > -Matej > > On Mon, Mar 17, 2008 at 7:17 PM, Gerolf Seitz <[EMAIL

Re: Pretty DataView urls

2008-03-17 Thread Gerolf Seitz
the following works for me: // in your callback method PageParameters params = new PageParameters(); params.put("page", getPageNumber()); setResponsePage(MyPage.class, params); setRedirect(true); where MyPage.class would typically be the same page the component is on. to make it more "generic", y

Re: Support for

2008-03-17 Thread Gerolf Seitz
afaik, it's not (easily) possible with DropDownChoice. Take a look at the Select, SelectOption, SelectOptions classes in wicket-extensions, as they give you more power over the single options. Gerolf On Mon, Mar 17, 2008 at 10:43 AM, Kaspar Fischer <[EMAIL PROTECTED]> wrote: > Is there an easy

Re: Hide "Wicket AJAX Debug" window

2008-03-12 Thread Gerolf Seitz
this window only shows up when you start your wicket application in development mode. it won't show up in production mode. Gerolf On Wed, Mar 12, 2008 at 11:14 PM, hjuturu <[EMAIL PROTECTED]> wrote: > > Hi All > i have a label on my webpage on which i do a in line edit using > AjaxEditableLabe

Re: DateTime.setLabel() issue and a related (but general) setLabel() question

2008-03-12 Thread Gerolf Seitz
you can override newDateTextField(..) and call .setLabel() directly on the DateTextField in there. Gerolf On Wed, Mar 12, 2008 at 10:26 PM, Phil Grimm <[EMAIL PROTECTED]> wrote: > Hey Guys, > I'm building my first Wicket app and, so far, am really loving Wicket! > > I've built my first form an

Re: Dynamic Forms

2008-03-11 Thread Gerolf Seitz
see Button#setDefaultFormProcessing(boolean), which skips the form processing. Gerolf On Tue, Mar 11, 2008 at 10:09 PM, Dan Kaplan <[EMAIL PROTECTED]> wrote: > I found this: > http://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html > > Problem with it, for me, is that it fails to menti

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
instead of referencing the id 'create' hardcoded, rather use getMarkupId(). Gerolf On Tue, Mar 11, 2008 at 9:11 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Thanks! I got it to work now. Is it really a good idé to access html like > this in javacode? > > @Override >

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
how about boolean WebPage#isAutoFocusEnabled and the possibility to provide several IFocusStrategy instances with different priority? this would allow to eg only set the focus on the first formcomponent of the first form if no other formcomponent has an error... On Tue, Mar 11, 2008 at 3:36 PM, Ja

Re: Default Focus Behavior?

2008-03-11 Thread Gerolf Seitz
the behavior would have to be temporary. On Tue, Mar 11, 2008 at 3:14 PM, Johan Compagner <[EMAIL PROTECTED]> wrote: > and a behavior is really the wrong thing > Because who says if you render the page again that it has to again set the > focus on that one? > > MyPage() > { > textField1.add(new

Re: Disable ajaxbutton until process is done

2008-03-11 Thread Gerolf Seitz
override getAjaxCallDecorator (or something like this) and return a new IAjaxCallDecorator which appends javascript like "this.disabled=true" in decorateScript() and maybe activates the button with js returned in decorateSuccessScript() and/or decorateFailureScript. Gerolf On Tue, Mar 11, 2008

Re: How can i Customize the style of Feedback Messages ?

2008-03-11 Thread Gerolf Seitz
you're welcome. Gerolf On Tue, Mar 11, 2008 at 12:44 PM, Alonso Sanchez, Daniel < [EMAIL PROTECTED]> wrote: > Fantastic! Sorry for disturbing :P Thanks again > > -Mensaje original- > De: Gerolf Seitz [mailto:[EMAIL PROTECTED] > Enviado el: martes, 11 de

  1   2   3   >