how to clear validation error

2010-01-08 Thread Chuck Brinkman
I have a form with a html submit button. In java I wrote my own onSubmit to handle the form processing. In the form I have a firstName field that is required. li First Name: span wicket:id=borderFirstName input type=text

RE: how to clear validation error

2010-01-08 Thread Bodis, Jerome
Shouldn't the FeedbackPanel be a child of the forms panel, instead of the form itself ? (don't know exactly = Your way the feedbackpanel gets submitted too) Jérôme -Original Message- From: Chuck Brinkman [mailto:chasb1...@gmail.com] Sent: Friday, January 08, 2010 9:02 AM To:

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
maybe i left out too much code... form wicket:id=currentUserPanelForm ul li span wicket:id=feedback/span /li .more html omitted /ul input type=submit value=Update / /form or am I still missing

Re: TabbedPanel + authorization strategy

2010-01-08 Thread toberger
This is my problem. How do I get the information, if the user has not the permission to see the panel? I create a tab list like this: ListITab tabs = new ArrayListITab(); tabs.add(new AbstractTab(new ModelString(panel)) { public Panel getPanel(String panelId) { return new

Re: Wicket and Spring - mocking a particular bean when Wicket is in development mode?

2010-01-08 Thread nino martinez wael
Guice has a concept of providers, I cant remember if spring has the same. You could in that provider ask what kind of mode wicket were in and then return the appropriate service. Im not sure this is a desired way togo since it will impact performance in production.. However resource filtering in

Re: TabbedPanel + authorization strategy

2010-01-08 Thread Jeroen Steenbeeke
I take it you configured wicket-auth-roles by doing getSecuritySettings().setAuthorizationStrategy(...) in your application's init? If so, then the security check for that component is done by an IComponentInstantiationListener that is automatically initialized by the constructor of Application.

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Leo . Erlandsson
Hi, We also had the same consideration when we chose Wicket. But why choose an inferior technology just because of it's Adoption Numbers? Also, Wicket is becoming more and more popular as people see the light :) Check out Jobs Trends (Relative Growth) here (JSF vs Struts vs Wicket):

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Martijn Dashorst
The dutch railways use wicket in at least one of their online apps (http://eropuit.nl), I know some dutch government agencies are using Wicket, dutch royal airlines (KLM) had/have a project using Wicket. Martijn On Fri, Jan 8, 2010 at 10:09 AM, leo.erlands...@tyringe.com wrote: Hi, We also

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Pieter Degraeuwe
The Flemish Goverenemt (Belgium) has at least 2 intranet applications built on wicket. These are intranet applications, so I cannot give you some fancy urls. (but the apps are really fancy, I can assure you :-) ) Pieter On Fri, Jan 8, 2010 at 10:32 AM, Martijn Dashorst

Re: TabbedPanel + authorization strategy

2010-01-08 Thread toberger
Okay, with your example implementation I can disable the content of the tab. But the tab itself is still visible. And I am searching a way to disable this tab itself too. Jeroen Steenbeeke wrote: I believe the default behavior is to throw an UnauthorizedInstantiationException if

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Joseph Pachod
Lester Chua wrote: Hi, I am facing a hurdle that need crossing in my final attempt to push Wicket for use in an organization. I have: 1) Prototyped a small size module 2) Did 2-3 presentations on the key features and advantages of wicket No one is disputing my claims about productivity and

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Ernesto Reinaldo Barreiro
Do you mean this post? http://in.relation.to/Bloggers/HowToStartLearningJavaEE6 Ernesto On Fri, Jan 8, 2010 at 11:40 AM, Joseph Pachod j...@thomas-daily.de wrote: Lester Chua wrote: Hi, I am facing a hurdle that need crossing in my final attempt to push Wicket for use in an organization.

RE: TabbedPanel + authorization strategy

2010-01-08 Thread Kai Mutz
You can extend TabbedPanel and overwrite the newLink() method. toberger mailto:torben.ber...@gmx.de wrote: Okay, with your example implementation I can disable the content of the tab. But the tab itself is still visible. And I am searching a way to disable this tab itself too. Jeroen

Wicket session not threadsafe?

2010-01-08 Thread Soumya
Hi all, I am fairly a newbie in wicket and would appreciate your help! I have a wicket application which are used on Live by more than 500 users. Now the problem which has arisen is - say User A logs on - he is able to view details of User B. It has happened for different users and I am trying to

RE: [announce] Wicket Stuff Core - JavaEE Inject

2010-01-08 Thread 谢非
1. Each EJB must be declared in web.xml2. @PersistenceUnit and @EJB cannot be used together Don't think JavaEE Injection should be like this. Date: Thu, 31 Dec 2009 00:51:28 +0100 From: majorpe...@sch.bme.hu Subject: [announce] Wicket Stuff Core - JavaEE Inject To: users@wicket.apache.org;

Re: Wicket session not threadsafe?

2010-01-08 Thread Pieter Degraeuwe
That's very odd... As I understood, methods on the Session can be called by several threads. So, Session methods must be thread safe. Maybe something is wrong with your dao. (Since that wone will be called by multiple threads a the same time...) Pieter On Fri, Jan 8, 2010 at 12:17 PM, Soumya

Re: Wicket session not threadsafe?

2010-01-08 Thread Pedro Santos
If your servlet container bind an different session for your users requests, you get the problem described too. Only one property of your session has user B values for user A requests? Or the entire session are different? On Fri, Jan 8, 2010 at 9:52 AM, Pieter Degraeuwe

Re: Wicket session not threadsafe?

2010-01-08 Thread Pedro Santos
Look for static variables on your code too, they may be erroneous sharing values between session. On Fri, Jan 8, 2010 at 10:00 AM, Pedro Santos pedros...@gmail.com wrote: If your servlet container bind an different session for your users requests, you get the problem described too. Only one

Re: Wicket session not threadsafe?

2010-01-08 Thread Martijn Dashorst
A wicket version number would be helpful... Martijn On Fri, Jan 8, 2010 at 12:17 PM, Soumya soumya_...@yahoo.co.in wrote: Hi all, I am fairly a newbie in wicket and would appreciate your help! I have a wicket application which are used on Live by more than 500 users. Now the problem which

Re: Wicket session not threadsafe?

2010-01-08 Thread allgo
Hi, The wicket version is 1.3. Sorry should have mentioned that. As such the User A, after he logs on is getting assigned the Account object of User B. And after soem logs we can see that User B had logged on a while before. Hence that Accoutn object was definitely fetched a whiel before. I did

Re: Wicket session not threadsafe?

2010-01-08 Thread Martijn Dashorst
1.3.0? Martijn On Fri, Jan 8, 2010 at 1:12 PM, allgo soumya_...@yahoo.co.in wrote: Hi, The wicket version is 1.3. Sorry should have mentioned that. As such the User A, after he logs on is getting assigned the Account object of User B. And after soem logs we can see that User B had logged

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
I created a simple example. Here is my html and java. Once I get a validation error my onSubmit is not called. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html head titleCurrent Page/title link

Re: how to clear validation error

2010-01-08 Thread Martijn Dashorst
Override Form#onError Martijn On Fri, Jan 8, 2010 at 1:16 PM, Chuck Brinkman chasb1...@gmail.com wrote: I created a simple example.  Here is my html and java.  Once I get a validation error my onSubmit is not called. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Re: Wicket session not threadsafe?

2010-01-08 Thread allgo
1.3.0-beta3 actually. Copied it from the Manifest file Martijn Dashorst wrote: 1.3.0? Martijn On Fri, Jan 8, 2010 at 1:12 PM, allgo soumya_...@yahoo.co.in wrote: Hi, The wicket version is 1.3. Sorry should have mentioned that. As such the User A, after he logs on is getting

Several entities and DataTable

2010-01-08 Thread Ivan Dudko
Hello! I am not using JPA and Spring. Write all with plain JDBC. I am write page which displays data with DataTable using SortableDataProvider. How i can display fields from another table (entity)? Wicket says that no get method found. Thank you!

Re: Wicket session not threadsafe?

2010-01-08 Thread Steve Swinsburg
The first thing to do would be to reproduce the issue in a dev environment, then try upgrading that environment to 1.3.7 and see if that solves the problem. There shouldn't be any API breaks in the 1.3 series so this should be a simple POM dependency version update. It might also be your

Re: Wicket session not threadsafe?

2010-01-08 Thread allgo
unfortunately it is extremely difficult to reproduce in dev. Have tried it a lot. but the issue seems to happen vaer rare in a multi-user env. Thing is though ti happens rarely... it is a client facing issue and data integrity as promised is challenged. Steve Swinsburg-3 wrote: The first

Re: Several entities and DataTable

2010-01-08 Thread Martin Makundi
Show your code. 2010/1/8 Ivan Dudko ivan.du...@gmail.com: Hello! I am not using JPA and Spring. Write all with plain JDBC. I am write page which displays data with DataTable using SortableDataProvider. How i can display fields from another table (entity)? Wicket says that no get method

Re: Wicket session not threadsafe?

2010-01-08 Thread Steve Swinsburg
Are there any issues reported in the Wicket JIRA [1] that affect the 1.3 series in this way? Can you just upgrade Wicket version to 1.3.7 to see if that resolves your issue? Then you can keep digging. [1] http://issues.apache.org/jira/browse/WICKET On 08/01/2010, at 11:40 PM, allgo wrote:

Re: Wicket session not threadsafe?

2010-01-08 Thread Martijn Dashorst
Seriously... *BETA*? upgrade and then come back if things are still wrong. Martijn On Fri, Jan 8, 2010 at 1:21 PM, allgo soumya_...@yahoo.co.in wrote: 1.3.0-beta3  actually. Copied it from the Manifest file Martijn Dashorst wrote: 1.3.0? Martijn On Fri, Jan 8, 2010 at 1:12 PM, allgo

RE: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-08 Thread Loritsch, Berin C.
It's bookmarked pages that avoid new page creation isn't it? -Original Message- From: Matej Knopp [mailto:matej.kn...@gmail.com] Sent: Thursday, January 07, 2010 3:55 PM To: users@wicket.apache.org Subject: Re: DiskPageStore file increasing to max size by only refreshing a HomePage

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Joseph Pachod
Ernesto Reinaldo Barreiro wrote: Do you mean this post? http://in.relation.to/Bloggers/HowToStartLearningJavaEE6 Ernesto On Fri, Jan 8, 2010 at 11:40 AM, Joseph Pachod j...@thomas-daily.de wrote: For example yes Gavin said so as well on others occasions (I kind of remember having read

RE: Wicket session not threadsafe?

2010-01-08 Thread Loritsch, Berin C.
The session object is bound to the HttpSession, so it is as safe as Tomcat or whatever servlet container is running your application. Here are some things to consider that have bit me in the butt, and have nothing to do with your local setup: * Is that happening locally in your test

Re: Wicket session not threadsafe?

2010-01-08 Thread allgo
ok will do. But just a question to the experts - have you heard of this issue before? I went through the links below http://old.nabble.com/Storing-user-entity-in-session--tt22113666.html#a22113666 http://old.nabble.com/Wicket-Session-and-threading-tt14595666.html#a14599963 and apparently

RE: Wicket session not threadsafe?

2010-01-08 Thread allgo
Hi Berin, No the users are all from different companies and no way there woudl be caching of their side. User A belongs to a client X say working in New York , while User B may be of client Y working in texas. It doesnt happen in test environment. but then that is not a multi-user environment

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread Martin Makundi
Someone should craft a very nice dilbert mashup for wicket ;) ** Martin 2010/1/8 Loritsch, Berin C. berin.lorit...@gd-ais.com: But why choose an inferior technology just because of its adoption numbers? The pointy haired bosses that do this believe in their heart of hearts that if you

