Re: Re: Unexpected portlet reinitialization in noscript mode
Posted by
Jeroen Hoffman on
URL: https://discuss.orbeon.com/Unexpected-portlet-reinitialization-in-noscript-mode-tp43691p43700.html
Erik Bruchez wrote:
> Jeroen,
>
>> So I finally got the chance to debug.
>>
>> I got as far as the point where an XFormsSelectEvent is dispatched in
>> method
>> XFormsSwitchControl.setSelectedCase(), called from
>> XFormsCaseControl.toggle(), called from
>> XFormsToggleAction.execute().
>>
>> This flow is the same for both the case where input is entered and all
>> goes well, and the case where input is not entered and all instance
>> data disappears.
>>
>> I don't know where to look next.
>>
>> Could you have a look at this please? Or raise an issue?
>
>
> So I assume the action returns just fine?
>
> Is this occurring in response to an Ajax request, or to a portlet
> submission? You should be able to tell with Firebug. If Ajax, what does
> the Ajax response look like?
>
We're in noscript mode so there's no Ajax involved. I described the set up in
the first post of this thread.
As I interpret things, the action itself seems to return fine but the view makes
the portlet return to initial state. This happens only when a field is left
empty and a toggle is used towards a next or previous case.
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