W3C home > Mailing lists > Public > www-forms@w3.org > April 2010

RE: problem with multiple pages (switch/case)

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Mon, 12 Apr 2010 13:37:39 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF40A6D3AA7@USA7061MS01.na.xerox.net>
To: "Jabba Laci" <jabba.laci@gmail.com>, "xforms" <www-forms@w3.org>
Laszlo,

I have two suggestions.  First, you might try the mailing list for the Mozilla XForms feature, which is here
  https://lists.mozilla.org/listinfo/dev-tech-xforms

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.

Leigh. 

-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On Behalf Of Jabba Laci
Sent: Saturday, April 10, 2010 2:01 PM
To: xforms
Subject: problem with multiple pages (switch/case)

Hi,

I'm using Firefox 3 under Linux with the Mozilla Xforms plugin v0.8.6ff3.

We have a large form that we want to cut into several pages using <xforms:switch> and <xforms:case>. The problem is that sometimes the last page is not displayed correctly. If I refresh the page in the browser, sometimes it works, but it is usually gone again after another refresh.

Some more info. My xform is generated dynamically with a JSP. Inside the JSP I have a nested JSP call like this:

<p>
    <%= bean.createSelect1Widget(parameter) %> </p>

This call generates an <xforms:select1> widget with several choices that are taken from a database.

As I noticed, this call causes the confusion with the multipaging. If I remove these embedded JSP calls, the problem seems to be gone.

The problem is not present either if I only use one page, i.e. no multipaging.

Do you have any idea how to keep the nested JSP calls and the multipaging too? To me it seems like a bug in the plugin.

Thanks,

Laszlo
Received on Monday, 12 April 2010 20:38:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:19 GMT