uPortal IRC Logs-2012-04-06

[09:50:49 CDT(-0500)] <b-sure> hello uPortal devs. can I trouble EricDalquist about the phantom shibb / redirect apache example?

[09:51:11 CDT(-0500)] <EricDalquist> our apache admin is out again today

[09:51:14 CDT(-0500)] <EricDalquist> sorry :/

[09:52:00 CDT(-0500)] <b-sure> oh ok. thanks. I told our admin that we could see an example. so hes got me cornered at the moment

[09:52:35 CDT(-0500)] <EricDalquist> sounds like time for some google-fu (smile)

[09:52:39 CDT(-0500)] <EricDalquist> it is a pretty common pattern

[09:53:32 CDT(-0500)] <b-sure> yeah. thats what i'm doin now

[10:37:09 CDT(-0500)] <athena> so the classifieds portlet is using a JSP taglib that helps produce JSON

[10:37:11 CDT(-0500)] <athena> http://json-taglib.sourceforge.net/examples.html

[10:37:31 CDT(-0500)] <EricDalquist> interesting

[10:37:32 CDT(-0500)] <athena> maybe something to keep in mind when we're building small in-page JSON objects

[10:37:33 CDT(-0500)] <athena> yeah

[10:37:46 CDT(-0500)] <EricDalquist> though that seems like more work than just shoving the OM into jasckon

[10:37:49 CDT(-0500)] <EricDalquist> jackson too (tongue)

[10:37:55 CDT(-0500)] <athena> it's not in maven central, but presumably we could do the third-party library thing

[10:38:08 CDT(-0500)] <athena> well, don't think we'd want to use this for requests where the whole thing is JSON

[10:38:25 CDT(-0500)] <athena> but we have some JSP pages that are mostly HTML and we're formatting some amount of data as JSON in a script

[10:38:31 CDT(-0500)] <athena> rather than doing an AJAX call for it

[10:38:41 CDT(-0500)] <EricDalquist> ah true

[10:38:46 CDT(-0500)] <EricDalquist> that would be nice

[10:39:07 CDT(-0500)] <athena> yeah

[10:39:16 CDT(-0500)] <athena> much better than manually calculating whether to add another comma

[10:39:44 CDT(-0500)] <EricDalquist> yeah

[10:40:46 CDT(-0500)] <athena> here's the page he's using it in: https://github.com/Jasig/ClassifiedsPortlet/blob/master/src/main/webapp/WEB-INF/jsp/mainMenu.jsp

[10:41:01 CDT(-0500)] <athena> so it renders the information using javascript, but w/o an ajax call

[10:42:05 CDT(-0500)] <EricDalquist> gives me a 404?

[10:42:16 CDT(-0500)] <athena> huh, really?

[10:42:19 CDT(-0500)] <athena> that's odd

[10:42:24 CDT(-0500)] <athena> even clicked the link and it worked

[10:42:47 CDT(-0500)] <EricDalquist> ok

[10:42:50 CDT(-0500)] <EricDalquist> its a private repo

[10:42:53 CDT(-0500)] <EricDalquist> is that on purpose?

[10:44:56 CDT(-0500)] <athena> nope!

[10:45:57 CDT(-0500)] <athena> there we go

[11:21:22 CDT(-0500)] <athena> EricDalquist: in our ldap person dao, do we have the ability to configure the ldapTemplate?

[11:21:32 CDT(-0500)] <EricDalquist> um, I'm not sure

[11:21:38 CDT(-0500)] <EricDalquist> its been a long time since I've looked at that code

[11:21:40 CDT(-0500)] <athena> wanted to have someone try turning on ignorePartialResultsException

[11:21:41 CDT(-0500)] <athena> ok