...
String content = "some string";
Text text = new Text(content);
Syetem.out.println(text);
Syetem.out.println(text.getValue());
....
the console out:
<Text: some string>
some string

so if you want display the Text field on Jsp pages, u should
use  .getValue method like this <%=text.getValue()%>





On 2月27日, 上午9时48分, John Howe <[email protected]> wrote:
> I don't see the Text fields of persisted objects when listing the entities
> from the Development Console. E.g., using JDO, I have Text field "foo", as
> declared below:
>
> @PersistenceCapable(identityType = IdentityType.APPLICATION, detachable =
> "true")
> public class LocationData implements Serializable {
> ...
> @Persistent(defaultFetchGroup = "true")
>   Text foo;
> ...
>
> Should I expect the viewer to display the contents of "foo", or should I
> assume that the viewer simply does not list it since it may be (and actually
> is) quite long (>500 char)?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to