iframe problem

asked 2007-12-02 14:45:47 +0800

admin gravatar image admin
18691 1 10 129
ZK Team

Orignial message at:

By: odin_83

i have some trouble about iframe on zk
this is the code:

<window id="win" title="Milky Way - Visualizza report" width="100%" height="100%"
border="normal" closable="true">

<iframe id="ifr" name="ifr" src="./report/test.pdf" width="100%" height="100%"

Iframe a=new Iframe(application.getRealPath("./report/test.pdf"));



and this is the problem:
in first iframe pdf file appear,but if i change it,there is no refresh(the iframe show me always the same pdf file without changes) in second iframe created in zscript tags,there is nothing.
i have already read about invalidate() function but seems i don't undestand it at all.
please help me
this zul file run under tomcat 5.22 and zk 3 rc i have already tested it with zk 3 stable but don't work

the code that call this zul file is:

Window win = (Window) Executions.createComponents(
"viewerrel.zul", null, null);

i hope u undestand me:)


delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2011-07-05 09:56:11 +0800

streak22 gravatar image streak22
93 2

push !

link publish delete flag offensive edit

answered 2011-07-05 12:07:24 +0800

zippy gravatar image zippy
504 2

3 years??

link publish delete flag offensive edit

answered 2011-07-06 10:16:35 +0800

streak22 gravatar image streak22
93 2

I have the problem that when i generate a jasperreport in a php page, and i put that page in a iframe the pdf don't shoy at first. it's like y must click in generate severy times to make the pdf show.


link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2007-12-02 14:45:47 +0800

Seen: 375 times

Last updated: Jul 06 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More