You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2020/02/29 20:49:35 UTC

[roller] 01/01: [ROL-2160] work around apparent Struts but by showing weblog handle instead of name in front-page select.

This is an automated email from the ASF dual-hosted git repository.

snoopdave pushed a commit to branch ROL-2160
in repository https://gitbox.apache.org/repos/asf/roller.git

commit 827b7a824d7f5d8bc7c5fc46eb8a7d0220444a5f
Author: David M. Johnson <sn...@apache.org>
AuthorDate: Sat Feb 29 15:49:20 2020 -0500

    [ROL-2160] work around apparent Struts but by showing weblog handle instead of name in front-page select.
---
 app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp b/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp
index 5f91f8d..fc34946 100644
--- a/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp
+++ b/app/src/main/webapp/WEB-INF/jsps/admin/GlobalConfig.jsp
@@ -40,7 +40,7 @@
             <%-- special case for front page blog --%>
             <s:elseif test="#pd.name == 'site.frontpage.weblog.handle'">
                 <s:select name="%{#pd.name}" label="%{getText(#pd.key)}" value="%{properties[#pd.name].value}"
-                          list="weblogs" listKey="handle" listValueKey="name"/>
+                          list="weblogs" listKey="handle" listValueKey="handle"/>
             </s:elseif>
 
             <%-- "string" type means use a simple textbox --%>