Primefaces Picklist problem
I am having a text field in my xhtml whose property i have set to required="true" and then i have primefaces picklist.
Now when validations fails like mandatory "textbox" is not fi开发者_运维问答lled. I throws an error and my page picklist becomes corrupted (all alignment) and if i see in generated html there will be no imports for primefaces like imports for picklist css and js.
I found the answere for the problem myself. It was actually bcoz of a very silly problem. One needs to do "render={SomeId of form element}" in the CommandButton. All the things will work fine then.
精彩评论