【IT168技术文档】
接下来添加h:inputSecret(不是lable)
Figure 5.8 Adding new inputSecret component
Figure 5.9 Adding new inputSecret component continued
现在添加username和password的输出标签.
Figure 5.10: Adding outputLabel component to our userName component
以同样的方式来增加h:inputSecret标签,这些做完以后,手动改变h:outputLabel 和 h:outputText的位置,如下所示:
Figure 5.11: Adding outputText components to our labels
最后添加login按钮,添加的方式和前面差不多.
Figure 5.12: Adding a new commandButton component
Figure 5.13: Adding a new commandButton component continued