struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nick (JIRA)" <>
Subject [jira] [Created] (WW-4642) Unable to retrieve s:hidden field values
Date Tue, 07 Jun 2016 18:50:21 GMT
nick created WW-4642:

             Summary: Unable to retrieve s:hidden field values
                 Key: WW-4642
             Project: Struts 2
          Issue Type: Bug
          Components: Core Interceptors, Expression Language
    Affects Versions: 2.3.20
         Environment: windows 7, jboss eap
            Reporter: nick
            Priority: Blocker

After upgrading Struts 2.3.16 to 2.3.20, my application GUI looks different. The application
cannot retrieve a value stored in a hidden field using the jquery find function.
-- The hidden fields are stored in table rows
               <s:iterator value="xxx" var="yyy">
                      <tr onclick="javascript:showRow(this);" >
                            <td> some value </td>
                           <s:hidden id="some hidden value" value="%{hiddenValue}" />
                           <td> some value</td>             

       function showRow(row) {
                var $element = $(row);
(i, elem) {

                // Why the code cannot access to any hidden fields here - not working in Struts

This message was sent by Atlassian JIRA

View raw message