Re: Unexpected portlet reinitialization in noscript mode

Posted by Jeroen Hoffman on
URL: https://discuss.orbeon.com/Unexpected-portlet-reinitialization-in-noscript-mode-tp43691p43692.html

Hi again,

I tested my portet-test application with the same setup on Liferay-5.2.2
/ Tomcat 6 combo and that also didn't work out: even when a value _was_
entered a toggle to the next stage failed, without any logging.

Jeroen


Jeroen Hoffman wrote:

> Hi,
>
> I have discovered some unexpected behaviour in OrbeonFormsPortlet in
> noscript mode, while developing an xforms switch/case construction.
> The behaviour is that when a field in a case is left empty and one
> toggles to another case, all form values disappear altogether and the
> initial case is shown, i.e. the portlet seems to be reinitialized.
>
> No warnings or errors appear in orbeon.log.
>
> I've narrowed it down to a simple test case with three stages having
> each one input. If values are filled in, all goes well, but if "Next"
> or "Previous" is hit at any stage without having entered text, the
> initial portlet view is shown.
>
> When directly accessing the app
> (http://localhost:8080/orbeon/portlet-test/) all goes well.
>
> This is my setup:
> - Deployed the latest nightly build war in Jetspeed portal as portlet
> application
> - Changed configuration:
> set oxf.xforms.noscript to true
> set oxf.epilogue.theme and oxf.epilogue.theme.portlet to
> oxf:/config/theme-plain.xsl
> - Copied portlet-test to resources/apps
> - Added standard OrbeonFormsPortlet to my portal page
> - Made a link to /portlet-test/ in
> resources/apps/portlet-welcome/view.xhtml
> to navigate from the initial welcome portlet to the test portlet.
>
> Please have a look at this?
>
> Thanks,
> Jeroen
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws