You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2016/07/27 12:46:20 UTC
[jira] [Comment Edited] (WW-4666) Values stored in a Set a object
is not displayed using
[ https://issues.apache.org/jira/browse/WW-4666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15395583#comment-15395583 ]
Lukasz Lenart edited comment on WW-4666 at 7/27/16 12:45 PM:
-------------------------------------------------------------
Hidden variable:
{code:xml}
<s:hidden name="statusSel" id='statusSel'>
<s:hidden name="conSel" id='conSel'>
<s:hidden name="yearSel" id='yearSel'>
{code}
radio on change event:
{code:javascript}
$('#viewRadio_<s:property value="%{#stat.index}"/>').change(function () {
if ($('#viewRadio_<s:property value="%{#stat.index}"/>').is(":checked")) {
$("#conSel").val('<s:property value="%{#contr.cnum}"/>');
$("#statusSel").val('<s:property value="%{#contr.updStatus}"/>');
$("#yearSel").val('<s:property value="selectYear"/>');
$('#updStatus_<s:property value="%{#stat.index}"/>').val($("#statusSel").val());
$("#submitButton").attr("disabled",false);
}
});
{code}
was (Author: shar_kumar):
Hidden variable:
<s:hidden name="statusSel" id='statusSel'>
<s:hidden name="conSel" id='conSel'>
<s:hidden name="yearSel" id='yearSel'>
radio on change event:
$('#viewRadio_<s:property value="%{#stat.index}"/>').change(function () {
if ($('#viewRadio_<s:property value="%{#stat.index}"/>').is(":checked")) {
$("#conSel").val('<s:property value="%{#contr.cnum}"/>');
$("#statusSel").val('<s:property value="%{#contr.updStatus}"/>');
$("#yearSel").val('<s:property value="selectYear"/>');
$('#updStatus_<s:property value="%{#stat.index}"/>').val($("#statusSel").val());
$("#submitButton").attr("disabled",false);
}
});
> Values stored in a Set a object is not displayed using <s:iterator>
> -------------------------------------------------------------------
>
> Key: WW-4666
> URL: https://issues.apache.org/jira/browse/WW-4666
> Project: Struts 2
> Issue Type: Bug
> Components: Other
> Affects Versions: 2.3.29
> Environment: Windows operating system, Oracle Jdeveloper IDE, WebLogic, struts, jsp, Jquery
> Reporter: sharmila
> Priority: Critical
> Attachments: Pag1.JPG, Page2.JPG
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> This block used to display values when I had Struts2.3.16.3 version.
> After upgrading I am not able to display values. Please help me out. If I need to make any changes.
> <s:iterator value="sFY">
> <th><s:property /></th>
> </s:iterator>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)