struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <>
Subject Re: Calculate module of index in Struts2 iterator
Date Sat, 25 Dec 2010 15:09:10 GMT
On Dec 24, 2010, at 1:29 PM, JOSE L MARTINEZ-AVIAL <> wrote:
> Thanks for the advice!! I'll follow it.

The best example I forgot to include is when you want to pass in to an attribute a string
whose value is the same as the name of one of your action properties.

foo="user" can be confusing, but foo="%{'user'}" and foo="%{user}" are both unambiguous to
struts and clear to a human reading the code.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message