You'll need to do this in the client using Javascript. You can't do client side UI on the server.
If you're using Google Web Toolkit, you may have better luck finding an answer here: https://groups.google.com/group/Google-Web-Toolkit?pli=1 On Sun, Jul 11, 2010 at 11:24 PM, Brandon A <[email protected]> wrote: > I'm creating textareas in the main java file of my app, and I want to > make them resize themselves as users enter and delete text in them. I > can't figure out how to do this, though. There are solutions online > where you can use javascript in the html file to compare the > offsetHeight and scrollHeight of the textarea and then make the two > heights match each other. However, since my textareas are not static > elements of the page and because I'm doing this with java, I don't > have access to the scrollHeight of the textarea (well, at least I > think I don't), so I can't use that solution. I'm very new to all of > this so there might be something that I'm completely missing. Any > advice would be greatly appreciated... > > Thanks! > > -- > 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]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- Ikai Lan Developer Programs Engineer, Google App Engine Blog: http://googleappengine.blogspot.com Twitter: http://twitter.com/app_engine Reddit: http://www.reddit.com/r/appengine -- 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.
