Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JSF selectOne 和 selectMany 控件是否只允许提交给定 selectItems 中定义的值?我担心参数欺骗,如果这是内置的,我不需要验证器来确保所选值是有效选择之一。
是的,确切地说。不,您不需要验证来确保没有参数欺骗。我记得,当需求相反时,我需要在一年前自定义行为。