Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate <composite:extension> #5352

Merged
merged 2 commits into from
Nov 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
* to store compilation messages for later use. During page compilation,
* if any messages need to be shown to the user, they will be
* added using this interface. If, during page execution,
* the messages turn out not to be needed, as is the case with
* a foreign xml element nested within a <composite:extension> element,
* this interface can be used to remove the messages.
*
* Currently the messages are keyed by namespace prefix.
Expand All @@ -42,6 +40,7 @@ public interface CompilationMessageHolder {

List<FacesMessage> getNamespacePrefixMessages(FacesContext context, String prefix);

@Deprecated(since = "4.1", forRemoval = true)
void removeNamespacePrefixMessages(String prefix);

void processCompilationMessages(FacesContext context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -730,17 +730,11 @@ example.</p>
</tag>
<tag>
<description><![CDATA[


<div class="changed_added_2_0">
<p>Used within a <code>&lt;cc:interface&gt;</code>
section,
within any sub-element of that section, to include XML content not
defined by this specification. This element can be used to
incorporate
<a target="_" href="http://jcp.org/en/jsr/detail?id=276">JSR-276</a>
metadata into a composite component.</p>

<div class="changed_modified_4_1">
<p>
The use of this tag has been deprecated in Faces 4.1, without replacement, and is subject to be removed in Faces 5.0.
The reason is that the <a target="_" href="http://jcp.org/en/jsr/detail?id=276">JSR-276</a> went dormant and therefore this tag has never been of use.
</p>
</div>
]]></description>
<tag-name>extension</tag-name>
Expand Down
Loading