Volker Lamp created TAP5-2829:
---------------------------------

             Summary: Css class typo in Errors component
                 Key: TAP5-2829
                 URL: https://issues.apache.org/jira/browse/TAP5-2829
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.9.1, 5.8.7, 5.7.3, 5.6.3, 5.4.5, 5.5.0
            Reporter: Volker Lamp


The {{Errors}} component renders the 
"alert-dismiss{color:#de350b}*a*{color}ble" css class. This is wrong in terms 
of Bootstrap which expects "alert-dismiss{color:#00875a}*i*{color}ble" since at 
least Bootstrap 3.3.

The typo causes the close button not to be positioned nicely.

Until the fix is released, the workaround for Tapestry 5.5 and later is to 
override the faulty default configuration in {{AppModule}} like so:
 
{code:java}
@Contribute(SymbolProvider.class)
@ApplicationDefaults
public static void configureTapestry(MappedConfiguration<String, String> conf) {
    conf.add(SymbolConstants.ERRORS_BASE_CSS_CLASS, "alert-dismissible");
}{code}
 
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to