Skip to content

Commit

Permalink
WW-5411 Delete unsupported static field templating
Browse files Browse the repository at this point in the history
  • Loading branch information
kusalk committed Jul 26, 2024
1 parent 8c6d7ef commit 1c2961e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions apps/showcase/src/main/webapp/WEB-INF/tags/non-ui/ifTag/testIf.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
* under the License.
*/
-->
<%@page import="org.apache.struts2.showcase.hangman.HangmanConstants" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
Expand Down Expand Up @@ -636,18 +635,5 @@
</div>
</div>
</div>
<br>
<br>
<p>
A secondary test for this JSP visually verifies expression access to a public constant.
A direct access to the same public constant via scriptlet provides secondary verification.
</p>
<br>
<div>
Test public static (constant) access (expression). Value: <s:property default="unavailable" value="@org.apache.struts2.showcase.hangman.HangmanConstants@HANGMAN_SESSION_KEY" />
</div>
<div>
Test public static (constant) access (scriptlet). Value: <%=org.apache.struts2.showcase.hangman.HangmanConstants.HANGMAN_SESSION_KEY%>
</div>
</body>
</html>

0 comments on commit 1c2961e

Please sign in to comment.