You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Felix Gonschorek (JIRA)" <ji...@apache.org> on 2013/09/27 13:14:04 UTC

[jira] [Created] (TAP5-2190) "Alerts" components includes "core" stack

Felix Gonschorek created TAP5-2190:
--------------------------------------

             Summary: "Alerts" components includes "core" stack
                 Key: TAP5-2190
                 URL: https://issues.apache.org/jira/browse/TAP5-2190
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.4
            Reporter: Felix Gonschorek
            Priority: Minor


The Alerts component (org.apache.tapestry5.corelib.components.Alerts) @Import's the "core" stack.

If you want to disable the core stack (which is now included by default, see TAP5-2169) you can disable the auto include of the core stack with the following approach:

public void contributeMarkupRenderer(OrderedConfiguration<MarkupRendererFilter> configuration) {
	configuration.override("ImportCoreStack", null);
}

But if you place the alerts component in your template, the core stack get's again included and the bootstrap css messes your layout completely.

The Alerts component is the only component in tapestry-core which has an @Import(stack="core") annotation.

My suggestion: remove it :-)

thx

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira