the approach isnt much different in 2.0
just that you can find the loginpanel in the constructor
-igor
On 2/2/07, Ryan <[EMAIL PROTECTED]> wrote:
Looks like that is what I am going to have to do. Yet another reason
wicket 2.0 is going to be nice. =)
Ryan
On 2/1/07, Igor Vaynberg <[EMAIL PR
Looks like that is what I am going to have to do. Yet another reason
wicket 2.0 is going to be nice. =)
Ryan
On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> On 2/1/07, Ryan <[EMAIL PROTECTED]> wrote:
> > You don't get off that easy. =)
> >
> > What if login link parent is not the same paren
On 2/1/07, Ryan <[EMAIL PROTECTED]> wrote:
You don't get off that easy. =)
What if login link parent is not the same parent as the login panel...
for instance like 5 levels deep where passing it through all the
constructors is highly undesirable.
you have to pass a reference somehow. if you
You don't get off that easy. =)
What if login link parent is not the same parent as the login panel...
for instance like 5 levels deep where passing it through all the
constructors is highly undesirable.
Ryan
On 2/1/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> class mypage extends webpage {
>
class mypage extends webpage {
public mypage() {
final Panel loginpanel=loginpanel=new LoginPanel(...);
add(loginpanel);
add(new LoginLink(..., loginpanel));
add(new LoginLink(..., loginpanel));
}
}
-igor
On 2/1/07, Ryan <[EMAIL PROTECTED]> wrote:
I
I am working on creating an "inline login link" that when clicked uses
javascript to present a previously hidden login form (if javascript is
disabled it will go to a login page). There will be several login
links on a single page so I would like to render the login form once
and have each link ref