Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Ari Suutari
There is a simple example in http://download.syncrontech.com/public/wicketheadproblem.zip Ari S. - Original Message - From: Juergen Donnerstag [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Tuesday, April 04, 2006 3:02 PM Subject: Re: [Wicket-user] update from beta2

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Juergen Donnerstag
Thanks. I'll check it out. Juergen On 4/5/06, Ari Suutari [EMAIL PROTECTED] wrote: There is a simple example in http://download.syncrontech.com/public/wicketheadproblem.zip Ari S. - Original Message - From: Juergen Donnerstag [EMAIL PROTECTED] To:

[Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one

2006-04-05 Thread Nino Wael
Hi I looked at the dialog between Igor and Stefan, thought what a nice way to select the default value with the property model. However and then remembered why it did not do it that way, I wanted to replace the Choose One text with something else, well at least in some cases. Im

Re: [Wicket-user] PopupSettings Center

2006-04-05 Thread Alexander Lohse
I did so. Regards, Alex Am 01.04.2006 um 23:31 schrieb Eelco Hillenius: Didn't think about that yet. A patch would be welcome. If you have one, please attach it to an RFE (http://sourceforge.net/tracker/?group_id=119783atid=684978) Eelco On 3/31/06, Alexander Lohse [EMAIL PROTECTED] wrote:

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Ari Suutari
There seems to be also problems if wicket:child/ is used in page's html directly ie. in beta2 I was able to use markup inheritance on page level, but not in beta3. Ari S. - Original Message - From: Juergen Donnerstag [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent:

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Juergen Donnerstag
What exactly do you mean. Inheritance for Pages is still supported. Like with the other issue, I always appreciate simple unit test to verify it and to add it to the existing ones. What makes me a little worry (and sad) is that we have plenty of unit tests for headers and inheritance and I don't

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Ari Suutari
Hi, What exactly do you mean. Inheritance for Pages is still supported. There is a simple example at http://download.syncrontech.com/public/wicketpageinheritanceproblem.zip trying to view TestExtendedPage2 with 1.2-beta3: Caused by: wicket.WicketRuntimeException: Expected to

[Wicket-user] SimplePageAuthorizationStrategy broken when using Spring

2006-04-05 Thread Mark Derricutt
Hey all,I finally got around to updating my local copy of wicket 1.2 to the latest subversion HEAD snapshots and notice a problem with SimplePageAuthorizationStrategy.Looking at: http://papernapkin.org/pastebin/app/view/202I see a default IUnauthorizedComponentInstantiationListener is added,

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread Juergen Donnerstag
Yes, sure. I'll check them both. Juergen On 4/5/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, What exactly do you mean. Inheritance for Pages is still supported. There is a simple example at http://download.syncrontech.com/public/wicketpageinheritanceproblem.zip trying to view

Re: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one

2006-04-05 Thread Johan Compagner
what doesn't work exactly?Because looking at the code it should work fine. The getDefaultChoice(selected) is called and appended to the output.johanP.S. Now i think about it getDefaultChoice is a perfect candidate for returning a CharSequence instead of a string. So that you don't have to call

Re: [Wicket-user] SimplePageAuthorizationStrategy broken when using Spring

2006-04-05 Thread Johan Compagner
If we don't add it then the behaviour of SimplePageAuthorizationStrategy is very strange if you ask me...Why is there then a login page as constructor param. It is the whole point of that class to configure everything for you. So you just should implement youre own sublcass of

RE: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one

2006-04-05 Thread Nino Wael
The value of dropDownInitial is not used, instead it uses the first object from the model. So instead of displaying whats held in dropDownInitial it displays the object from the model. -regards Nino From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan

Re: [Wicket-user] SimplePageAuthorizationStrategy broken when using Spring

2006-04-05 Thread Mark Derricutt
On 4/5/06, Johan Compagner [EMAIL PROTECTED] wrote: So you just should implement youre own sublcass of AbstractPageAuthorizationStrategy for this.Or see why the application isn't there yet.The application's not there simply because its not there - my Application instance is configured IN the

[Wicket-user] wicket:message

2006-04-05 Thread Marieke Vandamme
Hello, I get an error while using wicket:message in my html. Did you forget to add 'message' to the wellKnownTagNames or do I need to do this myself? thanks! stacktrace : Root cause: java.text.ParseException: Unkown tag name with Wicket namespace: 'message'. Might be you haven't installed the

Re: [Wicket-user] wicket:message

2006-04-05 Thread Juergen Donnerstag
yes, and it is already fixed in SVN trunk. Juergen On 4/5/06, Marieke Vandamme [EMAIL PROTECTED] wrote: Hello, I get an error while using wicket:message in my html. Did you forget to add 'message' to the wellKnownTagNames or do I need to do this myself? thanks! stacktrace : Root

Re: [Wicket-user] update from beta2 to beta3 broke wicket:head in context of wicket:extend

2006-04-05 Thread sven
Seems to me that the following bug is a duplicate: http://sourceforge.net/tracker/index.php?func=detailaid=1464309group_id=119783atid=684975 It has a unit test though ;). Sven Yes, sure. I'll check them both. Juergen On 4/5/06, Ari Suutari [EMAIL PROTECTED] wrote: Hi, What exactly do you

[Wicket-user] Wicket Big Picture

2006-04-05 Thread Matt Carlson
My team and I are new to Wicket but have been sold by the various blogs, examples and code we've read and are therefore committed to using it on our latest large development project. However, we're currently struggling a bit with contextualizing what the setup and flow of a large wicket

[Wicket-user] PasswordTextField.setResetPassword

2006-04-05 Thread RĂ¼diger Schulz
Hello list, I have a form with a PasswordTextField. If one of the validators of the other fields creates an error, the content of the password field is cleared, as oppossed to all the other fields, which keep their entered values. resetPassword is set to false, but the only effect from this is,

Re: [Wicket-user] PasswordTextField.setResetPassword

2006-04-05 Thread Johan Compagner
will see if i can fix that it is this piece of code:tag.put(value, getResetPassword() ? : getModelObjectAsString());The problem is that it should betag.put(value, getResetPassword() ? : getValue()); But don't know yet if i can do that for the password field.johanOn 4/5/06, RĂ¼diger Schulz [EMAIL

Re: [Wicket-user] Wicket Big Picture

2006-04-05 Thread karthik Guru
ok i know its a tiny application but would a wicket pet store (with ibatis) help :) But I believe that there is enough functionality in it to demo wicket capabilities. Uhm that reminds me that I just have to check it into wicket-stuff and get the code reviewed by the wicket lead developers. On

