Question
Webject with Multi-valued attribute returned
I have created a webject that returns the attributes of a document we created to feed a cognos report. The problem is that we have several attributes that allow multiple value selections. The webject is returning the following for the field ProposedModel:
xml version="1.0" encoding="UTF-8" ?>
- <wc:GROUP CLASS="wt.doc.WTDocument|com.ptc.ReferenceDocument|net.ttifc.NewModelRequest" NAME="out" TYPE="Unknown" STATUS="0">
<Customer>OTHER-SEE COMMENTSCustomer>
<organizationReference>o=tti,ou=people,cn=administrativeldap,cn=windchill_9.0,o=ptc:Ldap.ttifc.net@Ldap.ttifc.netorganizationReference>
<iterationInfo.modifier>wt.org.WTUser:134356461:141572159-1209176169591-336867571-191-0-0-10@wcprod.ttifc.netiterationInfo.modifier>
<ProposedModel>AD20096ProposedModel>
<ProposedModel>AH21606ProposedModel>
<ProposedModel>AH21906ProposedModel>
<ProposedModel>AH22006ProposedModel>
<ProposedModel>AD40052ProposedModel>
<ProposedModel>AD20076ProposedModel>
<ProposedModel>AH21706ProposedModel>
<ProposedProductClaims>As reference modelsProposedProductClaims>
<CartonGraphicsReq>SAME AS REFERENCECartonGraphicsReq>
The cognos report only pulls in the first ProposedModel. I would like to update the webject to concatenate together all of the ProposedModels in to a single string attribute for input in to the cognos report.
I have been unable to pull anything but the first value via jsp. How can I access all of the returned values for ProposedModel so I can concatenate them?
Thank you