Re: Wicket session not threadsafe?

2010-01-08 Thread Martijn Dashorst
There has been a session leak somewhere in 1.3 iirc. This has to do with the thread locals that store Session, RequestCycle and Application during a request not being removed correctly. Martijn On Fri, Jan 8, 2010 at 2:38 PM, allgo soumya_...@yahoo.co.in wrote: ok will do. But just a question

RE: Wicket session not threadsafe?

2010-01-08 Thread Loritsch, Berin C.
Essentially your response headers should have the following headers: Cache-Control: no-cache, no-store Pragma: no-cache For more details on HTTP response headers and cache controls see this page: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html Not all proxy servers are documented,

Google analytics on home page slowing down access

2010-01-08 Thread Loritsch, Berin C.
Just an FYI, the call to google-analytics on the Wicket home page is causing the site to crawl as I have to wait for the connection to time out before I see anything (at least 30s). That is because the call is in the header, and it should be placed at the bottom of the body section to avoid this

Re: Wicket session not threadsafe?

2010-01-08 Thread Martijn Dashorst
1.3.4 fixed this issue From the release notes [1]: * cross session leakage due to a dangling thread local in exceptional circumstances * memory leak in localizer (WICKET-1667) Martijn [1] http://wicket.apache.org/news.html#News-ApacheWicket1.3.4released%21 On Fri, Jan 8, 2010 at 2:56 PM,