[Wicket-user] Iterating a for loop and rendering the results

2006-04-05 Thread Geertjan Wielenga
Hi all, Part of my code goes like this: for (int k = 0; k allsuggestions.size(); k++) { String onesuggestion = (String)allsuggestions.get(k); listItem.add(new MultiLineLabel(one_suggestion, onesuggestion));

Re: [Wicket-user] SimplePageAuthorizationStrategy broken when using Spring

2006-04-05 Thread Johan Compagner
this should work:public class TimeTrackrApplication extends Application{ public TimeTrackrApplication() { Application.set(this); }}At least i don't hope that spring first makes the refs then the bean itself.. johanOn 4/5/06, Mark Derricutt [EMAIL PROTECTED] wrote: On 4/5/06, Johan Compagner [EMAIL

Re: [Wicket-user] Wicket Big Picture

2006-04-05 Thread Martijn Dashorst
The Wicket in Action is most surely coming out. Only not before this summer. According to my information, the MEAP is available for all authors that wish to do so, and I think both Eelco and I are not opposed to the program. However, the MEAP is not equal to the beta book program available from

[Wicket-user] Wicket 1.2 beta3 wicket:message tag broken?

2006-04-05 Thread Tom van Zummeren
I use quite a few wicket:message tags in my application. Since wicket 1.2 beta3 this tag doesn't work anymore, Wicket acts like he has never heard of this tag before. I looked a bit into it and found out the tag wasn't registered as a known tag. So when I added this to my subclass of

Re: [Wicket-user] Wicket 1.2 beta3 wicket:message tag broken?

2006-04-05 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 It was already said this was fixed in svn. Tom van Zummeren wrote: I use quite a few wicket:message tags in my application. Since wicket 1.2 beta3 this tag doesn't work anymore, Wicket acts like he has never heard of this tag before. I

RE: [Wicket-user] Question about DataTable and IDataProvider restated

2006-04-05 Thread Frank Silbermann
Me: I suppose the usual approach is to trigger the download of IDataProvider's data via the event handler of the submit button. That way, the data would be available for both Iterator IDataProvider.iterate(first, count) and int IDataProvider.size(). Eelco Hillenius Sent: Tuesday, April 04,

Re: [Wicket-user] wicket 1.2 beta 2 DropDownChoice default display value.. Please Choose one

2006-04-05 Thread Johan Compagner
can't reproduce it if i do create this:ArrayList list = new ArrayList(); list.add(test1); list.add(test2); list.add(test3); DropDownChoice choice = new DropDownChoice(dropdownchoice, new Model(null), new Model( list))So a normal default choice.The Choose one is displayed nicely.So if you

Re: [Wicket-user] Iterating a for loop and rendering the results

2006-04-05 Thread Johan Compagner
you have to use another listview inside a listitemBecause that is what you seem to do. so something liketr wicket:id=outertabletd wicket:id=innertablespan wicket:id=one_suggestion/span/td /trand then the current listItem must add another ListView instance (called innertable)johanOn 4/5/06,

RE: [Wicket-user] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-05 Thread Frank Silbermann
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: Tuesday, April 04, 2006 6:32 PM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

Re: [Wicket-user] Wicket Big Picture

2006-04-05 Thread Matt Carlson
Hi Karthik,A petstore example would be a great help! Please let me know when you get it checked in.ThanksOn 4/5/06, karthik Guru [EMAIL PROTECTED] wrote:ok i know its a tiny application but would a wicket pet store (with ibatis) help :)But I believe that there is enough functionality init to demo

