Ah, I see.
If your popup functionality is pure client-side Javascript, couldn't you
just turn it into a Behavior that you attach to a Label, Image, or
whatever, that sets the "onclick" attribute of whatever you attached it
to?
jk
On Wed, May 30, 2007 at 10:13:40AM -0400, Ravindra Wankar wrote:
>
Thanks John. I was suspecting no one to reply to a long mail.
Unfortunately, in my case the getTitle() returns a component not the
label text. The component returned by the child can either be a "label"
or an "image" component. The derived class gets the label text in its
constructor which it
One way to solve the "abstract method from the constructor" problem (or
more precisely, the "non-final method from the constructor" problem) is
to use a Model, e.g...
public class PopupPanel extends Panel {
public abstract String getTitle();
public PopupPanel(String id) {
add(new L
This looks more like a design question but I think there must be a
better, Wicket way.
I wrote a PopupPanel that allows you to have a "div" popup in a page by
clicking a link. The contents of the div can be static/loaded via Ajax.
The popup part with Ajax is working. The link that activates th