Re: Wicket session not threadsafe?

2010-01-08 Thread Martijn Dashorst
the fix was a by-product of this issue: https://issues.apache.org/jira/browse/WICKET-1409 So yes, upgrading to 1.3.4 or newer will fix your issue. Go convince your management and tell them that it helps to keep up-to-date with open source products because we tend to fix things (at no cost for

Re: Wicket session not threadsafe?

2010-01-08 Thread allgo
Thanks a Ton Martijn and Berin! I will soon try an upgrade to 1.3.4 and try it out. Once again my sincere thanks to you all for your speedy help! Martijn Dashorst wrote: the fix was a by-product of this issue: https://issues.apache.org/jira/browse/WICKET-1409 So yes, upgrading to 1.3.4

RE: Help with Wicket Adoption Numbers

2010-01-08 Thread shetc
Leo, I actually persuaded my then pointy haired boss to go with Wicket by putting together a side-by-side comparison of techniques required for creating JSF, Struts and Wicket-based applications. It was obvious that the Wicket approach was just plain out cleaner, and would save money in

Re: Wicket session not threadsafe?

2010-01-08 Thread Martin Grigorov
On Fri, 2010-01-08 at 15:21 +0100, Martijn Dashorst wrote: the fix was a by-product of this issue: https://issues.apache.org/jira/browse/WICKET-1409 So yes, upgrading to 1.3.4 or newer will fix your issue. Go convince your management and tell them that it helps to keep up-to-date with

