<commit_before>/*
 * Copyright (c) 2014 <NAME> - All Rights Reserved
 * 
 * This program is distributed under LGPL Version 2.1 in the hope that
 * it will be useful, but WITHOUT ANY WARRANTY.
 */
package org.bootstrapjsp.tags.core.misc;

import org.bootstrapjsp.dialect.Html;
import org.bootstrapjsp.facet.ContextFacet;
import org.bootstrapjsp.facet.MoldFacet;
import org.bootstrapjsp.tags.html.Div;
import org.tldgen.annotations.Attribute;
import org.tldgen.annotations.Tag;

/**
 * Provide contextual feedback messages for typical user actions with the 
 * handful of available and flexible alert messages.
 * <p>&lt;div class="alert"&gt;...&lt;/div&gt;</p>
 */
@Tag(dynamicAttributes=true)
public class Alert extends Div {

	public Alert() {
		super("alert");
		super.addFacet(new ContextFacet("alert", null));
	}

	/**
	 * Sets whether this alert is dismissable or not. If true, a
	 * close button is added to the alert, and an 'alert-dismissable'
	 * class added to inform Bootstrap that the alert can is dismissed.
	 */
	@Attribute(rtexprvalue=true)<commit_msg>Fixed broken reference to Button<commit_after>/*
 * Copyright (c) 2014 <NAME> - All Rights Reserved
 * 
 * This program is distributed under LGPL Version 2.1 in the hope that
 * it will be useful, but WITHOUT ANY WARRANTY.
 */
package org.bootstrapjsp.tags.core.misc;

import org.bootstrapjsp.dialect.Html;
import org.bootstrapjsp.facet.ContextFacet;
import org.bootstrapjsp.facet.MoldFacet;
import org.bootstrapjsp.tags.core.button.Button;
import org.bootstrapjsp.tags.html.Div;
import org.tldgen.annotations.Attribute;
import org.tldgen.annotations.Tag;

/**
 * Provide contextual feedback messages for typical user actions with the 
 * handful of available and flexible alert messages.
 * <p>&lt;div class="alert"&gt;...&lt;/div&gt;</p>
 */
@Tag(dynamicAttributes=true)
public class Alert extends Div {

	public Alert() {
		super("alert");
		super.addFacet(new ContextFacet("alert", null));
	}

	/**
	 * Sets whether this alert is dismissable or not. If true, a
	 * close button is added to the alert, and an 'alert-dismissable'
	 * class added to inform Bootstrap that the alert can is dismissed.
	 */
	@Attribute(rtexprvalue=true)
{'fraction_non_alphanumeric': 0.11171662125340599, 'fraction_numerical': 0.005449591280653951, 'mean_word_length': 4.426108374384237, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6880323', 'n_tokens_mistral': 692, 'n_tokens_neox': 646, 'n_words': 217}