you can just subclass the panel and provide your own markup with the
class on the ul. also add a jira issue to have it added to the core
panel

-igor


On Sat, Apr 5, 2008 at 2:08 PM, Matthew Young <[EMAIL PROTECTED]> wrote:
> The book is incorrect.  There is no class attribute in the <ul> tag and
>  there is no way to add one through FeedbackPanel class.  But you can do
>  this:
>
>  <div class="feedbackPanel" wicket:id="feedback">F</div>
>
>  and style the feedback ul:
>
>  .feedbackPanel ul {
>     etc etc
>
>
> }
>
>  On Sat, Apr 5, 2008 at 12:57 PM, Zach Cox <[EMAIL PROTECTED]> wrote:
>
>  > In the latest early access version of Wicket in Action, page 202, it
>  > gives this as the markup that FeedbackPanel produces:
>  >
>  > <ul class="feedbackPanel">
>  >   <li class="feedbackPanelERROR">
>  >      <span class="feedbackPanelERROR">Field 'name' is required.</span>
>  >   </li>
>  > </ul>
>  >
>  > However, in real usage the ul element has no class attribute.  Is this
>  > a bug in Wicket 1.3.2 or am I missing something?
>  >
>  > Thanks,
>  > Zach
>  >
>  > ---------------------------------------------------------------------
>  > 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