RE: Help with Wicket Adoption Numbers

2010-01-08 Thread Jeffrey Schneller
Lester, While I can't show actual numbers that speak to adoption rate, we struggled with the same question. In the end we decided that it made sense and in the past 5 months have developed and deployed a web application for one of our clients and are 1.5 months into development for another

RE: Help with Wicket Adoption Numbers

2010-01-08 Thread Corbin, James
Have you considered Google Web Toolkit (GWT)? J.D. -Original Message- From: Lester Chua [mailto:cicowic...@gmail.com] Sent: Thursday, January 07, 2010 5:44 PM To: users@wicket.apache.org Subject: Help with Wicket Adoption Numbers Hi, I am facing a hurdle that need crossing in my final

Re: Wicket session not threadsafe?

2010-01-08 Thread Stijn Maller
Why not upgrade to 1.3.7? AFAIK there shouldn't be any differences in API or functionality between 1.3.4 and 1.3.7, so you might as well benefit from the other bugfixes as well. It's only if you should decide to upgrade to the 1.4 releases, that you will have to do some coding. (And even that

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-08 Thread Johan Compagner
no just the opposite bookmarkable url will create a new page (which can be state full or stateless) On Fri, Jan 8, 2010 at 14:09, Loritsch, Berin C. berin.lorit...@gd-ais.comwrote: It's bookmarked pages that avoid new page creation isn't it? -Original Message- From: Matej Knopp

Handling NULL values in a DropDownChoice

2010-01-08 Thread Norman Elton
I'm using a DropDownChoice to select one of a number of items loaded from my DAO: DropDownChoiceAuditTrain train_drop_down = new DropDownChoiceAuditTrain(new-train, new_audit_train, new DetachableAuditTrainsModel(this.train_dao.getList())); This works fine. But my the property I'm setting is

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
Thanks for your help but I don't understand. I even got the source code for http://www.wicket-library.com/wicket-examples/signin/?wicket:bookmarkablePage=:org.apache.wicket.examples.signin.SignInand when I run this in my environment I have the same issue I have with my code. Once I get a

Re: Wicket and Spring - mocking a particular bean when Wicket is in development mode?

2010-01-08 Thread Stijn Maller
I assume you're actually talking about stubbing rather then mocking. Mock frameworks belong more in unit testing then in integration testing. If you are in fact talking about stubs then Ilja is right, just use a different applicationContext to inject the stubbed version of your validation service.

Re: Wicket and Spring - mocking a particular bean when Wicket is in development mode?

2010-01-08 Thread Stijn Maller
Hmmm, I seem to have inserted that Hi Liam in entirely wrong place! Hope it doesn't distract you from the content of the message though ;o) 2010/1/8 Stijn Maller stijn.mal...@gmail.com I assume you're actually talking about stubbing rather then mocking. Mock frameworks belong more in unit

autologin redirect for https cookie and go back

2010-01-08 Thread Istvan Soos
Hi, I'd like to create automatic login with the following setup: - The auto-login key is stored in a secure cookie issued only over https. - I have created a separate page for this, it can read (a do authentication) or update the cookie (on form login), and it is sending the cookie only over

Re: Handling NULL values in a DropDownChoice

2010-01-08 Thread Stijn Maller
http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/form/AbstractSingleSelectChoice.html#setNullValid%28boolean%29 Kind regards, Stijn 2010/1/8 Norman Elton normel...@gmail.com I'm using a DropDownChoice to select one of a number of items loaded from my DAO:

Avoid folder image in Tree table

2010-01-08 Thread sakthi vel
Hello, Could anyone explain, how to avoid the folder image in the tree table?

Re: autologin redirect for https cookie and go back

2010-01-08 Thread Istvan Soos
It seems that I've buried myself too deep in the world of bookmarkable pages that I've forgotten the basics of http. Oh dear, such a simple answer, it must be Friday... :) Thanks, Istvan On Fri, Jan 8, 2010 at 5:30 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: but you do have the original

