??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久一本精品,а√在线中文网新版地址在线,国产亚洲欧美激情http://www.aygfsteel.com/rain1102/category/37662.html<br/><font color="green" style="font-family: 华文行楷;font-size:16px;">子曰Q危邦不入,乱邦不居。天下有道则见,无道则隐?lt;/font><font color="#3C1435"></font>zh-cnSat, 21 Feb 2009 03:14:24 GMTSat, 21 Feb 2009 03:14:24 GMT60遍历整个面查询不同cd的组?/title>http://www.aygfsteel.com/rain1102/archive/2007/06/26/126268.htmlEric.ZhouEric.ZhouTue, 26 Jun 2007 02:02:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/06/26/126268.htmlhttp://www.aygfsteel.com/rain1102/comments/126268.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/06/26/126268.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/126268.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/126268.htmljsx3.app.Model.getDescendantsOfType
method getDescendantsOfType(strType, bShallow)
Finds all descendants of the given type.
Parameters:
strType{String | Function | jsx3.lang.Class} – the fully-qualified class name, class constructor function, or jsx3.Class instance. bShallow{boolean} – if true, only search direct children, not all descendants.
Returns:
{Array<jsx3.app.Model>} – an array of matching descendants
for example:
/** * Bind change events of the specified control and its all children to the specified callback function. * exceptedControlNames don't bind change event */ Eric.bindChangeEvents = function(rootNode, callback, exceptedControlNames) { if (exceptedControlNames == undefined) { exceptedControlNames = []; } // bind change events for TextBox var children = rootNode.getDescendantsOfType("jsx3.gui.TextBox"); for (var i = 0; i < children.length; i++) { if (exceptedControlNames.indexOf(children[i].getName()) == -1) { children[i].subscribe(jsx3.gui.Interactive.JSXCHANGE, callback); } } }
]]>select textbox value when focus on it.http://www.aygfsteel.com/rain1102/archive/2007/05/30/120887.htmlEric.ZhouEric.ZhouWed, 30 May 2007 05:14:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/05/30/120887.htmlhttp://www.aygfsteel.com/rain1102/comments/120887.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/05/30/120887.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/120887.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/120887.htmltextbox: events editor: focus: this.getRendered().select();
HTMLElement getRendered(objGUI : Object | jsx3.gui.Event) Returns handle/reference to the JSX GUI Object's on-screen counterpart—basically a handle to a DHTML object such as a DIV, SPAN, etc
Parameters:
objGUI – either the HTML document containing the rendered object or an HTML element in that document. This argument is optional but improves the efficiency of this method if provided?br>
]]>为Matrix单元格添加数据(无刷斎ͼhttp://www.aygfsteel.com/rain1102/archive/2007/05/24/119807.htmlEric.ZhouEric.ZhouThu, 24 May 2007 12:44:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/05/24/119807.htmlhttp://www.aygfsteel.com/rain1102/comments/119807.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/05/24/119807.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/119807.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/119807.html之前修改后者往Matrixd一行记录的时候,都是?/span> jsx3.xml.Entity insertRecord(objRecord : Object<String, String>, strParentRecordId : String, bRedraw : boolean)或?/span>void insertRecordNode(objRecordNode : jsx3.xml.Entity, strParentRecordId : String, bRedraw : boolean)Ҏ?/span> 通过对两个方法的参数或者对insertRecordNodeҎ的说明:Inserts a new record into the XML data source of this object. This method is the same as insertRecord() except that its first parameter is of type jsx3.xml.Entity rather than Object.可以看出只是一个是对象Q而后者则是一?/span>Entity 。而这两种Ҏ的最后一个参C有说明:bRedraw – if true or null, the on-screen view of this object is immediately updated to reflect the additional record. 但这时候遇C一个就是更新单元格的数据,而之前我们做的时候都是通过jsx3.xml.Entity getRecordNode(strRecordId : String)Ҏ把当前选上的记录先获取到。然后再通过jsx3.xml.Entity setAttribute(strName : String, strValue : String)Ҏ讄单元倹{最后还要利?/span>void repaintData()Ҏh数据。这h可以把修改后的值显C出来。其中对repaintData解释是:Paints only the data rows. Call for quick repainting of the data rows when only the source data has changed. Does not recalculate and reprofile the box profile and resulting XSLT. Retains scroll position when possible.
而最q看C另一个方法:jsx3.xml.CDF insertRecordProperty(strRecordId : String, strPropName : String, strPropValue : String, bRedraw : boolean)Q而这Ҏ正好解决了单元格值的变化Q?/span>Inserts a new property into an existing record with jsxid equal to strRecordId. If the property already exists, the existing property value will be updated. If no such record exists in the XML document, this method fails quietly.
另注Q获取单行记录还有另一个方法:Object<String, String> getRecord(strRecordId : String)Q他?/span>getRecordNodeq回的类型不同,他返回的是对象。我们可以通过说明Q?/span>Returns an object containing the attributes of a particular CDF record as property/value pairs. The object returned by this method is a copy of the underlying data. Therefore, updates to this object will not affect the underlying data.看出。他是一个克隆,也就是对其操作ƈ不媄?/span>jsx3.xml.CDF里面的倹{而当修改getRecordNodeq回?/span>Entity会影响?/span>jsx3.xml.CDF?/span>getRecordNode的说明中可以体现这一炏V?/span>Returns a record from the XML data source of this object. This returned value is a handle to the record and not a clone. Therefore, any updates made to the returned value with update the XML document of this object. To reflect such changes in the on-screen view of this object, call redrawRecord(strRecordId, jsx3.xml.CDF.UPDATE); on this object.q里q说C另一个方?/span>redrawRecord(strRecordId, jsx3.xml.CDF.UPDATE); q就相当与单行刷新。当然比使用void repaintData()Ҏh数据好的多了?/span> 当然q有别的Ҏ。例?/span>Matrix里面q有一个实现就是:void redrawCell(strRecordId : String, objColumn : jsx3.gui.Matrix.Column, bSuppressTriggers : boolean)Q?/span>Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped.?/span>void redrawMappedCells(strRecordId : String, strAttName : String)Q?/span>Updates the on-screen cell to reflect the value in the CDF document to which the cell is mapped.以及?/span>void redrawRecord(strRecordId : String, intAction : int, bRecurse : boolean)的实现?/span> 所以当修改单行的单元格数据的时候看个h爱好了?/span>
]]>让Grid单行不能~辑http://www.aygfsteel.com/rain1102/archive/2007/05/22/119054.htmlEric.ZhouEric.ZhouTue, 22 May 2007 02:04:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/05/22/119054.htmlhttp://www.aygfsteel.com/rain1102/comments/119054.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/05/22/119054.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/119054.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/119054.htmlDatepicker icon: calender comes up but can't select a date. Disabled. Datepicker textbox: Edit is saved to CDF. Not disabled. Text Field column: Edit is saved to CDF. Not disabled. Checkbox: Disabled Select: Edit is saved to CDF. Not disabled.
Set property for "Before Edit" with following code fragment Q?
if (this.getRecord(strRECORDID).jsxdisabled == 1) false;
]]>jsx3.gui.Eventhttp://www.aygfsteel.com/rain1102/archive/2007/04/23/112974.htmlEric.ZhouEric.ZhouMon, 23 Apr 2007 08:19:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/04/23/112974.htmlhttp://www.aygfsteel.com/rain1102/comments/112974.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/04/23/112974.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/112974.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/112974.htmljsx3.gui.Event enterKey() method enterKey() Returns true if the enter key was pressed. Returns: {boolean} –
jsx3.gui.Event keyCode() method keyCode() Returns integer representing the key code of the key just pressed/keyed-down. Returns: {int} – keycode
I have two jsx3.gui.TextBox fields and the first one has an event handler set on the "Key Down" property. ---------- Key Down: nextField(this,objEVENT); ----------
function nextField(objJSX,objEvent){ var keyCode = objEvent.keyCode();
]]>使用jsx3.gui.Splitter对象的setSubcontainer1Pct()Ҏhttp://www.aygfsteel.com/rain1102/archive/2007/04/06/108970.htmlEric.ZhouEric.ZhouFri, 06 Apr 2007 08:35:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/04/06/108970.htmlhttp://www.aygfsteel.com/rain1102/comments/108970.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/04/06/108970.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/108970.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/108970.htmljsx3.gui.Splitter setSubcontainer1Pct() method setSubcontainer1Pct(strSubcontainerPct, bView) Sets a valid percentage (e.g., 100.00% 23.567%) that will be applied to the on-screen element as its CSS width/height percentage Parameters: strSubcontainerPct{String} – valid CSS width property as a percentage (e.g., 34.56%) bView{boolean} – false if null; if true the view is updated automatically without a repaint Returns: {jsx3.gui.Splitter}– this object
egQ?br>service.menuMinimize = function(menuToggle,isSelf) { if (isSelf != null) { if (isSelf == 0) { menuToggle.setState(menuToggle.getState() == 0 ? 1 : 0); } } var menuSplitter = csa.getServer().getJSXByName('splitter_menuright'); if (!menuToggle.getState()){ menuSplitter.setSubcontainer1Pct("95.86",true); } else { menuSplitter.setSubcontainer1Pct("67.70",true); } }
]]>Get data access the mapped CDF documenthttp://www.aygfsteel.com/rain1102/archive/2007/04/05/108620.htmlEric.ZhouEric.ZhouThu, 05 Apr 2007 02:12:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/04/05/108620.htmlhttp://www.aygfsteel.com/rain1102/comments/108620.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/04/05/108620.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/108620.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/108620.html In the video a CDF document named "quotes" was created, you can access this document from the cache with
doc = <namespace>.getCache().getDocument('quotes')
iter = doc.selectNodes('//record').iterator();
jsx3.log(iter.next().getAttribute('High'));
jsx3.log(iter.next().getAttribute('High'));
]]>让SelectW一ơ显C时候就昄里面的数?/title>http://www.aygfsteel.com/rain1102/archive/2007/03/30/107494.htmlEric.ZhouEric.ZhouFri, 30 Mar 2007 07:52:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/03/30/107494.htmlhttp://www.aygfsteel.com/rain1102/comments/107494.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/03/30/107494.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/107494.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/107494.html其实只要讄Select的valueZ惌昄的|然后在调用Web Service中方法成功的时候用repaint()可以了Q?br />例如Q?br />service.ongetCountriesResultSuccess = function(objEvent) { objEvent.target.getServer().getJSXByName("country").repaint(); //var responseXML = objEvent.target.getInboundDocument(); //objEvent.target.getServer().alert("Success","The service call was successful."); };
jsx3.gui.Painted
repaint()
method repaint()
Updates the view of this object by calling paint() and replacing the current view with the returned HTML. This method has no effect if this object is not currently displayed.
Returns:
{String} – the result of calling paint() or null if this object is not displayed.
]]>让GI中的Girdlg的数据自动显C?/title>http://www.aygfsteel.com/rain1102/archive/2007/03/29/107317.htmlEric.ZhouEric.ZhouThu, 29 Mar 2007 12:00:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/03/29/107317.htmlhttp://www.aygfsteel.com/rain1102/comments/107317.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/03/29/107317.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/107317.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/107317.htmlrain1102.APP.getJSXByName("gridResults").repaintData();
jsx3.gui.Matrix
method repaintData()
Paints only the data rows. Call for quick repainting of the data rows when only the source data has changed. Does not recalculate and reprofile the box profile and resulting XSLT. Retains scroll position when possible.
]]>jsx3.net.Service中的doInboundMap()和setInboundDocument(objXML) Ҏhttp://www.aygfsteel.com/rain1102/archive/2007/03/29/107254.htmlEric.ZhouEric.ZhouThu, 29 Mar 2007 08:41:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/03/29/107254.htmlhttp://www.aygfsteel.com/rain1102/comments/107254.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/03/29/107254.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/107254.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/107254.htmlmethod doInboundMap()
Applies all inbound mappings, using the server response document as the source for the operation. This method can only be called if 'doCall' has executed and the server has responded. Although this method is called once automatically, it can be called at any time to reapply the mapping rules. Example usage: var oService = new jsx3.net.Service(); oService.setInboundDocument(objSomeDocumentIManuallyWantToLoad); oService.doInboundMap();
method setInboundDocument(objXML)
Sets a parsed instance of the response document as soon as it returns from the server returned from the service; otherwise null
]]>TIBCO中的Selectlghttp://www.aygfsteel.com/rain1102/archive/2007/03/27/106740.htmlEric.ZhouEric.ZhouTue, 27 Mar 2007 11:28:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/03/27/106740.htmlhttp://www.aygfsteel.com/rain1102/comments/106740.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/03/27/106740.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/106740.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/106740.html
今天使用TIBCO中的Selectlg,其中select的记录值是调用web service中的ҎQ然后返回数l,数组中包含多个对象.
The jsx3.gui.Select uses the attribute "jsxtext" as the display field.
上的意思就是要x属性值显C给selectQ则必须把属性映的名字讄?jsxtext";
3.Is there a way to select items in a Select by pressing keys? For example I have a alphabetized list of States. I want to be able to press 'A' 4 times to move from Alabama, to Alaska, to Arizona, to Arkansas. Then I want to be able to press tab and move on to a zip code field. This should leave Arkansas selected.
This is the normal behavior for a simple html select box and I want to stick to what people are familiar with.
function handleKeyPress(objSelect,objEvent) {
//resolve the key the pressed;only listen for numbers and letters
var intKey = objEvent.keyCode();
var strKey = String.fromCharCode(intKey);
if(strKey.search(/[a-z0-9]/i) == -1) return true;
var objKey = new RegExp(strKey,"i");
//get list of options for the select
var objXML = objSelect.getXML();
var objTextNodes = objSelect.getXML().selectNodes("http://record[@jsxtext]");
//query the select box to see if the same key was pressed before; if so begin searching at he correct index
var objState = objSelect.custom_index || {};
objState[strKey] = (objState[strKey] != null) ? objState[strKey] : 0;
var intIndex = (objState[strKey] < objTextNodes.getLength()) ? objState[strKey] : 0;
jsx3.log("index: " + objState[strKey]);
objState[strKey] = 0;
return true;
};
function handleKeyPress(objSelect,objEvent) {
//resolve the key the pressed;only listen for numbers and letters
var intKey = objEvent.keyCode();
var strKey = String.fromCharCode(intKey);
if(strKey.search(/[a-z0-9]/i) == -1) return true;
var objKey = new RegExp(strKey,"i");
//get list of options for the select
var objXML = objSelect.getXML();
var objTextNodes = objSelect.getXML().selectNodes("http://record[@jsxtext]");
//query the select box to see if the same key was pressed before; if so begin searching at he correct index
var objState = objSelect.custom_index || {};
objState[strKey] = (objState[strKey] != null) ? objState[strKey] : 0;
var intIndex = (objState[strKey] < objTextNodes.getLength()) ? objState[strKey] : 0;
jsx3.log("index: " + objState[strKey]);
//loop to find the next item in the list that begins with the given key
for(var i=intIndex;i<objTextNodes.getLength();i++) {
if(objTextNodes.getItem(i).getAttribute("jsxtext").search(objKey) == 0) {
objSelect.custom_index = {};
objSelect.custom_index[strKey] = i+1;
objSelect.setValue(objTextNodes.getItem(i).getAttribute("jsxid"));
return false;
}
}
//loop from 0 to current index to find the first item in the list that begins with the given key.(wrap around)
//following was added by dlehman
for(var i=0;i<intIndex;i++) {
if(objTextNodes.getItem(i).getAttribute("jsxtext").search(objKey) == 0) {
objSelect.custom_index = {};
objSelect.custom_index[strKey] = i+1;
objSelect.setValue(objTextNodes.getItem(i).getAttribute("jsxid"));
return false;
}
}
objState[strKey] = 0;
return true;
};
]]>在TIBCO中创建页面蟩?/title>http://www.aygfsteel.com/rain1102/archive/2007/03/26/106508.htmlEric.ZhouEric.ZhouMon, 26 Mar 2007 12:16:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/03/26/106508.htmlhttp://www.aygfsteel.com/rain1102/comments/106508.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/03/26/106508.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/106508.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/106508.htmljsx3.lang.Package.definePackage( "eg.service", //the full name of the package to create function(service) { //name the argument of this function
/** * Clear work area * * @param bvpWorkArea {jsx3.app.Model} the JSX object to be cleared. * @param objJSX {jsx3.app.Server} (target of the model event). */ service.clearWorkArea = function(workArea) { workArea.removeChildren(); };
/** * Launches reset password page. * @param objJSX {jsx3.app.Model} target of the model event. */ service.resetPassword = function(objJSX) { var workArea = objJSX.getServer().getJSXByName("bvpWorkArea"); service.clearWorkArea(workArea); workArea .load("components/resetPassword.xml"); };
/** * Launches register page. * @param objJSX {jsx3.app.Model} target of the model event. */ service.register = function(objJSX) { var workArea = objJSX.getServer().getJSXByName("bvpWorkArea"); service.clearWorkArea(workArea); workArea .load("components/register.xml"); };
/** * Launches cancel page. * @param objJSX {jsx3.app.Model} target of the model event. */ service.cancel = function(objJSX) { var workArea = objJSX.getServer().getJSXByName("bvpWorkArea"); service.clearWorkArea(workArea); workArea .load("components/appCanvas.xml"); };
]]>TIBCO(一)http://www.aygfsteel.com/rain1102/archive/2007/03/22/105581.htmlEric.ZhouEric.ZhouThu, 22 Mar 2007 08:13:00 GMThttp://www.aygfsteel.com/rain1102/archive/2007/03/22/105581.htmlhttp://www.aygfsteel.com/rain1102/comments/105581.htmlhttp://www.aygfsteel.com/rain1102/archive/2007/03/22/105581.html#Feedback0http://www.aygfsteel.com/rain1102/comments/commentRss/105581.htmlhttp://www.aygfsteel.com/rain1102/services/trackbacks/105581.html实现x的企业整合与程理软体厂商Q美资巴士Y体(TIBCOQ,日前发表TIBCO General Interface 3.3。新版的建构基础Q是TIBCOl过业界实证的多样化|际|\应用E式QRich Internet ApplicationQRIAQ开发解x案,利用非同步通讯、JavaScript及XMLQAJAXQ技术,使功能完整、丰富的|站应用E式的开发更q速,建置更有效率?/p>
新版软体包含TIBCO General Interface Framework及TIBCO General Interface Builder两个元gQ开发h员结合这两个元gQ可开发出完全在标準网늀览器中执行的应用程式。这是一个免安装的架构,不需用户端Y体、终端用者外掛程式、ActiveX控制ҎJava应用程式?/p>
TIBCO General Interface Framework强大功能加入网늀览器中Q如可扩充的多元GUI元gE式库、用L资料快取、事件拖攑֊能及背景通讯{。TIBCO General Interface Builder是在此架构上层的|页瀏览器执行,它提供「所见即所得」的版面设计、可q接伺服器的视觉工具、JavaScript的逐步除错工具及其他省时的公用E式。此外,q能协助化AJAX开发的复杂性,原生的|页瀏览器应用程式设计介面(APIQ压~成一套可重复使用的统一应用E式物g及视觉开发工兗?/p>