incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjuna Wijeyekoon (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-179) ppr updates fail when a component with no markup is added as a partial target
Date Mon, 18 Sep 2006 03:17:24 GMT
     [ http://issues.apache.org/jira/browse/ADFFACES-179?page=all ]

Arjuna Wijeyekoon updated ADFFACES-179:
---------------------------------------

    Attachment: nomarkup_pprtarget_fix.patch

> ppr updates fail when a component with no markup is added as a partial target
> -----------------------------------------------------------------------------
>
>                 Key: ADFFACES-179
>                 URL: http://issues.apache.org/jira/browse/ADFFACES-179
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Arjuna Wijeyekoon
>            Priority: Minor
>         Attachments: nomarkup_pprtarget_fix.patch
>
>
> Some components, like switcher and iterator, do not (or need not) render any content
themselves.
> This causes problems when you try to add that component as a partial target, eg:
> RequestScope.getCurrentInstance ().addPartialTarget(switcher);
> It would be nice if the addPartialTarget method could detect that the component does
not render any content, walk up the tree and find the closest ancestor that does render content
and add that component as the partial target. 
> Adam suggested using the getRendererType() method; if that method returns null then assume
that the component does not render any markup.
> will upload a patch

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message