bussard Posted October 13, 2009 Share Posted October 13, 2009 I'm trying the java-webapp-sample but the parameters of type list of values return no list.Debugging the code a found this code .... else if (rd.getControlType() == ResourceDescriptor.IC_TYPE_SINGLE_SELECT_LIST_OF_VALUES) { %> <select name="<%=rd.getName()%>"> <% // Get the child with the list... java.util.List rdChildren = rd.getChildren(); ResourceDescriptor listOfValuesRd = null; %> <%=rdChildren.size()%> <% for (int j=0; j<rdChildren.size(); ++j) { listOfValuesRd = (ResourceDescriptor)rdChildren.get(j); if (listOfValuesRd.getWsType().equals(listOfValuesRd.TYPE_LOV)) { break; } else listOfValuesRd = null; }....When the process reachs my parameter, it has one item but the return of getWsType() is TYPE_REFERENCE and the code ignores list of values.Anyone has a clue ?? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now