[
https://issues.apache.org/jira/browse/ADFFACES-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Weßendorf updated ADFFACES-179:
----------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> ppr updates fail when a component with no markup is added as a partial target
> -----------------------------------------------------------------------------
>
> Key: ADFFACES-179
> URL: https://issues.apache.org/jira/browse/ADFFACES-179
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Affects Versions: 1.0.0-incubating-core
> Reporter: Arjuna Wijeyekoon
> Priority: Minor
> Fix For: 1.0.0-incubating-core
>
> 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.
-
You can reply to this email to add a comment to the issue online.