0

Error popup with long text

asked 2014-09-04 03:51:01 +0800

thangpro gravatar image thangpro
1 2

updated 2014-09-04 05:43:48 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

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

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-07 09:16:34 +0800

Darksu gravatar image Darksu
1991 1 4

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

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2014-09-04 03:51:01 +0800

Seen: 16 times

Last updated: Sep 07 '14

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