if (aNewParent)
mInsideSelect1 = PR_FALSE; if (aNewParent) { nsCOMPtr<nsIDOMNode> parent, tmp; mElement->GetParentNode(getter_AddRefs(parent)); while (parent) { if (nsXFormsUtils::IsXFormsElement(parent, NS_LITERAL_STRING("select1"))) { mInsideSelect1 = PR_TRUE; break; } tmp.swap(parent); tmp->GetParentNode(getter_AddRefs(parent)); }
nsXFormsItemElement::ParentChanged(nsIDOMElement *aNewParent){  if (aNewParent)    Refresh();  return NS_OK;}