Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 39 Next »

[09:05:25 CDT(-0500)] <JoeMoore> Our stats recorder quit recording a few days ago--I haven't found the log message yet
[09:05:51 CDT(-0500)] <EricDalquist> hrm, there was an issue around stats stopping writing to the db a while ago
[09:05:58 CDT(-0500)] <JoeMoore> Is there any way to get it to retry without restarting tomcat/uportal?
[09:06:04 CDT(-0500)] <EricDalquist> I think it was pinned down to needing to update the quartz library
[09:06:15 CDT(-0500)] <EricDalquist> If it is the quartz bug, probably not
[09:06:31 CDT(-0500)] <JoeMoore> This was while our instance had been running for a few weeks without any changes
[09:06:50 CDT(-0500)] <EricDalquist> not seeing any errors in the logs?
[09:07:25 CDT(-0500)] <JoeMoore> Not any ongoing errors
[09:07:57 CDT(-0500)] <EricDalquist> how does memory usage look?
[09:08:30 CDT(-0500)] <JoeMoore> It seems like once it saw the error it quit retrying
[09:09:22 CDT(-0500)] <JoeMoore> It sounds like the original question is somewhat moot-the server is going to need to be restarted anyway-I'll see if the logs start up on reboot
[09:10:25 CDT(-0500)] <JoeMoore> In answer to your memory question-the server needs memory (don't we all (smile)-it's on order
[09:10:49 CDT(-0500)] <EricDalquist> just asking because what I believe has been seen before is the quartz job dies for some reason
[09:10:59 CDT(-0500)] <EricDalquist> and stats events just start filling up the queue
[09:11:03 CDT(-0500)] <EricDalquist> since it isn't being flushed
[09:11:28 CDT(-0500)] <JoeMoore> So I can think of many reasons why the stats would quit collecting in our environment (server, database, memory)--the question would be how to restart them/flush the queue without restarting tomcat/uPortal
[09:12:22 CDT(-0500)] <EricDalquist> take a look at https://issues.jasig.org/browse/UP-2858
[09:26:51 CDT(-0500)] <JoeMoore> That looks like it could be it. I'm now looking at https://lists.wisc.edu/read/messages?id=8446759#8446759
[09:27:49 CDT(-0500)] <JoeMoore> Do you mind if I comment the listserv reference from wisc.edu into UP-2858 so someone can make the connection better (once I make sure I'm doing the right thing)?
[09:28:10 CDT(-0500)] <EricDalquist> sounds good
[09:28:26 CDT(-0500)] <JoeMoore> Thanks. Over and out.
[10:02:40 CDT(-0500)] <JoeMoore> I'm still no maven expert. I changed the dependency to 1.8.4, and expected maven to find that. Do I need to download it manually (I do know how to do that if I need to)? see http://uportal.pastebin.com/82tFD3Kq
[10:03:18 CDT(-0500)] <EricDalquist> I think they changed their groupId & artifactId
[10:04:29 CDT(-0500)] <EricDalquist> looks like the groupId changed to org.quartz-scheduler and the artifactId changed to quartz
[10:04:45 CDT(-0500)] <EricDalquist> you'll need to change that in the root pom.xml and in uportal-impl/pom.xml
[10:05:30 CDT(-0500)] <JoeMoore> Would there be a standard place I would have found that--maybe in http://grepcode.com/snapshot/repo1.maven.org/maven2/org.quartz-scheduler/quartz/1.8.4
[10:06:24 CDT(-0500)] <EricDalquist> I use http://mvnrepository.com/ to find artifacts
[10:06:40 CDT(-0500)] <EricDalquist> or the pom.xml editor in eclipse from the m2eclipse plugin
[10:07:02 CDT(-0500)] <JoeMoore> Thanks! I'll work with that.
[10:07:12 CDT(-0500)] <EricDalquist> looks like it is also on the quartz website: http://www.quartz-scheduler.org/download/download-catalog.html
[11:03:45 CDT(-0500)] <rickard> Am I correct in that there are only two levels of navigation in uPortal? tabs and tabChannels.
[11:05:48 CDT(-0500)] <EricDalquist> yeah
[11:06:17 CDT(-0500)] <athena> some institutions have done custom work to provide an additional level of tab nesting
[11:06:37 CDT(-0500)] <rickard> Ok, but not out of the box.
[11:06:40 CDT(-0500)] <athena> university of illinois in particular has come up with a strategy that doesn't involve a lot of customization
[11:06:44 CDT(-0500)] <athena> no, not out of the box
[11:08:01 CDT(-0500)] <JoeMoore> I made the changes to to version of quartz in my test system and updated https://issues.jasig.org/browse/UP-2858?focusedCommentId=22461#action_22461 for 3.2 patches
[11:08:02 CDT(-0500)] <rickard> Question no 2. I'm looking at the theme xml before transformation and there's an attribute for the <tab> called activeTab, but I don't see anything for the tabChannel. I would like to markup the active tabChannel in the menu with a particular CSS class.
[11:16:07 CDT(-0500)] <athena> what are you looking at that specifies a tabChannel? is this the structure XML document?
[11:16:17 CDT(-0500)] <athena> uPortal really only has an active tab
[11:16:51 CDT(-0500)] <athena> in the default theme, when you're looking at a tab, you see on the page whatever number of portlets are on the page
[11:17:17 CDT(-0500)] <athena> unless maybe you're thinking of the situation where you've maximized/focused a particular portlet and aren't looking at the entire tab anymore?
[11:18:01 CDT(-0500)] <rickard> I'm looking at the "raw" XML in uportal.log. Used a tip from mpolizzotti and EricDalquist to enable logging of the XML.
[11:18:19 CDT(-0500)] <rickard> This is the XML that is the base for the XSLT transformation done by the theme.
[11:19:27 CDT(-0500)] <holdorph> ok, but from the end user perspective. what do you want to achieve, that you need an activeTabChannel ?
[11:19:49 CDT(-0500)] <holdorph> because I agree with athena , such a concept really doesn't exist at the user level of the experience.
[11:20:05 CDT(-0500)] <rickard> I'm creating a theme based on an existing web site design.
[11:20:55 CDT(-0500)] <rickard> In other words, I have all the stylesheets and the markup. Now I just need to create the xsl files to transform the XML into the end product.
[11:21:13 CDT(-0500)] <rickard> http://www.lunduniversity.lu.se/research-and-innovation/research-excellence-areas
[11:21:54 CDT(-0500)] <rickard> As you can see, "RESEARCH AND INNOVATION" is the active tab and "Research excellence areas" is the active "subtab".
[11:22:19 CDT(-0500)] <holdorph> uportal doesn't support subtabs out of the box, as we explaine above
[11:22:27 CDT(-0500)] <athena> right, it doesn't out of the bo
[11:22:29 CDT(-0500)] <athena> box
[11:22:41 CDT(-0500)] <athena> but you can have basically any experience you'd like
[11:22:45 CDT(-0500)] <rickard> Well, it does support subtabs.
[11:22:52 CDT(-0500)] <rickard> It has tabs and tabChannels.
[11:22:59 CDT(-0500)] <rickard> http://pastebin.com/vRxDW2Wn
[11:23:13 CDT(-0500)] <athena> the "tabChannel" element you're looking at is actually a portlet
[11:23:37 CDT(-0500)] <rickard> Ok.
[11:23:42 CDT(-0500)] <athena> basically the document you've pasted shows two tabs, the first with 5 portlets, and the second with 8
[11:23:52 CDT(-0500)] <athena> i'd agree that that element isn't very intuitively named
[11:24:20 CDT(-0500)] <athena> if you take a look at uportal on an iphone, you'll see that the structurre and theme transforms are totally different, and you get completely different XML in between
[11:24:52 CDT(-0500)] <athena> you could certainly write your own structure transform to produce an additional layer of nesting, then use your own theme transform to render subtabs
[11:25:35 CDT(-0500)] <rickard> Ok.
[11:25:54 CDT(-0500)] <rickard> In that case, what I'm after is a way to highlight the active portlet in the subnavigation.
[11:26:24 CDT(-0500)] <rickard> But since the "tabChannel" doesn't specify whether the portles is active or not, I guess I'm out of luck.
[11:26:28 CDT(-0500)] <holdorph> but there isn't a concept of the active portlet, unless it's in the maximized state
[11:26:34 CDT(-0500)] <rickard> Ok
[11:26:40 CDT(-0500)] <athena> as holdorph says, most of the time there isnt' an active portlet
[11:26:59 CDT(-0500)] <athena> but if you changed the theme to never show all the portlets on the tab, and instead always be "focused" on a single portlet
[11:27:19 CDT(-0500)] <athena> there is a way to tell that it's focused, and what the focused channel is
[11:27:27 CDT(-0500)] <holdorph> yeah, it seems like you could come close to accomplishing what you linked to with maximized portlets
[11:27:55 CDT(-0500)] <rickard> Yeah, I think I see what you mean.
[11:27:57 CDT(-0500)] <athena> click on the title link for a portlet in vanilla uportal - you should go into a mode where you see the portlet you clicked on, but nothing else on the page
[11:28:10 CDT(-0500)] <athena> you should be able to see some references to a focused channel in the logs
[11:28:21 CDT(-0500)] <rickard> Let me check.
[11:28:53 CDT(-0500)] <athena> there are a number of references in the vanilla theme XSL to things like <xsl:when test="//focused"/> - those are basically testing to see whether the user is in "focus" mode
[11:29:04 CDT(-0500)] <rickard> Yeah, I've seen them.
[11:29:29 CDT(-0500)] <athena> anyway, if you're in focus mode, you can use that to find what i think you're thinking of as the "active" portlet
[11:29:35 CDT(-0500)] <rickard> Yup.
[11:29:42 CDT(-0500)] <rickard> I think I have it figured out now.
[11:30:06 CDT(-0500)] <rickard> I'll give it a go tomorrow. Thanks for the help.
[11:30:12 CDT(-0500)] <athena> good luck!
[11:39:03 CDT(-0500)] <athena> hey EricDalquist - do you have a list of the things you've found w/ the gallery patch?
[11:39:13 CDT(-0500)] <EricDalquist> oh yeah
[11:39:35 CDT(-0500)] <EricDalquist> where do you want me to stick the notes?
[11:39:57 CDT(-0500)] <athena> maybe at https://wiki.jasig.org/display/UPC/uPortal+3.2+Gallery+and+Tabs+Patch?
[11:40:11 CDT(-0500)] <EricDalquist> ok
[11:40:15 CDT(-0500)] <athena> probably be good to have it together w/ the patch itself
[11:40:17 CDT(-0500)] <EricDalquist> I'll just paste in my notes for now
[11:40:21 CDT(-0500)] <athena> thanks, that'd be awesome
[11:40:22 CDT(-0500)] <EricDalquist> it isn't all that clean yet
[11:40:30 CDT(-0500)] <athena> that's fine
[11:40:46 CDT(-0500)] <athena> mostly just want to make sure we get BYU up and running
[11:41:08 CDT(-0500)] <EricDalquist> ok
[11:41:10 CDT(-0500)] <EricDalquist> notes are there
[11:41:20 CDT(-0500)] <athena> great, thanks!
[13:39:26 CDT(-0500)] <athena> i've got an initial stab at moving the person selection over to using AJAX against a REST-ish person search feed
[13:39:44 CDT(-0500)] <athena> it's not too pretty though
[13:46:20 CDT(-0500)] <athena> EricDalquist: you have any objection to it being just a single ajax-based screen?
[14:55:09 CDT(-0500)] <rickard> athena: Just wanted to say that I got it work.
[14:55:13 CDT(-0500)] <rickard> <xsl:variable name="FOCUSED_ID"><xsl:value-of select="//content/focused/channel[1]/@ID"/></xsl:variable>
[14:55:20 CDT(-0500)] <athena> fantastic! really glad to hear it (smile)
[14:55:32 CDT(-0500)] <rickard> And then check if that matches @ID. If it does, it's active.
[14:56:06 CDT(-0500)] <athena> makes sense
[14:56:14 CDT(-0500)] <athena> look like that's going to meet your use case?
[15:00:12 CDT(-0500)] <rickard> Yeah, I think so.
[15:00:28 CDT(-0500)] <rickard> Focused means that only one portlet is displayed, right?
[15:00:43 CDT(-0500)] <athena> yes, exactly
[15:00:59 CDT(-0500)] <rickard> I believe that's how it currently is setup everywhere, so I think that'll work.
[15:01:09 CDT(-0500)] <athena> great (smile)
[15:01:09 CDT(-0500)] <rickard> In our portal, that is.
[15:01:32 CDT(-0500)] <athena> if you look at the mobile theme, you'll see that that actually only shows content in focus mode
[15:01:32 CDT(-0500)] <rickard> Haven't tinkered with XSL/XPath before, but it seems very powerful.
[15:01:50 CDT(-0500)] <athena> the main view is just a link to each portlet, rather than actually showing all the portlets together
[15:01:52 CDT(-0500)] <athena> yes, it is
[15:02:09 CDT(-0500)] <athena> and the fact that uportal has a two-stage transformation of the layout means you have a lot of control over the content generation
[15:02:26 CDT(-0500)] <athena> in the main theme the folders are transformed to a tab -> column -> portlet model
[15:02:40 CDT(-0500)] <athena> but others have done tab -> subtab -> column -> portlet
[15:02:57 CDT(-0500)] <athena> and the mobile theme uses contentGroup -> portlet

  • No labels