-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi
Is there any way to trim values automatically. I have 10s of text boxes and I dont want to write textbox.getValue().trim() on each of the component.
Please suggest if there is any other eady way out.
Thanks
Ajaidka
Hi Ajaidka,
you can create another class extends origional Textbox and override the getValue() method,
then assign your textbox to use the new class in page or composer,
two simple samples :
override and assign in zul file
override and assign in Composer
click Run button at top right then click 'show current value' button in popup window to see the result,
and you may edit some content then click Run again to test different case.
Asked: 2011-07-05 09:03:21 +0800
Seen: 931 times
Last updated: Jul 18 '11
ZK studio and eclipse outline problem
ZK Package configuration problem
Eclipse Autocomplete not working in ZUL files...
Syntax Error mark ... help me!
Manual Installation of ZK Studio
Can't see button text whilst running simple demo
Adding Vbox to Center layout in Java