TAILIEUCHUNG - Practical JBoss Seam Projects 2007 phần 6

hoặc tham gia hoặc lựa chọn tổ thảo luận trong các phần sau. Bạn cũng có thể chỉ định ID cuộc trò chuyện rõ ràng trong các chú thích bắt đầu @, sử dụng thuộc tính id. Id có thể là một giá trị theo nghĩa đen, như "editGadget", hoặc nó có thể sử dụng tài liệu tham khảo thành phần cơ sở ID cuộc trò chuyện trên dữ liệu nhà nước, | 102 CHAPTERS STRUCTURED PAGEFLOW Transitions Eventsandfoeiroutcomes combined with starting states can be used to define transitions to other states. If the flow is in state A and event E occurs with outcome X take the flow to state B. Or in the case of JSF if the user is on view A and acdon listenerEis invokedwith return value X takethe usertaviewB. These sametoncvpts ak pv Si nl under eiflekciillcrms I sehrt idiflen. sl syntax and with more sinesjPDL ismntnt eiSkitil sl l kutlsiestproeessing modeling language it supports these concepts in a much more general way than what s needed for simplep 1 I wop t gathromgha fvU ptimeron t PDh i ap at asimplepage-flow examplhto demt . l. venfigujoripninorsvnge-t ijroupDin . to the ahnn tvletyoutan previously and this pageflow is also represented in Figure 5-1 Listing 5-1. Ea-rnzpZe jPDL Pageflow Definition pageflow-definition name new-user start-page namei add-user view-id users transition name save to home eaction expression transition transitien nnxex noii en Oo t it- iles redirect start-pagea page name iinipnxex- Pi Len u-cin oi-Wenx ontc. p transitfoe xneei euccess to add-user redapm in page page name liemi rixt 0i e sndeeennroe . nn d anenxneeep redapnite page tpageflow-defintfooe anenxneeep apnite possible ipantĩtìons loa home page or to an edit-roles page. From the edit-roles page there is only one possible transition back to the add-user page. When the user transitions lolhp foome .a theflowpnde at indiveredfofoe et .diormtrtation etet ment . Nejfoethat eoshsnote in foe enmK a physfoa- e i e view m foe setb applicatien usmga Ijansfoontalwayrihlerenc e leịÃcalstate names a1 . betaurefoe kPretanbtusedto implomenl multiple V gicaiiflxsi ttS s. CHAPTERS STRUCTURED PAGEFLOW 103 Again you see all the elements of general pageflow here. Flow states are n n senl d .

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.