Re: problem with multiple pages (switch/case)

> Second, you might try de-coupling your JSP and XForms problems and testing them separately.  The JSP processing all happens before the XHTML+XForms page is delivered to Firefox, so either the page it produces isn't correct, or there's a bug in the Mozilla XForms feature.  Is it possible for you to "Save" the page from Firefox locally and run it locally?  You may need to convert instance initiailizations to relative references to files instead of having it go back to the server.

Hi,

Thanks for the two answers. We have tried several variations, without
success. I would like to send you a problematic file, maybe someone
could help me:

http://dl.dropbox.com/u/144888/share/multipage-problem.xhtml
( the same file in .zip:
http://dl.dropbox.com/u/144888/share/multipage-problem.xhtml.zip )

[If you click on the link, most probably it will work fine, but if you
save it and open it locally with the file:// protocol, the last two
tabs are not shown.]


I took the JSP file and removed all JSP calls, so now it's just a
plain XHTML file. In our application these JSP files are generated, we
have lots of them. The problem is that sometimes the last (or the last
two) pages are not shown correctly, i.e. the part in the "case" block
is hidden.
We have two cases:

(1) The JSP page is not shown correctly, BUT after a page refresh in
the browser everything is OK.

(2) The JSP page is not shown correctly, and page refreshes in the
browser do not help.

As I noticed, small JSP files tend to fall in category (1), while
large XForms (size of the source > 100 KB) fall in (2).

I took a sample from category (2), converted it to local XHTML file
(no JSP calls), and when opened through the file:// protocol, the last
two pages are not shown. To reduce the size, "page 2" is removed. The
file is quite big, but if I remove one more tab, it seems to work.
However, we would need all tabs, and some forms are even larger.

Thanks,

Laszlo

Received on Tuesday, 25 May 2010 23:43:37 UTC