how can I change normal text to text field

hi,

how can I change normal text into empty textfield when a button is clicked.

i.e. when a button is clicked,the normal text must be appeared.In that place,a empty textfield must be appeared.

[211 byte] By [javamnr948a] at [2007-11-27 10:53:37]
# 1

<h:outputText value="normal text" rendered="#{!myBean.showInputText}" />

<h:inputText value="#{myBean.inputValue}" rendered="#{myBean.showInputText}" />

BalusCa at 2007-7-29 11:45:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Can you explain me clearly bcoz I am new to JSF

pls,help me

javamnr948a at 2007-7-29 11:45:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

Especially look to the 'rendered' attribute.

If you don't understand it, ask your boss for a book/tutorial and a course.

BalusCa at 2007-7-29 11:45:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...