It contains the logic to retrieve the correct error message and display it back to the user in a meaningful way.
它包含检索正确的出错消息并以一种有意义的方式将其显示给用户的逻辑。
During iteration, you create a radio button and a label that includes the suggestion, then you append it to a custom error message and display it to the user.
遍历过程中创建一个单选按钮和一个包含提示的标签,然后将它附加到错误消息,显示给用户。
The error page can then display a friendly error message to the user, and then perhaps log the relevant exception information for the system administrator to review at a later time.
错误页面可以显示一个友好的信息给用户,然后可以将相关的异常信息写入日志以供管理员日后查看。
Now that we've created the JSP, we'll write the code in the portlet to validate the user id and password and display the appropriate message.
既然已经创建了JSP,现在就让我们在Portlet中编写代码以验证用户ID和密码,并显示适当的消息。
Your application should rely on the code to display a friendly error message to the user.
应用程序将根据code向用户友好显示失败消息。
Subsequent mediation primitives, downstream of the Set Message Type primitive, use this concrete information to display the expanded information to the user to specify appropriate XPath expressions.
位于SetMessageType原语下游的后续中介原语使用这个具体的信息来向用户显示扩展信息,以指定恰当的XPath 表达式。
If it fails validation, you will display an error message to the user.
如果验证失败,您需要向用户显示一条错误消息。
You'll also want to create a similar page to display an error message when a user attempts to access functionality for which he or she is not authorized.
您一定还想创建一个类似的页面来显示错误消息,当一个用户请求访问他或她未被授权的功能时,就会显示错误消息。
Although sending messages to a log file can be quite useful, there are often times when you would also like to display a user-friendly error message in the event of an unrecoverable exception.
虽然向一个日志文件发送消息相当有用,但是很多时候您可能还想在发生不可恢复的异常时显示一个用户友好的错误消息。
The first point is the need to present localized page content, and the second point is the validation of user inputs and localized validation message display.
第一点是需要呈现本地化后的页面内容,第二点是验证用户输入以及本地化后的验证消息显示。
Later in the testing section you'll see how to handle thrown errors and display the error message to the user.
稍后在测试一节中,您将了解如何处理抛出的错误并将错误消息显示给用户。
These message sections are compiled from Dojo widgets that are used to display the input elements that the user interacts with.
这些消息部分从Dojo小部件编译而来,那些Dojo小部件用于显示用户与之交互的输入元素。
The first line will pop up a message on the control nodes' display (if X Window System is active), letting the user know that the laptop is inactive and needs to be powered down.
第一行将在控制节点的界面上弹出消息(如果XWindowSystem 处于活动状态),从而让用户知道笔记本处于非活动状态并且需要关闭。
If the user does not have appropriate credentials, display a message box or some other user interface indicating that they do not have access, and return to the initial TAB.
如果使用者没有适当的认证,则会显示讯息方块或其他使用者介面,表示使用者没有存取权限,并返回最初的索引标签。
The caller can display a message to the user if the designer cannot be reloaded.
如果无法重新加载设计器,调用方会向用户显示一条消息。
For example, if your application unsuccessfully tries to log in to a database, it should not display an error message that includes the user name it is using.
例如,如果您的应用程序尝试登录数据库时没有成功,则显示的错误信息不应该包括它正在使用的用户名。
For example, if your application unsuccessfully tries to log in to a database, it should not display an error message that includes the user name it is using.
例如,如果您的应用程序尝试登录数据库时没有成功,则显示的错误信息不应该包括它正在使用的用户名。
应用推荐