问个js或extjs调用webservice的问题

darlingpeng 2016-07-12 11:29:10
先说明:
因为我现在只有20分,所以不好意思,只能给这么多了. 谢谢大家

大家好,
我用delphi写了一个webservice,用delphi作为客户端调用测试已经没问题。现在需要用extjs调用webservice里的函数,我该如何做?
我的代码如下,操作时服务器端调用的函数根本就没有进入,说明方法不对。

<html>
<head>
<title>ExtJs测试</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="stylesheet" type="text/css" href="resources/css/ext-all.css" />
<script type="text/javascript" src="ext-all.js"></script>
<script type="text/javascript" src="adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="ext-lang-zh_CN.js"></script>
<script language="javascript">
Ext.onReady(function(){
var soap = "";
soap += '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:MyWebServiceIntf-IMyWebService">';
soap += '<soapenv:Header/>';
soap += '<soapenv:Body>';
soap += '<urn:echoTest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">';
soap += ' <ms_true xsi:type="xsd:string">123456</ms_true>';
soap += '</urn:echoTest>';
soap += ' </soapenv:Body>';
soap += '</soapenv:Envelope>';

Ext.Ajax.request({
url:"http://localhost:8080/IMyWebService",
data: soap,
method:"post",
contentType: "text/xml;charset=UTF-8",
success:function(response,options){
Ext.Msg.alert('成功',response.responseText);
},
failure:function(){
Ext.Msg.alert('失败','与Webservice连接失败');
}
});
});
</script>
</head>
<body>
</body>
</html>


请大家帮忙看一下,有什么方法?
我总感觉我上面的代码的书写有问题,但不知是哪里,比如:url, data,soap 等
我的soap值是用soapUI工具测试后复制的,然后把它的?改成12345值而已.是否url值有问题?

在soapUI中的raw页中中值是:

POST http://localhost:8080/soap/IMyWebService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "urn:MyWebServiceIntf-IMyWebService#echoTest"
Content-Length: 468
Host: localhost:8080
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)




先谢谢大家!!!!!!!

附:
http://localhost:8080/wsdl/IMyWebService的内容如下:

<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" name="IZCWebServiceservice" targetNamespace="http://tempuri.org/">
<message name="echoTest0Request">
<part name="ms_true" type="xs:string"/>
</message>
<message name="echoTest0Response">
<part name="return" type="xs:string"/>
</message>
<message name="login1Request">
<part name="ms_option" type="xs:string"/>
</message>
<message name="login1Response">
<part name="return" type="xs:string"/>
</message>
<message name="logout2Request">
<part name="ms_option" type="xs:string"/>
</message>
<message name="logout2Response">
<part name="return" type="xs:string"/>
</message>
<message name="querySQL3Request">
<part name="ms_option" type="xs:string"/>
</message>
<message name="querySQL3Response">
<part name="return" type="xs:string"/>
</message>
<message name="execSQL4Request">
<part name="ms_option" type="xs:string"/>
</message>
<message name="execSQL4Response">
<part name="return" type="xs:string"/>
</message>
<message name="getFileList5Request">
<part name="ms_rand" type="xs:string"/>
</message>
<message name="getFileList5Response">
<part name="return" type="xs:string"/>
</message>
<message name="getFile6Request">
<part name="ms_rand" type="xs:string"/>
<part name="ms_fileName" type="xs:string"/>
</message>
<message name="getFile6Response">
<part name="return" type="xs:base64Binary"/>
</message>
<portType name="IMyWebService">
<operation name="echoTest">
<input message="tns:echoTest0Request"/>
<output message="tns:echoTest0Response"/>
</operation>
<operation name="login">
<input message="tns:login1Request"/>
<output message="tns:login1Response"/>
</operation>
<operation name="logout">
<input message="tns:logout2Request"/>
<output message="tns:logout2Response"/>
</operation>
<operation name="querySQL">
<input message="tns:querySQL3Request"/>
<output message="tns:querySQL3Response"/>
</operation>
<operation name="execSQL">
<input message="tns:execSQL4Request"/>
<output message="tns:execSQL4Response"/>
</operation>
<operation name="getFileList">
<input message="tns:getFileList5Request"/>
<output message="tns:getFileList5Response"/>
</operation>
<operation name="getFile">
<input message="tns:getFile6Request"/>
<output message="tns:getFile6Response"/>
</operation>
</portType>
<binding name="IMyWebServicebinding" type="tns:IMyWebService">
<binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="echoTest">
<operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:MyWebServiceIntf-IMyWebService#echoTest" style="rpc"/>
<input>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</input>
<output>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</output>
</operation>
<operation name="login">
<operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:MyWebServiceIntf-IMyWebService#login" style="rpc"/>
<input>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</input>
<output>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</output>
</operation>
<operation name="logout">
<operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:MyWebServiceIntf-IMyWebService#logout" style="rpc"/>
<input>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</input>
<output>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</output>
</operation>
<operation name="querySQL">
<operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:MyWebServiceIntf-IMyWebService#querySQL" style="rpc"/>
<input>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</input>
<output>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</output>
</operation>
<operation name="execSQL">
<operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:MyWebServiceIntf-IMyWebService#execSQL" style="rpc"/>
<input>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</input>
<output>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</output>
</operation>
<operation name="getFileList">
<operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:MyWebServiceIntf-IMyWebService#getFileList" style="rpc"/>
<input>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</input>
<output>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</output>
</operation>
<operation name="getFile">
<operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:MyWebServiceIntf-IMyWebService#getFile" style="rpc"/>
<input>
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</input>
<output>
<mime:multipartRelated>
<part xmlns="http://schemas.xmlsoap.org/wsdl/mime/">
<body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:MyWebServiceIntf-IMyWebService"/>
</part>
<part xmlns="http://schemas.xmlsoap.org/wsdl/mime/">
<content part="return" type="application/binary"/>
</part>
</mime:multipartRelated>
</output>
</operation>
</binding>
<service name="IMyWebServiceservice">
<port name="IMyWebServicePort" binding="tns:IMyWebServicebinding">
<address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:8080/soap/IMyWebService"/>
</port>
</service>
</definitions>