Re: [Wicket-user] SimplePageAuthorizationStrategy broken when using Spring

2006-04-05 Thread Igor Vaynberg
actually it will. it will create the dependent objects first, since in the bean def app depends on the strat, the strat ben is created first and then passed to the app.you need ioioc here, the start needs to know when it is bound to the application so it can configure it. -IgorOn 4/5/06, Johan

Re: [Wicket-user] Question about DataTable and IDataProvider restated

2006-04-05 Thread Igor Vaynberg
no, the model() is there to wrap every object returned from the iterator() call in its own (detachable) model. this model is used in Item components which represent a rows inside a dataview.-Igor On 4/5/06, Frank Silbermann [EMAIL PROTECTED] wrote: Me: I suppose the usual approach is to trigger

[Wicket-user] 1.2 beta3 AjaxPagingNavigator odd behavior?

2006-04-05 Thread Jerry Smith
Here's my test Page: public class HomePage extends WebPage { public HomePage() { ListString list = new ArrayListString(); for(int i = 0; i 40; i++) { list.add(Integer.toString(i)); } PageableListView lv = new PageableListView(items,

Re: [Wicket-user] PopupSettings Center

2006-04-05 Thread Eelco Hillenius
Thanks, I'll try to look into it shortly. Eelco On 4/3/06, Alexander Lohse [EMAIL PROTECTED] wrote: I did so. Regards, Alex Am 01.04.2006 um 23:31 schrieb Eelco Hillenius: Didn't think about that yet. A patch would be welcome. If you have one, please attach it to an RFE

Re: [Wicket-user] ?Contract for Iterator IDataProvider.iterator(int first, int count) ???

2006-04-05 Thread Igor Vaynberg
you cannot guard against such a thing in the database unless you have an exclusive lock on the table. size() and iterator() are independent of each other unless you are on the last page of the datatable. and even then there is not much you can do if someone is inserting/removing data from under

Re: [Wicket-user] 1.2 beta3 AjaxPagingNavigator odd behavior?

2006-04-05 Thread Martijn Dashorst
A listview doesn't have its own markup. So it can't redraw itself using AJAX.In your second example that does work, you have a webmarkup container surrounding the listview, so that *does* work in a AJAX refresh. Also, you don't need the span here: span wicket:id=itemstrJust: tr wicket:id=itemswill

Re: [Wicket-user] 1.2 beta3 AjaxPagingNavigator odd behavior?

2006-04-05 Thread Igor Vaynberg
tbody in ie doesnt work either with outerHTML, so you have to redraw the entire table.-IgorOn 4/5/06, Martijn Dashorst [EMAIL PROTECTED] wrote:A listview doesn't have its own markup. So it can't redraw itself using AJAX. In your second example that does work, you have a webmarkup container

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-05 Thread Steve Knight
I created a quickstart project to demonstrate the problem. Then I decided to bump the quickstart up to beta 3 and the problem went away. So, I guess I'll have to upgrade.Thanks Igor.Steve On 4/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote: hrm. ok. can you make me a quickstart project that

RE: [Wicket-user] 1.2 beta3 AjaxPagingNavigator odd behavior?

2006-04-05 Thread Jerry Smith
Yep, its working now with the table, thanks! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: Wednesday, April 05, 2006 11:48 AM To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] 1.2 beta3 AjaxPagingNavigator odd behavior?

[Wicket-user] cdapp-example download

2006-04-05 Thread Alexander Lohse
Hi, I believe I am very stupid. I could not find any download for the cdapp example ... Can anyone tell where to find the sources? Thank you, Alex --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that

[Wicket-user] Re: Validations and the TabbedPanel

2006-04-05 Thread jw
but what ifAjax is not an option because the back-button is expected to work inbetween tab-navigation (an Ajax page looses history!) ? - Original Message - From: Igor Vaynberg Newsgroups: gmane.comp.java.wicket.user Sent: Monday, April 03, 2006 7:19 PM Subject:

