You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/24 02:45:13 UTC

[jira] [Commented] (TAP5-2190) Alerts component should not automatically import the core stack

    [ https://issues.apache.org/jira/browse/TAP5-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257811#comment-14257811 ] 

ASF subversion and git services commented on TAP5-2190:
-------------------------------------------------------

Commit e5afaa0e1025a03d412d72c9bd326a782a771fe6 in tapestry-5's branch refs/heads/master from [~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=e5afaa0 ]

TAP5-2190: Alerts component should not automatically import the core stack


> Alerts component should not automatically import the 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 up 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 was sent by Atlassian JIRA
(v6.3.4#6332)