Re: Wicket validation flaw?

2007-09-06 Thread Alex Objelean
I'm using datetextfield from the wicket-extensions. Alex. igor.vaynberg wrote: > > actually we do trim them. > > convertinput() calls convertvalue() which does trim. so if you override > convertvalue() itself you need to trim yourself. however i do not see it > being overwritten anywhere. is

Re: Wicket validation flaw?

2007-09-06 Thread Igor Vaynberg
actually we do trim them. convertinput() calls convertvalue() which does trim. so if you override convertvalue() itself you need to trim yourself. however i do not see it being overwritten anywhere. is this datetextfield from extensions or wicket-datetime? -igor On 9/6/07, Matej Knopp <[EMAIL P

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Alex Objelean
Indeed, onbeforerendercalled is an ugly name for a method (maybe choose other name? :) ... just kidding. My point is: as long as I want to override the onBeforeRender, I am aware of the fact that I must call super to make it working properly, otherwise I will get a nasty exception or unexpected b

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
That's because of JualianS' use case. Changing the first dropdown should reset the second and third ones' model to null. Maybe it's a Country/State/City trio. Suppose the model of the first was "Argentina" and the model of the second was "Buenos Aires" when submission was done (of course, this is p

Re: DetachableContactModel question

2007-09-06 Thread Carlos Pita
The point of having a detachable model is to avoid storing the domain object into the wicket session. The constructor you mention is wrongly quoted, the code is in fact: public DetachableContactModel(Contact c) { this(c.getId()); } There isn't even a contact field in the class. If

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Igor Vaynberg
so the validation fails yet you are still updating the models??? -igor On 9/6/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > > I've debugged a simple example and what I described before happens to > the letter, both for ajax updating behavior and for > wantOnSelectionChangedNotifications/onSelecti

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
I've debugged a simple example and what I described before happens to the letter, both for ajax updating behavior and for wantOnSelectionChangedNotifications/onSelectionChanged. I don't think it's a bug at all, but imo it would be reasonable to clear out the input if the explicit intention of chang

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Igor Vaynberg
does it work properly without ajax? -igor On 9/6/07, JulianS <[EMAIL PROTECTED]> wrote: > > > I am using Wicket 1.2.6. I have 3 DropDownChoices (and some other fields) > on > a form. > > The first DropDownChoice resets the selections in the other > DropDownChoices > using AjaxFormComponentUpdati

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
Now that I think about it: maybe input should be automatically cleared out in case the model is explicitly changed, don't you think? On 9/6/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > Maybe it's because your second and third dropdowns are taking their > input from the posted parameters (the raw i

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
Maybe it's because your second and third dropdowns are taking their input from the posted parameters (the raw input) instead of from their model. See the source for FormComponent.getValue(): if (NO_RAW_INPUT.equals(rawInput)) { return getMode

WicketTester, FormTester, and AjaxSubmitLink

2007-09-06 Thread James McLaughlin
Hi, Hacking away at some tests, I figured the proper way to test an AjaxSubmitLink would have been as follows: Panel p = tester.startPanel(EventPanel.class); FormTester ft = tester.newFormTester(p.getId() + ":eventForm"); ft.setValue("messageField", ALARM_MESSAGE);

Re: AjaxFallbackLink inside ListView

2007-09-06 Thread Igor Vaynberg
actually it is cleaner/better to pass the model to the link directly, so item.add(new IndicatingAjaxFallbackLink("link", item.getModel()) { public void onClick(AjaxRequestTarget target) { Object o=getModelObject(); } } -igor On 9/6/07, Kent Tong <[EMAIL PROTECTED]> wrote: > > > > > p

Re: AjaxFallbackLink inside ListView

2007-09-06 Thread Kent Tong
pokkie wrote: > > Worked like a charm, thanks Kent. > > You the same Kent Tong that wrote a online Tapestry book? > Yep. -- View this message in context: http://www.nabble.com/AjaxFallbackLink-inside-ListView-tf4389622.html#a12534270 Sent from the Wicket - User mailing list archive at Nab

Re[2]: Download invoice without DownloadLink

2007-09-06 Thread Oleg Taranenko
Hello Jean-Baptiste, what i want to see is a dialog to save downloaded file in browser, therefore it is slightly not my case.  Viewing the source of DownloadLink seems get nessesary info.  BTW, there is no example with DownloadLink in the codebase at all. I found it would be useful to add, ma

RE: Tracking down an elusive error during migration to 1.3

2007-09-06 Thread David Leangen
Johan, Anything I can do to help isolate the problem? I'm using trunk, btw... > not the case that David has.. > If i write a test case for the ValueMap and i get and put username > in it everything works. > Ofcourse if i set the debug logging level then i get a debug > warning because we do

DetachableContactModel question

2007-09-06 Thread Cristi Manole
Hello, In the repeteater samples, the one with ajax capability you have DetachableContactModel. My question is why protected Object load() { // loads contact from the database return getContactsDB().get(id); } does not just return the Contact object? It is already determined by the co

Re: Creating a disableable AjaxSubmitLink

2007-09-06 Thread Matej Knopp
Something like the following should work: decorateScript: "this.onclick_=this.onclick; this.onclick=function() { return false; };" + script; onSuccess,onFailureScript: this.onclick=this.onclick_; + script; -Matej On 9/6/07, Anthony J Webster <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to cr

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
sure no problem, just point them out :) On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > well, whenever those emails comein...why doesnt onbeforerender is getting > called...you can answer them :) > > -igor > > > On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > who? that overri

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
well, whenever those emails comein...why doesnt onbeforerender is getting called...you can answer them :) -igor On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > who? that overrides onBeforeRender? > why should those call super last? > that depends on what they want. > > On 9/6/07, Igor

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
who? that overrides onBeforeRender? why should those call super last? that depends on what they want. On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > because we are going in circles here > > even with onpopulate you still have to make sure you call super last! > > -igor > > > On 9/6/07

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
because we are going in circles here even with onpopulate you still have to make sure you call super last! -igor On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > ok, > i don't like to have onBeforeRender final because we have the whole i > called > the super check for that. > But i

Re: Displaying images and Test from DB

2007-09-06 Thread Jonathan Locke
you can build your own component very easily. listview can contain labels and/or images in any way you desire. Aaron Hutchings wrote: > > Is there something like listview that I configure for displaying text and > images? I do not need any sorting .. > > > > --

Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread JulianS
I am using Wicket 1.2.6. I have 3 DropDownChoices (and some other fields) on a form. The first DropDownChoice resets the selections in the other DropDownChoices using AjaxFormComponentUpdatingBehavior("onchange"). All the DropDownChoices use PropertyModels. This all works fine until the form is

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
ok, i don't like to have onBeforeRender final because we have the whole i called the super check for that. But i do like the onPopulate because that makes much more clear that the repeaters do there there work because why should that happen in onBeforeRender? The api does speak for them self then

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
i will leave it up to you guys as to what you want to do and how. honestly discussions like this drain my attention span. the only reason i introduced onpopulate is so that i could make onbeforerender final. -igor On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > thats why i said the co

Creating a disableable AjaxSubmitLink

2007-09-06 Thread Anthony J Webster
Hi, I'm trying to create a disableable AjaxSubmitLink. When a user clicks on the link further clicks must not result in anything until the 'submission' is complete. This call be achieved by adding "return false;" in a call decorator. However I'm stuggling with the re-enabling. I need to strip t

Displaying images and Test from DB

2007-09-06 Thread Aaron Hutchings
Is there something like listview that I configure for displaying text and images? I do not need any sorting .. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
thats why i said the concreet repeaters that implement onPopulate should make them final also what do you mean with funny errors, you only get funny errors when you override both or 1 and start calling the other. calling super on different times in your onBeforeRender doesn't create anything funny

Re: Basic Wicket, and form submit question

2007-09-06 Thread Eelco Hillenius
On 9/6/07, Arinté <[EMAIL PROTECTED]> wrote: > Ok when the user press the submit button on a wicket form, how do you make > it go to another page? onSubmit has a void return Use setResponsePage. Eelco - To unsubscribe, e-m

Basic Wicket, and form submit question

2007-09-06 Thread Arint
Ok when the user press the submit button on a wicket form, how do you make it go to another page? onSubmit has a void return - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Jan Kriesten
i think onPopulate() is there for just about 2 or 3 weeks and before the docs stated that calling super() would be vital. so, i really don't see a benefit in having a onpopulate() _and_ a non-final onbeforerender(). actually, if i override both, i could get funny errors changing a call to super.o

Re: Re: Re: Wicket libraries

2007-09-06 Thread Alexandre Bairos
If you care about the product of your own work, it 's personal. O.S.S. is based on self motivated developers who, by definition, care about their work. On 06 Sep 2007 19:36:36 +0200 (CEST), Robo <[EMAIL PROTECTED]> wrote: > > No Igor. Software is never personal. war is personal, dying of my mother

Re: Re: Re: Wicket libraries

2007-09-06 Thread Robo
No Igor. Software is never personal. war is personal, dying of my mother, father and youg brother bombed by army aircraft is personal but software sure not ;-) If you can point me please to ANY of the disrespect sentences, except AL`s \"why are you still bitching about it\" please do it ... :-)

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
no not for the onces that make a Repeater. Because then we aren't being able to tell that the populate should really be done before the call to super.onBeforeRender So having an onPopulate is fine. Repeaters should use that method to populate them selfs and we then also take care of the order but

Re: Re: Re: Re: Re: Re: Wicket libraries stack trace

2007-09-06 Thread Robo
Sorry Eelco but I did not start this small personal war. In my previus of topic marked post I said lot of good about wicket and made lot of PLEASE do this ... I know you have lot of work ... IMHO ... and so on ... Also thanked to Gwyn? ... :-))) Al getted touched about my troubles with Maven, yo

Re: applicationwide datePattern

2007-09-06 Thread Korbinian Bachl
that worked - thank you Best Regards, Korbinian Francis De Brabandere schrieb: You can override newConverterLocator in your Application @Override protected IConverterLocator newConverterLocator() { ConverterLocator locator = new ConverterLocator(); locator.set(java.sql

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
if it was not final then there would be little point for keeping onpopulate, it would just be confusing -igor On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > and? > why can't AbstractRepeater.onBeforeRender() be not final? > If i overwrite to do what ever i want (but i do need to call

Re: @SpringBean and serialization checker

2007-09-06 Thread Johan Compagner
the custom serialization is already off by default for quite some time the org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: only kicks in (so also for the default) when an IOException happens with writeObject So that you get a nice trace which field it exactly is of wha

Re: wicket tester / tester.assertResultPage(clazz, filename);

2007-09-06 Thread Eelco Hillenius
On 9/6/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > looking at the sourcefile I saw this option: > > -Dwicket.replace.expected.results=true > > could this be what I was looking for to genereate the expected results? > I think so:) Yep :) Eelco ---

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
and? why can't AbstractRepeater.onBeforeRender() be not final? If i overwrite to do what ever i want (but i do need to call onBeforeRender at some point else we generate an error) then it comes in AbstractRepeater.onBeforeRender() that first does the onPopulate so the items are created and then cal

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-06 Thread Eelco Hillenius
On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > the problem with this stuff is that there is no single pattern that will > work > > sometimes you want a chain where if a link fails the chain shortcircuits > other times you dont want the shortcircuit > > sometimes you care about the order, oth

Re: Re: Re: Re: Re: Wicket libraries stack trace

2007-09-06 Thread Eelco Hillenius
On 06 Sep 2007 18:32:44 +0200 (CEST), Robo <[EMAIL PROTECTED]> wrote: > Yes I know Eelco. That is why there are so much troubles in Java programming > land. Misusing of basic concepts ... That is why one needs some sort of COC, > because there is lot`s of b.s. around ... J2EE 1.4 countained so mu

Re: Re: Re: Wicket libraries

2007-09-06 Thread Eelco Hillenius
On 06 Sep 2007 18:24:44 +0200 (CEST), Robo <[EMAIL PROTECTED]> wrote: > Sorry Eelco but me and also quite a lot of other developers(I know, contrary > to others developers) consider same b.s. libraries which are \"alive\" just > because they are in classpath. It is like talking when nobody asks y

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
since component.onbeforerender() is what cascades the onbeforerender() call to the children, when it comes to repeaters it is absolutely vital that super.onbeforerender() be called last, that way it will cascade to any new items added in repeater's onbeforerender(). -igor On 9/6/07, Johan Compagn

Re: AjaxFallbackLink inside ListView

2007-09-06 Thread pokkie
Worked like a charm, thanks Kent. You the same Kent Tong that wrote a online Tapestry book? Kent Tong wrote: > > > > pokkie wrote: >> >> My question is, how do I use this information to get the selected entity >> which represents a row in my listView? >> > > Try: > > public class Test

Re: Re: Wicket libraries

2007-09-06 Thread Igor Vaynberg
On 06 Sep 2007 17:35:26 +0200 (CEST), Robo <[EMAIL PROTECTED]> wrote: > > Stop it now please Al. You take oo personal aproach. Nobody forced you in > responding. heh, what you have to understand is that wicket is oss - so it IS personal. it is something we work on in our spare time so it is kind

Re: Wicket libraries

2007-09-06 Thread Xavier Hanin
You can use Ivy to resolve wicket dependencies and produce a report, if you have trouble to generate a report with maven ATM. The report details may be slightly different from what you get with m2, since Ivy is not 100% compatible with m2, but it's better than nothing. If you're interested, I can p

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-06 Thread Igor Vaynberg
the problem with this stuff is that there is no single pattern that will work sometimes you want a chain where if a link fails the chain shortcircuits other times you dont want the shortcircuit sometimes you care about the order, other times you do not there are many variations of this and they

Re: Howto use AttributeModifier

2007-09-06 Thread Carlos Pita
Or a PropertyModel. On 9/6/07, Carlos Pita <[EMAIL PROTECTED]> wrote: > Per, > use a AbstractReadOnlyModel or a DetachableLoadableModel for the > attribute value. > Regards, > Carlos > > On 9/6/07, Per Newgro <[EMAIL PROTECTED]> wrote: > > Ok. I tried the Attribute Modifier(String, String, boolea

Re: Howto use AttributeModifier

2007-09-06 Thread Carlos Pita
Per, use a AbstractReadOnlyModel or a DetachableLoadableModel for the attribute value. Regards, Carlos On 9/6/07, Per Newgro <[EMAIL PROTECTED]> wrote: > Ok. I tried the Attribute Modifier(String, String, boolean, Model) > Constructor but it didn't worked. There have been exactly the same results

Re: How to set wicket's locale?

2007-09-06 Thread Johan Compagner
can you send some over? On 9/6/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > > T-37 minutes until sushi time! > > On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > sushi > > > > > > -igor > > > > > > On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > > > > new PropertyM

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
please tell me, tell me! johan On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > because the final is there for a very important reason? > > -igor > > > On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > I take the discussion is about removing onPopulate now? > > why not keep on

Re: Re: Re: Re: Re: Wicket libraries stack trace

2007-09-06 Thread Robo
Yes I know Eelco. That is why there are so much troubles in Java programming land. Misusing of basic concepts ... That is why one needs some sort of COC, because there is lot`s of b.s. around ... J2EE 1.4 countained so much of it that lots of developers refused to use it And it had to be rewrite

Re: How to set wicket's locale?

2007-09-06 Thread Igor Vaynberg
you suck! -igor On 9/6/07, Evan Chooly <[EMAIL PROTECTED]> wrote: > > T-37 minutes until sushi time! > > On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > sushi > > > > > > -igor > > > > > > On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > > > > new PropertyModel(P

Re: DIV TAG HEADER DO NOT WORK IN WICKET

2007-09-06 Thread Igor Vaynberg
I JUST LOVED HIS POST BECAUSE HE DOESNT SAY WHAT IS BROKEN. ID HATE TO SEE HIS BUG REPORTS. -IGOR On 9/6/07, cwilkes <[EMAIL PROTECTED]> wrote: > > > UR RIGHT. THE DIFFERENCE BETWEEN XHTML AND HTML IS THAT ATTRIBUTES MUST > BE > QUOTED: > http://www.w3.org/TR/xhtml1/#diffs > > > > Nino Saturn

Re: @SpringBean and serialization checker

2007-09-06 Thread Igor Vaynberg
i dont think our custom serialization works right with proxies yet is the thing -igor On 9/6/07, leok <[EMAIL PROTECTED]> wrote: > > > It's a little hard for me to tear out all the @SpringBean declarations in > my > webapp. I could try using the standard serialization method you speak of > and >

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
because the final is there for a very important reason? -igor On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > I take the discussion is about removing onPopulate now? > why not keep onPopulate and remove the final? > > > On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > the re

Re: Re: Re: Wicket libraries

2007-09-06 Thread Robo
Sorry Eelco but me and also quite a lot of other developers(I know, contrary to others developers) consider same b.s. libraries which are \"alive\" just because they are in classpath. It is like talking when nobody asks you ... Look at Java SDK do you need all packages to build console \"Hello W

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-06 Thread Carlos Pita
Alex: We implemented a subclass of Form that has some sophisticated validation and customized feedback panels built-in. This form automatically "instruments" its fields with an ajax validating behavior. But sometimes -not that often- a field needs to ajax-do a bit more than just being validated, s

Re: Re: Re: Re: Wicket libraries stack trace

2007-09-06 Thread Eelco Hillenius
On 06 Sep 2007 18:11:09 +0200 (CEST), Robo <[EMAIL PROTECTED]> wrote: > After small troubles I had with it I know it. But from my point of view it is > not correct to initiatie not used libraries just by including it in App > Server classpath. From my point of view lib is lib, and when nto called

Re: Re: Re: Re: Wicket libraries stack trace

2007-09-06 Thread Robo
After small troubles I had with it I know it. But from my point of view it is not correct to initiatie not used libraries just by including it in App Server classpath. From my point of view lib is lib, and when nto called by developer it sould not be initiated by App server. I runned into troubl

Re: Re: Wicket libraries

2007-09-06 Thread Eelco Hillenius
> Java jars are nto at all complex beast. They become tricky in situation where > you just put some of them inclasspath and they do what you normally do not > expect. Lib should be lib and when not called by developer they should do > nothing. Deliberatly breaking this rule makes the jars, beast

Re: Re: Wicket libraries

2007-09-06 Thread Robo
Stop it now please Al. You take oo personal aproach. Nobody forced you in responding. You make Wicket And I`m the user. If you do not like it do not do it. But there is some responsibilities about product you develop towards product users so do not confuse roles please. And besides that I`m als

Re: Wicket problem with slf4j 1.4

2007-09-06 Thread Ceki Gulcu
Tauren Mills tauren.com> writes: > > Thanks everyone for the help. I got it working with the following jars: > > log4j-1.2.15.jar > slf4j-api-1.4.2.jar > slf4j-log4j12-1.4.2.jar > > Is that what others are using? > > I had troubles while using logback, but I may not have used the right > jar

Re: applicationwide datePattern

2007-09-06 Thread Francis De Brabandere
You can override newConverterLocator in your Application @Override protected IConverterLocator newConverterLocator() { ConverterLocator locator = new ConverterLocator(); locator.set(java.sql.Date.class, dateConverter); locator.set(Date.class, dateConverter);

Re: How to set wicket's locale?

2007-09-06 Thread Evan Chooly
T-37 minutes until sushi time! On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > sushi > > > -igor > > > On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > > > new PropertyModel(Page.this, "session.foo.sushi.bar"); > > > > ? > > > > > > On 9/6/07, Gabor Szokoli <[EMAIL PROTE

Re: applicationwide datePattern

2007-09-06 Thread Korbinian Bachl
Hi Dipu, well, the problem is that i have here the Locale("de","DE") which has default pattern "dd.MM.yy" while I need "dd.MM." - so how can this be changed? (so MEDIUM instead of SHORT is used) Regards Korbinian Dipu Seminlal schrieb: try using session.setLocale() thats how i do it.

Re: Re: Re: Wicket libraries stack trace

2007-09-06 Thread Eelco Hillenius
On 06 Sep 2007 17:23:13 +0200 (CEST), Robo <[EMAIL PROTECTED]> wrote: > And why not? Besides that Wicket is doing some initialization of not used > libraries is there any restriction of not including not neccesary libraries > in classpath? Most time I develop someting I have many libraries in my

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread Eelco Hillenius
> really? i thought it was German Build Quality! The best there is! > Are there even better? (don't mention now ofcourse other german brands ;) ) Trabant is German :) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Re: Re: Wicket libraries stack trace

2007-09-06 Thread Robo
And why not? Besides that Wicket is doing some initialization of not used libraries is there any restriction of not including not neccesary libraries in classpath? Most time I develop someting I have many libraries in my classpath even if I do not use them ... Robo - Originálna Správa ---

Re: Re: Wicket libraries stack trace

2007-09-06 Thread Eelco Hillenius
On 06 Sep 2007 11:44:56 +0200 (CEST), Robo <[EMAIL PROTECTED]> wrote: > Ok Thnaks for explanation. > > And do not look for truth in jokes. Jokes are just jokes ;-) But you are not using Velocity panel right? Why do you include that jar in the first place? You can just include the core wicket jar.

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread Johan Compagner
> > In Germany, the best sold car is the VW Golf. But does this mean I should > buy one? No, there are a lot of better alternatives (in the meaning of > quality and design, for example). really? i thought it was German Build Quality! The best there is! Are there even better? (don't mention now o

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread Thomas Singer
Well, such charts do not make me fear to placed the bet on the wrong horse. I've taken a look at a large number of frameworks and found Wicket to be the best one for our purposes. This cannot be changed by such charts, but only by JSF being better than Wicket. In Germany, the best sold car is

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-06 Thread Scott Swank
Would it make sense to have a behavior that was implemented as a Chain of Responsibility http://en.wikipedia.org/wiki/Chain-of-responsibility_pattern Then it would just be a matter of adding that behavior to your component. On 9/6/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > I am curious, w

Re: Wicket libraries

2007-09-06 Thread Al Maw
Robo wrote: Ok, seems removing \"wicket-velocity-1.3.0-beta3.jar\" from build path solved problem with velocity problem. But please explain me why removing package from build path solves the problem if nowhere in my Hello World code i call for any of the velocity packages. Is there some dupliciti

Re: DIV TAG HEADER DO NOT WORK IN WICKET

2007-09-06 Thread cwilkes
UR RIGHT. THE DIFFERENCE BETWEEN XHTML AND HTML IS THAT ATTRIBUTES MUST BE QUOTED: http://www.w3.org/TR/xhtml1/#diffs Nino Saturnino Martinez Vazquez Wael wrote: > > hmm should'nt it be in "" or '' like this: > ? > > regards Nino > > bhupat parmar wrote: >> THE HEADER IS NOT WORKING >> >>

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread Johan Compagner
http://www.indeed.com/jobtrends?q=java%2C+jsf&l= java is all you need to know for wicket so jsf seems pretty low to me in that picture.. On 9/6/07, cowwoc <[EMAIL PROTECTED]> wrote: > > > This might be of interest to the Wicket community: > > http://www.javalobby.org/java/forums/t101110.html > --

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread C. Bergström
On 9/6/07, cowwoc <[EMAIL PROTECTED]> wrote: >>> This might be of interest to the Wicket community: >>> >>> If you really think about this.. It just means that it takes more developers (jobs) in order to accomplish the same thing it takes with just a handful of wicket developers :P So I gu

Re: DIV TAG HEADER DO NOT WORK IN WICKET

2007-09-06 Thread Johan Compagner
TSEE IS THAT AS LOUD AS YOU CAN GET? On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > WHAT IS WRONG WITH IT? > > -IGOR > > On 9/6/07, bhupat parmar <[EMAIL PROTECTED]> wrote: > > > > THE HEADER IS NOT WORKING > > > > > > > > > > Home > > Trend > > Archive > >

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Johan Compagner
I take the discussion is about removing onPopulate now? why not keep onPopulate and remove the final? On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > the reason for it being final is that the super.onbeforerender() call HAS > to > be done last, otherwise new items do not get onbeforerende

Re: @SpringBean and serialization checker

2007-09-06 Thread leok
It's a little hard for me to tear out all the @SpringBean declarations in my webapp. I could try using the standard serialization method you speak of and monitor the behavior. It seemed a little strange that this Exception would pop up with such a basic config so I figured that I was missing somet

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread Johan Compagner
which version??? ahh php5+ because that is real OO On 9/6/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > starting to learn php right now. > > On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > > > why would it be of interest? he does this every six months...weve seen > > the > > results.

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread Johan Compagner
starting to learn php right now. On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > why would it be of interest? he does this every six months...weve seen the > results. > > by the same logic we should all be learning php or jsp as those eclipse > jsf > when put into the search. > > -igor > >

Re: And The Fastest Growing Web Framework Is...

2007-09-06 Thread Igor Vaynberg
why would it be of interest? he does this every six months...weve seen the results. by the same logic we should all be learning php or jsp as those eclipse jsf when put into the search. -igor On 9/6/07, cowwoc <[EMAIL PROTECTED]> wrote: > > > This might be of interest to the Wicket community: >

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
a javadoc warning wont stop emails coming to this list :) onbeforerendercalled() is also an ugly way, uglier then onpopulate() which is at least more semantically named. the root problem is that java does not contain a compiler directive that would check for this, there is some support for this i

Re: applicationwide datePattern

2007-09-06 Thread Dipu Seminlal
try using session.setLocale() thats how i do it. Regards Dipu On 9/6/07, Korbinian Bachl <[EMAIL PROTECTED]> wrote: > > > Hi, > > can anyone tell me how to change the default date pattern wicket should > use in the whole app? > > I mean i can do: > > add(new DatePicker() { >

Re: YAML / Wicket integration

2007-09-06 Thread Alex Objelean
I see at least one drawback of using this kind of project: when you are dealing with a css change, you have to rebuild your application because your presentation code resides in JAVA, instead of being clearly separated from it. This way, you get a mix of the presentation&logic concerns. PS: still

And The Fastest Growing Web Framework Is...

2007-09-06 Thread cowwoc
This might be of interest to the Wicket community: http://www.javalobby.org/java/forums/t101110.html -- View this message in context: http://www.nabble.com/And-The-Fastest-Growing-Web-Framework-Is...-tf4392768.html#a12524620 Sent from the Wicket - User mailing list archive at Nabble.com.

applicationwide datePattern

2007-09-06 Thread Korbinian Bachl
Hi, can anyone tell me how to change the default date pattern wicket should use in the whole app? I mean i can do: add(new DatePicker() { protected String getDatePattern() { return "dd.MM."; } on each component manually, bu

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Alex Objelean
The way I do it, is this: protected void onBeforeRender() { //my init code super.onBeforeRender(); } I think it can be documented in the javadoc, that it is mandatory to call super at the end. User can also have a problem if just override the onBeforeRender without calling the super. I

Re: DIV TAG HEADER DO NOT WORK IN WICKET

2007-09-06 Thread Igor Vaynberg
WHAT IS WRONG WITH IT? -IGOR On 9/6/07, bhupat parmar <[EMAIL PROTECTED]> wrote: > > THE HEADER IS NOT WORKING > > > > > Home > Trend > Archive > The Latest > Looks >href="#">Pepsi > Style > My Closet > Submit Style > >

Re: @SpringBean and serialization checker

2007-09-06 Thread Igor Vaynberg
so if you remove @SpringBean dao the errors go away? it def shouldnt be happening, maybe its a problem in wicket's custom serialization. there is a way to make wicket use standard serialization...cant remember off the top of my head right now... -igor On 9/6/07, leok <[EMAIL PROTECTED]> wrote: >

Re: YAML / Wicket integration

2007-09-06 Thread Johannes Schneider
The source code is available: https://svn.cedarsoft.eu/open/eu.cedarsoft.wicket/trunk/yaml-integration/ Jan Mikkelsen wrote: Hi Johannes I think YAML looks extremely interesting. I did not know about it. But commenting on your framework is difficult without sourcecode. Best regards, Jan Mi

Re: YAML / Wicket integration

2007-09-06 Thread Johannes Schneider
Yes, you are right. All integration is just about adding something :-) . The benefit of integration projects is that they care about the integration. You don't have to manually download and install all those resources. But of couse you don't have to use it. Just add the CSS resources manually.

Re: How to set wicket's locale?

2007-09-06 Thread Igor Vaynberg
sushi -igor On 9/6/07, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > > new PropertyModel(Page.this, "session.foo.sushi.bar"); > > ? > > > On 9/6/07, Gabor Szokoli <[EMAIL PROTECTED]> wrote: > > On 9/5/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > can you make an jira issue for

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Igor Vaynberg
the reason for it being final is that the super.onbeforerender() call HAS to be done last, otherwise new items do not get onbeforerender called on them. so if we remove final will you remember to always call it last? i think the chances are that are pretty small, thus its final. -igor On 9/6/07

Re: Howto use AttributeModifier

2007-09-06 Thread Per Newgro
Ok. I tried the Attribute Modifier(String, String, boolean, Model) Constructor but it didn't worked. There have been exactly the same results. Thanks for your help Per Original-Nachricht > Datum: Thu, 6 Sep 2007 15:34:14 +0200 > Von: "Gerolf Seitz" <[EMAIL PROTECTED]> > An: user

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Matej Knopp
You're welcome :) On 9/6/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > It's only a false alarm. Sorry. My fault. Probably I didn't perform a 'clean' > before the application has been deployed. The issue is CLOSED! > > PS: Big 'THANK YOU' to Matej :). > > > Alex Objelean wrote: > > > > Last post

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Alex Objelean
It's only a false alarm. Sorry. My fault. Probably I didn't perform a 'clean' before the application has been deployed. The issue is CLOSED! PS: Big 'THANK YOU' to Matej :). Alex Objelean wrote: > > Last post was completely wrong. > Here is another handler which works ok: > > var > wcall=wick

Re: DIV TAG HEADER DO NOT WORK IN WICKET

2007-09-06 Thread Nino Saturnino Martinez Vazquez Wael
hmm should'nt it be in "" or '' like this: ? regards Nino bhupat parmar wrote: THE HEADER IS NOT WORKING Home Trend Archive The Latest Looks Pepsi Style My Closet Submit Style --

  1   2   >