Re: [rkward-devel] [rkward-cvs] SF.net SVN: rkward-code:[4897] trunk/rkward/packages/rkwarddev
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
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 f"ur experimentelle psychologie abt. f"ur diagnostik und differentielle psychologie heinrich-heine-universit"at d-40204 d"usseldorf 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
Hi! On Monday 13 October 2014 10:30:04 meik michalke wrote: > > 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? Hm, dunno. Making it possible to label the "+"-Button "add dependency"/"create dependency"? I had thought about designing the optionset the other way around, too, i.e. you'd first write the text, then add it. However, for elements like radio buttons, checkboxes, etc. it would be rather non-obvious, whether the current settings are already "committed". Thus the policy: If it's enabled, it is active. (Also when going back and changing settings in an existing row of the set: you don't have to "commit" these). Now, s with a _minimum_ requirement of one row already start out with one row. But for sets that can be empty, we're hitting the same problems, again. Further ideas? -- Just for completeness: Yet another option in this particular use-case would be combining a text with the new . 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
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 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 f"ur experimentelle psychologie abt. f"ur diagnostik und differentielle psychologie heinrich-heine-universit"at d-40204 d"usseldorf 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
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 . 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