webservice的style有两种,即rpc和document。delphi写的这个的style为rpc,看一下上面的代码就知道了,这个有什么代码需要写吗?

谢谢大家!!!

...
...全文
137 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
darlingpeng 2016-07-13
  • 打赏
  • 举报
回复
我上面的测试代码是在硬盘上随便用一个文件名写的html, 是否我需要在发布的网站上才行? 有无这方面的原因? 我用java写了一个webservice测试代码,用soapUI测试没有问题, 它应该也是用发soap包的方式, 证明无论你原来的webservice用的style='rpc' 或 style='document', 都可用soap方式发包调用, 是否这样? 我查也有很多人用soap调用webservice, 我的怎么就不成呢?
darlingpeng 2016-07-12
  • 打赏
  • 举报
回复
谢谢回复. 我没有跨域呀. 另外,SOAPAction这个值是否要传送, 因为我从soapUI中看到这个,所以我在js中加了 headers 把这个值传入, 但不知是否正确. 我调试跟踪的结果,应该是与data的无关, 是有什么参数或值不对. 因为我用soapUI测试时,直接进入echoTest函数中. 而我用js的测试,进入不了echoTest函数,而是进入类似defaultHandlerAction这样的函数中,即没有找到正确的处理而进行了默认的处理 . 请大家看一下是什么原因. ......
未知数 2016-07-12
  • 打赏
  • 举报
回复
可能是跨域了,所以请求方式变成了options 你的页面的url是什么,要与http://localhost:8080的域名端口协议都相同,才能调用 是不是打开页面时地址中localhost写成127.0.0.1了?
darlingpeng 2016-07-12
  • 打赏
  • 举报
回复
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>test</title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <script src="jquery.js" type="text/javascript"></script>
    <script type="text/javascript">
    $().ready(function() {
		
		var soap = '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:MyWebServiceIntf-IMyWebService">';
            soap += '<soapenv:Header/>';
            soap += '<soapenv:Body>';
            soap += '<urn:echoTest soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">';
            soap += ' <ms_true xsi:type="xsd:string">?</ms_true>';
            soap += '</urn:echoTest>';
            soap += ' </soapenv:Body>';
            soap += '</soapenv:Envelope>';
		//soap = encodeURI(soap);

		$.ajax({
			url: "http://localhost:8080/soap/IMyWebService",
			contentType: "text/xml;charset=UTF-8",
			data: soap,
			cache: false,
			async: false,
			headers: {"SOAPAction": "urn:MyWebServiceIntf-IMyWebService#echoTest"},
		    type: "post",
		    success: function(data, textStatus){ 
			   alert("成功");
			}, 
			error: function(XMLHttpRequest, textStatus, errorThrown){
				alert('失败='+XMLHttpRequest.status+':'+XMLHttpRequest.readyState+':'+textStatus);
			},
			complete: function(XMLHttpRequest, textStatus) {
				alert("完成="+XMLHttpRequest.status+':'+XMLHttpRequest.readyState+':'+textStatus);
			}
		});


	});            
    </script>
</head>
<body>
 
