Re: any idea where this error comes from?

2011-12-20 Thread Gabriel Landon
I usually have this kind of error when the user use the browser's back button
and then reused the form.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/any-idea-where-this-error-comes-from-tp4217040p4218803.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: any idea where this error comes from?

2011-12-20 Thread cosmindumy
Yes, definitely. 
But this is not the cause, as this error doesn't occur each time I hide/show
this container. Actually I couldn't reproduce on my dev machine. I don't
know when this error occurs in order to find the cause. 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/any-idea-where-this-error-comes-from-tp4217040p4217192.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: any idea where this error comes from?

2011-12-20 Thread Andrea Del Bene

On 20/12/11 09:38, cosmindumy wrote:

Hi,
I've got an error on production server and I cannot reproduce on my
development machine. The error says :
woUploadFilesContainer:calculateButton
(path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible
org.apache.wicket.WicketRuntimeException: Submit Button
stepTwoUploadFilesContainer:calculateButton
(path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible

Which can be the cause? The submit button is never hidden, but the container
that holds it.


But if you hide container  you hide also its children components, right?



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



any idea where this error comes from?

2011-12-20 Thread cosmindumy
Hi,
I've got an error on production server and I cannot reproduce on my
development machine. The error says :
woUploadFilesContainer:calculateButton
(path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible
org.apache.wicket.WicketRuntimeException: Submit Button
stepTwoUploadFilesContainer:calculateButton
(path=inputForm:stepTwoUploadFilesContainer:calculateButton) is not visible

Which can be the cause? The submit button is never hidden, but the container
that holds it.
Here is the button code:
calculateButton = new CalculateButton("calculateButton",
"/wos/stepTwoUploadFiles/calculate");
calculateButton.setDefaultFormProcessing(false);
add(calculateButton);

I suppose that this is the code where it enters from Form class from wicket
sources :
if (!component.isVisibleInHierarchy())
{
throw new
WicketRuntimeException("Submit Button " +
   
submittingComponent.getInputName() + " (path=" +
   
component.getPageRelativePath() + ") is not visible");
}

Has anyone any idea? 

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/any-idea-where-this-error-comes-from-tp4217040p4217040.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org