[04:26:52 EDT(-0400)] * higmad (n=chatzill@pcit-8752.HIG.SE) has joined ##uportal
[07:32:01 EDT(-0400)] * jayshao_ (n=jayshao@ool-4573130c.dyn.optonline.net) has joined ##uportal
[08:34:05 EDT(-0400)] * tsnfoo (n=tsnfoo@140.141.15.78) has joined ##uportal
[08:50:20 EDT(-0400)] * michelled (n=team@142.150.154.193) has joined ##uportal
[08:57:39 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:37:35 EDT(-0400)] * athena (n=athena@adsl-75-58-127-15.dsl.wlfrct.sbcglobal.net) has joined ##uportal
[09:41:48 EDT(-0400)] * jayshao_ (n=jayshao@ool-4573130c.dyn.optonline.net) has joined ##uportal
[10:07:00 EDT(-0400)] * jessm (n=Jess@c-71-232-1-65.hsd1.ma.comcast.net) has joined ##uportal
[10:50:28 EDT(-0400)] * colinclark (n=colin@bas2-toronto09-1176394061.dsl.bell.ca) has joined ##uportal
[10:50:46 EDT(-0400)] <EricDalquist> time to try my hand at my first fluid component
[10:50:55 EDT(-0400)] <colinclark> wicked
[11:45:43 EDT(-0400)] <EricDalquist> fluid component question
[11:45:52 EDT(-0400)] <EricDalquist> does that.locate only find things that are children of the container?
[11:46:10 EDT(-0400)] <colinclark> EricDalquist: Yep, exactly.
[11:46:15 EDT(-0400)] <EricDalquist> hrm
[11:46:25 EDT(-0400)] <colinclark> It's designed to constrain your searches to a specific region of the page, so you don't go sucking up some other portlet's markup.
[11:46:26 EDT(-0400)] <colinclark>
[11:46:34 EDT(-0400)] <colinclark> It can be overridden if you need to
[11:46:41 EDT(-0400)] <EricDalquist> ok
[11:46:44 EDT(-0400)] <colinclark> using an optional second argument, which is the context in which to run the search
[11:47:11 EDT(-0400)] <EricDalquist> because for a component I'm working on I have to reference a <div> that is a direct child of the body
[11:47:21 EDT(-0400)] <colinclark> ah
[11:47:23 EDT(-0400)] <EricDalquist> to put up a transparent overlay
[11:47:27 EDT(-0400)] <colinclark> right
[11:47:41 EDT(-0400)] <EricDalquist> I suppose I could pass a reference in the constructor
[11:47:47 EDT(-0400)] <athena> sounds sort of like the error div for the layout reorderer
[11:47:50 EDT(-0400)] <colinclark> That's something we do sometimes, yes
[11:47:53 EDT(-0400)] <colinclark> yep
[11:48:01 EDT(-0400)] <athena> and i think that's exactly what that component does
[11:48:07 EDT(-0400)] <EricDalquist> pass in a reference?
[11:48:11 EDT(-0400)] <athena> took me a while to figure out why a normal selector didn't work
[11:48:12 EDT(-0400)] <athena> yep
[11:48:14 EDT(-0400)] <colinclark> yeah, it's passed in as an option
[11:48:43 EDT(-0400)] <colinclark> if a normal selector doesn't work, athena, shouldn't that be a bug?
[11:48:43 EDT(-0400)] <colinclark>
[11:48:44 EDT(-0400)] <EricDalquist> ok
[11:49:06 EDT(-0400)] <athena> well, antranig said it doesn't work because it's outside the container
[11:49:12 EDT(-0400)] <EricDalquist> hrm
[11:49:52 EDT(-0400)] <colinclark> athena: Ah, of course
[11:50:27 EDT(-0400)] <colinclark> It's a tough call, because sometimes components do need to stretch outside of their purview. But most of the time, it's actually a problem.
[11:50:47 EDT(-0400)] <EricDalquist> yeah
[11:58:52 EDT(-0400)] <EricDalquist> so what would the syntact for that.locate be if I wanted to find an element by id on the page?
[11:59:16 EDT(-0400)] <EricDalquist> I have " overlay: '#portlet-controls_dd-layer' " defined in my selectors
[11:59:30 EDT(-0400)] <EricDalquist> that that is a <div> directly under the <body>
[12:00:11 EDT(-0400)] <EricDalquist> var ddLayer = that.locate('overlay', $('body'));
[12:00:13 EDT(-0400)] <EricDalquist> that worked
[12:00:19 EDT(-0400)] <EricDalquist> not sure if it is the best approach
[12:00:49 EDT(-0400)] * holdorph (n=holdorph@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[12:07:30 EDT(-0400)] * Sememmon (n=Sememmon@wsip-72-215-204-133.ph.ph.cox.net) has joined ##uportal
[12:16:27 EDT(-0400)] <athena> i think for the layout reorderer, we just fed it thingy: $('#thingy')
[12:16:46 EDT(-0400)] <EricDalquist> ah
General
Content
Integrations