@Persistent(serialized="true", defaultFetchGroup="true") private Text content;
public String getContent() { return content.getValue(); } public void setContent(String content) { this.content = new Text(content); } 2010/3/16 rissen <risse...@gmail.com> > ... > 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 <jhowe...@gmail.com> 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 > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- dream or truth -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.