"Popups" are tricky because they are a trick :) Aside from getting them to
appear correctly, you have to do some stuff to get "modal" behaviour
(that's usually what what you want with a popup) as well as to get the
children to position and render correctly. It's hard to know exactly what
your problem is without a working example, but it sounds like you are not
using absolute positioning for the child element correctly. Remember that
PopupPanel derives from SimplePanel, so it only should have one child.
Generally, that's some container panel that *you* construct with your
layout controls inside it (again using absolute positioning).

Not sure if that helps or not, but maybe you can tell us more...

Rich

On Thu, Jun 28, 2012 at 8:17 PM, Daniel Gonzalez <gonva...@gmail.com> wrote:

> Hi,
>
> I am trying to create my first popup panel, and I do not yet know how to
> start. I have taken a look at the examples in "shell", but I am no sure I
> understand how this is supposed to work.
>
> What I want to do is to have a popup window displaying a form with some
> controls (title, some text, drop downs, some buttons, ...)
> I have tried to derive from PopupPanel, but the components displayed do
> not "pop up", they are just showing somewhere in the middle of my
> "background" components.
>
> My popup should be a separate "window", which can be moved around, I can
> then interact with its components, and it will be dismissed when the data
> has been entered (the data will be submitted via JSNORPC to my server).
>
> What is the suitable base class for this kind of popup? How can I force my
> popup to "stick out" of my window?
>
> Thanks,
> Daniel
>

Reply via email to