Component scope is handled incorrectly
--------------------------------------

                 Key: TILES-138
                 URL: https://issues.apache.org/struts/browse/TILES-138
             Project: Tiles
          Issue Type: Bug
          Components: tiles-core, tiles-jsp (jsp support)
    Affects Versions: 2.0.1
            Reporter: Antonio Petrelli


The component scope, which id is stored inside the ComponentConstants 
interface, is handled in an incorrect way.
Its only use is indice the "AttributeTagSupport.getScopeId" method, where it 
returns this scope id when the scope is "component", "template" or "tile".
But this id is then used inside PageContext.setAttribute (in ImportAttributeTag 
and UseAttributeTag), that throws an exception if used.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to