I´m trying to do a simple thing, but I still do something wrong..
So here is my problem: I have a ContentPanel with another panel in it, the panel is showing something like a profile site.. I have two buttons(one for "my profile" and the second for "another profile") and I want when you click on the button second button, to show anotherProfile (which is another class) - but then it just deletes everything from the contentpanel and its not showing the new widget..
Also if I click on "my profile" everything disappears and its not showing my profile again.. what is my mistake (I didnt copy some uneccesary things) :
public class ProfileView extends LayoutContainer {
@Override
protected final void onRender(final Element parent, final int index) {
yes I compiled it.. I think I found a solution.. btw one more question, do you maybe know how to get the text from a TextArea and "put" a text in the area - which can then be modified (for example you have a name on your profile saved..and you wwant to change your name..then I wanted a textarea to apear with the old name in it and then it can be changed)?? I was searching through the methods but I didn´t see any..