Action中五个常量解释,(success,error,input,login,none)
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                Action中五个常量解释,(success,error,input,login,none)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.                        
                                Action中五個常量解釋,(success,error,input,login,none)
| staticString ERROR | The actionexecution was a failure. Show an error view, possibly asking theuser to retry entering data. | Action執(zhí)行失敗。顯示一個錯誤的視圖(頁面),這個頁面可以要求用戶再次輸入相關(guān)數(shù)據(jù)。 | 
| staticString INPUT | The 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í)行成功需要更多的輸入。這個結(jié)果是一個典型的結(jié)果,它表明如果一個表單通過提供默認(rèn)的表單來操作一個Action。這個表單會顯示給最終用戶。這個結(jié)果也用于用戶輸入無效,意味著用戶需要再次輸入 | 
| static StringLOGIN | The actioncould not execute, since the user most was not logged in. The loginview should be shown. | Action不能執(zhí)行,因為用戶沒有登錄。已登錄的畫面會被關(guān)閉。 | 
| staticString NONE | The actionexecution was successful but do not show a view. This is useful foractions that are handling the view in another fashion likeredirect. | Action執(zhí)行成功,但是不會顯示一個視圖。通常產(chǎn)生這種情況的原因是被其他視圖重定向了。 | 
| staticString SUCCESS | The actionexecution was successful. Show result view to the enduser. | Action執(zhí)行成功。顯示結(jié)果視圖(頁面)給用戶。 | 
轉(zhuǎn)載于:https://www.cnblogs.com/jimloveq/p/10609479.html
總結(jié)
以上是生活随笔為你收集整理的Action中五个常量解释,(success,error,input,login,none)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
                            
                        - 上一篇: PIE_SDK.NET功能表
 - 下一篇: DOM-添加元素、节点