on 09-29-2007 6:20 AM
Hi All,
I have an application which uses AdaptiveWebserviceModel that access Webservice which accepts VO as input and output.
The VO contains 1: String array(for storing all strings in my form)
Create,Update,Delete are working properly.
But coming to Retrieve operation, If I write like this
ArrayOfString arrStr=wdContext.currentArrEmployeeVO_retrieveElement().modelObject().getNames();
List l1=new ArrayList();
l1=l1=arrStr.getString();
l1=arrStr.getString();
Iterator it1=l1.iterator();
while(it1.hasNext())
{
EmployeeRetrieve empRetrieve=new EmployeeRetrieve();//ModelObject
String_Item st=new String_Item(empRetrieve);
st=(String_Item)it1.next();
msgmgr.reportSuccess(""+(st.getAttributeValue("Item").toString()));
}
If in the backend Strings are as follows
One Two null null Three null Four
My problem is the above code is not displaying the values properly
It's displaying
One Two Three Four null null null
Iam using 7.1 version
Please anybody help me and try
Thanks in advance
LakshmiNarayanaChowdary.N
Hi,
It's nothing to do with the front-end. Your model is sorting out the null objects to end of the list. Try to use key, value pairs (where key is not null) you will the order that you entered.
regards,
Siva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnks to all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnks to all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnks to all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnks to all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.