Re: [rkward-devel] [rkward-cvs] SF.net SVN: rkward-code:[4897] trunk/rkward/packages/rkwarddev

2014-10-16 Thread meik michalke
Am Montag, 13. Oktober 2014, 09:18:57 schrieb Thomas Friedrichsmeier:
 not sure, what the part about the optionset refers to. If you want me to
 take  a look, somewhere, let me know (it _is_ a rather non-trivial
 control...).

speaking of non-trivial... can you hint me to to some documentation of how to 
get all columns out of one row of the optionset? i find it hard to understand 
from the existing examples, but i get the idea it has to to with for loops.

i would like to implement some kind of prototypic helper function in 
rkwarddev. unless it turns out to be impossible ;-)


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  institut fur experimentelle psychologie
  abt. fur diagnostik und differentielle psychologie
  heinrich-heine-universitat d-40204 dusseldorf

signature.asc
Description: This is a digitally signed message part.
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-cvs] SF.net SVN: rkward-code:[4897] trunk/rkward/packages/rkwarddev

2014-10-16 Thread Thomas Friedrichsmeier
Hi,

On Thursday 16 October 2014 20:40:56 meik michalke wrote:
 speaking of non-trivial... can you hint me to to some documentation of how
 to get all columns out of one row of the optionset? i find it hard to
 understand from the existing examples, but i get the idea it has to to with
 for loops.

yes. The storage inside the optionset is column-based (which is rather 
unavoidable, technically). So the typical pattern in js is:

col_a = getList (set.col_a);
col_b = getList (set.col_b);
col_c = getList (set.col_c);

for (var i = 0; i  col_a.length; ++i) {
echo (coolfun (, col_a[i] + ,  + col_b[i] + , + col_c[i] + )\n);
}

 i would like to implement some kind of prototypic helper function in
 rkwarddev. unless it turns out to be impossible ;-)

Well, it should be quite possible to create a JS function that converts from 
column-based to row-based representation, given a list of column-names of 
interested (which may of not be all columns in the set!). I'll leave that as 
an exercise to the reader ;-).

Regards
Thomas

signature.asc
Description: This is a digitally signed message part.
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-cvs] SF.net SVN: rkward-code:[4897] trunk/rkward/packages/rkwarddev

2014-10-13 Thread Thomas Friedrichsmeier
Hi Meik,

On Sunday 12 October 2014 19:37:20 m-...@users.sf.net wrote:
 rkwarddev: enhanced the R code shown by the skeleton dialog to be a better
 start for your own rkwarddev scripts (optionset still refuses to work,
 btw...)

not sure, what the part about the optionset refers to. If you want me to take 
a look, somewhere, let me know (it _is_ a rather non-trivial control...).

Anyway, I looked at the skeleton dialog. The optionset there seemed to do 
exactly what it is meant to do. However, for a very simple input like this, a 
more elegant alternative may be a matrix mode=string 
allow_user_resize_rows=true allow_user_resize_columns=false.

Regards
Thomas

signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] [rkward-cvs] SF.net SVN: rkward-code:[4897] trunk/rkward/packages/rkwarddev

2014-10-13 Thread meik michalke
morning,

Am Montag, 13. Oktober 2014, 09:18:57 schrieb Thomas Friedrichsmeier:
  rkwarddev: enhanced the R code shown by the skeleton dialog to be a better
  start for your own rkwarddev scripts (optionset still refuses to work,
  btw...)
 
 not sure, what the part about the optionset refers to.

you looked in the right place.

 Anyway, I looked at the skeleton dialog. The optionset there seemed to do 
 exactly what it is meant to do.

ahhh, ok, now i get it... you have to *first* add an item and *then* write the 
text. intuitively, i always tried the other way around. i thought it didn't 
work becuase i never saw any items appear. can this be made clearer somehow?

 However, for a very simple input like this,
 a  more elegant alternative may be a matrix mode=string
 allow_user_resize_rows=true allow_user_resize_columns=false.

ok, will try it when i get to it.


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  institut fur experimentelle psychologie
  abt. fur diagnostik und differentielle psychologie
  heinrich-heine-universitat d-40204 dusseldorf

signature.asc
Description: This is a digitally signed message part.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel