I am using encrypted annotation on a property that is a list of objects. I
applied it on the getter method as shown in the indexed properties
documentation:
@ValidateNestedProperties({
        @Validate(field="id", encrypted=true)
})
public List<ModelTypesEntity> getModelTypes() {
    return this.modelTypes;
}


Then on a JSP I am using stripes tags to render a select dropdown:

<stripes:select name="model.modelTypeId" id="model.modelTypeId" >
    <stripes:options-collection collection="${actionBean.modelTypes}"
value="id" label="name"  />
</stripes:select>

But the values come out unencrypted.

Any ideas is I am doing something wrong, or is this a bug?
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to