Re: [Wicket-user] call for i18n contributions

2006-04-22 Thread Eelco Hillenius
Thanks. That's language code 'sv', right? (Application_sv.properties). Eelco On 4/20/06, Per Ejeklint [EMAIL PROTECTED] wrote: Here is the quick Swedish translation (couldn't log in to sourceforge right now)! RequiredValidator=fältet '${label}' krävs. TypeValidator='${input}' är ingen

Re: [Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()

2006-04-22 Thread Johan Compagner
+1 depricate the oldOn 4/21/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: +1On 4/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote: +1 On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - it's certainly easier on the eyes. On 4/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote: +1 we can

Re: [Wicket-user] Powerful wicket sample

2006-04-22 Thread Johan Compagner
just build the petstore application ;)i think the most WOW factor has some pages with pure ajax components..johanOn 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Geertjan Wielenga wrote: Hi all, For the 'birds of a feather' session I'll be doing at JavaOne, I'd like to run through the

Re: [Wicket-user] Powerful wicket sample

2006-04-22 Thread Johan Compagner
hmm but you do need 1.2 for thatOn 4/22/06, Johan Compagner [EMAIL PROTECTED] wrote: just build the petstore application ;)i think the most WOW factor has some pages with pure ajax components..johan On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Geertjan Wielenga wrote: Hi all, For the

Re: [Wicket-user] Powerful wicket sample

2006-04-22 Thread Gwyn Evans
Or one of the Databinder examples? /Gwyn On 22/04/06, Johan Compagner [EMAIL PROTECTED] wrote: hmm but you do need 1.2 for that On 4/22/06, Johan Compagner [EMAIL PROTECTED] wrote: just build the petstore application ;) i think the most WOW factor has some pages with pure ajax

Re: [Wicket-user] Image upload

2006-04-22 Thread Eelco Hillenius
wicket-contrib-examples of wicket-stuff has the cdapp example that does this. It uses hibernate and stores uploaded images in the database as a blob. Eelco On 4/21/06, Steve Knight [EMAIL PROTECTED] wrote: I am creating a form that will allow users to upload image files that will be displayed

Re: [Wicket-user] Powerful wicket sample

