What happens if you edit the xhtml file and reload the page? Do both
of them end up with an empty value? I was noticing that facelets was
caching the values of my outputText and el expressions, and wouldn't
change them until I edited the xhtml file and reloaded the page. It
could be that your inputText field is showing the "real" value while
the outputText file is showing a cached value.
On 7/21/06, Marcus Schmidke <[EMAIL PROTECTED]> wrote:
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