Here is the code I'm stepping through currently:

org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.SelectRangeChoiceBarRenderer
:
        ProcessUtils.renderNavSubmitScript(context, arc);

in renderNavSubmitScript, the scriptlet:

   static private final String _NAV_SUBMIT_SCRIPT =
     "function _navSubmit(formName, event, id, vld, val)"
    +"{"
    +  "return _submitPartialChange("
    +             "formName,"
    +             "vld,"
    +             "{"
    +               "event:event,"
    +               "source:id,"
    +               "value:val});}";

is rendered, and that's obviously ppr-code - I don't find the call to:

PartialPageUtils.isPPRActive(context)

anywhere through to this line, so obviously this is rendered even if
PPR is not active :(

regards,

Martin

On 7/31/07, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> Hi *,
>
> I'm having another issue with Trinidad running in a portal enviroment
> - I originally thought that Trinidad would automatically switch PPR
> off, when running a portal environment.
>
> I'm using a table with > 100 rows on my page, and do see the
> pager-component due to this. When I click on the pager component, I
> get the following JavaScript-error:
>
> ["Invalid PPR response. The response-headers were:\nServer:
> Apache-Coyote/1.1\nPragma: No-cache\nCache-Co..."]
>
> Looks like the switching doesn't work...
>
> regards,
>
> Martin
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to