0

strange error when use iframe and AMedia

asked 2010-01-11 10:39:39 +0800

ibsolution gravatar image ibsolution
468 1 1 6

updated 2010-01-11 10:47:28 +0800

hai,

what happen with iframe component on ZK5.0.0 RC2, setContent can not accept AMedia object.

what object that i should use ?, my code work properly when use ZK3.6.3, Now i am doing a porting ZK component on my project

i got an error message on javascript that say 'n' is undifiend


Regards,

Andy Susanto

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-01-12 05:45:54 +0800

ibsolution gravatar image ibsolution
468 1 1 6

updated 2010-01-12 08:39:19 +0800

hai,

i am using iframe with zk5.0.0 RC2, in my code i use iframe component and using a java.


this my java code :
Media amedia = new AMedia("document", "html", "text/html", sbReport.toString());
iframeReport.setContent(amedia);


value from sbReport object is a html file, but i got an error message on javascript :
Message: 'n' is undefined
Line: 5
Char: 350
Code: 0
URI: http://192.168.52.3:8080/accounting/zkau/web/_zv09120812/js/zul.utl.wpd

Regards,

Andy Susanto

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

Follow

RSS

Stats

Asked: 2010-01-11 10:39:39 +0800

Seen: 533 times

Last updated: Jan 12 '10

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