i see that you are in an init (constructor call) of your page:

myapp.gui.wizards.EditDetailsWizardStep.<init>(EditDetailsWizardStep.java
:109)

So why does validator run on that? Thats a new component and those don't
have yet (in 1.3) a parent page

johan





On 1/24/07, Tim Squires <[EMAIL PROTECTED]> wrote:

Hi,

I have a page based on wicket.extensions.wizard.  When the formValidator
identifies an invalid field, I call error("a message") on that
Component.  At that point the following exception is thrown.....

java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component id = status, page = <No Page>, path =
view:status.DropDownChoice]]
     at wicket.Component.getPage(Component.java:1044)
     at wicket.Component.error(Component.java:680)
     at
myapp.gui.wizards.EditDetailsWizardStep.<init>(EditDetailsWizardStep.jav
a:109)
...
...

Can anyone shed any light on this problem?  I though all components
would be able to find the containing page?

Thanks,
Tim

________________________________________________________________________
The Information contained in this e-mail message is intended only for
the individuals named above. If you are not the intended recipient,
you should be aware that any dissemination, distribution, forwarding
or other duplication of this communication is strictly prohibited.
The views expressed in this e-mail are those of the individual
author and not necessarily those of LINK Interchange Network Ltd.
Prior to taking any action based upon this e-mail message you should
seek appropriate confirmation of its authenticity. If you have
received this e-mail in error, please notify the sender immediately.
________________________________________________________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to