Sounds like you want a custom TextBox (that can act as an editor) that can show an additional descriptive message if it does not has any text. Basically a transparent TextBox and a Label behind it. The label will be shown if no text is in the TextBox and the TextBox has no focus. Once it is focused or contains text the label will be hidden.
That way your beans will have null values if there is no information and your view for User A (viewing its own profile) will present that null value in the way you want it. For User B you have a separate view that does not display null values (labels or whatever you use should have 0 height and 0 width if they are empty). -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aTlzd1V3MVdUMWNK. 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-web-toolkit?hl=en.
