FYI. I resorted to passing a raw JQuery to the front end and now it works.

I append JS to target similar to this: "$("#imgtagname").attr("src",
"/path"); Of course imgtagname is dynamically constructed
[getMarkupId()]

However if anyone has solution to my problem or even suggestion I
would welcome any leads.

Thanks,
Dawid

On Mon, Aug 8, 2011 at 11:02 AM, Dawid Dudzinski <dawi...@gmail.com> wrote:
> Hello,
>
> I'm having a strange problem: In a fairly complex application I
> refresh image on main page and need to pop up a dialog
> [org.odlabs.wiquery.ui.dialog.Dialog] with another image.
>
> Main page image updates without issues, dialog opens
> [dialog.open(target);] but the image reference is broken. This is
> really strange because when I reviewed Wicket Ajax Debug i can see the
> proper image reference passed to the front end. There are no errors in
> the debug window.
>
> Could anyone shed some light why I would have such problems?
>
> To add more to this mystery I have Next and Previous button on the
> same pop up and when I click on them I can navigate to the image I'm
> trying to open automatically.
>
> Thanks,
> Dawid
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to