Can you give me any more info on the conditions that cause this? Server-side or client-side? What other properties are you setting on the label? What version of Echo (SVN trunk/b7?)
Label label = new Label();
//label.setText("0");
label.setLayoutData(new RowLayoutData());
row.add(label);
The line
label.setText("0");
needs to be included i.e. set the text to any valid string otherwise the js exception occurs.
the label is being rendered as part of a row that is part of a split-pane
I just tried out the code using the b7 from echo3go and it still persists. I haven't tried to reproduce this in a simpler app but I think it should be easy to reproduce.
I can't reproduce this with above code. Can you post your complete Label configuration? From what I've seen in the code, this could only happen when only a tooltip text is set.
Yes - the tooltip text was being set but not the text I didn't make the connection between it and the text not being set -tricky!
I didn't include the tooltip being set in my earlier example code as I wanted to make it as simple as possible but this had the effect of not producing the bug :(
Opening a issue in the
Opening a issue in the bugtraker is good idea, so it does no slip trough.
http://bugs.nextapp.com/mantis
André
Issue opened in matis as you suggested
http://bugs.nextapp.com/mantis/view.php?id=437
Can you give me any more
Can you give me any more info on the conditions that cause this? Server-side or client-side? What other properties are you setting on the label? What version of Echo (SVN trunk/b7?)
more info...
ok - Server side code looks like this
Label label = new Label();
//label.setText("0");
label.setLayoutData(new RowLayoutData());
row.add(label);
The line
label.setText("0");
needs to be included i.e. set the text to any valid string otherwise the js exception occurs.
the label is being rendered as part of a row that is part of a split-pane
I just tried out the code using the b7 from echo3go and it still persists. I haven't tried to reproduce this in a simpler app but I think it should be easy to reproduce.
I can't reproduce this with
I can't reproduce this with above code. Can you post your complete Label configuration? From what I've seen in the code, this could only happen when only a tooltip text is set.
Niels
The tooltip bug is (just)
The tooltip bug is (just) fixed in SVN 2132.
yes its the same problem - tooltip set / text not set
Yes - the tooltip text was being set but not the text I didn't make the connection between it and the text not being set -tricky!
I didn't include the tooltip being set in my earlier example code as I wanted to make it as simple as possible but this had the effect of not producing the bug :(
No worries, just glad that
No worries, just glad that was found and fixed :D