so the problem is that you can get different messages?
if so, why not use isVisible() as Gabor suggested.
And for the String itself, why not use a utility that converts the message
to your liking?

On Mon, Jun 2, 2008 at 2:03 PM, wenm <[EMAIL PROTECTED]> wrote:

>
> Thanks.
>
> But still the lable will show different messages according to different
> error situation. So even to make it show up conditionally can't solve the
> problem.
>
>
> Gabor Szokoli wrote:
> >
> > On 6/2/08, wenm <[EMAIL PROTECTED]> wrote:
> >>  But my label only show the message when the web service returns error,
> >> not
> >>  constant showing. So it is not a good idea to use resourceModel.
> >
> > I know I'm not answering your original question, but until someone
> > does, you could look at either the FeedbackPanel which you might be
> > reimplementing, or at overriding the isVisible function of the label
> > to make it show up conditionally.
> >
> >
> > Gabor Szokoli
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-when-reading-properties-file-tp17597421p17598771.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Eyal Golan
[EMAIL PROTECTED]

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

Reply via email to