</body>
</html>
失败
darlingpeng 2016-07-12
  • 打赏
  • 举报
回复
希望大家给予帮助.
$.ajax({
			url: "http://localhost:8080/soap/IZCWebService",
			contentType: "text/xml;charset=UTF-8",
			data: soap,
			cache: false,
			async: false,
		    method: "post",
		    success: function(data, textStatus){ 
			   alert("成功");
			}, 
			error: function(XMLHttpRequest, textStatus, errorThrown){
				alert('失败='+XMLHttpRequest.status+':'+XMLHttpRequest.readyState+':'+textStatus);
			},
			complete: function(XMLHttpRequest, textStatus) {
				alert("完成="+XMLHttpRequest.status+':'+XMLHttpRequest.readyState+':'+textStatus);
			}
		});
我得到的error中的值是: 失败=0:0:error ..
qq_32668097 2016-07-12
  • 打赏
  • 举报
回复
darlingpeng 2016-07-12
  • 打赏
  • 举报
回复
我有一个不明白的地方,我在firefox上打开调试开关运行,运行后在'网络'中发现: 消息头中,请求网址是:http://localhost:8080/soap/IZCWebService?<soapenv:Envelope xmlns:xsi="http://www..............., 请求方法是: OPTIONS, 为什么? 我的明明是 POST 呀
darlingpeng 2016-07-12
  • 打赏
  • 举报
回复
谢谢回复, 我写的js代码有问题吗? 我没有看出问题, 但就是访问不了. 不知道为什么?
NANU-NANA 2016-07-12
  • 打赏
  • 举报
