[
https://issues.apache.org/struts/browse/WW-2603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44250#action_44250
]
Musachy Barroso commented on WW-2603:
-------------------------------------
findValue("cliente.titulos[0].vencimento") =
findValue("cliente.titulos[%{#status.index}].vencimento ") iff status.index ==
0. I would suggest asking this on the user's list.
> using datetimepicker inside a detail panel in a master-detail screen, this
> component don´t show de value
> --------------------------------------------------------------------------------------------------------
>
> Key: WW-2603
> URL: https://issues.apache.org/struts/browse/WW-2603
> Project: Struts 2
> Issue Type: Bug
> Components: Plugin - Dojo Tags
> Affects Versions: 2.1.1
> Environment: struts 2.1.1, tomcat 6
> Reporter: Décio Heinzelmann Luckow
> Fix For: 2.1.3
>
>
> using datetimepicker inside a detail panel in a master-detail screen, this
> component don´t show de value when 'edit' an registry.
> In UIBean line: 635
> if (this.name != null) {
> name = findString(this.name);
> addParameter("name", name);
> }
> here 'this.name' is equal to cliente.titulos[%{#status.index}].vencimento
> when findString return the name is cliente.titulos[0].vencimento
> but 'this.name' is still cliente.titulos[%{#status.index}].vencimento
> a little after in DateTimePicker:262
> the classe gets this.name e try to get the value, but the name is
> cliente.titulos[%{#status.index}].vencimento and the method don´t find the
> value
> here should be cliente.titulos[0].vencimento
> I think that in UIBean:635 should be:
> if (this.name != null) {
> this.name = findString(this.name);
> addParameter("name", this.name);
> }
> 'this.value' instead of 'value'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.