I study Jsf.Is there any method for reading spinners? I should change the value only using spinners, and not directly dial the number. Can this be realized by setting the attribute in the spinners.tld file?
With JSF2.0, you can write your own JNF-spinner component , except that instead of using:
<h:inputText id="number" value="#{compositeComponent.attrs.value}"/>
(which is an input field for reading and writing ), you could useoutputLabel :
outputLabel
<h:outputLabel for="number" value="#{compositeComponent.attrs.value}"/>
which means achieving exactly what you need.
. a outputText .
outputText
JSF2.0 PR (Public Review)., " " JSF , . JSF 2.0 , .
- . , . .