--- tags: JSF --- # JSF **f:validateRequired** 是JSF 2.0中的新驗證器標記,用於確保輸入字段不為空。例如 ``` <h:inputSecret id="password" value="#{user.password}"> <f:validateRequired /> </h:inputSecret> ``` 也可以使用“ required”屬性 ``` <h:inputSecret id="password" value="#{user.password}" required="true" /> ``` # Primefaces http://www.primefaces.org:8080/showcase/ui/data/datatable/reorder.xhtml
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up