You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Arjuna Wijeyekoon (JIRA)" <ad...@incubator.apache.org> on 2006/09/17 01:34:22 UTC

[jira] Created: (ADFFACES-179) ppr updates fail when a component with no markup is added as a partial target

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



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

        

[jira] Updated: (ADFFACES-179) ppr updates fail when a component with no markup is added as a partial target

Posted by "Arjuna Wijeyekoon (JIRA)" <ad...@incubator.apache.org>.
     [ 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

        

[jira] Updated: (ADFFACES-179) ppr updates fail when a component with no markup is added as a partial target

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ 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.


[jira] Updated: (ADFFACES-179) ppr updates fail when a component with no markup is added as a partial target

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-179?page=all ]

Matthias Weßendorf updated ADFFACES-179:
----------------------------------------

        Status: Resolved  (was: Patch Available)
    Resolution: Fixed

fixed in svn. Thanks to Arjuna for the fix

> 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

       

[jira] Updated: (ADFFACES-179) ppr updates fail when a component with no markup is added as a partial target

Posted by "Arjuna Wijeyekoon (JIRA)" <ad...@incubator.apache.org>.
     [ 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