Re: Problem with simple layout using Border.

2010-02-24 Thread marioosh.net
2010/2/16 Igor Vaynberg igor.vaynb...@gmail.com: mb.add(add(new Label(label,content...))); why are there two adds there? -igor Thanks:) That it! -- Greetings, marioosh - To unsubscribe, e-mail:

Problem with simple layout using Border.

2010-02-16 Thread marioosh.net
I have problem with Border. When i open Lesson2 page, i get nothing. System.out.println(mb); show: [MarkupContainer [Component id = border]]. Anybody help? Sources below. MainBorder.java: public class MainBorder extends Border { public MainBorder(String id) { super(id);

Re: Problem with simple layout using Border.

2010-02-16 Thread Igor Vaynberg
mb.add(add(new Label(label,content...))); why are there two adds there? -igor On Tue, Feb 16, 2010 at 6:06 AM, marioosh.net marioosh@gmail.com wrote: I have problem with Border. When i open Lesson2 page, i get nothing. System.out.println(mb); show: [MarkupContainer [Component id =