Re: [Wicket-user] feedback panel with a header

2006-07-22 Thread Alexei Sokolov
How do I show/hide both of them depending on availability of feedback messages?AlexOn 7/21/06, Igor Vaynberg [EMAIL PROTECTED] wrote:you can embed the feedbackpanel in another panel that has the header :) -IgorOn 7/21/06, Alexei Sokolov [EMAIL PROTECTED] wrote: Hello,What's the best way to

Re: [Wicket-user] feedback panel with a header

2006-07-22 Thread Igor Vaynberg
feedbackpanel has .anyErrorMessage() and .anyMessage() so you can use thosefinal FeedbackPanel fb=new FeedbackPanel(...) { isvisible() { return anyErrorMessage(); }}add(new Label(..) { isvisible() { return fb.anyErrorMessage(); }}-IgorOn 7/22/06, Alexei Sokolov [EMAIL PROTECTED] wrote: How do I

[Wicket-user] feedback panel with a header

2006-07-21 Thread Alexei Sokolov
Hello,What's the best way to create a feedback panel which has a header, i.e. it looks like this:Please correct the following problems:- field a is missing- field b is missingThe problem is it is not possible to set a header for wicket.markup.html.panel.FeedbackPanel. Maybe I'm missing something,

Re: [Wicket-user] feedback panel with a header

2006-07-21 Thread Igor Vaynberg
you can embed the feedbackpanel in another panel that has the header :)-IgorOn 7/21/06, Alexei Sokolov [EMAIL PROTECTED] wrote:Hello,What's the best way to create a feedback panel which has a header, i.e. it looks like this:Please correct the following problems:- field a is missing- field b is