Re: Re: Re: Re: Unexpected portlet reinitialization in noscript mode

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

On Fri, May 15, 2009 at 5:38 AM, Erik Bruchez <[hidden email]> wrote:

>>> 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.
>
> The next step would be to look at XFormsServer.java. In there, around line
> 418 ("if (contentHandler != null)"), a decision is made as to what the
> response should look like.
>
> I am not sure I am helping much because this is obviously  a bit tricky to
> debug.
Well, I debugged there and on that level it seems fine IFAICS, the
outputNoscriptResponse is called always which can be expected.
However, I lack the knowledge to determine where it goes wrong.. is
the data behind the rendering already wrong or is the rendering itself
wrong?

I won't be able to work much in this subject, could you create an
issue for 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