I think I'll end up creating my own FeedbackPanel subclass. 

Is there any way to have messages only display for one page refresh?  Currently, the messages stay visible on the page.


On 10/25/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
You could assign a class on the element you attach the panel on. Like
<div wicket:id="panel" class="myfeedback">..</div> and then in css:
.myfeedback ul { ... }.

Another option, for more flexibility, is to extend FeebackPanel, and
provide your own markup. Basically you would copy n paste the
feedbackpanel markup, but you'd also provide the class you want for
the ul element.

Eelco


On 10/24/05, Nick Heudecker < [EMAIL PROTECTED]> wrote:
> It only adds that CSS for the individual items.  Not for the containing <UL>
> element.
>
>
> On 10/24/05, Andrew Berman < [EMAIL PROTECTED]> wrote:
> > A FeedbackPanel will automatically add a class of feedbackPanel<Feedback
> Level>  to all li elements.   So, for example, you can create a CSS class
> called feedbackPanelERROR.  If you don't like the naming of the classes, you
> can just override the getCSSClass() method.
> >
> > --Andrew
> >
> >
> >
> > On 10/24/05, Nick Heudecker < [EMAIL PROTECTED] > wrote:
> > > Is it possible to add a CSS style to the <UL> tag used by the
> FeedbackPanel?  My panels are either going to display INFO messages or ERROR
> messages.
> > >
> >
> >
>
>


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to