开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