Re: [Wicket-user] cdapp-example download

2006-04-05 Thread Eelco Hillenius
Hi, It's part of wicket-contrib-examples, which you can find in the repository of wicket-stuff (https://svn.sourceforge.net/svnroot/wicket-stuff). *someday* we will have a proper, recent release of that :). Eelco --- This SF.Net email is

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-05 Thread Steve Knight
Okay, now that my indicator is working, I need to add a _javascript_ confirmation box to appear before my form is submitted.With a regular button I just used getOnClickScript(), but I don't see how to do it with AjaxSubmitButton. Is there someway I can add my _javascript_ call before the ajax form

[Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-05 Thread Andrew Berman
I was wondering if there is a way in 1.2 to map Wicket's urls to an extension instead of to a directory. For example, is it possible to do http://localhost/HomePage.htm instead of the usual http://localhost/wicket/HomePage?Thanks,Andrew

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-05 Thread Eelco Hillenius
This might not be exactly what you want, but you can do any header contribution using wicket.behavior.HeaderContributor. To make this a little bit easier/ more specific for arbitrairy string contributions, beta 3 has now wicket.behavior.StringHeaderContributor and a neat way to do javascript

Re: [Wicket-user] Re: Validations and the TabbedPanel

2006-04-05 Thread Igor Vaynberg
dhtml != ajaxwhat i meant is you can have all parts of the form sent to the client, but certain parts of it hidden via style=display:none; and ajvascript that toggles between those parts like a tabbed panel. -IgorOn 4/5/06, jw [EMAIL PROTECTED] wrote: but what ifAjax is not an option

Re: [Wicket-user] Iterating a for loop and rendering the results

2006-04-05 Thread Johan Compagner
you look at it wrongSee it just as 2 independen lists..the outer listview must have the rows you want to have And the second listview must have the words you want in columns (youre suggestions)this: for (int k = 0; k allsuggestions.size(); k++) { shouldn't be in the code anywhere. That is

Re: [Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-05 Thread Igor Vaynberg
did you try doing mountBookmarkablePage(/HomePage.htm, HomePage.class) ?-IgorOn 4/5/06, Andrew Berman [EMAIL PROTECTED] wrote:I was wondering if there is a way in 1.2 to map Wicket's urls to an extension instead of to a directory. For example, is it possible to do http://localhost/HomePage.htm

Re: [Wicket-user] WicketAjaxIndicatorAppender

2006-04-05 Thread Igor Vaynberg
you can add an IAjaxCallDecorator to the ajax behavior inside your submit button and prepend that little bit of _javascript_.-IgorOn 4/5/06, Steve Knight [EMAIL PROTECTED] wrote: Okay, now that my indicator is working, I need to add a _javascript_ confirmation box to appear before my form is

Re: [Wicket-user] Weird problem with AJAX and crypted url...

2006-04-05 Thread Ramnivas Laddad
Done... http://sourceforge.net/tracker/index.php?func=detailaid=1465359group_id=119783atid=684975 -Ramnivas Igor Vaynberg wrote: please file a bug so this doesnt slip through the cracks. -Igor On 4/4/06, Ramnivas Laddad [EMAIL PROTECTED] wrote: Just a bit more information: I

Re: [Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-05 Thread Andrew Berman
But that wouldn't work for all Wicket urls. The problem I have is that I have one war file with multiple applications. Right now, I'm having problems mapping urls to each of those webapps. One app uses .htm (Spring MVC) and the other is a Wicket app which is mapped based on url folder. So, I want

[Wicket-user] no en_US in dateformats.properties ?

2006-04-05 Thread Nathan Hamblen
DatePicker isn't setting a correct date string for me in beta3. It's doing 2006/04/05, which the date converter won't understand. I stepped into the code and saw that it's trying to find 'en_US' in a hashtable built from dateformats.properties, which only has 'en' and 'en_ZA' (where's that?). I

Re: [Wicket-user] no en_US in dateformats.properties ?

2006-04-05 Thread Eelco Hillenius
Hi, On 4/5/06, Nathan Hamblen [EMAIL PROTECTED] wrote: DatePicker isn't setting a correct date string for me in beta3. It's doing 2006/04/05, which the date converter won't understand. I stepped into the code and saw that it's trying to find 'en_US' in a hashtable built from

Re: [Wicket-user] Is it possible to give wicket URLs an extension?

2006-04-05 Thread Igor Vaynberg
well, you have total control over how urls are generated, but its not trivial to implementwhat you want to do is to create your own IRequestTargetUrlCodingStrategy and IRequestTargetResolverStrategy. plug them into the WebRequestCycle and you can make any kind of urls you want. -IgorOn 4/5/06,