Hi!

I understand that it is possible to override Panel markup in your
within your main page. The Pro Wicket gives a simple example with the
FeedbackPanel:

<html>
<head>
<title>User Profile</title>
</head>
<body>
<table border="1">
<tr wicket:id="feedback">
<td><span wicket:id="message">Message goes here</span></td>
<td><span wicket:id="level">Message log level</span></td>
</tr>
</table>
<!-- everything beyond this remains unchanged -->
<form wicket:id="userProfile">

However, when I try to override the Palette component layout in a
similar manner:

<span wicket:id="myPalette">
  <input type="hidden" wicket:id="recorder"/>
  <h3 wicket:id="selectedHeader">[selected header]</h3>
  <select wicket:id="selection" size="10"
class="choicesSelect"><option>Selected</option></select>
  <h3 wicket:id="availableHeader">[available header]</h3>
  <select wicket:id="choices" size="5"
class="choicesSelect"><option>Select</option></select>
    <input type="button" wicket:id="addButton" class="paletteButton"/><br/>
    <input type="button" wicket:id="removeButton" class="paletteButton"/><br/>
    <input type="button" wicket:id="moveUpButton" class="button up"/><br/>
    <input type="button" wicket:id="moveDownButton" class="button down"/><br/>
</span>

This fails with WicketMessage: close tag not found for tag: <span
wicket:id="myPalette">

Why does the Palette-panel behave differently from the FeedbackPanel?

**
Martin

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

Reply via email to