Hi, I was trying to build and Example at work but I had to live... I'll try to get it working tomorrow and post it here. Essentially I was trying something similar to this.
http://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html I was trying to have a component in a page that implements IResourceListener and then on the onclick on AJX link have something like if(target != null) { target.addComponent(theComponentYouWantToRepaint); String url = urlFor(ComponentImplementingIResourceListener); target.appendJavaScript("window.location.href="+url); } so, that once component is repaint you get a request back to you page asking for the resource. This is somehow similar to the example above.. Best, Ernesto On Mon, Oct 5, 2009 at 6:08 PM, Giambalvo, Christian < christian.giamba...@excelsisnet.com> wrote: > How do i get the url for the ILinkListener? > There is no corresponding urlFor() method. > > Mit freundlichen Grüßen > Christian Giambalvo > -- > Fachinformatiker für Anwendungsentwicklung > > EXCELSIS Informationssysteme GmbH > Wilhelmsplatz 8 - 70182 Stuttgart > Mobile +49 176 196 32 406 > Office +49 711 6 20 30 406 > christian.giamba...@excelsisnet.com > www.excelsisnet.com > > Sitz Stuttgart > Amtsgericht Stuttgart, HRB 21104 > Geschäftsführer: Christian Sauter, Dr. Nils Herda, Frank Wolf > > > -----Ursprüngliche Nachricht----- > Von: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] > Gesendet: Montag, 5. Oktober 2009 16:22 > An: users@wicket.apache.org > Betreff: Re: Send file to client via Ajax > > Maybe you could repaint via AJAX and then use > target.appendJavascript("window.location.href=´URL´"); > > Where the URL is the URL of an ILinkListener generating you file... There > was someone asking something similar not long ago. > > Best, > > Ernesto > > > On Mon, Oct 5, 2009 at 4:10 PM, Giambalvo, Christian < > christian.giamba...@excelsisnet.com> wrote: > > > It's more general question. > > Maybe i need to repaint some parts and send a file. > > > > Mit freundlichen Grüßen > > Christian Giambalvo > > -- > > Fachinformatiker für Anwendungsentwicklung > > > > EXCELSIS Informationssysteme GmbH > > Wilhelmsplatz 8 - 70182 Stuttgart > > Mobile +49 176 196 32 406 > > Office +49 711 6 20 30 406 > > christian.giamba...@excelsisnet.com > > www.excelsisnet.com > > > > Sitz Stuttgart > > Amtsgericht Stuttgart, HRB 21104 > > Geschäftsführer: Christian Sauter, Dr. Nils Herda, Frank Wolf > > > > > > -----Ursprüngliche Nachricht----- > > Von: Martin Grigorov [mailto:mcgreg...@e-card.bg] > > Gesendet: Montag, 5. Oktober 2009 15:56 > > An: users@wicket.apache.org > > Betreff: Re: Send file to client via Ajax > > > > why do you want to use AjaxFallbackButton ? > > you will not re-paint part of the page > > > > use ResourceLink to download the file > > > > El lun, 05-10-2009 a las 15:36 +0200, Giambalvo, Christian escribió: > > > Hi all, > > > > > > simple question :) > > > > > > how to send a dynamicly generated file (as byte array) through an > > ajaxfallbackbutton tot he client? > > > > > > > > > Mit freundlichen Grüßen > > > Christian Giambalvo > > > -- > > > Fachinformatiker für Anwendungsentwicklung > > > > > > EXCELSIS Informationssysteme GmbH > > > Wilhelmsplatz 8 - 70182 Stuttgart > > > Mobile +49 176 196 32 406 > > > Office +49 711 6 20 30 406 > > > christian.giamba...@excelsisnet.com > > > www.excelsisnet.com > > > > > > Sitz Stuttgart > > > Amtsgericht Stuttgart, HRB 21104 > > > Geschäftsführer: Christian Sauter, Dr. Nils Herda, Frank Wolf > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >