Re: stream content with an IndicatingAjaxLink

2008-05-19 Thread renaud.houver
Ok, thanks. Are you streaming the photo directly to the output stream of the request that came in from clicking the link? Yes I am ... but it does not work. Apparently no one is doing that, so it is not the way to do it. I try with the normal link and and some kind of javascript then ... Regar

Re: ListItem queries

2008-05-19 Thread Timo Rantalaiho
On Mon, 19 May 2008, Ned Collyer wrote: > How would I go about getting the first panel added? Use a visitor, something like featuresList.visitChildren(MyPanel.class, new IVisitor() { public visit(Component component) { doStuffWith((MyPanel) component); return STOP_TRAVERSAL;

Re: ListItem queries

2008-05-19 Thread Ned Collyer
Sorry, line 1 should be - 1/ It needs to be declared final if its used inside the anonymous class. Ned Collyer wrote: > > 1/ MyPanel needs to use it inside the anonymous class. > 2/ if its final, you cant reassign it. > 3/ if i remove a panel from the list (using something like > MyPanel.remove

Re: ListItem queries

2008-05-19 Thread Ned Collyer
1/ MyPanel needs to use it inside the anonymous class. 2/ if its final, you cant reassign it. 3/ if i remove a panel from the list (using something like MyPanel.remove()) then its not set to the correct panel. Doesn't quite work - a bit more complicated than u'd first expect. Scott Swank wrot

RE: Thread safety for components

2008-05-19 Thread Brill Pappin
Right... I think I'd just invert that, so that the "page" asked for the stateful data when needed. - Brill Pappin -Original Message- From: Michael Allan [mailto:[EMAIL PROTECTED] Sent: Sunday, May 18, 2008 9:41 PM To: users@wicket.apache.org Subject: Re: Thread safety for components Br

Re: ListItem queries

2008-05-19 Thread Scott Swank
MyPanel firstPanel = null; ListView featuresList = new ListView("listView", myList) { protected void populateItem(ListItem item) { MyPanel panel = new MyPanel("panel", item.getModelObject())); if (firstPanel == null) firstPanel = panel; item.add(panel); } }.setReuseItems(true)

ListItem queries

2008-05-19 Thread Ned Collyer
Hi, I need to get access to the first panel added to a list item in onBeforeRender from its parent. I have the following ListView featuresList = new ListView("listView", myList) { protected void populateItem(ListItem item) { MyPanel panel = new MyPanel("panel", item.getModelObject()

Re: stream content with an IndicatingAjaxLink

2008-05-19 Thread Timo Rantalaiho
On Mon, 19 May 2008, renaud.houver wrote: > I have a download picture link which take a bit of time. Result is that the > user is impatiently clicking several time. I would like to have a kind of > timer showing process and I tried to use IndicatingAjaxLink which does the > job. But I cant find out

Re: Encoding problem when deploying on production server

2008-05-19 Thread Timo Rantalaiho
On Mon, 19 May 2008, Piller Sébastien wrote: > I have a problem with the encoding of some text, on my deployment server > (Unix/Linux). I use wicket to generate the body of emails, with this code: ... > But on the production server, it seems that the email is converted to > ISO8859-1 (and special

Re: Thread safety for components

2008-05-19 Thread Michael Allan
Johan Compagner wrote: > yes in a clustered environment you have multiply instances of the > Application > because there are more instances of the WicketServlet. > And Application/Servlet context stuff are not replicated Thanks Johan, I've documented Wicket's thread safety (as I understand it) usi

Re: Problem with Wicket and MySQL

2008-05-19 Thread James Carman
On Mon, May 19, 2008 at 9:03 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Okay, I'm not sure how you've set up the project, but I remember that > you sometimes had to copy the JDBC driver into the tomcat lib directory. > Haven't touched tomcat in a while, but there are project specific libs > an

RE: Problem with Wicket and MySQL

2008-05-19 Thread Michael Mehrle
I'm pretty sure putting the jar into Tomcat's container lib dir will fix his problem. -Original Message- From: Eelco Hillenius [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 6:07 PM To: users@wicket.apache.org Subject: Re: Problem with Wicket and MySQL > and i have made sure i have

Re: Problem with Wicket and MySQL

2008-05-19 Thread Bogdan Mihai
Thanks for the advice, I will try to consolidate my database programming skills very fast. BTW, i have managed to solve the problem, by relating the tomcat libs with the JDBC driver. Thanks everyone for your time. On Tue, May 20, 2008 at 4:07 AM, Eelco Hillenius <[EMAIL PROTECTED]> wrote: >> and i

Re: Problem with Wicket and MySQL

2008-05-19 Thread Eelco Hillenius
> and i have made sure i have this jar > "mysql-connector-java-5.1.6-bin.jar" to my buid path... but the > problem goes on... Build path != runtime path. Make sure the jar is in your runtime path as well. FWIW, never ever write such code for a production application because you'll run into scalab

RE: Problem with Wicket and MySQL

2008-05-19 Thread Michael Mehrle
Okay, I'm not sure how you've set up the project, but I remember that you sometimes had to copy the JDBC driver into the tomcat lib directory. Haven't touched tomcat in a while, but there are project specific libs and container specific ones - if you put it in the container lib dir you'll avoid the

Re: Problem with Wicket and MySQL

2008-05-19 Thread Bogdan Mihai
I am using Eclipse 3.3 with the last version of JDK On Tue, May 20, 2008 at 3:58 AM, Michael Mehrle <[EMAIL PROTECTED]> wrote: > Are you running this out of your IDE or with maven? > > -Original Message- > From: Bogdan Mihai [mailto:[EMAIL PROTECTED] > Sent: Monday, May 19, 2008 5:53 PM >

RE: Problem with Wicket and MySQL

2008-05-19 Thread Michael Mehrle
Are you running this out of your IDE or with maven? -Original Message- From: Bogdan Mihai [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008 5:53 PM To: users@wicket.apache.org Subject: Re: Problem with Wicket and MySQL Hello, this are my imports: import java.util.ArrayList; import j

Re: Problem with Wicket and MySQL

2008-05-19 Thread Bogdan Mihai
Hello, this are my imports: import java.util.ArrayList; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; import com.mysql.jdbc.Connection; import com.mysql.jdbc.Driver; import com.mysql.jdbc.Statement; and i have made sure i have this jar "mysql-connector-

RE: Problem with Wicket and MySQL

2008-05-19 Thread Michael Mehrle
You need to download the MYSQL JDBC driver and put it in your classpath. That'll fix it. The code is trying to load the JDBC driver 'by name' - since it's not there it can't find it. Michael -Original Message- From: Mihai Bogdan Eugen [mailto:[EMAIL PROTECTED] Sent: Monday, May 19, 2008

Problem with Wicket and MySQL

2008-05-19 Thread Mihai Bogdan Eugen
Hello, First of all, I am kind of new with this Wicket, actually, I am using it for only a couple of days. Secondly, I don't even know if I post this in the right place, so I appologize if I had made such a mistake. Now, the problem that made write this post: I am working on a small JAVA + MySQ

[Problem with Wicket and MySQL]

2008-05-19 Thread Bogdan Mihai
Hello, First of all, I am kind of new with this Wicket, actually, I am using it for only a couple of days. Secondly, I don't even know if I post this in the right place, so I appologize if I had made such a mistake. Now, the problem that made write this post: I am working on a small JAVA + MySQL

Strange problem cancelling out of a modal

2008-05-19 Thread Michael Mehrle
I've got a strange problem cancelling out of a modal. Unless I make selections on all my form components inside that modal, it just won't close. Debugger shows that the cancel button's onSubmit() method doesn't even get called, unless I fill out all the fields and select all the radios. The AJAX pa

Re: AjaxButton without a Form

2008-05-19 Thread mnwicket
That is an option, but would rather use; I have styles around my input buttons that I want to reuse. I'm sure I can create my own custom component, but thought someone has probably done it or has a good way around it. Mathias P.W Nilsson wrote: > > Are you talking about an input type butto

Re: AjaxButton without a Form

2008-05-19 Thread Mathias P.W Nilsson
Are you talking about an input type button? Couldn't you just use add( new AjaxLink( "closeLink" ){ public void onClick( AjaxRequestTarget target ){ // close the modal window } } ); Markup ../path/to/link -- View this message in context: http://www.nabble.com/AjaxButton-withou

Contribution for Wicket

2008-05-19 Thread Mathias P.W Nilsson
Hi! I was wondering how I could make a contribution for wicket. I'm not talking about a code contribution but rather a small money contribution. I have got a lot of help here on this forum and in fact I don't think I have ever experienced this kind of help elsewhere! -- View this message in co

AjaxButton without a Form

2008-05-19 Thread mnwicket
Is there a good way to create a button, say AjaxButton that does depend on a form? Basically I just want to create my own button with in the content of a modal window to close it. -- View this message in context: http://www.nabble.com/AjaxButton-without-a-Form-tp17330924p17330924.html Sent from

Re: Controlling PagingNavigation

2008-05-19 Thread Mathias P.W Nilsson
Thanks again Igor. -- View this message in context: http://www.nabble.com/Controlling-PagingNavigation-tp17290391p17330923.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: Controlling PagingNavigation

2008-05-19 Thread Igor Vaynberg
why is this so hard? class mypagingnavigator extends pagingnavigator { protected Link newPagingNavigationIncrementLink(... final pageable, final increment { return new PagingNavigationIncrementLink(id, pageable, increment) { isvisible() { if (increment==-1) {

Re: Controlling PagingNavigation

2008-05-19 Thread Mathias P.W Nilsson
I still can't find a way to hide the prev and/or the next on a certain condition. If the first page is showed I want to hide the prev. And if there are no more pages I want to hide the next. Anyone that has done this? -- View this message in context: http://www.nabble.com/Controlling-PagingNavi

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread Mathias P.W Nilsson
I think a good practice is to always take care of null objects and list your self. You never know when or if the implementation might change. -- View this message in context: http://www.nabble.com/IndexOutOfBoundException-and-PropertyModel-tp17315359p17330046.html Sent from the Wicket - User ma

Re: Very annoing error

2008-05-19 Thread Mathias P.W Nilsson
I solved this using a modal window instead of a popup window. Still don't know what was wrong! -- View this message in context: http://www.nabble.com/Very-annoing-error-tp17323755p17330023.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: OK, more JPA questions

2008-05-19 Thread Igor Vaynberg
On Mon, May 19, 2008 at 12:04 PM, David Nedrow <[EMAIL PROTECTED]> wrote: > First, thanks for the help. Item 1 implemented via @SpringBean(name = > "blah"). ;) > > On May 16, 2008, at 3:31 PM, Igor Vaynberg wrote: > >> there are basically two things that you need no matter what web >> framework

Re: OK, more JPA questions

2008-05-19 Thread David Nedrow
First, thanks for the help. Item 1 implemented via @SpringBean(name = "blah"). ;) On May 16, 2008, at 3:31 PM, Igor Vaynberg wrote: there are basically two things that you need no matter what web framework you are integrating with: 1) a way to lookup your dao singleton wicket-ioc allows

Set request in WicketTester

2008-05-19 Thread nate roe
I'm using Wicket 1.2. I'm using WicketTester, but my Page requires certain request headers. What is the appropriate way to add headers to the MockHttpServletRequest (via addHeaders(...) I assume) before the Page is rendered? I tried: tester.getServletRequest().addHeader("host", "www.myho

Re: [inmethod-grid] javascript error closing modal window containing grid

2008-05-19 Thread ChuckDeal
Nope, that didn't help. I did identify another use case. When the grid is hidden via javascript, the error is thrown as well. I have attached another quickstart with this additional scenario. I believe that the modal window is probably doing something similar when closing thus triggering this

Very annoing error

2008-05-19 Thread Mathias P.W Nilsson
I know this code is a little long. My problem is that if the popupwindow get called twice then all the data is null afterwards. public class StorePage extends BaseAdministrationPage { private Brand brand; private Store store; private BrandTranslation brandTransla

Re: Form models not populated when using FileUploadField and "multipart/form-data" .. ?

2008-05-19 Thread Matthew Young
>I'd forgotten that this was required on multipart forms: >f.setMultiPart(true); Odd, I didn't call .setMultiPart(true); and I have no problem at all. On Mon, May 19, 2008 at 6:24 AM, Joel Halbert <[EMAIL PROTECTED]> wrote: > I am an idiot. > I'd forgotten that this was required on multipart fo

Re: [JUG] Advanced Wicket - Cincinnati, OH (tonight)

2008-05-19 Thread James Carman
Well, I don't really have slides. I'm doing more of a code "walkthrough". Here's the example code, though: http://svn.carmanconsulting.com/public/wicket-advanced/trunk I'm basically stepping through user stories, creating a site for managing a martial arts school. I need to get those IDEA file

Re: ReloadingWicketFilter for Classes in a referenced project?

2008-05-19 Thread Eelco Hillenius
> i'm trying to create a ReloadingWicketFilter. I've tried a lot especially > reading (WICKET-685) ReloadingWicketFilter not working with markup > inheritance ( > http://www.mail-archive.com/[EMAIL PROTECTED]/msg01938.html) but > nothing worked for me. I think a better way to go is to use JavaRebe

Re: New wicket site and wiki post

2008-05-19 Thread Jonathan Locke
I think there is beer after work all three weeks... Jonathan Locke wrote: > > June 1 through June 21 > Think there may be a meet up the second week > > > Johan Compagner wrote: >> >> you should be in Switzerland in june :) >> >> I will be in Swi from 7 - 14 june. >> When are you in holland

Re: New wicket site and wiki post

2008-05-19 Thread Jonathan Locke
June 1 through June 21 Think there may be a meet up the second week Johan Compagner wrote: > > you should be in Switzerland in june :) > > I will be in Swi from 7 - 14 june. > When are you in holland? > > On Mon, May 19, 2008 at 5:48 PM, Jonathan Locke <[EMAIL PROTECTED]> > wrote: > >> >> Ve

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
I agree with you, my problem is on the fact that Wicket seems to me inconsistent because of the 2 behaviors: if I have the IOOBE I should have the NPE. Wouter Huijnink wrote: > > > Yes, you are wrong. It's bad practice to refer to a location in a list > if you're not sure the entry exists. Wi

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
Well, i'm just doing A a; But I put a trace on the getA() and a is really null. Can you make a try ? Mathias P.W Nilsson wrote: > > I don't know if I got it right. Is the A null? Are you just doing A a; or > A a = null; ? > > If you do this I don't understand why you don't get an exception. T

Re: [JUG] Advanced Wicket - Cincinnati, OH (tonight)

2008-05-19 Thread Jonathan Locke
if you get a chance, upload the slide deck to slideshare.com or better yet, make a video. I am sure we're all interested. jwcarman wrote: > > All, > > If anyone is in the Cincinnati, OH area, I'm giving an "Advanced > Wicket" talk tonight at our Cincinnati Java Users Group > (www.cinjug.org) m

Re: New wicket site and wiki post

2008-05-19 Thread Johan Compagner
you should be in Switzerland in june :) I will be in Swi from 7 - 14 june. When are you in holland? On Mon, May 19, 2008 at 5:48 PM, Jonathan Locke <[EMAIL PROTECTED]> wrote: > > Very cool! I will be in the Netherlands in June. > People tell me they are crazy for football there. > People paintin

Re: New wicket site and wiki post

2008-05-19 Thread Jonathan Locke
Very cool! I will be in the Netherlands in June. People tell me they are crazy for football there. People painting themselves orange and such. And thanks for the SEO article. Michael Sparer wrote: > > http://isport.eu is a simple but hopefully useful website for people like > me who spend sever

Re: [JUG] Advanced Wicket - Cincinnati, OH (tonight)

2008-05-19 Thread Johan Compagner
love to come, but i think i just just cant make it even i i start moving now :( On Mon, May 19, 2008 at 4:18 PM, James Carman <[EMAIL PROTECTED]> wrote: > All, > > If anyone is in the Cincinnati, OH area, I'm giving an "Advanced > Wicket" talk tonight at our Cincinnati Java Users Group > (www.cin

Re: Automatic sign-on using HTTP headers

2008-05-19 Thread Maurice Marrink
You could take a look at http://wicketstuff.org/wicketsecurity/basichttp/ It does the same with standard http headers. Source http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-security/examples/all_in_one/src/main/java/org/apache/wicket/security/examples/httplogin/basic alt

Re: DataTable, Form and Firefox

2008-05-19 Thread Igor Vaynberg
code snippets usually help us help you -igor On Mon, May 19, 2008 at 6:36 AM, Flowen <[EMAIL PROTECTED]> wrote: > > Hi all, > > I've got a problem with Firefox when using a DefaultDataTable inside a form. > I added a button to submit the form in a customized AbstractColumn. On the > first pag

Re: Automatic sign-on using HTTP headers

2008-05-19 Thread Igor Vaynberg
On Mon, May 19, 2008 at 6:08 AM, Lauri Lehtinen <[EMAIL PROTECTED]> wrote: > Hello - > > I am in the process of porting a Struts application into Wicket, and would > appreciate some insights regarding an upcoming task: > > I need to implement automatic sign-on based on the value of a custom HTTP >

Re: Form validation when using custom onSubmit()

2008-05-19 Thread Igor Vaynberg
why did you call in the first place. that method does exactly what it sounds like, which is turn off the default form processing. -igor On Mon, May 19, 2008 at 4:00 AM, Blackbird <[EMAIL PROTECTED]> wrote: > > I had to remove ".setDefaultFormProcessing(false)" to make the validation > work > > --

Re: .properties files question

2008-05-19 Thread Igor Vaynberg
component.getstring(key) -igor On Mon, May 19, 2008 at 6:52 AM, Blackbird <[EMAIL PROTECTED]> wrote: > > My question isn't about i18n. > Wicket has its own very nice system of properties (MyApplication.properties, > MyWebPage.properties) which makes it so easy to get when one writes his HTML > fi

Re: .properties files question

2008-05-19 Thread James Carman
Have a look at the java.util.ResourceBundle class (which is essentially what Wicket uses). On Mon, May 19, 2008 at 9:52 AM, Blackbird <[EMAIL PROTECTED]> wrote: > > My question isn't about i18n. > Wicket has its own very nice system of properties (MyApplication.properties, > MyWebPage.properties)

[JUG] Advanced Wicket - Cincinnati, OH (tonight)

2008-05-19 Thread James Carman
All, If anyone is in the Cincinnati, OH area, I'm giving an "Advanced Wicket" talk tonight at our Cincinnati Java Users Group (www.cinjug.org) meeting tonight. Meeting information (when, where, etc.) is on our website. Hope to see you there (membership is free and we usually have pizza)! James

RE: Wicket java.lang.IllegalAccessError bug?

2008-05-19 Thread Zappaterrini, Larry
I can't get the ternary statement you provided to compile correctly using 1.4-M1. The error I get is: The type AbstractChoice is not visible Due to the fact that the common ancestor for ListMultipleChoice and ListChoice is the inaccessible package protected object AbstractChoice. This is

Re: .properties files question

2008-05-19 Thread Blackbird
My question isn't about i18n. Wicket has its own very nice system of properties (MyApplication.properties, MyWebPage.properties) which makes it so easy to get when one writes his HTML files. Can we ask wicket to get the value from a key in a java class just as easily? I don't want to specify the

stream content with an IndicatingAjaxLink

2008-05-19 Thread renaud.houver
I have a download picture link which take a bit of time. Result is that the user is impatiently clicking several time. I would like to have a kind of timer showing process and I tried to use IndicatingAjaxLink which does the job. But I cant find out to stream to the outputstream with an ajax link.

DataTable, Form and Firefox

2008-05-19 Thread Flowen
Hi all, I've got a problem with Firefox when using a DefaultDataTable inside a form. I added a button to submit the form in a customized AbstractColumn. On the first page, every button works fine. But if I use the navigation toolbar to go to another page (page 2 for example) nothing happen when

Re: Form models not populated when using FileUploadField and "multipart/form-data" .. ?

2008-05-19 Thread Joel Halbert
I am an idiot. I'd forgotten that this was required on multipart forms: f.setMultiPart(true); (hanging head in shame) -- From: "Joel Halbert" <[EMAIL PROTECTED]> Sent: Monday, May 19, 2008 2:10 PM To: Subject: Re: Forn models not populated when us

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread Mathias P.W Nilsson
I don't know if I got it right. Is the A null? Are you just doing A a; or A a = null; ? If you do this I don't understand why you don't get an exception. The PropertyModel extends AbstractPropertyModel and when setting the property model it does a super. In the AbstractPropertyModel it checks if

New wicket site and wiki post

2008-05-19 Thread Michael Sparer
http://isport.eu is a simple but hopefully useful website for people like me who spend several hours a week to get the latest football (American readers: feel free to replace the word 'football' with 'soccer') news from the major European leagues. See the Blog-Post (http://talk-on-tech.blogspot.co

Re: Forn models not populated when using FileUploadField and "multipart/form-data" .. ?

2008-05-19 Thread Joel Halbert
I've identified that in the cases where this is working the request type Wicket creates to handle the form submission is a "MultipartServletWebRequest", and in those where it is not the request type is a standard "ServletWebRequest". The form markup on both pages looks the same Form that

Automatic sign-on using HTTP headers

2008-05-19 Thread Lauri Lehtinen
Hello - I am in the process of porting a Struts application into Wicket, and would appreciate some insights regarding an upcoming task: I need to implement automatic sign-on based on the value of a custom HTTP header in the request, if the request is coming from a specific IP range. For th

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread Wouter Huijnink
What I meant in my first post, is since I don't get a NPE in that case, I was thinking that Wicket shouldn't throw a IOOBE in the case of an inexisting position in my List: according to me Wicket should handle it. Am i wrong ? Yes, you are wrong. It's bad practice to refer to a location in

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
Well, if the person is null I don't get a NPE (to check, I took a wicket page, added an attribute A to it, displayed A.B with a Label + PropertyModel, but never setted the attribute A => I never got the NPE) What I meant in my first post, is since I don't get a NPE in that case, I was thinking th

Forn models not populated when using FileUploadField and "multipart/form-data" .. ?

2008-05-19 Thread Joel Halbert
Hi, I'm experiencing a problem on a form whereby if I include a "FileUploadField" in the form, causing the form encoding type to become "multipart/form-data", none of the model objects from other fields on the form are correctly populated when the form is submitted. Oddly enough we do have othe

session expired while modal window is opened

2008-05-19 Thread Milan Křápek
Hi, I encountered this problem while I was testing my web application. In my aplication I have Modal window with some form. I have opened this window and wait 30 min to let the session expired When the session expired I try to close the Modal window but nothing happens. I cannot do anythink. I

Re: IndexOutOfBoundException and PropertyModel

2008-05-19 Thread Mathias P.W Nilsson
The person.name check getPerson().setName() , getName(). If the person is null you will get a nullpointer. If you do get( 0 ) on a list and the null doens't exists then you will get a IndexOutOfBoundException. Just try with a normal list and an object. The list is probably initialized like with

Encoding problem when deploying on production server

2008-05-19 Thread Piller Sébastien
Hello guys, I have a problem with the encoding of some text, on my deployment server (Unix/Linux). I use wicket to generate the body of emails, with this code: StringResponse stringResponse = new StringResponse(); Response originalResponse = RequestCycle.get().getResponse(); try {

Re: Form validation when using custom onSubmit()

2008-05-19 Thread Blackbird
I had to remove ".setDefaultFormProcessing(false)" to make the validation work -- View this message in context: http://www.nabble.com/Form-validation-when-using-custom-onSubmit%28%29-tp17315177p17316629.html Sent from the Wicket - User mailing list archive at Nabble.com. -

IndexOutOfBoundException and PropertyModel

2008-05-19 Thread guillaume.mary
Hi all, I'm wondering why the PropertyModel sends an IndexOutOfBoundException when I use an expression such as "myList.0.name" and that the 0 element doesn't exist, whereas it doesn't sends a NullPointerException when I user "person.name" with a null person. Is it a wanted behavior or not (or a

Re: Form validation when using custom onSubmit()

2008-05-19 Thread Mathias P.W Nilsson
Take a look at this link and see if it helps http://javathoughts.capesugarbird.com/2007/06/changing-wickets-default-form.html http://javathoughts.capesugarbird.com/2007/06/changing-wickets-default-form.html -- View this message in context: http://www.nabble.com/Form-validation-when-using-cust

Form validation when using custom onSubmit()

2008-05-19 Thread Blackbird
Hi, I have a page with several validation constraints : Required, NumberValidator.minimum(...), ... and a FeedBackPanel to display corresponding error messages. When not overriding the default submission method, the validation works perfectly and the error messages are displayed upon submission on

Re: Account Activation Email generation and response processing: any design example?

2008-05-19 Thread Sam Stainsby
You must be either storing the hash, or the data that you are hashing to regenerate the hash. On Mon, 19 May 2008 08:40:36 +0300, Martin Makundi wrote: > If you use hash you do not need to store the "random" part into the db. > Saves you some persistence trouble. > > 2008/5/19 Michael Allan <[E

Re: Thread safety for components

2008-05-19 Thread Johan Compagner
yes in a clustered environment you have multiply instances of the Application because there are more instances of the WicketServlet. And Application/Servlet context stuff are not replicated johan On Mon, May 19, 2008 at 3:41 AM, Michael Allan <[EMAIL PROTECTED]> wrote: > Brill Pappin wrote: > >

Re: Page pooling (for stateless pages)

2008-05-19 Thread Joel Halbert
In our use case all the pages are stateless, but they are by no means static. We have in fact designed the entire site to use stateless pages, again for scalability; but every single page is also dynamic. I would like to produce and share some metrics from the JVM around object allocation and c

Re: State of 1.4-m1

2008-05-19 Thread Johan Compagner
M2 will be there anyday now. I guess that M3 will follow M2 in about 3,4 weeks and hopefully we can release 1.4 a few short weeks (2) after that. On 5/19/08, Ned Collyer <[EMAIL PROTECTED]> wrote: > > I'm just curious as to an approximate release schedule for 1.4 getting out > of > its milestone r