site:previewAsAdmin
This component shows detailed error messages on a site in administrator preview mode. We recommend that you add it right before
the closing apex:page tag. Note: The site:previewAsAdmin component contains the apex:messages tag, so if you have that tag elsewhere
on your error pages, you will see the error message twice.
Example
<!-- We recommend adding this component right before your closing apex:page tag. -->
<site:previewAsAdmin/>
本文介绍了一个用于在管理员预览模式下显示详细错误信息的组件。建议将此组件添加在页面标签关闭前,以确保错误消息的正确显示。值得注意的是,如果页面上已存在 apex:message 标签,该错误信息可能会被重复显示。

2256

被折叠的 条评论
为什么被折叠?



