I've been using Prototype's String.toQueryParams (http://www.prototypejs.org/api/string/toQueryParams) for quite some time. You pass a query string and it returns an object.
Now I know we all have Ext.urlEncode, which effectively does the opposite, pass and object, returns a string. Is there anything in Ext which currently does the reverse of this, like Prototype's func?
#2
03-07-2007, 03:51 AM
|
|
There isn't a function for it in Ext. Personally, I have never needed it. What are you using it for?
|
#3
03-07-2007, 06:12 AM
|
|
I'm storing some values in querystring format in the hash string of the url, this allows for some quick and easy browser history abstraction for ajax applications that don't change the url. Simply monitor changes in the url's hashstring and parse it accordingly, this also makes handling bookmarking/favorites easily.
|
#4
03-07-2007, 11:47 PM
|
|
Have you ever checked out the YUI History stuff? It uses the same type of history abstraction I'm currently in the process of implementing using Ext.
http://developer.yahoo.com/yui/examp...bar/index.html
|
分享到:
相关推荐
|----常见职业英语词汇(DOC 13) |----INTERVIEW WITH THE VAMPIRE(doc 117)英文 |----... |----NEW CONCEPT ENGLISH BOOK 2(doc 212) |----五小时四级词汇高分(pdf 99) |----... |----TOEFL听力小词经典100例...
leading characters of y are known, the range of possible x narrows, so the leading digits can be output as they become known. For decompression, as the digits of x are read, the set of possible y ...
For more than a century, photographs were ...through the hole projects an inverted image of the world on the opposite side, but with preserved color and perspective. Even though the first written record
Measuring the electromagnetic properties of materials has important applications in many fields. In this paper, two electrically small sensors based on the split ring resonators (SRRs) with extended ...
1.4.4. Outline of optimal algorithms of source coding . . . . . . . . . . . . 18 1.5. Channel coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.5.1. Introduction and ...
Delegates to the JavaScript 1.8 version of _.find(list, iterator, [context]) Alias: detect Looks through each value in the list, returning the first one that passes a truth test (iterator). The ...
it will move to the opposite side of the page. One word of caution: When rendering HTML tables, Chrome inserts artificial <tbody> tags into the DOM, which will consequently show up in queries ...
The 16-bit CRC checksum. The algorithm used is CRC-CCITT.... This is the opposite way you transmit the data word. The 16-bit generator polynomial ‘x16 +x12 +x5 +1’ is used for the calculation.
简明批处理教程22009年10月20日 星期二 下午 05:35 最近对于批处理技术的探讨比较热,也有不少好的批处理程序发布,但是如果没有一定的相关知识恐怕不容易看懂和理解这些批处理文件,也就更谈不上自己动手编写了,古...
negotiates with any transceiver on the opposite end of the wire to agree on an operating speed. The PHY can also evaluate the condition of the twisted-pair wiring to ensure that the wiring can support...
Infused with entrepreneurial spirit and the excitement of a worthy challenge, this book is the opposite of pessimistic recitals of intractable poverty's horrors. -----------------------------------...
opposite = arr.len - i - 1; arr[i], arr[opposite] <- arr[opposite], arr[i]; } } 设计原理 黄油旨在 友好,适合经验丰富的人士,尤其是初学者 编译为快速且内存高效的二进制文件 黄油应具有以下 简单性和...
Additional features of PACSview are related to the fact that PACSview operates with whole studies - in opposite to ACRNview, that only knows singles images: When you open a study, icons for all ...
number of input nodes, number of hidden nodes, number of output nodes, the value for the learning coefficient (eta), and the value for the momentum factor (alpha). The number of epochs varies a lot...
The second are the books that take the opposite approach: strictly hands-on texts with little to know the theory or foun- dational material. In teaching computer information technology courses, we ...
This index leads the reader from the starting word to dozens of others that have related or opposite meanings. All these features make Roget’s II the best resource for finding the right word every ...
It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - Albert Einstein ASN.1应用领域已是颇广,然国内资料却不易见。ASN.1发端于通讯行业,一方面,国内各厂商即使有所...
In this Letter, new concepts of fluorescence phase-change materials and fluorescence phase-change multilevel recording are proposed. High-contrast fluorescence between the amorphous and crystalline ...
an incoming tributary travels in one direction of the working channels while its associated outgoing tributary travels in the opposite direction but over the same spans. The pair of tributaries ...
We theoretically analyze the generation of broadened and multi-peak terahertz (THz) radiation in aperiodically poled lithium niobate (APPLN), whose sequence of opposite domains is optimized by ...