2006-04-22 Thread Geertjan Wielenga
What about accessing a web service? (I've blogged about this, i.e., a spell checker web service made available to a Wicket panel, so that it can be reproduced on multiple web pages.) Is this sufficiently "Wow" for the average Wicket person? -- Gj Gwyn Evans wrote: Or one of the

[Wicket-user] Questions on Wicket Panels

2006-04-22 Thread Ayodeji Aladejebi
Please, Can a wicket guru make me clear on some stuffs, infact many things but i trust one small insight from yu guys can join so many missing blocks . Que 1: What is the implication of Thinking in Panels rather than Thinking in WebPages?. Sincerely I have never used borders. I know Panels are

Re: [Wicket-user] call for i18n contributions

2006-04-22 Thread Stefan Kanev
This is a translation in Bulgarian, I hope that GMail sends as UTF-8. And I do hope it will be useful to somebody.Application_bg.propertiesRequiredValidator=Полето '${label}' е задължително.TypeValidator='${input}' не е валиден ${type}. NumberValidator.range=${input} трябва да бъде между

[Wicket-user] WicketTester throws exception instead of failing

2006-04-22 Thread Iman Rahmatizadeh
Hi, The WicketTester.assertVisible(path) method should check to see if the component with the given path is visible or not, but instead it throws a NullPointerException whenever it should fail. The getComponentFromLastRenderedPage(path) method returns null if the component is invisible.

Re: [Wicket-user] migrating to 1.1

2006-04-22 Thread Eelco Hillenius
Geert, if it is a project you can share, we could help you I think. It's probably not a zillion lines project anyway, right? Can you contact me ofline if you are interested in that? Eelco On 4/21/06, Geertjan Wielenga [EMAIL PROTECTED] wrote: Well, I'm a bit fearful of doing that. I'm

Re: [Wicket-user] WicketTester throws exception instead of failing

2006-04-22 Thread Juergen Donnerstag
Could you please open a bug and if possible attach a simple junit test case Juergen On 4/22/06, Iman Rahmatizadeh [EMAIL PROTECTED] wrote: Hi, The WicketTester.assertVisible(path) method should check to see if the component with the given path is visible or not, but instead it throws a

Re: [Wicket-user] migrating to 1.1

2006-04-22 Thread Eelco Hillenius
We aim for 2.0 actually. Both the authors (Martijn and me) are core developers, so we hope to keep up with the changes. Eelco On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: And, if I'm not mistaken, the book will be based on 1.2, correct? On 4/21/06, Martijn Dashorst [EMAIL PROTECTED]

[Wicket-user] wicket-spring injection without Java 5 annotations

2006-04-22 Thread Lasse Koskela
Hi, I've been looking into the Spring integration and I've gotten the annotations stuff working alright (@SpringBean-tagged instance variables getting injected upon object creation). However, I'd like to be able to stay in the Java 1.4 world and I'm sure there is a way to do injection without the

[Wicket-user] wicket download links broken

2006-04-22 Thread Vincent Jenks
These give a 500 error: http://wicket.sourceforge.net/Download.html ...but I can get to these through SF: http://sourceforge.net/project/showfiles.php?group_id=119783 --- Using Tomcat but need to do more? Need to support web services,

Re: [Wicket-user] wicket download links broken

2006-04-22 Thread Martijn Dashorst
The sourceforge servers haven't been reliable the last week. If it continues, file a report with the sourceforge.net staff.MartijnOn 4/22/06, Vincent Jenks [EMAIL PROTECTED] wrote: These give a 500 error:http://wicket.sourceforge.net/Download.html...but I can get to these through SF:

Re: [Wicket-user] wicket-spring injection without Java 5 annotations

2006-04-22 Thread Igor Vaynberg
the way injection works is like this:the springwebapp registers a IComponentInstantiationListener that performs the injection when the object is being constructed. This is the wicket.injection.ComponentInjector. This class scans for annotations and injects them. there is a thread here that

Re: [Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()

2006-04-22 Thread Igor Vaynberg
doneOn 4/22/06, Johan Compagner [EMAIL PROTECTED] wrote: +1 depricate the oldOn 4/21/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: +1On 4/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote: +1 On 4/21/06, Vincent Jenks [EMAIL PROTECTED] wrote: +1 - it's certainly easier on the eyes. On

Re: [Wicket-user] VOTE: ListView.setUseOptimizedItemRemoval()

2006-04-22 Thread Eelco Hillenius
I'm not sure setReuseItems is the best name, but I not a friend of setUseOptimizedItemRemoval. Eelco On 4/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote: +1 we can deprecate the existing one and have it forward to the new one as not to break the api. then remove the deprecated method once 1.2

[Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
Hi allYesterday I sent a message asking wondering why my helloworld application didn't go beyond loading the main class by Tomcat. Someone asked for my source code, I'm sending it in attachment.As I said before, I inserted a System.err on the constructor of the class that extends WebApplication

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Johan Compagner
to what url are you pointing youre browser?What part is the context path and what part is the serlvet path?should be something liket this:http://localhost:8080/yourecontext/helloworld/ On 4/23/06, Rui Pacheco [EMAIL PROTECTED] wrote: Hi allYesterday I sent a message asking wondering why my

Re: [Wicket-user] wicket-spring injection without Java 5 annotations

2006-04-22 Thread Lasse Koskela
Alright. I implemented a SpringSetterInjector implements IComponentInstantiationListener and verified that it indeed injects through setters when enabled for an application as follows: public class MyApplication extends SpringWebApplication { protected void init() {

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Gwyn Evans
Get rid of the public Session newSession() { // TODO Auto-generated method stub return null; } in HelloWorldApplication.java, as with 1.2 at least, that causes a NPE in the WebApplication class. On a more general note, I wonder if you switched to

Re: [Wicket-user] wicket-spring injection without Java 5 annotations

2006-04-22 Thread Lasse Koskela
Hi Igor, On 4/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a thread here that explains why we did not go with setter-based injection http://www.nabble.com/New-features-Wicket-1.2-t1310931.html#a3497221 As to your argument in the referenced thread: we can write a traversal for

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
Hi GwynI've just installed Jetty 5.1 and tried the application with it, and still nothing.When the server goes up I can see the System.err message on the logs, but nothing more beyond that. Going to http://localhost:8080/helloworld/ returns a 404 and no activity on the server.This is a big

Re: [Wicket-user] wicket-spring injection without Java 5 annotations

2006-04-22 Thread Igor Vaynberg
why dont you at least attach the code to an email message in this list. that way it will be archived and if somone searches down the road they can use it.-IgorOn 4/22/06, Lasse Koskela [EMAIL PROTECTED] wrote: Alright. I implemented a SpringSetterInjector implementsIComponentInstantiationListener

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Igor Vaynberg
this is exactly why we have wicket-quickstart. so newbs who are unsure of how all the servlet stuff works can get started quickly. i suggest you try that.when you say debug, what do you mean? have you even used a debugger? have you set a breakpoint in WicketServlet to see if the url you are using

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
Do you have any suggestions for a debugger? I can't afford my Eclipse right now, and I don't think Eclipse alone will do it. Again, if you have any sugestions, they are more than welcome. On 4/23/06, Igor Vaynberg [EMAIL PROTECTED] wrote: this is exactly why we have wicket-quickstart. so newbs who

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Lasse Koskela
On 4/23/06, Rui Pacheco [EMAIL PROTECTED] wrote: Yesterday I sent a message asking wondering why my helloworld application didn't go beyond loading the main class by Tomcat. Someone asked for my source code, I'm sending it in attachment. Why are you overriding newSession() in your Application

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
I have already removed it, as Gwyn sugested. And still just the 404.On 4/22/06, Lasse Koskela [EMAIL PROTECTED] wrote:On 4/23/06, Rui Pacheco [EMAIL PROTECTED] wrote: Yesterday I sent a message asking wondering why my helloworld application didn't go beyond loading the main class by Tomcat.

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Rui Pacheco
I can get the QuickStart application to run, but thats it. When I move the classes to my application they just stop working.One thing: I am deploying the application as a standard web app. I am putting my classes and HTML files inside packages and placing the compiled classes inside

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Jonathan Cone
Check your deployment descriptor (web.xml). Your servlet name is not consistent in case in the servlet and servlet mapping tags. Cheers, Jon - Original Message - From: Rui Pacheco To: wicket-user@lists.sourceforge.net Sent: Saturday, April 22, 2006 9:21 PM

[Wicket-user] Re: Wicket simple DB components?

2006-04-22 Thread Nathan Hamblen
I think it should be easy enough to pull things from a database that it's worth doing even for 12 items. Wicket is adept at rendering objects, and Hibernate turns table rows into objects; it should be win-win. But... looking back at the Databinder bookmarks example

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Igor Vaynberg
eclipse is free and it has an awesome debugger.-IgorOn 4/22/06, Rui Pacheco [EMAIL PROTECTED] wrote:Do you have any suggestions for a debugger? I can't afford my Eclipse right now, and I don't think Eclipse alone will do it. Again, if you have any sugestions, they are more than welcome. On

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Igor Vaynberg
install maven 2 and inside quickstart folder type mvn packagethat will build a deployable war inside the target subfolder. you can see that for an example of a war.-Igor On 4/22/06, Rui Pacheco [EMAIL PROTECTED] wrote: I can get the QuickStart application to run, but thats it. When I move the

Re: [Wicket-user] HelloWorldApplication won't show index page

2006-04-22 Thread Vincent Jenks
Webtools is great (considering the price ;)) if you don't want to purchase MyEclipse. That'll give you web-based projects that Eclipse currently does not have out-of-the-box. On 4/22/06, Igor Vaynberg [EMAIL PROTECTED] wrote: install maven 2 and inside quickstart folder type mvn package