Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-2147

GlobalConfig.jsp Select tag bind wrong value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 6.0.0
    • None
    • None

    Description

      In the WEB-INF/jsps/admin/GlobalConfig.jsp file line 43:

      // code placeholder
      <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="name" listValueKey="handle"/>
      </s:elseif>
      

      should be:

      // code placeholder
      <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"/>
      </s:elseif>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            grhuang Greg Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: