-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolveValue moved from ao-taglib to ao-servlet-util
- Loading branch information
Showing
8 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* semanticcms-core-taglib - Java API for modeling web page content and relationships in a JSP environment. | ||
* Copyright (C) 2013, 2014, 2015, 2016, 2017, 2019, 2020, 2021, 2022 AO Industries, Inc. | ||
* Copyright (C) 2013, 2014, 2015, 2016, 2017, 2019, 2020, 2021, 2022, 2023 AO Industries, Inc. | ||
* [email protected] | ||
* 7262 Bull Pen Cir | ||
* Mobile, AL 36695 | ||
|
@@ -24,7 +24,7 @@ | |
package com.semanticcms.core.taglib; | ||
|
||
import static com.aoapps.lang.Strings.nullIfEmpty; | ||
import static com.aoapps.taglib.AttributeUtils.resolveValue; | ||
import static com.aoapps.servlet.el.ElUtils.resolveValue; | ||
import static com.semanticcms.core.taglib.PageTag.PROPERTY_ATTRIBUTE_PREFIX; | ||
|
||
import com.aoapps.encoding.taglib.EncodingBufferedTag; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* semanticcms-core-taglib - Java API for modeling web page content and relationships in a JSP environment. | ||
* Copyright (C) 2017, 2020, 2021, 2022 AO Industries, Inc. | ||
* Copyright (C) 2017, 2020, 2021, 2022, 2023 AO Industries, Inc. | ||
* [email protected] | ||
* 7262 Bull Pen Cir | ||
* Mobile, AL 36695 | ||
|
@@ -25,7 +25,9 @@ | |
|
||
import com.aoapps.encoding.MediaType; | ||
import com.aoapps.encoding.taglib.EncodingBufferedTag; | ||
import com.aoapps.html.any.attributes.text.Name; | ||
import com.aoapps.io.buffer.BufferResult; | ||
import com.aoapps.lang.Coercion; | ||
import com.aoapps.servlet.jsp.LocalizedJspTagException; | ||
import com.aoapps.taglib.AttributeRequiredException; | ||
import com.aoapps.taglib.NameAttribute; | ||
|
@@ -61,8 +63,8 @@ public MediaType getOutputType() { | |
} | ||
|
||
@Override | ||
public void setName(String name) { | ||
this.name = name; | ||
public void setName(Object name) throws IOException { | ||
this.name = Coercion.toString(Name.name.normalize(name)); | ||
} | ||
|
||
@Override | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* semanticcms-core-taglib - Java API for modeling web page content and relationships in a JSP environment. | ||
* Copyright (C) 2015, 2016, 2017, 2020, 2021, 2022 AO Industries, Inc. | ||
* Copyright (C) 2015, 2016, 2017, 2020, 2021, 2022, 2023 AO Industries, Inc. | ||
* [email protected] | ||
* 7262 Bull Pen Cir | ||
* Mobile, AL 36695 | ||
|
@@ -23,7 +23,7 @@ | |
|
||
package com.semanticcms.core.taglib; | ||
|
||
import static com.aoapps.taglib.AttributeUtils.resolveValue; | ||
import static com.aoapps.servlet.el.ElUtils.resolveValue; | ||
|
||
import com.semanticcms.core.model.Node; | ||
import com.semanticcms.core.model.NodeBodyWriter; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
semanticcms-core-taglib - Java API for modeling web page content and relationships in a JSP environment. | ||
Copyright (C) 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 AO Industries, Inc. | ||
Copyright (C) 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 AO Industries, Inc. | ||
[email protected] | ||
7262 Bull Pen Cir | ||
Mobile, AL 36695 | ||
|
@@ -1066,7 +1066,7 @@ along with semanticcms-core-taglib. If not, see <https://www.gnu.org/licenses/> | |
</tag> | ||
<tag> | ||
<!-- datePublished="2017-07-19T12:12:39-05:00" --> | ||
<!-- dateModified="2021-06-16T13:20:50-05:00" --> | ||
<!-- dateModified="2023-10-02T12:28:06Z" --> | ||
<description><![CDATA[ | ||
<p> | ||
Sets a property of a | ||
|
@@ -1090,7 +1090,7 @@ along with semanticcms-core-taglib. If not, see <https://www.gnu.org/licenses/> | |
<name>name</name> | ||
<required>true</required> | ||
<rtexprvalue>true</rtexprvalue> | ||
<type>java.lang.String</type> | ||
<type>java.lang.Object</type> | ||
</attribute> | ||
<attribute> | ||
<description><![CDATA[ | ||
|