Hi!
I'm trying to embed dynamic HTML (report) into my wicket web page. I'm using
this class to do things:
public final class EmbeddedReport extends WebComponent implements
IResourceListener {
private static final long serialVersionUID = 1L;
private ReportDynamicWebResource reportWebResource;
public EmbeddedReport(MarkupContainer parent, String id){
super(id);
this.reportWebResource = null;
}
public void setReportWebResource(ReportDynamicWebResource report) {
this.reportWebResource = report;
}
/**
* @see IResourceListener#onResourceRequested()
*/
public void onResourceRequested() {
if (reportWebResource != null) {
reportWebResource.onResourceRequested();
}
}
@Override
protected void onComponentTag(ComponentTag tag) {
if (reportWebResource != null) {
tag.put("src",
getResponse().encodeURL(urlFor(IResourceListener.INTERFACE)));
super.onComponentTag(tag);
}
}
}
The HTML looks like this:
....
<div class="row">
<object wicket:id="report" WIDTH="98%" HEIGHT=400 TITLE="Generated Report"/>
</div>
...
The problem is with IE7 :) On the same page with along with report are located
date pickers - js based. So in Firefox when user tries to select date with
already displayed generated report DatePicker window is hovering on top of
report, in IE report overlaps Calendar window.
I believe the main problem is in <object> tag. Can somebody suggest another way
for displaying report?
I've tried span, but report is never showed, also I've tried to use "z-order=3"
style for <object> tag - the same result.
Any clues?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user