Re: [Wicket-user] Listview: cannot instantiate the type

2006-02-22 Thread Nick Heudecker
ListView is abstract.  You must implement the populateItem(...) method:new ListView("list", forklaring) {    public void populateItem(ListItem item) {     // add stuff to item.    }};On 2/23/06, Nino Wael <[EMAIL PROTECTED]> wrote: Hi Im having trouble instantiateing the Listview co

[Wicket-user] Listview: cannot instantiate the type

2006-02-22 Thread Nino Wael
Title: Listview: cannot instantiate the type Hi Im having trouble instantiateing the Listview control, I get the error ”Cannot Instiantiate the type ListView”. This is within these lines the errors occur: private  wicket.markup.html.list.ListView myList; …     List forklaring = Array

[Wicket-user] Including a Wicket page in HTML-formatted email

2006-02-22 Thread Nick Heudecker
I'd like to render a Wicket page to a stream, then include that content as the HTML body of an email message.  Any suggestions on how to accomplish that?  Thanks for your time.

Re: [Wicket-user] JavaScript files in Wicket-Examples

2006-02-22 Thread karthik Guru
They are there for Ajax support. So if you are not looking to attach Ajax behaviour to any of the components , then you dont need them. On 2/23/06, Frank Silbermann <[EMAIL PROTECTED]> wrote: > > > > In the webapp folder of Wicket Examples I noticed several JavaScript files: > > > > effects.js >

Re: [Spam] Re: [Wicket-user] wicket:head, wicket:border ..and others..

2006-02-22 Thread Gili
What "patches"? I'm asking whether or not we plan on keeping around or not. That's a design decision. Furthermore, I've already pointed out that I'm not familiar with the current state of which is why I am asking. Please stop trying to be hostile. There is no need for it. Gili Justin Le

Re: [Wicket-user] wicket:head, wicket:border ..and others..

2006-02-22 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Don't you mean s/we/you/ ? Still waiting for patches... Gili wrote: > > We should review ... frankly I don't even > remember how it is supposed to be used (I don't think it ever was fully > functional). > > I found a Wiki entry: http

Re: [Wicket-user] wicket:head, wicket:border ..and others..

2006-02-22 Thread Gili
We should review ... frankly I don't even remember how it is supposed to be used (I don't think it ever was fully functional). I found a Wiki entry: http://www.wicket-wiki.org.uk/wiki/index.php/Tags but for it says "TODO"... that is, it is not documented. Do we have plan

Re: [Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-22 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > time so I posted it to the list. If you want to bitch me out, feel free > to join IRC where flamewars belong :) Come on by. We're always open. - -- Justin Lee http://www.antwerkz.com AIM : evan chooly 720.299.0101 -BEGIN PGP SIGNATURE

Re: [Wicket-user] Parsing Error:Mismatch Close Tag Error

2006-02-22 Thread Gili
Cool it Mr. etiquette police :) I usually inform the developers directly on IRC of these smaller issues but they weren't around at the time so I posted it to the list. If you want to bitch me out, feel free to join IRC where flamewars belong :) Gili Justin Lee wrote: -BEGIN PGP SIGNED

[Wicket-user] Re: [Wicket-autocvs] wicket/src/java/wicket/request/compound DefaultExceptionResponseStrategy.java,1.8,1.9

2006-02-22 Thread Gili
This brings up a related issue... Is there a more elegant way for us to handle the case where an exception occurs after the response stream has been written to? That is, if we flushed some data into the output, an exception occurs, Wicket currently redirects to the error page but (as far a

[Wicket-user] JavaScript files in Wicket-Examples

2006-02-22 Thread Frank Silbermann
In the webapp folder of Wicket Examples I noticed several _javascript_ files:   effects.js prototype.js scriptaculous.js   What do they do?  Do I need them any of them on my project?  Could these have anything to do with the fact that the Wicket-Extensions DatePicker works in the Form

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Mark Derricutt
On 2/23/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: So how about just including cglib as a dependency this time?I already HAVE cglib 2.1.3 on the classpath as I'm using Hibernate - and thats what is confusing me about the class not found exception.

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Igor Vaynberg
it is in the pom.xmlso it is a dependency-IgorOn 2/22/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:So how about just including cglib as a dependency this time?Eelco On 2/22/06, Mark Derricutt <[EMAIL PROTECTED]> wrote:> On 2/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > cglib is only used t

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Eelco Hillenius
So how about just including cglib as a dependency this time? Eelco On 2/22/06, Mark Derricutt <[EMAIL PROTECTED]> wrote: > On 2/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > cglib is only used to proxy dependencies which are not interfaces. is this > the case with the dependency that is ca

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Mark Derricutt
On 2/23/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: cglib is only used to proxy dependencies which are not interfaces. is this the case with the dependency that is causing your problem?There were 4 injected dependecies on that class - 2 interfaces and 2 classes, and one inner class. I removed the

Re: [Wicket-user] setResponsePage question

2006-02-22 Thread Joe Toth
god bless america On 2/22/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > No we don't. So in general you can say it is better to just pass in > what you need. But Ayodeji is free to choose and so are we :) > > Eelco > > > On 2/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > do we really need

Re: [Wicket-user] setResponsePage question

2006-02-22 Thread Eelco Hillenius
No we don't. So in general you can say it is better to just pass in what you need. But Ayodeji is free to choose and so are we :) Eelco On 2/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > do we really need to have this argument? we dont know anything about the > usecase. > > -Igor > > > > On

Re: [Wicket-user] setResponsePage question

2006-02-22 Thread Igor Vaynberg
do we really need to have this argument? we dont know anything about the usecase.-IgorOn 2/22/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:Though I think you have a better defined contract when you just pass in the property you need instead of the page. Will also work betterwhen you decide to cal

Re: [Wicket-user] setResponsePage question

2006-02-22 Thread Eelco Hillenius
Though I think you have a better defined contract when you just pass in the property you need instead of the page. Will also work better when you decide to call that page from other places. Eelco On 2/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > its just java. pass in the previous page obje

Re: [Wicket-user] setResponsePage question

2006-02-22 Thread Eelco Hillenius
The safest thing to do is to pass in that property you need in the constructor of the next page. Eelco On 2/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > > Please i little question: > > When You setResponsePage() to another WebPage instance and then from the > next WebPage instance, you w

Re: [Wicket-user] setResponsePage question

2006-02-22 Thread Igor Vaynberg
its just java. pass in the previous page object into constructor of the new page.setResponsePage(new NextPage(this));-IgorOn 2/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: Please i little question:   When You setResponsePage() to another WebPage instance and then from the next WebPage insta

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Igor Vaynberg
i havent thought about it /that/ much. but for example if you have a factory, the factory will need to be refactored.also situations where you are creating components but not yet adding them to the parent will have to be refactored to work differently. although i think this is an edge case. -IgorOn

[Wicket-user] setResponsePage question

2006-02-22 Thread Ayodeji Aladejebi
Please i little question:   When You setResponsePage() to another WebPage instance and then from the next WebPage instance, you want to reference a property or method of the Previous Web Page instance, what is the safest thing to do?   Thank you

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Eelco Hillenius
Which ones? Do we have a list? Eelco On 2/22/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > an easy fix in /most/ cases. there will be situations that are harder to fix > then others. > > -Igor > > > > On 2/22/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote: > > > > > assuming that the constructo

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Igor Vaynberg
an easy fix in /most/ cases. there will be situations that are harder to fix then others.-IgorOn 2/22/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:> assuming that the constructor changes are an unusually severe break in > the API.It's a severe break indeed. BUT to the upside, with a very easy fix

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Eelco Hillenius
> assuming that the constructor changes are an unusually severe break in > the API. It's a severe break indeed. BUT to the upside, with a very easy fix. It's just big because it'll break most of your code instead of just a few areas. Eelco ---

Re: [Wicket-user] question re DropDownList

2006-02-22 Thread Igor Vaynberg
if you look closer you will see that updateModel() is declared to be final and thus cannot be overridden. this method is where internally we translate the request value into the proper object and then push it into your model. wicket's recommended way of interactining with form components is through

RE: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Frank Silbermann
I may be offering an opinion on something already decided, but it seems to me that if we change the constructors in an earlier release, and then go to Java 1.5 on a subsequent release, if that makes maintenance of two versions easier (post-1.5 and pre-1.5) easier. Advantages: (1) Less future work

[Wicket-user] question re DropDownList

2006-02-22 Thread Frank Silbermann
In most of the component examples we use a PropertyModel so the model is automatically updated. I presume that with the DropDownList the model would be set to the selected string. What is the purpose of its "void updateModel()" method? Is this something to override so that instead of setting th

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Eelco Hillenius
I agree with Johan here. I want to start discussing it on the admin list shortly. But it looks like there are enough for 2 - not the majority, but enough - to make seperate releases. We should decide on whether 1.2. (we might call that version differently actually, but that's another question) or 1

Re: [Wicket-user] RadioButtons with a twist?

2006-02-22 Thread Igor Vaynberg
if you use RadioGroup/Radio controls all you have to do is to create a custom panel with a Radio component in it. as long as that panel is somewhere inside the RadioGroup child hierarchy it will work.-Igor On 2/22/06, Nino Wael <[EMAIL PROTECTED]> wrote: Hi Im currently trying to figure

Re: [Wicket-user] @SpringBean annotations

2006-02-22 Thread Igor Vaynberg
cglib is only used to proxy dependencies which are not interfaces. is this the case with the dependency that is causing your problem?-IgorOn 2/22/06, Mark Derricutt <[EMAIL PROTECTED]> wrote: Hey all,I just started playing with wicket-spring and wicket-spring-annot to move my spring code away from

Re: [Wicket-user] Javascript based compnoents generates Browser Errors

2006-02-22 Thread Juergen Donnerstag
In the base page (which contains the javascript reference must in a region to be copied to the main page Juergen On 2/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > Hmm i dint extend from DojoAjaxHandlerOne example of my problem is the > DatePicker. When the page invloving the DatePi

Re: [Wicket-user] Javascript based compnoents generates Browser Errors

2006-02-22 Thread Ayodeji Aladejebi
Hmm i dint extend from DojoAjaxHandlerOne example of my problem is the DatePicker. When the page invloving the DatePicker Loads, _javascript_ errors occurs. And maybe its the scheme i am using becuz the Page that contains the _javascript_ behavior extends from the MainPage. So i used and , so

Re: [Wicket-user] Problems with AttributeModifier

2006-02-22 Thread Mats Norén
Ah, I see. Makes perfect sense. Anyway, I had to modify the navmenu a bit for my usecase (the layout was pretty fixed already) and I thought I made an error somewhere. Thanks! /Mats On 2/21/06, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > ItemPanel(String, MenuRow) is called by newItemPanel(Stri

Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Juergen Donnerstag
thanks. Fixed in cvs Juergen On 2/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Seems to me that traverseResourceLoaders() in wicket.Localizer has a bug: > > prefix = Strings.beforeLast(prefix, '.'); > > ... should be: > > prefix = Strings.afterFirst(prefix, '.'); > > The iteration goes f

Re: [Wicket-user] Javascript based compnoents generates Browser Errors

2006-02-22 Thread Iulian Costan
if you extend from DojoAjaxHandler make sure you call super.renderHeadInitContribution in order to import dojo.js file. iulian On 2/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: Obviously but how do i make them available is the problem...i dont have to do this manually..shey?..is it something

Re: [Wicket-user] Javascript based compnoents generates Browser Errors

2006-02-22 Thread Ayodeji Aladejebi
Obviously but how do i make them available is the problem...i dont have to do this manually..shey?..is it something wrong with my build or is something wrong with the wicket library combination i am using or wat reallyhas nayone had this same kind of problem? On 2/22/06, Juergen Donnerstag <[E

Re: [Wicket-user] Javascript based compnoents generates Browser Errors

2006-02-22 Thread Juergen Donnerstag
The javascript files are not available to the browser. Juergen On 2/22/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote: > What could cuz problems like having IE showing errors like : > > 'dojo' is undefined > 'Calender' is undefined > > i attached a sampl error shot > > thanks > ---

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread karthik Guru
and yeah more expected to come in :) On 2/22/06, karthik Guru <[EMAIL PROTECTED]> wrote: > Ok for the benefit of others, the summary of vote that actually matters - . > > Igor - 1 > Johan - 2 > Eelco - 1 > > So , > > 2 votes for both at once (constructor and JDK5) > 1 vote for split releases > -

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread karthik Guru
Ok for the benefit of others, the summary of vote that actually matters - . Igor - 1 Johan - 2 Eelco - 1 So , 2 votes for both at once (constructor and JDK5) 1 vote for split releases --- This SF.net email is sponsored by: Splunk Inc. Do you

Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread sven
Seems to me that traverseResourceLoaders() in wicket.Localizer has a bug: prefix = Strings.beforeLast(prefix, '.'); ... should be: prefix = Strings.afterFirst(prefix, '.'); The iteration goes from the page down to the component so that component-path prefix should be shortened from the head in

[Wicket-user] Javascript based compnoents generates Browser Errors

2006-02-22 Thread Ayodeji Aladejebi
What could cuz problems like having IE showing errors like :   'dojo' is undefined 'Calender' is undefined   i attached a sampl error shot   thanks <>

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Johan Compagner
and we could interpreted the results this way that there are still quite a number of persons that can't use 1.5 yet.So it is not a pure democratic vote but just the get a feeling how many people would be really set backed by directly 1.5I still believe that you can live without it, but you can't l

[Wicket-user] RadioButtons with a twist?

2006-02-22 Thread Nino Wael
Title: RadioButtons with a twist? Hi Im currently trying to figure out how to implement radiobutton with additional information meaning that I have somesort of control which carries a ID, short text and descriptive information for the radio button, I’ve seen something about having the custo

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread Martijn Dashorst
The vote isn't officially closed. We didn't set a time limit at beforehand. It is probably dead though :)In this case, the vote was NON-binding. That basically means that the core team can do whatever we want, ignoring everything and build Wicket 2 on dolphin (Java 7). Surpise! We haven't started d

Re: Results so far (was Re: [Wicket-user] VOTE)

2006-02-22 Thread karthik Guru
Is the voting officially closed ? :) and does that mean 'constructor and JDK5' will come packaged as one release wicket 2.0? On 2/21/06, Al Maw <[EMAIL PROTECTED]> wrote: > Alexandru Popescu wrote: > > I know that this might be early considering the lenght of the thread, > > but what is the voting

Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Andre Matheus
Thanks for the answer, but I had already looked at that page. The problem is that the page shows a sample that is not like my case. Let me explain: In the page you sent you have the following component hierarchy: APage ->BForm id="b" -->XPanel id="x" >RequiredTextField id="foo" -

[Wicket-user] @SpringBean annotations

2006-02-22 Thread Mark Derricutt
Hey all,I just started playing with wicket-spring and wicket-spring-annot to move my spring code away from my Application subclass.I'm using the SpringWebApplicationFactory to load my application out of my spring config, and my Application extends AnnotSpringWebApplication. I have a page thats got

Re: [Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Juergen Donnerstag
Please see http://www.wicket-wiki.org.uk/wiki/index.php/Validation_Messages Juergen On 2/22/06, Andre Matheus <[EMAIL PROTECTED]> wrote: > Hi all, > > I am using the wicket-1.2-20060216.jar > > I have a panel called PersonFormPanel where I add a form with id=personForm > In this form I add an Req

[Wicket-user] java.util.MissingResourceException with wicket-1.2-20060216.jar

2006-02-22 Thread Andre Matheus
Hi all, I am using the wicket-1.2-20060216.jar I have a panel called PersonFormPanel where I add a form with id=personForm In this form I add an RequiredTextField with id=name I created a properties file in the same folder with an entry like this: personForm.name.RequiredValidator=Name is a Mand