struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject Re: [VOTE][FASTTRACK] Struts 2.3.29
Date Wed, 22 Jun 2016 09:50:50 GMT
oops, without the typos

....for

<s:hidden id="xxxx" name="eventList(%{#list.sequence}).id.eventCategory"
value="%{#list.id.eventCategory}" />

renders

<input id="xxxx" type="hidden" value="myvalue" name="
eventList(1).id.eventCategory">

which is correct ie it has a 1



On 22 June 2016 at 10:21, <dario.liberman@javelingroup.com> wrote:

> Hi Greg,
>
> Many thanks for the suggestion, we were going through that when we posted
> the comment on JIRA WWW-4641.
> The issue indeed only happens when the value is automatically extracted
> from the form rather than provided.
> But we have too many usages (over a thousand) of <s:tag
> name="....%{...}..." /> without a value attribute to be able to "fix" all
> of them with such a work-around in a reasonable time-frame.
>
> Regards,
> Dario.
>
> -----Original Message-----
> From: Lukasz Lenart [mailto:lukaszlenart@apache.org]
> Sent: 22 June 2016 10:15
> To: Struts Developers List <dev@struts.apache.org>
> Subject: Re: [VOTE][FASTTRACK] Struts 2.3.29
>
> 2016-06-22 11:10 GMT+02:00 Greg Huber <gregh3269@gmail.com>:
> > not really sure on your example, but this works, is this the same?
> >
> > <s:iterator var="list" value="eventList" status="rowstatus"> <s:set
> > var="sequence" value="#list.sequence" /> .....
> > <s:textfield name="eventList(%{#sequence}).description"
> > value="%{#list.description}" maxlength="60" size="60" /> .....
> > </s:iterator>
>
> WoW! I'm impressed :)
>
> Greg
> can you post your answer here as well
> https://issues.apache.org/jira/browse/WW-4641
>
> Maybe that will solve Martin's issue :)
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>
> ________________________________
>
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you have
> received it in error, please notify the sender immediately and delete the
> original. Any other use of the email by you is prohibited.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message