Yes, of course. So it does. That solves that problem. But, WicketExamplePage 
just seems to add a standard header that outputs the page name. So, omitting 
this should not cause the redirect from the signin page to the home page to 
fail, should it? (See my earlier message about problems with the Signin2 
example).

Thanks

-----Original Message-----
From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2008 1:51 PM
To: [email protected]
Subject: Re: <span wicket:id="mainNavigation"/>

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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to