Changeset 445:93b9a5dddb8b in documentViewer


Ignore:
Timestamp:
Jun 14, 2011, 9:57:11 AM (13 years ago)
Author:
abukhman
Branch:
default
Tags:
Root_elementtree
Message:

* empty log message *

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MpdlXmlTextServer.py

    r444 r445  
    33from Products.PageTemplates.PageTemplateFile import PageTemplateFile
    44from Ft.Xml import EMPTY_NAMESPACE, Parse
     5from Ft.Xml.Domlette import NonvalidatingReader
    56
    67import md5
     
    204205        pagexml = self.getServerData("page-fragment.xql",textParam)
    205206        dom = Parse(pagexml)
    206        
     207        #dom = NonvalidatingReader.parseStream(pagexml)
    207208       
    208209        #original Pages
     
    361362                            # add target
    362363                            l.setAttributeNS(None, 'target', '_blank')
    363                             l.setAttributeNS(None, 'onclick',"popupWin = window.open(this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=no, scrollbars=1'); return false;")
    364                             l.setAttributeNS(None, "ondblclick", "popupWin.focus();")
    365                             #window.open("this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=yes, scrollbars=1'"); return false;")
     364                            #l.setAttributeNS(None, 'onclick',"popupWin = window.open(this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=no, scrollbars=1'); return false;")
     365                            #l.setAttributeNS(None, "ondblclick", "popupWin.focus();")
     366                            #window.open("this.href, 'InfoWindow', 'menubar=no, location,width=500,height=600,top=180, left=700, toolbar=yes, scrollbars=1'"); return false;") 
    366367                                                         
    367368                        if href.startswith('http://mpdl-proto.mpiwg-berlin.mpg.de/mpdl/lt/lemma.xql'):   
  • documentViewer.py

    r444 r445  
    88from Products.zogiLib.zogiLib import browserCheck
    99
    10 from Ft.Xml import EMPTY_NAMESPACE, Parse
     10from Ft.Xml import EMPTY_NAMESPACE, Parse 
    1111import Ft.Xml.Domlette
    1212import os.path
Note: See TracChangeset for help on using the changeset viewer.