when the markup is like this,
<wicket:panel>
<div style="height:250px;">
<img src="images/default_logo.png" width="152" height="61" /><br />
<strong>Worker Solutions Limited </strong>
<br />
<ul style="padding-left:1px; margin:0; list-style:none;">
<li>1000 Resumes</li>
<li>23 Open Vacancies</li>
<li>12 Closed Vacancies</li>
<li>100 Unreviewed Resumes</li>
<li>90 Reviewed Resumes</li>
<li>10 Invitations </li>
</ul>
</div>
<a wicket:id="logout">Log out</a>
</wicket:panel>
it throws this error
and when its like this
<wicket:panel>
<a wicket:id="logout">Log out</a>
</wicket:panel>
it works fine
On 7/11/07, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
I did something like this on the homapage class
signInPanel = new MemberSignInPanel("loginFrame");
add(signInPanel);
loggedInPanel = new AfterSignPanel("loggedInFrame");
add(loggedInPanel);
if (isSignedIn()) {
signInPanel.setVisible(false);
loggedInPanel.setVisible (true);
} else {
signInPanel.setVisible(true);
loggedInPanel.setVisible(false);
}
and....what could cause this even though their is no component with the
same id in the markup. What is AutoLinkResolver?
WicketMessage: The component [MarkupContainer [Component id = _autolink_6,
page = com.nairanet.project.newhome.NewHomePage, path =
1:_<body>:_autolink_6.AutoLinkResolver$AutolinkExternalLink, isVisible =
true, isVersioned = true]] has the same wicket:id as another component
already added at the same level
Root cause:
wicket.markup.MarkupException: The component [MarkupContainer [Component
id = _autolink_6, page = com.nairanet.nelx.project.NewHomePage, path =
1:_<body>:_autolink_6.AutoLinkResolver$AutolinkExternalLink, isVisible =
true, isVersioned = true]] has the same wicket:id as another component
already added at the same level
at wicket.Page.componentRendered(Page.java:940)
at wicket.Component.rendered(Component.java:1762)
at wicket.Component.render(Component.java:1541)
at wicket.MarkupContainer.renderNext(MarkupContainer.java :1334)
at wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:982)
at wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:917)
at wicket.Component.renderComponent(Component.java :1719)
at wicket.MarkupContainer.onRender(MarkupContainer.java:927)
at wicket.Component.render(Component.java:1533)
at wicket.MarkupContainer.renderNext(MarkupContainer.java:1334)
at wicket.MarkupContainer.renderAll (MarkupContainer.java:9
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user