NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread Anders
Hi, I'd like to customize FormComponentFeedbackBorder class to provide a error icon, so I extend FormComponentFeedbackBorder class and copy FormComponentFeedbackBorder.html from wicket source. I modify FormComponentFeedbackBorder.html to add below: wicket:border span

RE: ModalWindow - Address Is Not Valid

2009-09-27 Thread Alexander Shindler
Hi Jeremy, Bychance, I found out that it must be some sort of compatibility problem with Internet Explorer 8. Even though strangely when I run it from the host computer even with IE8 it runs fine, but for some reason other computers on the network using IE8 cannot open the modal windows

Re: google-sitebricks

2009-09-27 Thread Per Lundholm
It seems to be targetting a different category of webapps: ... that have a lot of textual content and some components that are inserted or modified by Javascript interactively ... . That opposed to: ... web UI design using the abstraction of a desktop UI: Events, components and widgets

Re: NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread Altuğ B . Altıntaş
wicket:border span wicket:id=errorIndicator/span img alt=Error! src=icon.gif/span style=color:red;! br/ /span wicket:body/ /wicket:border Try above . Maybe error occurs because of hierarchy; i mean it your html; img is child of errorIndicator but i think in your java code

Where can I find this Wicket application?

2009-09-27 Thread David Chang
Hello, I am reading Wicket-related stuff on the net and came across this Wicket discussion thread: http://osdir.com/ml/users-wicket.apache.org/2009-05/msg01196.html In the response, my wicket-advanced example application is mentioned. I would like to know where I can find this application?

Re: Where can I find this Wicket application?

2009-09-27 Thread Maarten Bosteels
http://svn.carmanconsulting.com/public/wicket-advanced/ On Sun, Sep 27, 2009 at 6:16 PM, David Chang david_q_zh...@yahoo.comwrote: Hello, I am reading Wicket-related stuff on the net and came across this Wicket discussion thread:

Doubt with Maven config

2009-09-27 Thread Pedro Sena
Hi Guys, I'm using lolite archetype but I'm having a 'problem' I want to run my tests (JUnit) and keep the Jetty server alive after the tests. Every time that I run my maven tests, it creates a Jetty server that is killed at the end of the process. I'm trying to do the same thing as Wicket in

Re: [wicket-stuff] project sitemap-xml - empty jar' files

2009-09-27 Thread Andreas Petersson
Hi! being the initial commiter of sitemap-xml i sort of feel responsible for this. i am glad to hear it gathers a the problem is that i did not test if the checkin follows the maven conventions, since i don't use maven, i just tried to follow the conventions given by similar projects, which

RefreshingView

2009-09-27 Thread Garz
heyho, public abstract class RefreshingViewT extends RepeatingView has the typeparameter but no public IModelT getModel(). can someone add it please or let me add it, i would do it too, plus setModel(), setModelObject(), getModelObject(). regarz -- Neu: GMX Doppel-FLAT mit Internet-Flatrate

Re: RefreshingView

2009-09-27 Thread Martin Makundi
It has getDefaultModelObject etc?? ** Martin 2009/9/27 g...@gmx.net: heyho, public abstract class RefreshingViewT extends RepeatingView has the typeparameter but no public IModelT getModel(). can someone add it please or let me add it, i would do it too, plus setModel(),

avoid setters / getters by using ?

2009-09-27 Thread David Chang
Hello, I have Wicket+Spring application. It has a service object which has a few DAO members. I can use Spring's autowiring to avoid mentioning the DAO dependencies for the service bean. However, in the Java program for the service bean, I still have to add setters and getters for each DAO

Re: avoid setters / getters by using ?

2009-09-27 Thread Martin Makundi
At least in wicket you can access the fields themselves using propertymodels. ** Martin 2009/9/27 David Chang david_q_zh...@yahoo.com: Hello, I have Wicket+Spring application. It has a service object which has a few DAO members. I can use Spring's autowiring to avoid mentioning the DAO

Re: RefreshingView

2009-09-27 Thread Igor Vaynberg
RefreshingView component does not use its model and therefore does not provide typesafe getters, mostly because it is possible to use any kind of model object with it. -igor On Sun, Sep 27, 2009 at 12:30 PM, g...@gmx.net wrote: heyho, public abstract class RefreshingViewT extends

Re: RefreshingView

2009-09-27 Thread garz
ah noo i am wrong, the type parameter is for the items that are used inside, not for the model of the refreshingview itself. my fault, sry. :D though but your answer didnt help me to find that out... ;) MartinM wrote: It has getDefaultModelObject etc?? ** Martin 2009/9/27

Re: ModalWindow - Address Is Not Valid

2009-09-27 Thread Jan Grathwohl
Hi Alexander, this one here looks like your problem: https://issues.apache.org/jira/browse/WICKET-2207 But the issue is marked as fixed in JIRA, since end of April. Do you use the latest Wicket version? 2009/9/27 Alexander Shindler alexshind...@hotmail.com Hi Jeremy, Bychance, I found

Re: avoid setters / getters by using ?

2009-09-27 Thread David Chang
Martin, Thanks for your input. My intention is how to get rid of these boring setters/getters from service beans that are usually generated only for the purpose of spring-injection. Cheers! --- On Sun, 9/27/09, Martin Makundi martin.maku...@koodaripalvelut.com wrote: From: Martin Makundi

Re: avoid setters / getters by using ?

2009-09-27 Thread Casper Bang
Use Lombok (http://projectlombok.org/), it allows you to generate setters and getters through annotations: @Getter @Setter private String name; /Casper David Chang wrote: Martin, Thanks for your input. My intention is how to get rid of these boring setters/getters from service beans that

Re: avoid setters / getters by using ?

2009-09-27 Thread Christian Beil
Hi David, if you use Eclipse, you can get rid of the getters/setters by using http://projectlombok.org/. Cheers, Christian David Chang schrieb: Martin, Thanks for your input. My intention is how to get rid of these boring setters/getters from service beans that are usually generated

Re: User name validation - how to check database to find if a name has already been taken?

2009-09-27 Thread Flavius
The AbstractValidator approach is fine, or you can do it the shorter way the Igor showed. Either way, when the page that has the username is submitted, you're going to have to write that record to the database, even if you don't have all the info. The way you wrote the question, I presume you

Re: GridView and refreshing with an ajax call

2009-09-27 Thread Fernando Wermus
I did :( On Fri, Sep 25, 2009 at 7:07 PM, Altuğ B. Altıntaş alt...@gmail.com wrote: Did you add the component to AjaxRequestTarget target.addComponent(yourGridview) Also don't forget this : yourGridview.setOutputMarkupId(true); A.B.A 2009/9/25 Fernando Wermus fernando.wer...@gmail.com

Re: NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread liny
Hi, I still get exception, even though I just add br/, I got: WicketMessage: No matching close bracket at position 905 I don't know why it said no close bracket... Altuğ B. Altıntaş wrote: wicket:border icon.gif ! br/ wicket:body/ /wicket:border Try above .

Re: avoid setters / getters by using ?

2009-09-27 Thread Martin Makundi
My intention is how to get rid of these boring setters/getters from service beans that are usually generated only for the purpose of spring-injection. Well, my solution is: 1. Use abstract static service classes that cannot be instantiated. 2. Won't need spring. ** Martin --- On Sun,