The s:param seems wrong.
It should be
<s:param name="persons.id" value="${person.id}" />Christian -----Original Message----- From: Richard Hauswald [mailto:[email protected]] Sent: Friday, February 20, 2009 11:27 AM To: Stripes Users List Subject: [Stripes-users] Encryption of nested ids within forEach Hello, I want to encrypt the id of a class person. So I annotated the getter of persons in my action bean: @ValidateNestedProperties( { @Validate(field = "id", encrypted = true) }) public List<Person> getPersons() {...} ...and created jsp looking like this: <c:forEach var="person" items="${actionBean.persons}" varStatus="status"> <tr class="<c:out value="${status.index%2==0?'even':'odd' }" />"> <td>${person.customerId }</td> <td>${person.firstName }</td> <td>${person.lastName }</td> <td>${person.age }</td> <td><fmt:formatDate value="${person.birthDay.time}" /></td> <s:url var="url" beanclass="${actionBean.class}"> <s:param name="id" value="${person.id}" /> </s:url> <td><a href="${url}">edit</a></td> </tr> </c:forEach> But the url param tag doas not encrypt the id param. What am I doing wrong? Thanks in advance, Richard ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
