[ http://issues.apache.org/jira/browse/ADFFACES-179?page=all ]

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

    Status: Patch Available  (was: Open)

> 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

        

Reply via email to