开发者

How can I make h:inputText appear only after button clicked in JSF2.0?

开发者 https://www.devze.com 2023-03-21 16:11 出处:网络
In jSF2.0 How can I make an <h:inputText> appear only after a specific button is clicked? I want the <h:inputText> be hidden, and 开发者_JAVA百科only appear after I click a buttonCould you simpl

In jSF2.0 How can I make an <h:inputText> appear only after a specific button is clicked? I want the <h:inputText> be hidden, and 开发者_JAVA百科only appear after I click a button


Could you simply use CSS "display: none" attribute on inputText and, in button onclick attribute, to change this for "display: block". This is the more simple solution.

0

精彩评论

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