Hi Thomas,
thanks for your explanation. I had that setElement(rootPanel.getElement())
thing in my mind, but I didn't really got what it does until your
explanation. Now it makes much sense to me what happened.
Cheers,
Marco
Am Mittwoch, 28. November 2012 14:45:51 UTC+1 schrieb Thomas Broyer:
>
On Wednesday, November 28, 2012 1:40:18 PM UTC+1, marco wrote:
>
> Ok I fixed it, with the following changes
>
> -public class ValidatableTextarea extends ComplexPanel
> +public class ValidatableTextarea extends FlowPanel
> - private FlowPanel rootPanel;
> protected TextArea input;
> pr
Ok I fixed it, with the following changes
-public class ValidatableTextarea extends ComplexPanel
+public class ValidatableTextarea extends FlowPanel
- private FlowPanel rootPanel;
protected TextArea input;
private Label errorLabel;
@UiConstructor
public ValidatableTextarea() {
Hi there,
I'm trying to implement a counter for a textarea. Something like this is
working for me
final TextArea textArea = new TextArea();final Label counter = new
Label("Number of characters: 0");...private void addlistener() {
textArea.addKeyUpHandler(new KeyUpHandler() {