Martin Grigorov created WICKET-4521:
---------------------------------------

             Summary: Improve all IComponentResolvers which are also 
IMarkupFilters to set tag ids with common prefix
                 Key: WICKET-4521
                 URL: https://issues.apache.org/jira/browse/WICKET-4521
             Project: Wicket
          Issue Type: Sub-task
          Components: wicket
    Affects Versions: 1.5.6
            Reporter: Martin Grigorov


Several IComponentResolvers (like InlineEnclosureHandler and 
WicketMessageTagHandler) create dynamic Component id from the ComponentTag id + 
page.getAutoIndex() only if the respective IComponentResolver recognize the 
ComponentTag id.
This should be improved and should set the auto index if the ComponentTag id 
has a predefined namespace.

See WICKET-4520. There a ComponentTag looks like <div wicket:enclosure=... 
wicket:message=...> and thus both IMarkupFilters manipulate the ComponentTag 
but just the first one sets its id. Later InlineEnclosureHandler acting as 
IComponentResolver sees '_wicket_message_' as tag id and decides to not add the 
auto index.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to