[06:25:36 EDT(-0400)] * mad (n=chatzill@pcit-6254.HIG.SE) has joined ##uportal
[09:19:39 EDT(-0400)] * mad_ (n=chatzill@pcit-6254.hig.se) has joined ##uportal
[10:03:29 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.3) has joined ##uportal
[10:04:01 EDT(-0400)] * EiNZTEiN_ (n=einztein@205.241.143.3) has joined ##uportal
[10:17:05 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[10:32:40 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[10:59:08 EDT(-0400)] * lennar1 (n=sparhk@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[11:24:31 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:09:31 EDT(-0400)] * awills (n=awills@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:24:42 EDT(-0400)] <EricDalquist> hey awills, is there any way to have a task's sub-tasks return some value?
[12:26:06 EDT(-0400)] <awills> if i understand correctly, yes... with <return>
[12:26:13 EDT(-0400)] <EricDalquist> ah yeah
[12:26:35 EDT(-0400)] <EricDalquist> I think I'm going to add a <cache key=""></cache> task
[12:26:50 EDT(-0400)] <EricDalquist> in re-factoring the layout export to deal with the dlm node IDs I'm seeing quite a use for that
[12:27:13 EDT(-0400)] <EricDalquist> so I don't have to constantly re-build the limited-layout doms
[12:27:25 EDT(-0400)]
<awills> i've used <return> mostly w/ ${crn}, but I'm planning to add a public Object ScriptRunner.evaluate() method too |
<EricDalquist> <attribute key="Attributes.CACHE">${jexl(new org.apache.commons.collections.map.LRUMap(5000))}</attribute> |
<EricDalquist> though it could just be a phrase and you have to use ${crn()} to use cernunnos for the factory |
<awills> yeah, it would... and it would leave open the possibility to implement a fancy Phrase that does just what you want, instead of using ${crn} |
<EricDalquist> <cache key="Attributes.NODE" cache-key="${groovy(LAYOUT_USER_NAME + '.LIMITED-LAYOUT')}" factory="${crn(load-limited-layout.crn)}"> |
<EricDalquist> <echo-ln>Cache Status: ${groovy(Attributes.CACHE.size())}/${groovy(Attributes.CACHE.maxSize())}</echo-ln> |
<EricDalquist> if I do <attribute key="Attributes.CACHE">${groovy(new org.apache.commons.collections.map.LRUMap(5000))}</attribute> |
<EricDalquist> and I think something like <sql-datasource driver="${jdbcDriver}" url="${jdbcUrl}" username="${jdbcUser}" password="${jdbcPassword}"> would end up creating multiple db pools |
<EricDalquist> ${valueOf(count(/*))} ? |
<awills> what about ${valueOf(count(//struct\[@type = 'folder'\]))} from before the <xslt>? |
<awills> oh yes...${valueOf(count(//struct\[@type != 'header' and @type != 'footer'\]))} |
<EricDalquist> ${valueOf(count(/structures/*\[@type != 'header' and @type != 'footer' and @type != 'root'\]))} |