[rkward-devel] Plugin development: New JS-functions getString()/getBoolean()/getList()

meik michalke meik.michalke at uni-duesseldorf.de
Tue Feb 26 21:45:14 UTC 2013


hi,

Am Dienstag, 26. Februar 2013, 13:26:06 schrieb Thomas Friedrichsmeier:
> Consider whether (some of) this can be implemented in plain JS.

it would all need to be plain JS anyway, as it would have to work in a plugin 
in the end ;-) any rkwarddev solution would actually only generate JS code 
(like rk.JS.options(), for example).

i need some time to come up with a solution. in my case,

    col1  col2  col3
  1  x     y     z
  2  a           c

needs to come out as

  list(
    c(col1="x", col2="y", col3="z"),
    c(col1="a", col3="c")
  )

i'm not sure yet this can be done with static JS code and still be flexible 
enough to take any number of columns, without a generator function producing 
the JS code.

> BTW, my own experience with using optionsets is not exactly extensive,
> either.

well, it's fun to have something new to play with ;-)


viele grüße :: m.eik

-- 
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20130226/498cd809/attachment.sig>


More information about the Rkward-devel mailing list