回复
你没查一下api么 http://docs.sencha.com/extjs/4.2.4/extjs-build/docs/index.html#/guide/soap
ExtJs简介: Extjs在经过两年的发展,Ext JS从2.0版开始,越来越受用户欢迎,今年,Extjs不但推出3.0版本,而且还推出了Ext Core,准备在Web2.0网站开发中占一席之地,如在 Extjs2.x版本中为人所诟病的速度问题ExtJs3.0中有所改善。不过,最革命性的改变还是ExtJs中新增的Ext.Direct功能,它实现了服务器端的无关性。 在3.2版本中,Ext将增加移动组件,进军移动市场,这将是一次革命性的改进,同时在4.0版本中,除了对HTML5的支持外,还增加画布功能。 还有一点更值得期待,就是Ext的RAD开发工具也在开发当中。估计在不久之后,也可以向VB,C#一样,通过可视化工具拖拽方式即可轻松开发Web应用。 ExtJs在发展过程中不仅一步步地巩固着自己在HTML、CSS、JavaScript领域无可比拟的优势,而且已经开始向相关领域发展扩张。如从2.02版开始为Adobe的RIA技术AIR提供支持,并且为GWT开发了Ext GWT2.0,这些都体现了ExtJs的强大活力和生命力。 在可预见的未来,ExtJs将会甩开对手,大踏步向前。 ExtJs的前景: ExtJS的前景是非常好的,现在的QQ2009的登录界面以及使用,迅雷最新版的主界面,都能够找到这个框架的踪迹。web QQ也是有一个技术版本是使用这种框架的,所以,可以看出,extjs的应用,是越来越广泛了,extjs的前景,不可估量,不论站在技术开发的层次还是大部分用户的使用体验。 国讯教育通用智能OA办公系统项目培训目标 本系列讲座分为四大部分: 1、ExtJs基础篇:主要介绍Ext Core的一些核心功能 2、ExtJs进阶篇:主要介绍ExtJs里的常用组件,容器及布局 3、ExtJs数据篇:主要介绍和数据库交互的相关组件及CRUD功能 4、项目实战篇: Extjs3.2+ASP.NET七层架构+设计模式+ log4j+WebSerice等技术国讯教育通用智能OA办公平台 适用对象 1、要求有一定的javascript语言和HTML,CSS基础的学员 2、有一定的Asp.net网页编程基础和C#语言基础 3、有志于从事富客户端技术ExtJs的学习与研究的学生及专业Web开发人员 模块介绍 1、ExtJs基础篇-ExtJs快速入门 1.1、ExtJs基础篇(1):ExtJs概述与环境配置及架构剖析 1.2、ExtJs基础篇(2):ExtJs OOP基础 1.3、ExtJs基础篇(3):ExtJs 核心函数简介 1.4、ExtJs基础篇(4):ExtJs中的模板详解(1) 1.5、ExtJs基础篇(5):ExtJs中的模板详解(2) 2、ExtJs进阶篇:Extjs进阶 2.1、大话ExtJs中的布局 2.2、ExtJs的常见组件 2.3、ExtJs中的面板及Window窗口 2.4、ExtJs中的选项卡面板 2.5、ExtJs中的对话框与Combox组件 2.6、ExtJs中的ExtTree详解 3、ExtJs数据篇 3.1、数据存储基本单元Record与DataField详解 3.2、数据存储Store详解1 3.3、数据存储Store详解2 3.4、数据代理DataProxy详解 3.5、数据读取器DataReader详解 3.6、Ext.Direct详解1 3.7、Ext.Direct详解2 4、ExtJs实战篇—国讯教育通用智能OA办公平台 (共70讲) 4.1、系统业务流程主功能结构分析 4.2、数据库设计 4.3、抽象工厂+反射七层架构设计 4.4、首页布局设计 4.5、人事管理模块分析设计 4.6、个人专区模块分析设计 4.7、日程管理区模块分析设计 4.8、文档管理模块分析设计 4.9、工单管理模块分析设计 4.10、工资管理模块分析设计 4.11、内部邮箱模块分析设计 4.12、系统管理模块分析设计 4.13、考勤管理模块分析设计 4.14、消息管理模块分析设计 4.15、日志管理 4.16、报表打印及数据统计 4.17、数据导入导出管理 本项目所涉及到的技术: 数据库方面: 1、PD数据库建模 2、SQL Server2005视图、存储过程、用户自定义函数、触发器 ASP.net方面: 1、ASP.net PetShop七层架构 2、抽象工厂+反射+配置文件实现数据库无缝切换 3、序列化/反序列化+泛型集合的应用 4、利用ASP.net HttpHandler实现防盗链 5、网站安全性方面:ASP.net防SQL注入及Web Service Soap头加密技术 6、AS
这个文档中的话题与解决方案, 几乎全部来自 UniGUI 的交流群, 群中活跃的 BDS2007、 cmj 等人,给了众多使用 UniGUI 的人很多帮助。 这个文档, 主要是学习与方便后来之人, 文档积累的起因是严肃而正式的, 因为每个人 都有学习的需求;但文档的所谓版权、著述, 我希望它是有公益色彩的东西,如有哪位不希 望解决方案不出现在这里,请您告知。 此外, 就是期待大家都能把自己的一些经验, 给指导和帮助后来人的东西, 在不影响您 正常工作与其他事情的前提下,奉献出来。至于正确与错误、高超或低下,无关大体。 目 录 1. 事件中的代码在服务器端和客户端,哪一端执行? ........................................................... 3 2. 为什么 UniGUI 控件在 IE中显示的字体会变小、模糊? .................................................... 3 3. 在浏览器端不能使用 ShowMessage() .................................................................................... 5 4. 修改工程文件,使 exe 程序编译成 dll .................................................................................. 6 5. UniGUI 开发的 dll 如何发布 .................................................................................................... 7 6. uniGUI0.94 以 EXE形式发布程序的布署方法 ..................................................................... 13 7. uniGUI 执行程序部署有 3 种形式 ......................................................................................... 14 8. 在 UniGUI 里使用 ADO 的设置 .............................................................................................. 16 9. MainModule 怎样得到 js 变量的值 ...................................................................................... 16 10. TUniServerModule 和 TUniMainModule 这两模块有何区别 ....................................... 16 11. MainModule 里一般放什么, ServerModule 一般放什么? ....................................... 17 12. 主窗体的标题怎么去掉 ................................................................................................. 17 13. 用 ExtEvent 打开链接和下载文件 ................................................................................. 17 14. WebApplication 显示对话框 .......................................................................................... 17 15. Uni 中的 UniChart 的 Series增删 .................................................................................. 17 16. 怎样给每一个在线用户建立一套变量,在用户断开后立即清除 ............................. 18 17. TUniHiddenPanel 的作用 ................................................................................................ 18 18. UniDBGrid 如何转为 Excel供下载? ............................................................................. 18 19. uniGUI 实现 Excel的导出 .............................................................................................. 18 20. UniDBGrid Excel文件下载 .............................................................................................. 19 21. Excel文件导入系统 ........................................................................................................ 21 22. 文件转档与下载 ............................................................................................................. 21 23. Send File()应用 ............................................................................................................... 21 24. UniGUI 的 Canvas使用 ................................................................................................... 22 25. 动态生成 TTabSheet or TUniTabSheet ........................................................................... 22 26. UniGUI 中如果获得 Session情况 .................................................................................. 23 27. UniGUI Func 之 Sessions ............................................................................................... 23 28. uniGUI 通过 SessionList操作另外的登录用户 ............................................................ 24 29. UniGui 中如何监听 Session的开始与结束 ................................................................... 25 30. UniGUI 如何禁止关闭新窗口 ........................................................................................ 27 31. UniGUI 中控件类名的变化 ............................................................................................ 27 32. 再议 UniGUI 中使用 Grid+Rport 报表控件 (推荐此方法 ) ............................................. 28 33. UniGUI 的布局面板控件 TUniRegionPanel ................................................................... 28 34. UniGUI 使用报表 Grid+Report 的方法之一 (静态调用 ) ................................................ 28 35. UniGUI 使用报表 Grid+Report 的方法之二 (动态调用 ) ................................................ 28 36. UniGUI 中 Cookies 使用中文汉字的方法 ...................................................................... 28 37. UniGUI 如何实现压缩传输数据? ................................................................................ 29 38. UniGUI 的 ShowModal .................................................................................................... 29 39. UniGUI 前台用户如何在软件中点击一个按钮打开浏览器并打开地址? ................ 29 40. How To Make Caption In UniGUI? ................................................................................. 30 41. 在 UniGUI 的 UniHtmlFrame 中不能使用的 HTML 标签 .............................................. 30 42. 利用 UniGUI 中的 TUniPageControl 实现多页面 .......................................................... 30 43. UniGUI TreeView 处理 .................................................................................................... 31 44. UniGUI 设置超时 ........................................................................................................... 31 45. UniGUI 如何实现登陆页面 ............................................................................................ 31 46. UniGUI 如何实现超链接 ................................................................................................ 32 47. 从 ASP网站登录到 UniGUI 中 ....................................................................................... 32 48. UniGUI 数据库初始化要放到 MainModule 里 ............................................................. 32 49. UniGUI Cookies ................................................................................................................ 32 50. Form Inheritance ............................................................................................................. 33 51. UniGUI 组件中的 Client JavaScript Delphi 组件之间的操作 ......................................... 33 52. JS能取 Delphi 控件的值? ............................................................................................ 34 53. 写 js 的注意 .................................................................................................................... 34 54. unigui 结合 JS方法记录 ................................................................................................. 34 55. JS,Jquery获取各种屏幕的宽度和高度 ......................................................................... 35 56. uniGUI 动态建立 Form 及释放 ...................................................................................... 37 57. uniGUI 经验两则 uniTimer uniHtmlFrame .................................................................... 37 58. uniGUI 使用百度地图 api 进行标注 .............................................................................. 37 59. fileupload 的问题 ........................................................................................................... 38 60. unigui unidbgrid 显示列的合计值 ................................................................................. 38 61. UniGui 中设置 uniEdit 控件的 fieldLabel ,emptyText 等 Extjs 属性 .............................. 40 62. uniGUI 用 Grid++Report 报表插件设计保存报表 (For unigui ver:0.95.0.1045) ............ 40 63. UniGUI 的 TUniLoginForm 窗口自定义背景色 .............................................................. 46 64. uniGUI 显示 Warning: Form must be shown after it is created 的解决办法 ................. 46 65. 界面上的快捷方式 ......................................................................................................... 46 66. 调用 WebService............................................................................................................. 47 67. TUniTreeView 的 CheckBox ............................................................................................ 49 68. 通过 URL来获取相关参数 ............................................................................................ 52 69. uniDBGrid 实行多选表格行 ........................................................................................... 52 70. UniDBGrid 增加显示记录数的 label 及隐藏 refresh 按钮 ............................................ 56 71. 对 UniDBGrid 的单元格操作 .......................................................................................... 57 72. DBGrid 多选后计算问题(是否可以作为参考?) .................................................... 58 73. UniDBGrid 选择字段 Boolean 处理 ................................................................................ 59 74. UniDBGrid 自带 MultiSelect 无法使用【最新版可以】 ............................................... 60 75. 如何打开 URL,让系统看起来舒服点 ......................................................................... 61 76. 如何修改 UniGUI 下的中文信息 ................................................................................... 62 77. 如何实现 UniDBGrid 下字段显示按钮 .......................................................................... 62 78. 如何实现 UniDBGrid 下字段自动换行 .......................................................................... 62 79. 如何结合 kbmMW .......................................................................................................... 63 80. 如何规避浏览器访问时 ajax 异常 ................................................................................ 63 81. 事件操作时,如果出现等待效果 ................................................................................. 63 82. 登录页面和主页面切换之间碰到的异常 ..................................................................... 63 83. 让 Page 中切换 Tab效果稍微好一点 ........................................................................... 64 84. UniImage 可以嵌入 PNG图片 ....................................................................................... 64 85. UniImage 自带导入 PNG图片的问题 ........................................................................... 65

87,910

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