TAILIEUCHUNG - Oracle XSQL- P23

Oracle XSQL- P23Welcome to the exciting world of eXtended Structured Query Language (XSQL) development! What’s so exciting? Efficiency and ease of use. XSQL isn’t some razzle-dazzle technology to wow your users. It also isn’t the latest X standard du jour that no one can stop talking about until you ask, “But what does it do for me today?” The problem with all of the great stuff out there is that no one technology does it all. | 420 Chapter 14 head head body xsl apply-templates body html xsl template xsl template match request b Request b xsl apply-templates select xsl template xsl template match session b Session b xsl apply-templates select xsl template xsl template match cookies b Cookies b xsl apply-templates select xsl template xsl template match p Name xsl value-of select name . Value xsl value-of select . p xsl template xsl stylesheet This will give you a listing of all of the parameters regardless of their names. Example output for this is shown in Figure . From here it is a simple matter to create a set of hidden-form parameters that hold these values. Then you can use easily pass the values on as form submissions or use them in JavaScript. Here is how you do it xsl template match input type hidden xsl attribute name name xsl value-of select name . xsl attribute xsl attribute name value xsl value-of select . xsl attribute input You ll see more examples of hidden-form variables and the role they can play in JavaScript and XSLT integration when you work with the price editor later in the chapter. Building XSQL Web Applications 421 el http localhost xsql momnpup a 1 b 2 c 3 - Microsoft Internet Explorer _ n Eile Edit View Favorites Tools Help Back 0 ï ft Search Favorites S Meda fè 7 U El 15 Address http Ax atTost xsql momnp jp d a l b 2ac 38 I Request Name c Value 3 Name b Value 2 Name a Value 1 Session Name categorynamesess Value Bathroom Name session-sal Value Cookies Name category name cookie Value Bathroom Name lons-living-cookie Value To Life v Figure Output of all parameters. Stateless Paging So far the product catalog doesn t have a lot of data in it. A list of all of the products in the catalog probably still wouldn t necessitate a scroll bar in the browser window. However what if your queries could easily return thousands of rows Even if your queries are just returning tens of rows you want your users to be able to navigate through them in a

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.