日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

Action中五个常量解释,(success,error,input,login,none)

發(fā)布時(shí)間:2025/6/17 编程问答 47 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Action中五个常量解释,(success,error,input,login,none) 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Action中五個(gè)常量解釋,(success,error,input,login,none)

英文注釋中文釋義
staticString ERRORThe actionexecution was a failure. Show an error view, possibly asking theuser to retry entering data.Action執(zhí)行失敗。顯示一個(gè)錯(cuò)誤的視圖(頁(yè)面),這個(gè)頁(yè)面可以要求用戶再次輸入相關(guān)數(shù)據(jù)。
staticString INPUTThe actionexecution require more input in order to succeed. This result istypically used if a form handling action has been executed so as toprovide defaults for a form. The form associated with the handlershould be shown to the end user.This result is also used if the given input params are invalid,meaning the user should try providing input again.Action的執(zhí)行成功需要更多的輸入。這個(gè)結(jié)果是一個(gè)典型的結(jié)果,它表明如果一個(gè)表單通過(guò)提供默認(rèn)的表單來(lái)操作一個(gè)Action。這個(gè)表單會(huì)顯示給最終用戶。這個(gè)結(jié)果也用于用戶輸入無(wú)效,意味著用戶需要再次輸入
static StringLOGINThe actioncould not execute, since the user most was not logged in. The loginview should be shown.Action不能執(zhí)行,因?yàn)橛脩魶](méi)有登錄。已登錄的畫(huà)面會(huì)被關(guān)閉。
staticString NONEThe actionexecution was successful but do not show a view. This is useful foractions that are handling the view in another fashion likeredirect.Action執(zhí)行成功,但是不會(huì)顯示一個(gè)視圖。通常產(chǎn)生這種情況的原因是被其他視圖重定向了。
staticString SUCCESSThe actionexecution was successful. Show result view to the enduser.Action執(zhí)行成功。顯示結(jié)果視圖(頁(yè)面)給用戶。

轉(zhuǎn)載于:https://www.cnblogs.com/jimloveq/p/10609479.html

總結(jié)

以上是生活随笔為你收集整理的Action中五个常量解释,(success,error,input,login,none)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。