1. #1
    Ext User
    Join Date
    Nov 2007
    Posts
    11
    Vote Rating
    0
    buzhisihuo is on a distinguished road

      0  

    Default Date picker throw a event exception when include Yahoo utilities.js

    Date picker throw a event exception when include Yahoo utilities.js


    Same as title, for a reason, i need to use the utilities.js of YAHOO UI , but i could not solved this problem. If i include the utilities.js(YAHOO UI), when i click the date picker, it throw a below exception

    Code:
    ce.addListener is not a function
    fireEvent(click clientX=0, clientY=0)
    batch(click clientX=0, clientY=0)
    and date picker cannot be used, then i found there are yui adapter under the ext folder, so i added them and remove the utilities.js, but i still got the error

    Code:
    ce.addListener is not a function
    addListener("deepclone", function(), Object mimicing=false initialConfig=Object, Object scope=Object)ext-all-debug.js (line 1204)
    addListener(Object scope=Object, undefined, undefined, Object scope=Object)ext-all-debug.js (line 1190)
    onTriggerClick()ext-all-debug.js (line 22224)
    h(Object browserEvent=Event mouseout button=0 type=mouseout)ext-all-debug.js (line 1488)
    getViewWidth(click clientX=0, clientY=0)ext-base.js (line 10)
    [Break on this error] ce.addListener(fn, scope, o);
    I guess this problem caused by conflict between YUI and Ext on event listener definition.
    Anybody can help me? I don't know how to fix it

    below is my code:

    Code:
    ...
    <script type="text/javascript" src="<%=uri%>/js/3rdparty/utilities.js"></script>
    <script type="text/javascript" src="<%=uri%>/js/palette.js"></script>
    ...
    
    queryForm.column({style:'width:40%;margin-left:10px;margin-top:10px'});  
    queryForm.add(
    			   new Ext.form.DateField({
                               fieldLabel: p.label,
                               name: p.name,
                               width:190,
                               allowBlank:true
                            })
    );	
     queryForm.end();	
    ...

  2. #2
    Sencha - Training Team RWaters's Avatar
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    714
    Vote Rating
    0
    RWaters is on a distinguished road

      0  

    Default


    If using YUI you need utilities and the adapter.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi