-
FEATURED COMPONENTS
First time here? Check out the FAQ!
i have problem with popup with long text, when i scroll down the popup, the end of that long text is mix with component behind popup
`
Popup popup = new Popup();
popup.setWidth("500px");
popup.setHeight((getHeight() / 2) + "px");
popup.setStyle("overflow:scroll;");
String str = "";
if (ketqua.size() == 0) {
str = "Nothing wrong";
} else {
for (int i = 0; i < ketqua.size(); i++) {
str = str + ketqua.get(i).getTaikhoan() + "<br />"
+ ketqua.get(i).getThongbao() + "<br />";
}
}
Html html = new Html(str);
html.setParent(popup);
popup.setParent(fmisTab_NhapSDDN);
popup.open(c, "overlap");`
Can someone help me ? sorry for my bad english
Hello thangpro,
I have tested the code that you have posted, and it works perfectly.
Thus, there is something else in your code that causes the problem.
The best thing that you could do is to revise your code, or you could post all the zul file, and the associated classes so i can help more.
Best Regards,
Darksu
Asked: 2014-09-04 03:51:01 +0800
Seen: 16 times
Last updated: Sep 07 '14