[whishlist] JS libraries

2010-01-08 Thread nino martinez wael
Hi This is a whishlist for js that should be integrated with wicket but arent.. So please go ahead and whish, I just might do an integration if it's something I need aswell :) regards Nino - To unsubscribe, e-mail:

component xxx:yyy:zzz not found on page

2010-01-08 Thread Douglas Ferguson
Our application periodically gets these errors, where wicket say the component could not be found. Take this example. 1) There is a delete link on the page. 2) The user clicks the delete button 3) They get the delete button component not found error. The intriguing part is that the item is

Re: [whishlist] JS libraries

2010-01-08 Thread John Armstrong
I wish for the ExtJS integration to be more full-featured. The base is there and seems to be extensible but there are a lot of details missing (editable grids, row-editors etc). We started looking at it for a project but in the end moving the Wicket extjs project forward at the same time as our

Re: [announce] Wicket Stuff Core - JavaEE Inject

2010-01-08 Thread Major Péter
Hi, 2010-01-08 12:38 keltezéssel, 谢非 írta: 1. Each EJB must be declared in web.xml In the example I'm not doing so, and it's still working under GF, but if you love to write XML files, then nothing stops you, to declare your EJBs in web.xml and use their names in the annotation. 2.

Re: component xxx:yyy:zzz not found on page

2010-01-08 Thread nino martinez wael
I your site is slow and the user manages to click the delete twice i could happen (I can see you write that too).. Put a veil over the button when it's clicked so the user cant click it twice.. 2010/1/8 Douglas Ferguson doug...@douglasferguson.us: Our application periodically gets these errors,

Inject object to Wicket session by Servlet Filter , but : you can only locate or create sessions in the context of a request cycle

2010-01-08 Thread smallufo
Hi all : I'm trying to inject something to the Wicket Session by a Generic Servlet Filter : public class UserFilter implements Filter { private UserDao UserDao; @Override public void init(FilterConfig config) throws ServletException { WebApplicationContext wac =

Re: [whishlist] JS libraries

2010-01-08 Thread Marek Šabo
Maybe some form validation library would come handy as it would save roundtrips for explicit things like empty form fields etc. Regards, Marek nino martinez wael wrote: Hi This is a whishlist for js that should be integrated with wicket but arent.. So please go ahead and whish, I just might

Re: [whishlist] JS libraries

2010-01-08 Thread Ralf Eichinger
YUI library, especially DataGrid and SplitPanes... nino martinez wael wrote: Hi This is a whishlist for js that should be integrated with wicket but arent.. So please go ahead and whish, I just might do an integration if it's something I need aswell :) regards Nino

