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 16 Next »

[08:25:41 EST(-0500)] * jayshao (n=jayshao@jayshao.oirt.rutgers.edu) has joined ##uportal
[09:45:30 EST(-0500)] * clown (n=clown@142.150.154.101) has joined ##uportal
[10:13:24 EST(-0500)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[11:03:38 EST(-0500)] * colinclark (n=colin@bas1-toronto09-1279474838.dsl.bell.ca) has joined ##uportal
[11:42:13 EST(-0500)] * michelled (n=team@142.150.154.199) has joined ##uportal
[11:45:41 EST(-0500)] * EiNZTEiN (n=einztein@205.241.143.4) has joined ##uportal
[12:48:48 EST(-0500)] <EiNZTEiN> i still can't figure out what files afect the design
[12:48:49 EST(-0500)] <EiNZTEiN> ARGH
[12:49:16 EST(-0500)] <EiNZTEiN> I'm trying to edit the header, replace the logo, etc.. and I've been editing the xhtml-theme.xsl but it doesn't affect anything
[12:49:44 EST(-0500)] <EricDalquist> so you edit, run 'ant deploy' restart and still no luck ....
[12:49:50 EST(-0500)] <EricDalquist> what version of uPortal?
[12:51:53 EST(-0500)] <EiNZTEiN> 2.6.1
[12:52:04 EST(-0500)] <EiNZTEiN> I mean, it's all deployed.. I'm working at the deployed files
[12:52:11 EST(-0500)] <EiNZTEiN> can't I do that?
[12:52:20 EST(-0500)] <EricDalquist> hrm ... best practice is to edit the files in the project
[12:52:23 EST(-0500)] <EricDalquist> and run ant deploy
[12:52:26 EST(-0500)] <EiNZTEiN> hmm
[12:52:34 EST(-0500)] <EricDalquist> otherwise next time you run ant deploy all your changes will get blown away
[12:52:40 EST(-0500)] <EiNZTEiN> true
[12:53:18 EST(-0500)] <EricDalquist> esm: any way you know to get the mvn release plugin to be OK with SNAPSHOT dependencies?
[12:57:52 EST(-0500)] <EiNZTEiN> EricDalquist: the issue here is what xsl actually are used by the portal...
[12:58:12 EST(-0500)] <EiNZTEiN> I just saw the logo html markup on xhtml-theme.xsl, but changing it did nothing
[12:58:44 EST(-0500)] <EiNZTEiN> brb
[13:05:47 EST(-0500)] <EricDalquist> EiNZTEiN: what is the full path to the XSL document you are editing
[13:05:53 EST(-0500)] <EricDalquist> from the root of the uPortal webapp
[15:11:16 EST(-0500)] <EiNZTEiN> i'm back
[15:11:22 EST(-0500)] <EiNZTEiN> EricDalquist: I'll give you that in a sec
[15:11:51 EST(-0500)] <EiNZTEiN> here: /usr/local/tomcat/webapps/uPortal/WEB-INF/classes/org/jasig/portal/layout/tab-column/xhtml-theme/xhtml-theme.xsl
[15:15:07 EST(-0500)] <EricDalquist> hrm ... looks right for an out of the box uPortal 2.6.1 install
[15:17:55 EST(-0500)] <EiNZTEiN> yup
[15:18:16 EST(-0500)] <EiNZTEiN> but changing the properties for the logo didn't result in any changes on the browser result
[15:18:17 EST(-0500)] <EiNZTEiN> :|
[15:18:32 EST(-0500)] <EricDalquist> and no changes you make in that file show up when rendering the portal (after restarting tomcat)?
[15:18:43 EST(-0500)] <EiNZTEiN> need to restart tomcat?
[15:18:57 EST(-0500)] <EricDalquist> unless you have the uPortal XSL caching disabled yes
[15:19:06 EST(-0500)] <EricDalquist> uPortal only reads those files once
[15:19:09 EST(-0500)] <EricDalquist> since parsing XML is expensive
[15:19:10 EST(-0500)] <EiNZTEiN> hmm
[15:19:13 EST(-0500)] <EiNZTEiN> makes sense
[15:19:22 EST(-0500)] <EiNZTEiN> how can I disable caching while testing? (smile)
[15:19:43 EST(-0500)] <EricDalquist> go into portal.properties
[15:19:47 EST(-0500)] <EricDalquist> search for 'cache'
[15:20:01 EST(-0500)] <EricDalquist> and anything you find related to XML or XSL and cache
[15:20:03 EST(-0500)] <EricDalquist> switch to off
[15:20:12 EST(-0500)] <EiNZTEiN> mkay... I'll try that
[15:20:24 EST(-0500)] <EricDalquist> namely org.jasig.portal.utils.XSLT.stylesheet_set_caching=off and org.jasig.portal.utils.XSLT.stylesheet_root_caching=off
[15:21:25 EST(-0500)] <EiNZTEiN> gotcha
[15:21:39 EST(-0500)] <EiNZTEiN> UserInstance too?
[15:21:45 EST(-0500)] <EricDalquist> um sure ...
[15:21:55 EST(-0500)] <EricDalquist> it shouldn't hurt anything
[15:22:08 EST(-0500)] <EricDalquist> other than making every request rather slow
[15:22:10 EST(-0500)] <EiNZTEiN> url cache too? (smile)
[15:22:18 EST(-0500)] <EricDalquist> sure
[15:22:27 EST(-0500)] <EricDalquist> I think the two XSLTs are all you really need actually
[15:22:53 EST(-0500)] <EiNZTEiN> the xhml-theme and what else?
[15:22:53 EST(-0500)] <EricDalquist> I don't do much of any XSL development so I don't have much first hand experience
[15:23:05 EST(-0500)] <EiNZTEiN> tab-column?
[15:23:06 EST(-0500)] <EricDalquist> oh I meant the two XSLT properties
[15:23:11 EST(-0500)] <EiNZTEiN> ah k
[15:35:01 EST(-0500)] <EiNZTEiN> Ericthat was it
[15:35:03 EST(-0500)] <EiNZTEiN> ops
[15:35:08 EST(-0500)] <EiNZTEiN> EricDalquist: that was it*
[15:35:09 EST(-0500)] <EricDalquist> cool
[15:35:13 EST(-0500)] <EiNZTEiN> it was being cached
[15:35:16 EST(-0500)] <EiNZTEiN> I was freaking out
[15:35:17 EST(-0500)] <EiNZTEiN> lol
[15:35:27 EST(-0500)] <EricDalquist> (smile)
[15:35:29 EST(-0500)] <EiNZTEiN> dunno why I didn't think of caching lol
[15:35:35 EST(-0500)] <EricDalquist> just remember to turn those back on eventually
[15:35:41 EST(-0500)] <EricDalquist> the performance with them off is really bad
[15:35:43 EST(-0500)] <EiNZTEiN> ya
[15:35:48 EST(-0500)] <EiNZTEiN> this is not production server
[15:36:04 EST(-0500)] <EiNZTEiN> this is just localhost for design dev
[15:36:17 EST(-0500)] <EiNZTEiN> but I won't forget anyway (wink)
[16:28:22 EST(-0500)] <EiNZTEiN> some weird stuff in the code
[16:28:23 EST(-0500)] <EiNZTEiN> :|
[16:28:24 EST(-0500)] <EiNZTEiN> <div style="height:55px;"></div>
[16:28:26 EST(-0500)] <EiNZTEiN> ? :|
[16:28:30 EST(-0500)] <EiNZTEiN> oh dear

  • No labels