uPortal IRC Logs-2012-07-05
[12:38:17 CDT(-0500)] <skreech__> Hello
[13:03:14 CDT(-0500)] <skreech__> i have a Uportal site that once logged in all menu links give an up:channel_title-{} page
[13:03:22 CDT(-0500)] <skreech__> is that a path or permissions wrror?
[13:03:24 CDT(-0500)] <skreech__> error
[13:14:47 CDT(-0500)] <EricDalquist> hello
[13:14:58 CDT(-0500)] <EricDalquist> are the portlets missing from the tabs as well?
[13:21:13 CDT(-0500)] <skreech__> I dont' think so. I can get to the page if not logged in
[13:25:57 CDT(-0500)] <EricDalquist> so the portlets all render correctly
[13:26:10 CDT(-0500)] <EricDalquist> but the drop down menus under the tab names show the incorrect title string?
[13:45:40 CDT(-0500)] <skreech__> Hmm No when I click on a nav item if I'm logged in I get a page
[13:45:53 CDT(-0500)] <skreech__> sorry if I"m not logged in I get a page with content
[13:46:10 CDT(-0500)] <skreech__> if I am logged in I get a page that says up:channel_title-{}
[13:46:34 CDT(-0500)] <skreech__> Though I do notice the breadcrumbs are different if I"m logged in from when I am not
[13:46:38 CDT(-0500)] <EricDalquist> I don't think I'm following
[13:46:49 CDT(-0500)] <EricDalquist> can you give a more detailed step by step on what you are doing
[13:46:59 CDT(-0500)] <EricDalquist> and if you could share a screenshot that would be handy
[13:47:33 CDT(-0500)] <skreech__> Ok one moment
[14:05:06 CDT(-0500)] <skreech__> http://wstaw.org/m/2012/07/05/loggedoutmenu.png
[14:05:14 CDT(-0500)] <skreech__> Is the page and menu when logged out
[14:05:34 CDT(-0500)] <skreech__> http://wstaw.org/m/2012/07/05/loggedoutpage.png is the page shown when the indicated link is clicked
[14:05:47 CDT(-0500)] <skreech__> http://wstaw.org/m/2012/07/05/loggedinpage.png is the same menu when logged in
[14:06:21 CDT(-0500)] <skreech__> http://wstaw.org/m/2012/07/05/loggedinmenu.png is the menu. The above is what is shown when you click this <---- menu
[14:41:43 CDT(-0500)] <skreech__> EricDalquist: Note the breadcrumb
[14:42:06 CDT(-0500)] <EricDalquist> ah
[14:42:07 CDT(-0500)] <EricDalquist> ok
[14:42:13 CDT(-0500)] <EricDalquist> I think this is a bug related to the guest layout
[14:42:23 CDT(-0500)] <EricDalquist> you can only render portlets in the guest view that are in the guest user's layout
[14:42:32 CDT(-0500)] <EricDalquist> they can be hidden in the header or footer until needed
[14:42:42 CDT(-0500)] <EricDalquist> but they need to be in the user's layout somewhere
[14:42:52 CDT(-0500)] <EricDalquist> that is something we're going to fix in 4.1
[14:46:30 CDT(-0500)] <skreech__> Is there a work around?
[15:06:40 CDT(-0500)] <mmoayyed> Hi there, got a question on person directory on the "resultAttributeMapping" property of a DAO. the entry key is the ldap attribute name and the value is how should be returned/renamed back in the results. is that correct?
[15:06:51 CDT(-0500)] <EricDalquist> yes
[15:07:38 CDT(-0500)] <mmoayyed> so, if I want the directory portlet to list of the person attributes, I'll need to list the attributes in the "directoryDisplayAttributes" list and those should match the values of the resultAttributeMapping property, right?
[15:07:55 CDT(-0500)] <EricDalquist> yes
[15:08:33 CDT(-0500)] <mmoayyed> strange, cause it doesnt work! when I look up a user in the portlet manager I do get back the attributes, when I do the same in the directory having listed all appropriate attributes in both places, I only get back the uid
[15:11:10 CDT(-0500)] <mmoayyed> in the simplest form, I am trying to list the "sn" attribute, which is listed in the display attributes list and person directory config is set to return it too. not sure why I only get back the uid
[16:43:54 CDT(-0500)] <Daskreech> EricDalquist: Where can I find out about adding those to user's layouts
[18:12:22 CDT(-0500)] <mmoayyed> Think I have got it working! phew
[18:13:47 CDT(-0500)] <mmoayyed> One more question though, what exactly does "LocalAccountPersonImpl_" mean? what is the purpose of the trailing underscore?
[18:14:56 CDT(-0500)] <EricDalquist> it is the JPA meta model
[18:15:08 CDT(-0500)] <EricDalquist> the _ suffixed classes exist for every JPA managed entity we have
[18:15:14 CDT(-0500)] <EricDalquist> they allow us to build type-safe queries
[18:15:26 CDT(-0500)] <EricDalquist> which catch refactoring mistakes in our queries at compile time
[18:16:26 CDT(-0500)] <mmoayyed> cool. I'd never seen that before! so, what do I do to get rid of all the errors in eclipse where it tells me it cant resolve the class with the ending "_" ?
[18:17:24 CDT(-0500)] <EricDalquist> it isn't exactly straight foward
[18:17:29 CDT(-0500)] <EricDalquist> but the easiest way
[18:17:37 CDT(-0500)] <EricDalquist> is to install the latest m2e plugin (1.1)
[18:17:51 CDT(-0500)] <EricDalquist> that should prompt you to download the apt extension which handles annotations processing
[18:18:00 CDT(-0500)] <EricDalquist> then you need to enable the plugin for the project
[18:18:07 CDT(-0500)] <EricDalquist> capturing that in a video is on my todo list
[18:19:52 CDT(-0500)] <mmoayyed> got it. thanks. looking at the pom, i think maven failed to download the right connector.
[18:20:09 CDT(-0500)] <mmoayyed> I am going to look into it. might even be able to help you with that video
[18:24:04 CDT(-0500)] <EricDalquist> well m2e 1.1 just came out
[18:24:12 CDT(-0500)] <EricDalquist> and is significantly better at finding the connectors
[18:24:31 CDT(-0500)] <EricDalquist> I was planning on doing a Eclipse 4.2 + plugins video (m2e, subclipse, egit & sts)
[18:24:45 CDT(-0500)] <EricDalquist> I'll owe you a dinner at the next conference if you do it though
[18:37:32 CDT(-0500)] <mmoayyed> yup, just went through the setup process. very smooth! it's going through. looks like it might take a while to generate the classes. I'll leave it at that. I have not used STS a whole lot, so you'd possibly owe me 75% of that dinner! but I'll see what I can do.
[18:38:47 CDT(-0500)] <EricDalquist> nice
[18:38:50 CDT(-0500)] <mmoayyed> btw, been working java7 support on and off. found a number of DataSource implementations that broke the build, but it's been going well. Hopefully, I can submit a pull soon
[18:39:42 CDT(-0500)] <EricDalquist> great
[18:42:43 CDT(-0500)] <EricDalquist> so do you have a video of the setup you just did?
[18:51:10 CDT(-0500)] <mmoayyed> no, this was a first and kind of bumpy. might do a brand new install with e4.2 w/ video, etc. installing STS on 4.2 is kinda of tricky.
[18:52:42 CDT(-0500)] <mmoayyed> speaking of egit, how do you import a maven project into eclipse and have it be recognized by egit? I have always run into issues with one not recognizing the other
[19:15:57 CDT(-0500)] <EricDalquist> ah
[19:16:20 CDT(-0500)] <EricDalquist> Eclipse Prefs > Team > Git > Projects
[19:16:37 CDT(-0500)] <EricDalquist> check the "Auto Share project's located in a git repository" box
[19:16:44 CDT(-0500)] <EricDalquist> then if the project exists anywhere in a git repo
[19:16:51 CDT(-0500)] <EricDalquist> it automatically is a Git Team project
[19:21:05 CDT(-0500)] <mmoayyed> sweeet! that's awesome.
[19:21:26 CDT(-0500)] <mmoayyed> Thanks Eric. This used to drive me up the wall!
[19:21:42 CDT(-0500)] <EricDalquist> yeah me too
[19:21:48 CDT(-0500)] <EricDalquist> someone at the last conf showed me
[19:22:00 CDT(-0500)] <EricDalquist> I feel like we all just need to look over each other's shoulders when using eclipse
[19:22:05 CDT(-0500)] <EricDalquist> I learn someone new all the time
[19:22:30 CDT(-0500)] <mmoayyed> I hear you
[19:23:13 CDT(-0500)] <mmoayyed> all right. I am going to take off for now. Thanks for all your help today!