sort palette choices

2010-01-08 Thread wic...@geofflancaster.com
is it possible to sort the list of choices in a palette when an item is added or removed from the list of selected choices? a code snippet would be great if anyone can help me out. mail2web.com – Enhanced email for the mobile

Re: WARN BorderBodyResolver

2010-01-08 Thread Igor Vaynberg
if you do this border.html wicket:border div wicket:id=foo wicket:body/ /div /wicket:border notice that the body is inside foo but you add children as border.add(bar) so you are creating a mismatch. you need to reparent the wicket:body tag. the wicket:body is represented by the getbodycontainer,

Re: Google analytics on home page slowing down access

2010-01-08 Thread Ryan Gravener
Yea, that code should be at the bottom of the page. Ryan Gravener http://bit.ly/no_word_docs On Fri, Jan 8, 2010 at 9:06 AM, Loritsch, Berin C. berin.lorit...@gd-ais.com wrote: Just an FYI, the call to google-analytics on the Wicket home page is causing the site to crawl as I have to wait

Re: [whishlist] JS libraries

2010-01-08 Thread nino martinez wael
I belive there is somethat does this.. https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/client-and-server-validation/pom.xml . So Guys please check wicketstuff, sourceforge and googlecode so we dont duplicate projects.. If it's a imature project, no problem for

Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-08 Thread Piotr Tarsa
Hello, I've tried virtually everything. I'm looking for someone who has experience with GAEJ. Running site is at: http://data-compression.appspot.com/ Source code (need wicket-guice): http://code.google.com/p/data-compression/ Page address:

Re: Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-08 Thread Igor Vaynberg
it usually helps to describe the problem but out of curiousity is this applicable? http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ -igor On Fri, Jan 8, 2010 at 2:42 PM, Piotr Tarsa piotr.ta...@gmail.com wrote: Hello, I've tried virtually everything. I'm looking

Re: Serious problem with swapping two items in a list (GAEJ/ JDO)

2010-01-08 Thread Piotr Tarsa
I want to swap two elements in a ListView. The problem is that I want to persist all changes on every request (with validation etc). List should be ordered by a special field (I called it position). I've taken various different approaches, always used ListView as a basis, not RepeatingView. I had

Ajax editable image @L

2010-01-08 Thread Alec Swan
I am using Wicket to implement an image component which behaves similarly to AjaxEditableLabel. When the component is rendered it should look like a regular image img src=../. When the user clicks on the image, it should display a file upload component which will allow the user to replace the

Re: [whishlist] JS libraries

2010-01-08 Thread Cemal Bayramoglu
Ernesto, jqGrid is indeed a handy component to be able to pull out of the toolbox and seems to be evolving nicely. In fact we have been integrating/using it with Wicket as part of our work on WiQuery [1], mainly for use on our own products/RD but possibly for client projects later, once we're

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
I got the code for wicket 1.4.5 and stepped through to see what is causing the problem. Form.anyFormComponentError checks all the components on the form to see if 1) input is required and 2) is an error message exists for the component. It appears to me that once a message is set that it is

Re: how to clear validation error

2010-01-08 Thread Chuck Brinkman
The messages are kept in WebSession and WebSession has cleanupFeedbackMessages() but this is never called. Got it. The session I created had a empty cleanupFeedbackMessages() method. Thanks for reading along. On Fri, Jan 8, 2010 at 9:48 PM, Chuck Brinkman chasb1...@gmail.com wrote: I got the

Re: Wicket and Spring - mocking a particular bean when Wicket is in development mode?

2010-01-08 Thread Kent Tong
Liam Clarke-Hutchinson-3 wrote: how can I provide this bean instead of the real bean, based on the value of WebApplication.getConfigurationType()? Take a look at http://wicketpagetest.sourceforge.net. Even though it was designed to support unit testing in mind, there is no reason why it

Re: Help with Wicket Adoption Numbers

2010-01-08 Thread bht
Hi Lester, If you think your boss will not accept the benefits, then why not show him the risk of sticking with a technology (Struts) that is in decline? Then suddenly he shoulders the burden of making the desision of taking ownership of a sinking ship. Regards Bernard On Fri, 08 Jan 2010