Jump to content

Parameter Error with WebService


bussard

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...