Hi friends., as i hav asked this question many times no one replied
yet., hoping reply this time., My question is...

I dont hav a list box in main view but in details view and now when am
trying to use this listbox, getting an error as listbox not defined so
is that compulsory to hav a list box in main view too( the one which i
don't need) . The other doubt is i'm using a login screen for my
gadget if the user succefulle logged in then am calling  this method
with the desired xml as a argument.

function addElementsFromXml(xmlFile)
{
        var xml = storage.openText(xmlFile);
  var doc = new DOMDocument();
  doc.loadXML(xml);
  var childNodes = doc.childNodes[0].childNodes;
  for (var i = 0; i < childNodes.length; i++)
  {
                view.appendElement( childNodes[i].xml );
  }
}

it's working fine., now the xml which i am loading consists a list box
and one combo box ., depending upon the selection in combo box i am
displaying related details in details view with a button named as
add., now what i want is if the user click on the add button the
selected item in combo box have to add in the list box (which is also
loaded wen user successfully logged).



How can I manage the object in details view to add main view with a
list box

-- 
You received this message because you are subscribed to the Google Groups 
"Google Desktop Developer Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-desktop-developer?hl=en.

Reply via email to