Hi, Maybe you can adapt
https://cwiki.apache.org/WICKET/displaying-content-eg-pdf-excel-word-in-an-iframe.html to your needs? On Wed, Feb 13, 2013 at 3:28 PM, mayanksahai <mayanksa...@gmail.com> wrote: > hi all, > > i am new to wicket and trying to build a page that contains a "drop down", > listing all the documents associated to a user. i have a "div"on the same > page that encapsulates an "Iframe" , where document content is displayed. > > a user can change "document" in dropdown and once item is selected , that > should get displayed in underlying "iframe". i do not know the appropriate > way of doing this. > > since document can be anything image/excel/pdf , i need a holistic approach > to render any kind of content in iframe. > > i tried intercepting the "On selected" event of dropdown choice and > manipulate the "src" attribute of iframe but it is not working. > > can someone point me to any example etc. > > thanks > > mayank sahai > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/changing-pdf-content-in-Iframe-on-item-select-event-tp4656313.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Regards - Ernesto Reinaldo Barreiro Antilia Soft http://antiliasoft.com/ <http://antiliasoft.com/antilia>