You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by cosmindumy <co...@yahoo.com> on 2011/12/20 09:38:33 UTC
any idea where this error comes from?
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: any idea where this error comes from?
Posted by Gabriel Landon <gl...@piti.pf>.
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: any idea where this error comes from?
Posted by cosmindumy <co...@yahoo.com>.
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: any idea where this error comes from?
Posted by Andrea Del Bene <ad...@ciseonweb.it>.
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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org