Possible Bug: Web Proxy alerted... - Ext JS

本文探讨了在使用ExtJS框架时遇到的问题,特别是在需要通过Web代理进行互联网连接的情况下。作者发现ExtJS会尝试访问远程站点进行图片获取,即使这些资源已本地化,仍会触发代理认证请求。文中提供了修改ExtJS设置以避免此类问题的方法。
I have a webproxy which requires user to put username and password to connect to the internet (not for the localhost or intranet sites). When I am testing Ext 1.0, I noticed that every time I made a fresh connection to localhost Ext, it as for the proxy authentication as it is trying to connect to an external site. I found the following line in Ext.js

BLANK_IMAGE_URL : "http:/"+"/www.yui-ext.com/s.gif",

which get image from yui-ext site, I downloaded the image locally and gave the local path there. It is still asking me to verify proxy. Is there anything (images, js files) that Ext fetches from remote site? (It even YUI is local in the new version. Please help.

Here is the image
[/img]
Reply With Quote
  #2  
Old 02-23-2007, 04:27 PM
Default

You have to set that up in your environment. e.g.

Ext.BLANK_IMAGE_URL = '/somewhere/with/1x1transparent.gif';
Reply With Quote
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值