yes, that is what i was going to suggest as well.
from the stack trace in the orig email it looks like your submit button's
isvisible() doesnt work quiet right.
it returns true when the form renders, but returns false _while_ the form is
being processed, so wicket thinks that you somehow pressed a button that
wasnt rendererd - since it expects that value to be consistent between
rendering and submitting.
-igor
On 6/20/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote:
On Wed, 20 Jun 2007, Seldon, Richard wrote:
> Thanks for response igor. In answer to your question, yes we've
overridden
> isVisible to be of form :-
>
> public boolean isVisible() {
>
> return getXXX() != null;
>
> }
isVisible() can be called several times during the request
cycle. One optimization (?) that you could try would be to
leave isVisible without overriding and do
@Override
public void onBeforeRender() {
setVisible(getXXX() != null);
super.onBeforeRender();
}
instead.
It's hard to say if this would affect your case, it would be
interesting to understand better why your issue only occurs
in load testing. Could it be an issue of state being
shared incorrectly between concurrent requests? Do your
load test users have separate HTTP sessions?
- Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user