Ulrich Stärk schrieb:
The test will be true if the provided test returns true or in case of
an object return type that object is not null.
Or a collection which is not empty.
What about arrays? True, if array is not null, true, if array.size 0?
I am not sure...
thnx u. it works now
--
http://www.dwiardiirawan.com
cos everyone could be extraordinary...lighten up !
guys, i'm so stress with if komponent. how to use it
here's my code
.tml
===
t:select t:id=chartType onchange=this.form.submit()/
t:if test=dailyChart
AAA
/t:if
t:if test=monthlyChart
BBB
/t:if
t:if test=yearlyChart
CCC
w/o looking at the docs, my impression is that the 'test' attribute of
t:if expects a boolean value. Neither of daily,monthly,and yearly
chart props are boolean.
On 3/14/09, dwi ardi irawan penyihirke...@gmail.com wrote:
guys, i'm so stress with if komponent. how to use it
here's my code
The test will be true if the provided test returns true or in case of an object return type that
object is not null.
Uli
Alex Kotchnev schrieb:
w/o looking at the docs, my impression is that the 'test' attribute of
t:if expects a boolean value. Neither of daily,monthly,and yearly
chart props
I believe that setting your chart type Strings in a SUBMIT event handler
without persisting them - effectively does nothing for you. They will be
reset to null before the successive page sees them.
Unless you set your chart type in a PRE event of the successive page
(onActivate ...) - I believe