You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by "Bertrand, Shawn R" <sh...@tycoelectronics.com> on 2007/01/12 13:06:22 UTC
No iFrame with PPR content
I have a simple choice list and outputFormatted component on my page,
where the change in choice triggers PPR on the outputFormatted. I'm
noticing, however, that the whole page is refreshing due to the lack of
the required IFrame on the page:
<iframe id="_pprIFrame" name="_pprIFrame"
I noticed the check for this iframe in submitPartialChange fails because
the iframe isn't present in the document (_doPartialSubmit of course
checks for the "_pprIFrame" element):
function _submitPartialChange(a0, a1, a2)
{
if (!_doPartialSubmit())
return submitForm(a0,a1,a2);
Why wouldn't the iframe be included in the rendering of the BODY tag?
All the best and thanks,
Shawn Bertrand
Tyco Electronics Corporation
Re: No iFrame with PPR content
Posted by Matthias Wessendorf <ma...@apache.org>.
aren't you using <tr:document> or <tr:panelPartialRoot> ?
On 1/15/07, Bertrand, Shawn R <sh...@tycoelectronics.com> wrote:
> Actually, I had realized <afh:head/> is required to allow the PPR iframe
> to be rendered. I put this tag in and I'm now getting the iFrame. I
> was using Firefox 2.0 BTW.
>
> Thanks,
>
> Shawn
>
>
> -----Original Message-----
> From: Adam Winer [mailto:awiner@gmail.com]
> Sent: Friday, January 12, 2007 8:30 PM
> To: adffaces-user@incubator.apache.org
> Subject: Re: No iFrame with PPR content
>
> What browser are you using? If it's one that isn't known
> as a supported browser, we deactivate PPR.
>
> -- Adam
>
>
>
> On 1/12/07, Bertrand, Shawn R <sh...@tycoelectronics.com>
> wrote:
> >
> > I have a simple choice list and outputFormatted component on my page,
> > where the change in choice triggers PPR on the outputFormatted. I'm
> > noticing, however, that the whole page is refreshing due to the lack
> of
> > the required IFrame on the page:
> >
> >
> >
> > <iframe id="_pprIFrame" name="_pprIFrame"
> >
> >
> > I noticed the check for this iframe in submitPartialChange fails
> because
> > the iframe isn't present in the document (_doPartialSubmit of course
> > checks for the "_pprIFrame" element):
> >
> >
> >
> > function _submitPartialChange(a0, a1, a2)
> >
> > {
> >
> > if (!_doPartialSubmit())
> >
> > return submitForm(a0,a1,a2);
> >
> >
> >
> > Why wouldn't the iframe be included in the rendering of the BODY tag?
> >
> > All the best and thanks,
> >
> > Shawn Bertrand
> > Tyco Electronics Corporation
> >
> >
> >
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com
RE: No iFrame with PPR content
Posted by "Bertrand, Shawn R" <sh...@tycoelectronics.com>.
Actually, I had realized <afh:head/> is required to allow the PPR iframe
to be rendered. I put this tag in and I'm now getting the iFrame. I
was using Firefox 2.0 BTW.
Thanks,
Shawn
-----Original Message-----
From: Adam Winer [mailto:awiner@gmail.com]
Sent: Friday, January 12, 2007 8:30 PM
To: adffaces-user@incubator.apache.org
Subject: Re: No iFrame with PPR content
What browser are you using? If it's one that isn't known
as a supported browser, we deactivate PPR.
-- Adam
On 1/12/07, Bertrand, Shawn R <sh...@tycoelectronics.com>
wrote:
>
> I have a simple choice list and outputFormatted component on my page,
> where the change in choice triggers PPR on the outputFormatted. I'm
> noticing, however, that the whole page is refreshing due to the lack
of
> the required IFrame on the page:
>
>
>
> <iframe id="_pprIFrame" name="_pprIFrame"
>
>
> I noticed the check for this iframe in submitPartialChange fails
because
> the iframe isn't present in the document (_doPartialSubmit of course
> checks for the "_pprIFrame" element):
>
>
>
> function _submitPartialChange(a0, a1, a2)
>
> {
>
> if (!_doPartialSubmit())
>
> return submitForm(a0,a1,a2);
>
>
>
> Why wouldn't the iframe be included in the rendering of the BODY tag?
>
> All the best and thanks,
>
> Shawn Bertrand
> Tyco Electronics Corporation
>
>
>
Re: No iFrame with PPR content
Posted by Adam Winer <aw...@gmail.com>.
What browser are you using? If it's one that isn't known
as a supported browser, we deactivate PPR.
-- Adam
On 1/12/07, Bertrand, Shawn R <sh...@tycoelectronics.com> wrote:
>
> I have a simple choice list and outputFormatted component on my page,
> where the change in choice triggers PPR on the outputFormatted. I'm
> noticing, however, that the whole page is refreshing due to the lack of
> the required IFrame on the page:
>
>
>
> <iframe id="_pprIFrame" name="_pprIFrame"
>
>
> I noticed the check for this iframe in submitPartialChange fails because
> the iframe isn't present in the document (_doPartialSubmit of course
> checks for the "_pprIFrame" element):
>
>
>
> function _submitPartialChange(a0, a1, a2)
>
> {
>
> if (!_doPartialSubmit())
>
> return submitForm(a0,a1,a2);
>
>
>
> Why wouldn't the iframe be included in the rendering of the BODY tag?
>
> All the best and thanks,
>
> Shawn Bertrand
> Tyco Electronics Corporation
>
>
>