It is not.  I'm not entirely sure what's broken here.  I'm assuming that
tests exist in wicket for this and that it works there so the problem has
*got* to be on my end.  I'm just not seeing it.  I'll turn logging back on
and dig through each line.  There's just so much info there...  <sigh/>

On 6/29/07, Johan Compagner <[EMAIL PROTECTED]> wrote:

it is not by accident an ajax request right?


On 6/28/07, Evan Chooly <[EMAIL PROTECTED]> wrote:
>
> On 6/28/07, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> >
> > >         public void onClick() {
> > >             DeleteLink.this.replaceWith(new
> > > ConfirmDeletePanel(DeleteLink.this.getId(), "really delete?") {
> > >                 @Override
> > >                 protected void onCancel() {
> > >                     replaceWith(DeleteLink.this);
> > >                 }
> > >
> > >                 @Override
> > >                 protected void onConfirm() {
> > >                     Filter filter =
> > > (Filter)getParent().getParent().getModelObject();
> > >                     service.delete(filter);
> > >                     replaceWith(DeleteLink.this);
> > >                 }
> > >             });
> > >         }
> >
> > Code looks fine to me. And I'm using replaceWith quite a bit and it
> > works fine. Can you try to set a break point in onClick, see if it
> > arrives there and step into the replace code?
>
>
> The onClick() is definitely getting called (I set breakpoints this
> morning...) but the panel just isn't getting replaced.  Now, is there any
> problem with replacing a link (in this case) with a panel?  There's no
> impedence mismatch between the <a> and the <span> that would normally get
> used?
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to