Hi,
For display the record after fetching from the database
you need to use <h:outputLabel> for displaying it.
Regards,
Chandru.
----- Original Message -----
From: "Marcus Schmidke" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, July 21, 2006 7:56 PM
Subject: inputText doesn't display value??
Hello all,
what might be the reason if an inputText does not display the "value"
value?
(Facelets / myFaces 1.1.3)
The source code:
...
<td>
<h:inputText value="#{leistungsschein.leistung.beschreibung}" />
<h:outputText value="#{leistungsschein.leistung.beschreibung}" />
</td>
...
The HTML result:
<td><input id="_id8:_id10:4:_id32" name="_id8:_id10:4:_id32" type="text"
value="" />Beschreibungstext
</td>
As you can see, outputText did what it should. inputText didn't.
Into what kind of beginner's trap did I tumble now???
(leistungsschein is a Seam managed stateful bean, does that matter?)
Marcus.
_____________________________________________________________________
prosystems IT GmbH
Anwendungsentwicklung
Postfach 31 51
53021 Bonn (Germany)
Tel: 0228 / 3366 - 3329, Fax: 0228 / 3366 - 73329
mailto:[EMAIL PROTECTED] http://www.prosystemsIT.de
Amtsgericht Bonn - HR B 13189