What is the type?  I don't think it'll work with anything but String...
Also - do you have both a get and a set method?

Jim Moores 

-----Original Message-----
From: Marcus Schmidke [mailto:[EMAIL PROTECTED] 
Sent: 21 July 2006 15:27
To: [email protected]
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


Reply via email to