|
![]() |
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
First of all, the "id" attribute MUST be unique within its container and I'm not sure how you even get the page to compile otherwise. That's a basic restriction that's part of JSF's XML heritage.
lynn fann wrote:
I cant use "required=true", as i have 2 section for the user to chose to enter. The user just need to enter either sections. Within the section, there are serveral field that are mandatory. and why i did a validation check for null values in my managed bean is because the validator will not be invoked if it is a blank field.
Have another question, when i set the required=true on readonly field, it doesnt work, why is this so? Is this just how jsf set it?
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
"Required" means INPUT required, so putting it on a display-only control is sort of a contradiction in terms. Although I seem to remember having the same problem once.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
It will give me the powers of the gods. Not bad for a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|