i believe mainnavigation comes from WicketExamplePage which signin2
page extends...
-igor
On Wed, Mar 12, 2008 at 11:38 AM, Andrew Broderick <[EMAIL PROTECTED]> wrote:
> Hi,
>
> The Signin2 example uses <span wicket:id="mainNavigation"/> in the page.
> This doesn't correspond to any components added by the page's Java class, and
> throws an error:
>
>
> WicketMessage: Unable to find component with id 'mainNavigation' in [Page
> class = com.company.page.auth.SignIn, id = 0, version = 0]. This means that
> you declared wicket:id=mainNavigation in your markup, but that you either did
> not add the component to your page at all, or that the hierarchy does not
> match.
>
> [markup =
> file:/C:/jboss-4.2.2.GA/server/default/deploy/optionsnews.war/WEB-INF/classes/com/company/page/auth/SignIn.html
>
> The page's Java constructor just does the following:
>
> add(new SignInPanel("signInPanel")
> {
> public boolean signIn(String username, String password)
> {
> return ((SignInSession)
> getSession()).authenticate(username,
> password);
> }
> });
>
> Thanks in advance,
>
> Andrew
>
> _______________________________________________________
>
> The information in this email or in any file attached
> hereto is intended only for the personal and confiden-
> tial use of the individual or entity to which it is
> addressed and may contain information that is propri-
> etary and confidential. If you are not the intended
> recipient of this message you are hereby notified that
> any review, dissemination, distribution or copying of
> this message is strictly prohibited. This communica-
> tion is for information purposes only and should not
> be regarded as an offer to sell or as a solicitation
> of an offer to buy any financial product. Email trans-
> mission cannot be guaranteed to be secure or error-
> free. P6070214
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]