Re: [Hypercontent-users] viewing xsl files
Brought to you by:
alexvigdor
From: Alex V. <al...@bi...> - 2007-03-16 13:48:31
|
I referenced the wrong pipeline previously: the "preview" pipeline shows up in an iframe; the pipeline that generates the top level xsl preview looks like this normally: <pipeline mode="xsl-preview-select" binding="/**/*.xsl" content- type="text/html" permissions="read"> <exec stage="org.hypercontent.project.engine.stage.XSLPreviewPrepStage"/> <exec stage="org.hypercontent.project.engine.stage.VelocityStage"> <with-param name="source" value="/screens/xsl-preview-select.vm"/> <with-param name="localize-with" value="/screens/dir"/> </exec> <exec stage="org.hypercontent.project.engine.stage.TrimStage"/> </pipeline> So you could do something like: <pipeline mode="xsl-preview-select" binding="/config/skins/base.xsl" permissions="read"/> <pipeline mode="xsl-preview-select" binding="/config/skins/ common.xsl" permissions="read"/> to disable rendered preview for these two files. Alex On Mar 15, 2007, at 6:56 PM, tom tom wrote: > How can I override the following to base.xsl and > common.xsl in my project. (only for those two). So > that > without downloading somebody can preview the contents > of these two xsl files. > > Reason is these two xsls are the main two files which > anybody will be interested on. > > Let me know if I do so, is there any impact. > > > > One more question. > > Production, I proposed HC should be running on Apache > with mod_jk, Well just want to know should it be > https, > Are we getting anything more if we run HC on https > instead of http. > > Also have you tested HC on JAVA 1.6 > > > > Thanks. > > > >> <pipeline mode="preview" binding="/**/*.xsl"> >> <dependencies> >> <permission activity="read"/> >> </dependencies> >> <exec >> > stage="org.hypercontent.project.engine.stage.XSLPreviewStage"/> >> </pipeline> >> >> You can override this within your project for all >> XSL or just certain >> XSL, or disable it globally. If you would like to >> leave this enabled >> and just want to know how to get the actual XSL, you >> can either use >> the contextual menu in the directory listing to >> download the XSL >> file, or open it for edit and use the download link. >> >> Cheers, >> Alex >> >> >> On Mar 14, 2007, at 10:47 PM, tom tom wrote: >> >>> Hi, >>> >>> When I try to view the /config/skins/base.xsl it >>> renders some other xml files which I created. >>> >>> I cant view even the common.xsl, Is there any >> entry >>> that I should have in the project-definition.xml >>> >>> >>> Thanks >>> >>> >>> >>> >> > ______________________________________________________________________ >> >>> ______________ >>> We won't tell. Get more on shows you hate to love >>> (and love to hate): Yahoo! TV's Guilty Pleasures >> list. >>> http://tv.yahoo.com/collections/265 >>> >> >> >> > ---------------------------------------------------------------------- > --- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get >> the chance to share your >> opinions on IT & business topics through brief >> surveys-and earn cash >> > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> > https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > > ______________________________________________________________________ > ______________ > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/features_spam.html > |