logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Response body is an XForm: msg#00036

Subject: Re: Response body is an XForm
> > * when replace="all" is set, the response is simply stored with the 
> > processor and xforms-submit-done is dispatched. since the core processor 
> > (chiba bean) is decoupled from its embedding environment (the servlet as 
> > the default), it can't do more here. the environment has to poll the 
> > processor for a submission response and handle it (the same applies to 
> > resources loaded by the load action).
> 
> Unfortunately in my situation I can't use replace="all" at all, as the
> larger framework I am integrating Chiba into has already started writing
> to the client, and then it is too late for Chiba to take over and
> replace what has already been written. I toyed with the idea of taking
> the response and proxying/rewriting it so that it would fit in as part
> of the response in progress, but gave up on it and now just return a
> warning saying there was a response but it can't be displayed.

Hi Mats

What you might consider (as I have done), is to use an IFRAME in your
html.  The chiba form sits inside that Iframe, and there is no extra
html around it.  This makes it easier for me to separate the form (and
chiba) from the rest of my layout on the page, and may work in your
situation as well

Regards


Chris
-- 
Chris Picton <chibadev-list-LvsDHNe4pjXPKWblFCUSJw@xxxxxxxxxxxxxxxx>
Tangent Systems



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php


<Prev in Thread] Current Thread [Next in Thread>