I have a decision-sate that looks like this;
flowScope.authorList is of type ListHolderBean.javaCode:<decision-state id="newAuthor"> <if test="${flowScope.authorList.list[0] == 0}" then="createAuthorAction.setupForm" else="addAuthorAction.doExecute"/> </decision-state>
The error I'm getting isCode:package test; import java.util.ArrayList; import java.util.List; public class ListHolderBean { private List list = new ArrayList(); public List getList() { return list; } public void setList(List list) { this.list = list; } }
Is my test statement in the if condition possible or just plain wrong?Code:org.springframework.beans.NotReadablePropertyException: Invalid property 'flowScope.authorList' of bean class [org.springframework.web.flow.execution.impl.StateContextImpl]: Bean property 'flowScope.authorList' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
Thanks.


Reply With Quote