久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

“Back"的最佳實踐JSF 中的導(dǎo)航鏈接

Best practices for quot;Backquot; navigation links in JSF(“Back的最佳實踐JSF 中的導(dǎo)航鏈接)
本文介紹了“Back"的最佳實踐JSF 中的導(dǎo)航鏈接的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

制作返回"鏈接的最佳方式是什么,以便應(yīng)用程序在導(dǎo)航后保持一致.

What is the best way to make "Back" links, so that the application stays consistent after navigation.

  • onclick="history.go(-1)".這非常有害嗎?
  • 使用支持 bean 中的堆棧彈出最后一個視圖的導(dǎo)航案例.您可以通過使用 <f:setPropertyActionListener> 設(shè)置導(dǎo)航案例來做到這一點.
  • 這些都不是……其他解決方案.
  • onclick="history.go(-1)". Is this very harmful?
  • Using a stack in a backing bean that pops you the navigation case of the last view. You can do this by setting the navigation case with <f:setPropertyActionListener>.
  • None of these... other solutions.

任何幫助將不勝感激!分享你的意見!丹尼爾

Any help would be appreciated! Share your thoughts! Daniel

推薦答案

我正在使用:

  • MyFaces orchestra 用于提供對話范圍
  • <redirect/> 用于每個導(dǎo)航規(guī)則
  • MyFaces orchestra for providing conversation scope
  • <redirect /> for each navigation rule

這確保在按下返回"按鈕或 history.go(-1) 時:

This ensures that on pressing the "back" button or history.go(-1):

  • 上一個屏幕中可用的數(shù)據(jù)仍將存在(因為對話仍處于活動狀態(tài))
  • 重新提交"瀏覽器對話框不會打開.

附:反向鏈接"有不同的含義

這篇關(guān)于“Back"的最佳實踐JSF 中的導(dǎo)航鏈接的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

Upload progress listener not fired (Google drive API)(上傳進度偵聽器未觸發(fā)(Google 驅(qū)動器 API))
Save file in specific folder with Google Drive SDK(使用 Google Drive SDK 將文件保存在特定文件夾中)
Google Drive Android API - Invalid DriveId and Null ResourceId(Google Drive Android API - 無效的 DriveId 和 Null ResourceId)
Google drive api services account view uploaded files to google drive using java(谷歌驅(qū)動api服務(wù)賬戶查看上傳文件到谷歌驅(qū)動使用java)
Google Drive service account returns 403 usageLimits(Google Drive 服務(wù)帳號返回 403 usageLimits)
com.google.api.client.json.jackson.JacksonFactory; missing in Google Drive example(com.google.api.client.json.jackson.JacksonFactory;Google Drive 示例中缺少)
主站蜘蛛池模板: 激情一区二区三区 | 亚洲精品电影在线观看 | 亚洲第一av | 亚洲一区二区精品视频在线观看 | 在线免费观看黄a | 国产一区高清 | 2022国产精品| 亚洲高清av| 91在线精品视频 | 久久国产一区 | 精品一区二区在线视频 | 夜夜夜久久久 | 老司机67194精品线观看 | a在线视频观看 | 久久精品一区二区 | 一区二区三区高清 | 天天综合永久入口 | 国产99久久久国产精品下药 | 欧美a在线 | 欧美中文在线 | 久久91| 久久久人成影片一区二区三区 | 国久久 | 亚洲二区精品 | 日本在线网站 | 欧美日韩成人在线 | 亚洲高清在线 | 欧美在线激情 | 精品在线一区 | 欧美精品在线一区二区三区 | 午夜影院网站 | 欧美日韩成人 | 欧美日一区二区 | 精品在线视频播放 | 国产综合视频 | 欧美日韩精品 | 少妇av片 | 国内在线视频 | 99精品视频一区二区三区 | 国产乱码久久久久久 | 久久成人国产精品 |