[Seaside] Read two values ( width @ height ) with only one
declaration
dtrussardi at tiscali.it
dtrussardi at tiscali.it
Sat Jan 4 16:03:05 UTC 2014
Hi,
i need to read two parameters ( width @ height ) relative to a DIV element.
For now i use this declarations:
html div class: 'topSide';
" read width "
onClick: (html jQuery ajax
callback: [ :x | x inspect ]
value: (html jQuery this width)).
"raed height "
onClick: (html jQuery ajax
callback: [ :x | x inspect ]
value: (html jQuery this height)).
Now my question is:
i can read the two values with only one declaration?
How i can define the value: ( html jQuery this width................ '@' ............... html jQuery this height )
for concatenated the two values and return a string in form of string Point: '200 at 400'
I declared : value: ( html jQuery this width, '@' , html jQuery this height )
but it don't work.
Considerations?
Thanks,
Dario
More information about the seaside
mailing list