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 jchinnas...@yahoo.com wrote: Hi, How to get the value of the textfield on onBlur event? The below code always prints null for shipIdTf.getInput() final TextField

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 kati...@rambler.ru wrote: Hello, Can anybody help newbie with following question:

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 makar...@gmail.com wrote: Hi All, I am new to wicket framework. I have a

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 fachh...@gmail.com wrote: I am

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 pino_o...@yahoo.com 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

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 shiraz.li...@googlemail.comwrote: Hi, I would like to use ATOM/RSS feed with the application developed on wicket, I wonder if wicket

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 with

Re: PropertyModels *without* strings

2009-11-26 Thread Gerolf Seitz
constants, which do not break. ** Martin 2009/11/26 Gerolf Seitz gerolf.se...@gmail.com: 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

Re: PropertyModels *without* strings

2009-11-26 Thread Gerolf Seitz
wrote: If refactoring is not supported it is just easier to use string constants, which do not break. ** Martin 2009/11/26 Gerolf Seitz gerolf.se...@gmail.com: as far as i have read, the binding methods aren't automatically refactored (eg. renamed), but you get

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: PropertyModels *without* strings

2009-11-25 Thread Gerolf Seitz
wrote: If refactoring is not supported it is just easier to use string constants, which do not break. ** Martin 2009/11/26 Gerolf Seitz gerolf.se...@gmail.com: as far as i have read, the binding methods aren't automatically refactored (eg. renamed), but you get compiler errors

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

Re: WicketStuff JMX

2009-11-24 Thread Gerolf Seitz
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 at 12:29 PM, Gerolf Seitz

Re: WicketStuff JMX

2009-11-24 Thread Gerolf Seitz
2009/11/24 Gerolf Seitz gerolf.se...@gmail.com 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

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 dutri...@pasteur.frwrote: I would like create 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 nadeesh...@yahoo.com wrote: Hi I am not sure if the DateTextField attribute in the DateTimeField class can be modified to change

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 nino.martinez.w...@gmail.com

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 input type=button tag instead of a Button. Gerolf On Wed, Dec 10, 2008 at 1:11 PM, Rutger Jansen [EMAIL PROTECTED] wrote: Well this is of

Re: DateTimeField AjaxEventBehavior problem

2008-05-21 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

Re: (Class? extends Page?) 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 checkout and will commit it sometime today

Re: (Class? extends Page?) 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 S extends Component? and not directly with ? extends

Re: AjaxButton without a Form

2008-05-21 Thread Gerolf Seitz
you can have input type=button wicket:id=linkButton/ 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; input type=button.../ I have styles around my input buttons

Re: (Class? extends Page?) casting troubles

2008-05-21 Thread Gerolf Seitz
: mvn clean install 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: Eelco, can you try it again with latest trunk

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? I'm

Re: DateField strangeness

2008-05-20 Thread Gerolf Seitz
iirc, that happens when the corresponding markup of the DateField is an input tag and not a div 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

Re: (Class? extends Page?) 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 WebPageT, then I

Re: RequiredBorder being applied multiple times in ajax calls

2008-05-15 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]

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: 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: 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 search

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 site is born! It's a

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, I actually meant

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: 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: 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 have

Re: AutoCompleteTextField type mismatch in line 227

2008-05-09 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 PROTECTED] Sent: Thursday, May 08, 2008 7:57 PM

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 no

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. It

Re: AutoCompleteTextField type mismatch in line 227

2008-05-08 Thread Gerolf Seitz
) -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 upcoming 1.3.4 and the already release 1.4-M1 Gerolf On Thu, May 8

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 to set

Re: way to traverse / get all form validators

2008-05-02 Thread Gerolf Seitz
there is final ListIValidator 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

Re: JmxPanel

2008-04-30 Thread Gerolf Seitz
, // Paolo On Wed, Apr 23, 2008 at 7:20 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: nope, did the same thing you did. do you have any custom css that might cause this? Gerolf On Wed, Apr 23, 2008 at 7:02 PM, Paolo Di Tommaso [EMAIL PROTECTED] wrote

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] wrote:

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: em style=color: green;

Re: rendering the navigation toolbar

2008-04-29 Thread Gerolf Seitz
, Gerolf Seitz [EMAIL PROTECTED] wrote: 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

Re: autocomplete: no popup when field is empty

2008-04-24 Thread Gerolf Seitz
like that johan On Wed, Apr 23, 2008 at 8:34 PM, Gerolf Seitz [EMAIL PROTECTED] wrote: i _could_ use something from a combobox i did some time ago: http://people.apache.org/~gseitz/combo/http://people.apache.org/%7Egseitz/combo/ http

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 here?

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: autocomplete: no popup when field is empty

2008-04-23 Thread Gerolf Seitz
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 23, 2008 at 4:26 PM, Gerolf Seitz [EMAIL PROTECTED

Re: JmxPanel

2008-04-23 Thread Gerolf Seitz
)); 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 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

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, Gerolf Seitz

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 know

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: 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 answer

Re: Implementing AutoComplete Issue

2008-04-21 Thread Gerolf Seitz
, 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: Hi, I have implemented autocomplete using 1.3.3. examples in wicket stuff. It is working fine in firefox

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

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 simply:

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 taking

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 16, 2008

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:

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 does

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

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: Is there a Wicket spinner component?

2008-04-09 Thread Gerolf Seitz
/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 Seitz [EMAIL PROTECTED]: the spinner in wicketstuff-minis should do

Re: em 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 em tag every

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

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

2008-04-07 Thread Gerolf Seitz
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: done, wicketstuff-jmx-panel is in the wicketstuff.org maven repository dependency groudIdorg.wicketstuff

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). Please check

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: I have

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: input bla bla bla / to input bla bla /input ? The API says that I should not use the setTag(XmlTag) method. If I do I

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
yes, this is what happens to span wicket:id=myLabel/ all the time. also with wicket:message key=key/, ... 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

Re: convert open-close to open

2008-03-31 Thread Gerolf Seitz
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 PROTECTED] wrote: Hi, How can I convert a tag that is of type open-close: input bla bla bla / to input bla bla /input

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, script

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: 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: Adding new Link() to an img 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

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. to submit

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: 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 (

Re: Multiple wicket:child/ 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

Re: Multiple wicket:child/ 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 provide factory methods in your

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.

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 lot

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 people

Re: Support for option disabled=disabled

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: 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, you

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 PROTECTED] wrote: the following

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 and am

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 AjaxEditableLabel. I

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

2008-03-11 Thread Gerolf Seitz
My goal is to show an image icon next to each erroneous input field :D see FormComponentFeedbackBorder or FormComponentFeedbackIndicator Gerolf

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

2008-03-11 Thread Gerolf Seitz
src=error.png//wicket:panel Gerolf Thanks again to everybody -Mensaje original- De: Gerolf Seitz [mailto:[EMAIL PROTECTED] Enviado el: martes, 11 de marzo de 2008 12:10 Para: users@wicket.apache.org Asunto: Re: How can i Customize the style of Feedback Messages ? My goal

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 marzo de 2008 12:39 Para: users

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: 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: 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,

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: 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 mention

Re: Confine feedback messages to a panel

2008-03-10 Thread Gerolf Seitz
Construct the feedbackpanels with and IFeedbackMessageFilter. Gerolf On Mon, Mar 10, 2008 at 12:22 PM, atul singh [EMAIL PROTECTED] wrote: hi, I have an ajax checkbox, which when checked, i show a feedback at the top of the panel. Due to this event another panel on the same page is

  1   2   3   >