Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[10:25:36 CST(-0600)] <athena> EricDalquist: can you build the weather portlet right now?
[10:25:45 CST(-0600)] <athena> i keep getting [ERROR] Failed to execute goal on project WeatherPortlet: Could not resolve dependencies for project org.jasig.portlet:WeatherPortlet:war:1.0.8-SNAPSHOT: Could not find artifact javax.script:groovy-engine:jar:jdk14:1.1 in central (http://repo1.maven.org/maven2) -> [Help 1]
[10:25:52 CST(-0600)] <EricDalquist> no idea ...
[10:25:52 CST(-0600)] <EricDalquist> huh
[10:25:57 CST(-0600)] <athena> been having problems with random stuff like that ever since i switched to maven 3
[10:30:18 CST(-0600)] <athena> uhoh.
[10:30:31 CST(-0600)] <athena> he just decided a 50ft coil of ethernet cable was a toy
[10:30:39 CST(-0600)] <athena> should probably get kris down here or put him in his crate
[10:30:48 CST(-0600)] <EricDalquist> lol
[10:30:57 CST(-0600)] <EricDalquist> yeah I'll be more help tomorrow if everything goes well
[10:31:03 CST(-0600)] <EricDalquist> preping for our 3.2 upgrade tomorrow at 5am
[10:32:13 CST(-0600)] <athena> hope that goes well!
[13:26:05 CST(-0600)] <EricDalquist> athena: time to test your JS skills ... can you do sub-classing with fluid components?
[13:26:20 CST(-0600)] <athena> hm
[13:26:33 CST(-0600)] <athena> kind of depends what you mean by subclassing, perhaps
[13:26:35 CST(-0600)] <EricDalquist> like if I write a Search component that has a bunch of helper methods. Can I write a UWGoogleSearch component that overrides those ethods?
[13:26:50 CST(-0600)] <athena> typically you might have a component with subcomponents
[13:26:59 CST(-0600)] <EricDalquist> I did a bunch of JS work on the search portlet in trunk to make it more extensible
[13:26:59 CST(-0600)] <athena> and you could have different implementations of those subcomponents, sort of
[13:27:03 CST(-0600)] <EricDalquist> at least the JS part so far
[13:27:04 CST(-0600)] <athena> oh fantastic (smile)
[13:27:15 CST(-0600)] <EricDalquist> I'll post some examples of what I have now
[13:27:37 CST(-0600)] <athena> like with the pager, there's a default implementation of a lot of the little subcomponents, but you can plug in alternate implementations
[13:27:37 CST(-0600)] <EricDalquist> up-search.js: http://uportal.pastebin.com/uq08xs1J
[13:27:46 CST(-0600)] <athena> is that the kind of thing you were looking for?
[13:27:57 CST(-0600)] <athena> awesome (smile)
[13:28:13 CST(-0600)] <EricDalquist> uwgooglesearch.js: http://uportal.pastebin.com/E7FEYHsp
[13:28:39 CST(-0600)] <EricDalquist> and how I init them: http://uportal.pastebin.com/4MbbSW5m
[13:29:03 CST(-0600)] <EricDalquist> so essentially I defined a bunch of methods in search.js using function pointers in the options
[13:29:35 CST(-0600)] <athena> gotcha