hypercontent-users Mailing List for HyperContent (Page 12)
Brought to you by:
alexvigdor
You can subscribe to this list here.
2004 |
Jan
|
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(1) |
Jul
(7) |
Aug
(4) |
Sep
(31) |
Oct
(11) |
Nov
(30) |
Dec
(22) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(23) |
Feb
(11) |
Mar
(22) |
Apr
(13) |
May
(31) |
Jun
(27) |
Jul
(32) |
Aug
(4) |
Sep
(25) |
Oct
(21) |
Nov
(31) |
Dec
(28) |
2006 |
Jan
(14) |
Feb
(12) |
Mar
(17) |
Apr
(21) |
May
(6) |
Jun
(4) |
Jul
(26) |
Aug
(24) |
Sep
(19) |
Oct
(24) |
Nov
(34) |
Dec
(17) |
2007 |
Jan
(10) |
Feb
(43) |
Mar
(60) |
Apr
(10) |
May
(20) |
Jun
(2) |
Jul
(17) |
Aug
(38) |
Sep
(45) |
Oct
(5) |
Nov
(4) |
Dec
(5) |
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(10) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(4) |
Sep
(1) |
Oct
(5) |
Nov
(1) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: tom t. <j_l...@ya...> - 2007-02-13 02:22:34
|
I forgot to reply to the forum, I followed all the steps and changed the bootstrap pipelines.xml alone with other vm changes as instructed by you (changed manually). But cant get the Edit link in the uPortal portlet, eventhough the user is entitled to edit contents. After that I created a seperate jsp page as listed below and then did login to HC via CAS and hit the URL which points to the sample jsp page being in the same browser still it doesnt work, Am I doing some thing wrong, How to trouble shoot this. I am using firefox I am not using any XSLs at the moment. <html> <head> </head> <body> This is to check the EDIT link comes <script type="text/javascript" language="javascript" src="http://localhost:8080/hypercontent/js/common.js"> </script> <script type="text/javascript" language="javascript" src="http://localhost:8080/hypercontent/js/ajax.js"> </script> <div id="page-edit-link-div" value="test">hello</div> <script type="text/javascript" language="javascript"> loadToElement(document.getElementById('page-edit-link-div'),'http://localhost:8080/hypercontent/testProject/?mode=page-edit-link'); </script> </body> </html> --- Alex Vigdor <al...@bi...> wrote: > > On Jan 23, 2007, at 7:17 PM, tom tom wrote: > > > > > How can I create the above /skin/page-edit-link.vm > > file > > should I have a seperate resource-directory in my > > project definition file. > > Yes, e.g. > > <resource-directory label="Velocity template" > path="/skins/**/*.vm" > publish="true"> > <content type="application/x-vtl" /> > <output basedir="/" content-type="text/plain" /> > </resource-directory> > > > > > within uPortal what we have is jsps infact the > portlet > > development strategy is struts-bridge what this > means > > is our portlets are not govern by xsls. But still > I > > will incooperate the above <script > type="text/j...... > > code segment and try but let me know what are the > > values that I should give for abs-project-base, > > bs-server-base, and request-path assuming my > project > > is running in the following url > > abs-project-base = http://<HC > Server>:<HCPort>/hypercontent/test_project > abs-server-base = http://<HC > Server>:<HCPort>/hypercontent > request-path = /path/in/hc/repository/file.ext > > > > > > http://<HC Server>:<HC > > Port>/hypercontent/test_project/?mode=interactive > > > > > > Also explain me how does that entire logic works, > how > > does the HC knows about the user credentials. > > > > HC never sees the users credentials - it uses a > standard CAS > authentication to identify the user. HC uses its > own groups and > permission configuration to then determine whether > that user has the > right to edit the page. > > Cheers, > Alex > > > ------------------------------------------------------------------------- > 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 > ____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ |
From: Alex V. <al...@bi...> - 2007-02-01 13:34:01
|
Hi Carl, In that case, I'd suggest trying <xsl:when test=3D"(starts-with($sourceItem/@directory,'/undergraduate/=20= courses')and($sourceItem/@pattern=3D'/**/*.xml'))"> Cheers, Alex On Jan 31, 2007, at 10:49 AM, Carl P Barrow wrote: > Hi Alex, > > > > Thanks for the info. I am assuming that because I=92m defining /**/=20 > *.xml in my project definition in my project definition that=92s why =20= > it=92s not working. I am defining /undergraduate/courses/*/index.xml =20= > but if I define /undergraduate/courses/*.xml it stops my =20 > sitemap.xml file form working. But, defining /undergraduate/=20 > courses/*/*.xml doesn=92t. I=92ve attached the project definition for = =20 > you to take a look at. > > > > Cheers > > Carl > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > > ************************************* > > From: hyp...@li... =20 > [mailto:hyp...@li...] On Behalf =20= > Of Alex Vigdor > Sent: 31 January 2007 14:26 > To: Hypercontent-users List > Subject: Re: [Hypercontent-users] xsl question > > > > Hi Carl, > > The pattern must exactly match the pattern of the =20 > doctype in project-definition.xml - the XSLT string comparison has =20 > no knowledge of how to resolve wildcard patterns, unfortunately. I =20= > would think something like your third example should work, assuming =20= > the doctype pattern is "/*/*/*.xml". Perhaps in your project =20 > definition it is just "/*/*/*" ? If you still have problems, send =20 > a copy of your project definition and I'll have a look. > > > > Cheers, > > Alex > > > > On Jan 31, 2007, at 6:33 AM, Carl Barrow wrote: > > > > > Hi Alex, > > > > Just a quick xsl question if that=92s okay. I want to include =20 > something an all pages in a particular directory. > > It=92s easy enough to include it on specific page using: > > <xsl:when test=3D"($sourceItem/@location=3D'/undergraduate/courses/=20 > index.xml')"> > > I thought I might be able use: > > <xsl:when test=3D"($sourceItem/@pattern=3D'/undergraduate/courses/=20 > *.xml')"> but that didn=92t work. > > I also tried: > > <xsl:when test=3D"(starts-with($sourceItem/@directory,'/undergraduate/=20= > courses')and($sourceItem/@pattern=3D'/*/*/*.xml'))"> > > But again that didn=92t work. > > > > Do you have any pointers? > > > > Cheers > > Carl > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > > ************************************* > > > > **********************************************************************=20= > ******************* > > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > > **********************************************************************=20= > *******************---------------------------------------------------=20= > ---------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > > Hypercontent-users mailing list > > Hyp...@li... > > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > <project-definition.xml> > **********************************************************************=20= > ******************* > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > **********************************************************************=20= > ******************* |
From: Carl P B. <C.P...@hu...> - 2007-01-31 15:50:28
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Alex V. <al...@bi...> - 2007-01-31 14:26:55
|
Hi Carl, The pattern must exactly match the pattern of the doctype in = project-=20 definition.xml - the XSLT string comparison has no knowledge of how =20 to resolve wildcard patterns, unfortunately. I would think something =20= like your third example should work, assuming the doctype pattern is =20 "/*/*/*.xml". Perhaps in your project definition it is just "/*/*/=20 *" ? If you still have problems, send a copy of your project =20 definition and I'll have a look. Cheers, Alex On Jan 31, 2007, at 6:33 AM, Carl Barrow wrote: > Hi Alex, > > > > Just a quick xsl question if that=92s okay. I want to include =20 > something an all pages in a particular directory. > > It=92s easy enough to include it on specific page using: > > <xsl:when test=3D"($sourceItem/@location=3D'/undergraduate/courses/=20 > index.xml')"> > > I thought I might be able use: > > <xsl:when test=3D"($sourceItem/@pattern=3D'/undergraduate/courses/=20 > *.xml')"> but that didn=92t work. > > I also tried: > > <xsl:when test=3D"(starts-with($sourceItem/@directory,'/undergraduate/=20= > courses')and($sourceItem/@pattern=3D'/*/*/*.xml'))"> > > But again that didn=92t work. > > > > Do you have any pointers? > > > > Cheers > > Carl > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > http://www.hull.ac.uk/cms > > ************************************* > > > > **********************************************************************=20= > ******************* > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > **********************************************************************=20= > *******************---------------------------------------------------=20= > ---------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2007-01-31 11:33:53
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Alex V. <al...@bi...> - 2007-01-24 14:06:18
|
On Jan 23, 2007, at 7:17 PM, tom tom wrote: > > How can I create the above /skin/page-edit-link.vm > file > should I have a seperate resource-directory in my > project definition file. Yes, e.g. <resource-directory label="Velocity template" path="/skins/**/*.vm" publish="true"> <content type="application/x-vtl" /> <output basedir="/" content-type="text/plain" /> </resource-directory> > > within uPortal what we have is jsps infact the portlet > development strategy is struts-bridge what this means > is our portlets are not govern by xsls. But still I > will incooperate the above <script type="text/j...... > code segment and try but let me know what are the > values that I should give for abs-project-base, > bs-server-base, and request-path assuming my project > is running in the following url abs-project-base = http://<HC Server>:<HCPort>/hypercontent/test_project abs-server-base = http://<HC Server>:<HCPort>/hypercontent request-path = /path/in/hc/repository/file.ext > > http://<HC Server>:<HC > Port>/hypercontent/test_project/?mode=interactive > > > Also explain me how does that entire logic works, how > does the HC knows about the user credentials. > HC never sees the users credentials - it uses a standard CAS authentication to identify the user. HC uses its own groups and permission configuration to then determine whether that user has the right to edit the page. Cheers, Alex |
From: tom t. <j_l...@ya...> - 2007-01-24 00:17:15
|
Hi Alex, Last couple of days I had to deal with lot of Single Sign On Developments with uPortal but couldn't do any HC developent at all from where I left. But HC also will be on production in the next release Hence now I am going to do the final touches, UI customization and the ajax pipeline (Edit link). As per your response please see my observationsto know the following > The ajax will not require any direct involvement > from uPortal. You > would define a pipeline like this in your project's > /config/ > pipelines.xml (or in the bootstrap repository if you > want to have > this available for all projects) > > <pipeline basedir="/" binding="all" > content-type="text/xml" > mode="page-edit-link" > > <exec > stage="org.hypercontent.project.engine.stage.VelocityStage"> > <with-param name="source" > value="/skin/page-edit-link.vm" /> > <with-param name="localize-with" > value="/l10n/listing" /> > </exec> > </pipeline> > > Then, create the file /skin/page-edit-link.vm in > your project > repository or the bootstrap repository and put > something like this: How can I create the above /skin/page-edit-link.vm file should I have a seperate resource-directory in my project definition file. > > <div> > #if ($session.Authenticated && > $session.hasPermission > ($project,'write',$request-path)) > <a target="hc2-window" > href="${abs-project-base}${request-path}? > mode=interactive&screen=edit">edit</a> > #end > </div> > > Finally in your XSL that generates the markup > presented in the portal > put something like: > > <script type="text/javascript" language="javascript" > src="${abs- > server-base}/js/common.js"> > </script> > <script type="text/javascript" language="javascript" > src="${abs- > server-base}/js/ajax.js"> > </script> > > <div id="page-edit-link-div"></div> > > <script type="text/javascript" > language="javascript"> > > loadToElement(document.getElementById('page-edit-link- > > div'),'<xsl:value-of > select="concat($abs-project-base,$request-path)"/ > >?mode=page-edit-link'); > </script> > > > and make sure you have declared the XSL parameters > > <xsl:param name="abs-project-base"/> > <xsl:param name="abs-server-base"/> > <xsl:param name="request-path"/> > > This will load the output of the page-edit-link > pipeline, which > performs the authorization check, directly into the > target div, > presenting the edit link if there is one. > > Let me know if any part is unclear! within uPortal what we have is jsps infact the portlet development strategy is struts-bridge what this means is our portlets are not govern by xsls. But still I will incooperate the above <script type="text/j...... code segment and try but let me know what are the values that I should give for abs-project-base, bs-server-base, and request-path assuming my project is running in the following url http://<HC Server>:<HC Port>/hypercontent/test_project/?mode=interactive Also explain me how does that entire logic works, how does the HC knows about the user credentials. Thanks, > > Alex > > On Dec 14, 2006, at 10:54 PM, tom tom wrote: > > > Hi Alex, > > My objective is to show a link within a channel > > provided > > > > 1) The user logs in to uPortal via CAS is one of > the > > HC users listed in groups.xml > > > > Otherwise the link in the uPortal is disable. > > > > > > At this moment of time am not too sure how will > > uPortal and HC servers will sit in production. We > have > > requested for a seperate box for HC. Yes Most > Probably > > HC will sit in the same domain. > > > > Please let me know the steps to proceed. > > > > The bottom line is I just want to know the logged > in > > user in uPortal(via CAS) is HC user(e.g augther > e.g) > > or not? > > > > am not too sure how AJAX components work in > uPortal > > > > thanks, > > > > > > > > > > --- Alex Vigdor <al...@bi...> wrote: > > > >> Were you hoping to control whether the uPortal > >> channel edit icon > >> appears, or do you want to display a link within > the > >> channel > >> content? If your uPortal and HC instances are on > >> the same domain, > >> you could embed a little AJAX call in the HC > output > >> that will render > >> an edit link if appropriate for the user. The > blog > >> sample project in > >> the recent distribution shows this effect. If > you > >> are interested, > >> let me know and I can outline the steps to > implement > >> the AJAX approach. > >> > >> Alex > >> > >> On Dec 11, 2006, at 11:41 PM, tom tom wrote: > >> > >>> Hi Alex, > >>> > >>> In our setup, during the CAS authentication (we > do > >>> part of authorization as well and fill > additional > >>> attributes to the principal). > >>> > >>> Assume when a HC author login to the CAS and > >> control > >>> passes to the Uportal there is a link (HREF) to > >> the HC > >>> server for auhoring. > >>> > >>> Well.... the question is if some other staff > (not > >> a HC > >>> user) we do not want to show the link to HC. > >>> > >>> So what would be the best way to check whether > the > >>> given user is a HC user (e.g auther) during the > >> CAS > >>> authentication level, so that we can populate > the > >>> principal and pass back to uPortal. > >>> > >>> > >>> Currently am thinking of providing a servlet in > HC > >> Web > >>> Application which reads the groups.xml and check > >>> whether the given user is inside the xml. And > this > >>> servelet will be called from the CAS machine > >>> (URLConnection). > >>> > >>> Let me know your thoughts on this. > >>> > >>> It is assumed that HC authors are listed in the > >>> groups.xml and HC server is a seperate box > similar > >> to > >>> the CAS box > >>> > >>> > >>> --- Alex Vigdor <al...@bi...> wrote: > >>> > >>>> > >>>> On Dec 7, 2006, at 7:43 PM, tom tom wrote: > >>>> > >>>>> > >>>>> Everything working fine, but for.e.g if author > >>>> wants > >>>>> to add a new file(xml) under a new folder, > what > >>>> can he > >>>>> do? > >>>>> Definite can add a folder because of the > >>>>> resource-directory but after that xml? > >>>> > >>>> There are two solutions people use for this > === message truncated === ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 |
From: Carl P B. <C.P...@hu...> - 2007-01-22 14:31:53
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Adam C. <ac...@co...> - 2007-01-18 16:01:03
|
Carl, I don=B9t see any problem with using links to Columbia University sites.= Most of the sites on the Hypercontent website are rather old so you may want= to pick from the newer sites below: Students Service Projects (All have a similar look and feel) http://www.columbia.edu/cu/housing http://www.columbia.edu/cu/health/ http://www.columbia.edu/cu/sfs/ http://www.columbia.edu/cu/registrar/ http://www.dining.columbia.edu/ Engineering Websites (All have a similar look and feel) http://www.me.columbia.edu http://www.columbia.edu/cu/cheme/ http://www.ee.columbia.edu/ http://www.eee.columbia.edu/ http://www.ieor.columbia.edu/ Others http://www.columbia.edu/cu/ssw/admissions/ http://www.columbia.edu/cu/environment/ http://www.columbia.edu/cu/cspa/ http://www.neighbors.columbia.edu/ http://www.columbia.edu/cu/italian/ Adam On 1/17/07 6:12 PM, "Jonathan Markow" <ma...@co...> wrote: > Hi Carl- > =20 > I can't speak for Columbia, but I don't see any problem showing sites= at > Columbia that were created using HyperContent. I'm sure the folks the= re who > might conceivably take note of them would be very pleased. > =20 > Good luck with your site. > =20 > Best, > Jonathan >=20 >=20 > From: hyp...@li... > [mailto:hyp...@li...] On Behalf= Of Carl > Barrow > Sent: Wednesday, January 17, 2007 4:32 AM > To: Hypercontent-users List > Subject: [Hypercontent-users] Example Website >=20 > Hello all, > =20 > With the roll-out of hypercontent 2.0 gathering pace here in Hull in= I am in > the process of creating a website which will contain all the info my= users > here will need to know. (Documentation, training session dates etc.)= I have > included some examples of sites here in Hull but would like to include= some > examples from other Universities. Is anyone willing to let me add any= of > their URLs to the site as examples? I know there are some examples from > Columbia on the wiki, would it be okay to add some of those? > =20 > Many Thanks > Carl > =20 > ************************************* > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************* > =20 >=20 >=20 > ----------------------------------------------------------------------= --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to shar= e your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID= =3DDEVDEV >=20 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: John F. <ja...@co...> - 2007-01-18 11:52:51
|
> >---------- >From: hyp...@li... >[mailto:hyp...@li...] On Behalf >Of Carl Barrow >Sent: Wednesday, January 17, 2007 4:32 AM >To: Hypercontent-users List >Subject: [Hypercontent-users] Example Website > >Hello all, > > > >With the roll-out of hypercontent 2.0 gathering pace here in Hull in >I am in the process of creating a website which will contain all the >info my users here will need to know. (Documentation, training >session dates etc.) I have included some examples of sites here in >Hull but would like to include some examples from other >Universities. Is anyone willing to let me add any of their URLs to >the site as examples? I know there are some examples from Columbia >on the wiki, would it be okay to add some of those? Hello Carl, While these sites might not the be best showcases for Hypercontent it's worth mentioning that www.ja-sig.org, and www.uportal.org are both built using Hypercontent. A link to the gallery page on the hypercontent site would provide an indirect link to some of those Columbia sites (http://hypercontent.sourceforge.net/gallery/index.html) > > >Many Thanks > >Carl > > > >************************************* > >Carl Barrow >Systems Integrator >e-Services >The University of Hull >Cottingham Road >Hull >HU6 7RX >Ext. 6838 > >************************************* > > >------------------------------------------------------------------------- >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 John Fereira ja...@co... Ithaca, NY |
From: Jonathan M. <ma...@co...> - 2007-01-17 23:13:17
|
Hi Carl- I can't speak for Columbia, but I don't see any problem showing sites at Columbia that were created using HyperContent. I'm sure the folks there who might conceivably take note of them would be very pleased. Good luck with your site. Best, Jonathan _____ From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl Barrow Sent: Wednesday, January 17, 2007 4:32 AM To: Hypercontent-users List Subject: [Hypercontent-users] Example Website Hello all, With the roll-out of hypercontent 2.0 gathering pace here in Hull in I am in the process of creating a website which will contain all the info my users here will need to know. (Documentation, training session dates etc.) I have included some examples of sites here in Hull but would like to include some examples from other Universities. Is anyone willing to let me add any of their URLs to the site as examples? I know there are some examples from Columbia on the wiki, would it be okay to add some of those? Many Thanks Carl ************************************* Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************* |
From: Carl B. <C.P...@hu...> - 2007-01-17 09:32:11
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Alex V. <al...@bi...> - 2006-12-19 14:29:11
|
Hi Carl, One way to change it would be to edit line 29 of /screens/rss-=20= directory.vm in the bootstrap repository. It currently looks like this: #set ($link=3D$xmlencoder.encode($paths.concat($link-base,$path))) You could try changing this to: #set ($link=3D$xmlencoder.encode($paths.concat($link-base,=20 $asset.DefaultOutput))) I haven't tested this, so you should definitely exercise it, but the =20 basic ideas is that instead of linking to the path of the file in the =20= repository, you are linking to it's default output, which corresponds =20= to the default or left-most view listed on the View tab. Cheers, Alex On Dec 19, 2006, at 7:13 AM, Carl Barrow wrote: > Hi Alex, > > > > When using the file browser to create links in H/C many of my users =20= > click on the link to the XML file which is the most prominent =20 > rather than the link to the output =91html=92 which is located next = to =20 > the title and not as obvious. Is there an easy to way change this =20 > in an XSL file? > > > > > > Cheers > > Carl > > > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************* > > > > **********************************************************************=20= > ******************* > To view the terms under which this email is distributed, please go =20 > to http://www.hull.ac.uk/legal/email_disclaimer.html > **********************************************************************=20= > *******************---------------------------------------------------=20= > ---------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to =20 > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?=20 > page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV____________________________= ____=20 > _______________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2006-12-19 12:13:45
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Alex V. <al...@bi...> - 2006-12-15 05:52:40
|
The ajax will not require any direct involvement from uPortal. You would define a pipeline like this in your project's /config/ pipelines.xml (or in the bootstrap repository if you want to have this available for all projects) <pipeline basedir="/" binding="all" content-type="text/xml" mode="page-edit-link" > <exec stage="org.hypercontent.project.engine.stage.VelocityStage"> <with-param name="source" value="/skin/page-edit-link.vm" /> <with-param name="localize-with" value="/l10n/listing" /> </exec> </pipeline> Then, create the file /skin/page-edit-link.vm in your project repository or the bootstrap repository and put something like this: <div> #if ($session.Authenticated && $session.hasPermission ($project,'write',$request-path)) <a target="hc2-window" href="${abs-project-base}${request-path}? mode=interactive&screen=edit">edit</a> #end </div> Finally in your XSL that generates the markup presented in the portal put something like: <script type="text/javascript" language="javascript" src="${abs- server-base}/js/common.js"> </script> <script type="text/javascript" language="javascript" src="${abs- server-base}/js/ajax.js"> </script> <div id="page-edit-link-div"></div> <script type="text/javascript" language="javascript"> loadToElement(document.getElementById('page-edit-link- div'),'<xsl:value-of select="concat($abs-project-base,$request-path)"/ >?mode=page-edit-link'); </script> and make sure you have declared the XSL parameters <xsl:param name="abs-project-base"/> <xsl:param name="abs-server-base"/> <xsl:param name="request-path"/> This will load the output of the page-edit-link pipeline, which performs the authorization check, directly into the target div, presenting the edit link if there is one. Let me know if any part is unclear! Alex On Dec 14, 2006, at 10:54 PM, tom tom wrote: > Hi Alex, > My objective is to show a link within a channel > provided > > 1) The user logs in to uPortal via CAS is one of the > HC users listed in groups.xml > > Otherwise the link in the uPortal is disable. > > > At this moment of time am not too sure how will > uPortal and HC servers will sit in production. We have > requested for a seperate box for HC. Yes Most Probably > HC will sit in the same domain. > > Please let me know the steps to proceed. > > The bottom line is I just want to know the logged in > user in uPortal(via CAS) is HC user(e.g augther e.g) > or not? > > am not too sure how AJAX components work in uPortal > > thanks, > > > > > --- Alex Vigdor <al...@bi...> wrote: > >> Were you hoping to control whether the uPortal >> channel edit icon >> appears, or do you want to display a link within the >> channel >> content? If your uPortal and HC instances are on >> the same domain, >> you could embed a little AJAX call in the HC output >> that will render >> an edit link if appropriate for the user. The blog >> sample project in >> the recent distribution shows this effect. If you >> are interested, >> let me know and I can outline the steps to implement >> the AJAX approach. >> >> Alex >> >> On Dec 11, 2006, at 11:41 PM, tom tom wrote: >> >>> Hi Alex, >>> >>> In our setup, during the CAS authentication (we do >>> part of authorization as well and fill additional >>> attributes to the principal). >>> >>> Assume when a HC author login to the CAS and >> control >>> passes to the Uportal there is a link (HREF) to >> the HC >>> server for auhoring. >>> >>> Well.... the question is if some other staff (not >> a HC >>> user) we do not want to show the link to HC. >>> >>> So what would be the best way to check whether the >>> given user is a HC user (e.g auther) during the >> CAS >>> authentication level, so that we can populate the >>> principal and pass back to uPortal. >>> >>> >>> Currently am thinking of providing a servlet in HC >> Web >>> Application which reads the groups.xml and check >>> whether the given user is inside the xml. And this >>> servelet will be called from the CAS machine >>> (URLConnection). >>> >>> Let me know your thoughts on this. >>> >>> It is assumed that HC authors are listed in the >>> groups.xml and HC server is a seperate box similar >> to >>> the CAS box >>> >>> >>> --- Alex Vigdor <al...@bi...> wrote: >>> >>>> >>>> On Dec 7, 2006, at 7:43 PM, tom tom wrote: >>>> >>>>> >>>>> Everything working fine, but for.e.g if author >>>> wants >>>>> to add a new file(xml) under a new folder, what >>>> can he >>>>> do? >>>>> Definite can add a folder because of the >>>>> resource-directory but after that xml? >>>> >>>> There are two solutions people use for this >>>> >>>> 1) declare a separate xml-doctype "/**/index.xml" >> if >>>> you want each >>>> new directory to have an index page. >>>> >>>> 2) declare a resource-directory "/**/" labelled >>>> "Directory" with no >>>> content-types - this will allow you to create a >> new >>>> empty directory. >>>> >>>> Alex >>>> >>>> >>>> >>>> >>>> >>> >> > ---------------------------------------------------------------------- >> >>> --- >>>> 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 >>>> >>> >>> >>> >>> >>> >> > ______________________________________________________________________ >> >>> ______________ >>> Cheap talk? >>> Check out Yahoo! Messenger's low PC-to-Phone call >> rates. >>> http://voice.yahoo.com >>> >> >> > > > > > ______________________________________________________________________ > ______________ > Have a burning question? > Go to www.Answers.yahoo.com and get answers from real people who know. > |
From: tom t. <j_l...@ya...> - 2006-12-15 03:54:42
|
Hi Alex, My objective is to show a link within a channel provided 1) The user logs in to uPortal via CAS is one of the HC users listed in groups.xml Otherwise the link in the uPortal is disable. At this moment of time am not too sure how will uPortal and HC servers will sit in production. We have requested for a seperate box for HC. Yes Most Probably HC will sit in the same domain. Please let me know the steps to proceed. The bottom line is I just want to know the logged in user in uPortal(via CAS) is HC user(e.g augther e.g) or not? am not too sure how AJAX components work in uPortal thanks, --- Alex Vigdor <al...@bi...> wrote: > Were you hoping to control whether the uPortal > channel edit icon > appears, or do you want to display a link within the > channel > content? If your uPortal and HC instances are on > the same domain, > you could embed a little AJAX call in the HC output > that will render > an edit link if appropriate for the user. The blog > sample project in > the recent distribution shows this effect. If you > are interested, > let me know and I can outline the steps to implement > the AJAX approach. > > Alex > > On Dec 11, 2006, at 11:41 PM, tom tom wrote: > > > Hi Alex, > > > > In our setup, during the CAS authentication (we do > > part of authorization as well and fill additional > > attributes to the principal). > > > > Assume when a HC author login to the CAS and > control > > passes to the Uportal there is a link (HREF) to > the HC > > server for auhoring. > > > > Well.... the question is if some other staff (not > a HC > > user) we do not want to show the link to HC. > > > > So what would be the best way to check whether the > > given user is a HC user (e.g auther) during the > CAS > > authentication level, so that we can populate the > > principal and pass back to uPortal. > > > > > > Currently am thinking of providing a servlet in HC > Web > > Application which reads the groups.xml and check > > whether the given user is inside the xml. And this > > servelet will be called from the CAS machine > > (URLConnection). > > > > Let me know your thoughts on this. > > > > It is assumed that HC authors are listed in the > > groups.xml and HC server is a seperate box similar > to > > the CAS box > > > > > > --- Alex Vigdor <al...@bi...> wrote: > > > >> > >> On Dec 7, 2006, at 7:43 PM, tom tom wrote: > >> > >>> > >>> Everything working fine, but for.e.g if author > >> wants > >>> to add a new file(xml) under a new folder, what > >> can he > >>> do? > >>> Definite can add a folder because of the > >>> resource-directory but after that xml? > >> > >> There are two solutions people use for this > >> > >> 1) declare a separate xml-doctype "/**/index.xml" > if > >> you want each > >> new directory to have an index page. > >> > >> 2) declare a resource-directory "/**/" labelled > >> "Directory" with no > >> content-types - this will allow you to create a > new > >> empty directory. > >> > >> Alex > >> > >> > >> > >> > >> > > > ---------------------------------------------------------------------- > > > --- > >> 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 > >> > > > > > > > > > > > ______________________________________________________________________ > > > ______________ > > Cheap talk? > > Check out Yahoo! Messenger's low PC-to-Phone call > rates. > > http://voice.yahoo.com > > > > ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. |
From: Alex V. <al...@bi...> - 2006-12-14 04:21:17
|
Were you hoping to control whether the uPortal channel edit icon appears, or do you want to display a link within the channel content? If your uPortal and HC instances are on the same domain, you could embed a little AJAX call in the HC output that will render an edit link if appropriate for the user. The blog sample project in the recent distribution shows this effect. If you are interested, let me know and I can outline the steps to implement the AJAX approach. Alex On Dec 11, 2006, at 11:41 PM, tom tom wrote: > Hi Alex, > > In our setup, during the CAS authentication (we do > part of authorization as well and fill additional > attributes to the principal). > > Assume when a HC author login to the CAS and control > passes to the Uportal there is a link (HREF) to the HC > server for auhoring. > > Well.... the question is if some other staff (not a HC > user) we do not want to show the link to HC. > > So what would be the best way to check whether the > given user is a HC user (e.g auther) during the CAS > authentication level, so that we can populate the > principal and pass back to uPortal. > > > Currently am thinking of providing a servlet in HC Web > Application which reads the groups.xml and check > whether the given user is inside the xml. And this > servelet will be called from the CAS machine > (URLConnection). > > Let me know your thoughts on this. > > It is assumed that HC authors are listed in the > groups.xml and HC server is a seperate box similar to > the CAS box > > > --- Alex Vigdor <al...@bi...> wrote: > >> >> On Dec 7, 2006, at 7:43 PM, tom tom wrote: >> >>> >>> Everything working fine, but for.e.g if author >> wants >>> to add a new file(xml) under a new folder, what >> can he >>> do? >>> Definite can add a folder because of the >>> resource-directory but after that xml? >> >> There are two solutions people use for this >> >> 1) declare a separate xml-doctype "/**/index.xml" if >> you want each >> new directory to have an index page. >> >> 2) declare a resource-directory "/**/" labelled >> "Directory" with no >> content-types - this will allow you to create a new >> empty directory. >> >> Alex >> >> >> >> >> > ---------------------------------------------------------------------- > --- >> 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 >> > > > > > ______________________________________________________________________ > ______________ > Cheap talk? > Check out Yahoo! Messenger's low PC-to-Phone call rates. > http://voice.yahoo.com > |
From: Alex V. <al...@bi...> - 2006-12-14 04:18:21
|
On Dec 13, 2006, at 5:31 PM, tom tom wrote: > Hi, > > After the hard work, very soon HC will go to > production, Now time has come to customize the UI as > we did for uPortal > > Is there any documentations around on how to modify > the HC userinterface as per the institution needs. > > If not let us know which xsls etc that we need to > concentrate on. All the application screens are located in the /screens/ directory (e.g. localhost:8080/screens). They are mostly velocity templates (.vm) and a few XSL. All the css are in the /css/ directory. You can edit them all at runtime using HC - but be careful because it is possible to then break the UI! If you break the UI, you can find the "file.properties" for the broken file in the underlying filesystem of a versioning repository and subtract 1 from the currentEdition property to revert to a working copy (restart required). The primary CSS of interest are /css/interactive.css - defines layout and styling for the primary frame-wrapping UI /css/common.css - common form and button styles /css/workflow.css - for workflow screens /css/uportal.css - uportal styles are used for the editing tools for historical reasons The main screens of interest are /screens/interactive-header.vm - constructs main UI header (title, search logout and breadcrumbs) /screens/interactive.vm - constructs main UI tabs and frame /screens/html_skin.xsl - used for project list, error pages, everything with the big white "HyperContent" on a blue background. This is the first thing many people want to change! > > > In addition to that when we publish or even build the > project it does the publishing successfully but in the > end it shows that > > You are not authorized to view http://......../build > > If there a image or index.xml in the root level it > shows that, > > How can we get around with this, How can we get rid of > the 'You are not authorized to ............' message. > Is there any way to have a customized message. You can control the right workflow pane for any workflow script by manipulating the "href" variable in the configuration script. Any time a "render" or "copy" command is executed, the "href" attribute is set automatically (and sometimes results in the "not authorized" message), but you can then override it. For example, in the /config/ workflow/build.xml script you could change <event name="build" permissions="build"> <variable name="builder" value="${actor}"/> <render path="${path}" destination="/build/" force="false" delete="true"/> <nq who="${builder}"/> <nq q="building"/> </event> to <event name="build" permissions="build"> <variable name="builder" value="${actor}"/> <render path="${path}" destination="/build/" force="false" delete="true"/> <variable name="href" value="${abs-project-base}/my-custom- screen.html"/> <nq who="${builder}"/> <nq q="building"/> </event> where you have a custom message in your repository at /my-custom- screen.html You can also try setting the "base-url" attribute of the build or publish filesystem definition in project-definition.xml if you are building to a path which is served by an other web server. This will then be used in preference to the built-in web server in constructing the build or publish URL. e.g. <build base-url="http://my.apache.host/my-project/build/"> <filesystem-def . . . </build> Cheers, Alex |
From: tom t. <j_l...@ya...> - 2006-12-13 22:31:23
|
Hi, After the hard work, very soon HC will go to production, Now time has come to customize the UI as we did for uPortal Is there any documentations around on how to modify the HC userinterface as per the institution needs. If not let us know which xsls etc that we need to concentrate on. In addition to that when we publish or even build the project it does the publishing successfully but in the end it shows that You are not authorized to view http://......../build If there a image or index.xml in the root level it shows that, How can we get around with this, How can we get rid of the 'You are not authorized to ............' message. Is there any way to have a customized message. Thanks, ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com |
From: Alex V. <al...@bi...> - 2006-12-13 13:15:32
|
Hi Carl, You can combine those tests using the "and" operator <xsl:variable name="specific-books" select="/cms:wrapper/cms:source/ metadata/book[subject[contains(.,$subject)] and type[contains (.,'Articles in journals')]]"/> You can then base the count and conditional statements off of that variable. Cheers, Alex On Dec 13, 2006, at 5:37 AM, Carl P Barrow wrote: > Hi all, > > This is an XSL question rather than directly relating to > HyperContent, but I've been trying to get it going for some time > and thought I check if anyone can help me out. > > I have an XMl file: > > <metadata> > <book> > <title></title> > <alternative></alternative> > <creator></creator> > <subject></subject> > <description></description> > <publisher></publisher> > <date></date> > <type></type> > <format></format> > <identifier></identifier> > <relation></relation> > <coverage></coverage> > <rights></rights> > </book> > </metadata> > > I am counting how many books have a specific subject: > > <xsl:value-of select="count(/cms:wrapper/cms:source/metadata/book > [subject[contains(.,$subject)]])"/> > > Then I split that down to display all books in a subject that have > a specific type: > > <xsl:for-each select="/cms:wrapper/cms:source/metadata/book[subject > [contains(.,$subject)]]"> > <xsl:if test="type[contains(.,'Articles in journals')]"> > <xsl:call-template name="listproc"/> > </xsl:if> > </xsl:for-each> > > I want to do two other things which I'm having problems with: > 1 - Count the number of books that have a specific subject and a > specific type. > 2 - If there are books with a specific subject and a specific type > display something on the page. > > Any help appreciated > > thanks > Carl > > ************************************* > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************* > > > > ********************************************************************** > ******************* > To view the terms under which this email is distributed, please go > to http://www.hull.ac.uk/legal/email_disclaimer.html > ********************************************************************** > *******************--------------------------------------------------- > ---------------------- > 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 |
From: Carl P B. <C.P...@hu...> - 2006-12-13 10:37:46
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: tom t. <j_l...@ya...> - 2006-12-12 04:41:09
|
Hi Alex, In our setup, during the CAS authentication (we do part of authorization as well and fill additional attributes to the principal). Assume when a HC author login to the CAS and control passes to the Uportal there is a link (HREF) to the HC server for auhoring. Well.... the question is if some other staff (not a HC user) we do not want to show the link to HC. So what would be the best way to check whether the given user is a HC user (e.g auther) during the CAS authentication level, so that we can populate the principal and pass back to uPortal. Currently am thinking of providing a servlet in HC Web Application which reads the groups.xml and check whether the given user is inside the xml. And this servelet will be called from the CAS machine (URLConnection). Let me know your thoughts on this. It is assumed that HC authors are listed in the groups.xml and HC server is a seperate box similar to the CAS box --- Alex Vigdor <al...@bi...> wrote: > > On Dec 7, 2006, at 7:43 PM, tom tom wrote: > > > > > Everything working fine, but for.e.g if author > wants > > to add a new file(xml) under a new folder, what > can he > > do? > > Definite can add a folder because of the > > resource-directory but after that xml? > > There are two solutions people use for this > > 1) declare a separate xml-doctype "/**/index.xml" if > you want each > new directory to have an index page. > > 2) declare a resource-directory "/**/" labelled > "Directory" with no > content-types - this will allow you to create a new > empty directory. > > Alex > > > > > ------------------------------------------------------------------------- > 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 > ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com |
From: Alex V. <al...@bi...> - 2006-12-08 15:14:06
|
On Dec 7, 2006, at 7:43 PM, tom tom wrote: > > Everything working fine, but for.e.g if author wants > to add a new file(xml) under a new folder, what can he > do? > Definite can add a folder because of the > resource-directory but after that xml? There are two solutions people use for this 1) declare a separate xml-doctype "/**/index.xml" if you want each new directory to have an index page. 2) declare a resource-directory "/**/" labelled "Directory" with no content-types - this will allow you to create a new empty directory. Alex |
From: tom t. <j_l...@ya...> - 2006-12-08 00:43:42
|
Hi, I removed resource-directories to declare XML files because of the conflict. but in the xml-doctype I modified the path="/**/*.xml" so that we can have xmls with different names.(not only index.xml) Everything working fine, but for.e.g if author wants to add a new file(xml) under a new folder, what can he do? Definite can add a folder because of the resource-directory but after that xml? So I want to know is even to upload the xml there should be a some sort of resource-directory, how can I upload it incrementally. Do you expect template xml in the folder and copy across other places if needed using the UI? Thanks --- Alex Vigdor <al...@bi...> wrote: > > On Nov 30, 2006, at 9:59 PM, tom tom wrote: > > > Hi Alex, > > > > I need to know two thing > > > > How can I add a xml document > > 1) in your sample (portlet.zip) I gave the > following > > in the project definition file. But it fails and > gives > > a parsing exception. My intention is to facilitate > xml > > add feature similar to images > > > > > > <resource-directory create="manual" label="XML" > > path="/**/*.xml" publish="true"> > > <content type="application/xml+xslt"/> > > </resource-directory> > > > > You should not use resource-directories to declare > XML files, as they > do not give you sufficient declarative control over > the doctype and > root element. The example you were working from is > for XSL files, > which are a special case, with a unique ".xsl" > extension and the > expectation that you will upload the files rather > than use the XML > editor. > > For regular XML files, you can use the same example > you sent in your > other message: > > <xml-doctype create="manual" definition="" > label="Page" path="/**/*.xml" root="html"> > <output basedir="/plain/" content-type="text/html"> > <transform source="/config/skins/plain/common.xsl"> > <with-param name="link-base" value="/plain"/> > </transform> > </output> > </xml-doctype> > > However, you MUST remove that resource-directory > definition - since > they are both mapped to "/**/*.xml" you have created > a conflict. The > Premature End of File error is likely due to the > files being created > from the resource-directory definition, which will > create a 0 length > file, vs. the xml-doctype declaraton, which will > initalize the file > with a doctype and root element. > > > > > > > 2) Also let us know it is possible to close the HC > > wind ow when someone presses the logout. Is it > > harmful? > > This is safe. > > Alex > > ------------------------------------------------------------------------- > 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 > ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index |
From: Alex V. <al...@bi...> - 2006-12-07 00:08:09
|
Hi, This is not in the road map. Storing repository content in the filesystem is a common solution among both open source and commercial systems, as databases do not perform terribly well with blobs of content. The recommended architecture is to store the repositories on a file server (e.g. NFS mount) which you can mount on multiple application servers. What is on the roadmap is support for JSR-170, which would allow you to plug in a database-backed implementation of the Java content repository specification. This is a very desirable feature, but there are no resources currently allocated and therefore no projected delivery date at this time. Alex On Dec 6, 2006, at 6:40 PM, tom tom wrote: > Hi, > > Keep content in a Database instead of the file system > with versionning. > > Is that in HC road map in the future versions. > > > > > --- Alex Vigdor <al...@bi...> wrote: > >> >> On Nov 30, 2006, at 9:59 PM, tom tom wrote: >> >>> Hi Alex, >>> >>> I need to know two thing >>> >>> How can I add a xml document >>> 1) in your sample (portlet.zip) I gave the >> following >>> in the project definition file. But it fails and >> gives >>> a parsing exception. My intention is to facilitate >> xml >>> add feature similar to images >>> >>> >>> <resource-directory create="manual" label="XML" >>> path="/**/*.xml" publish="true"> >>> <content type="application/xml+xslt"/> >>> </resource-directory> >>> >> >> You should not use resource-directories to declare >> XML files, as they >> do not give you sufficient declarative control over >> the doctype and >> root element. The example you were working from is >> for XSL files, >> which are a special case, with a unique ".xsl" >> extension and the >> expectation that you will upload the files rather >> than use the XML >> editor. >> >> For regular XML files, you can use the same example >> you sent in your >> other message: >> >> <xml-doctype create="manual" definition="" >> label="Page" path="/**/*.xml" root="html"> >> <output basedir="/plain/" content-type="text/html"> >> <transform source="/config/skins/plain/common.xsl"> >> <with-param name="link-base" value="/plain"/> >> </transform> >> </output> >> </xml-doctype> >> >> However, you MUST remove that resource-directory >> definition - since >> they are both mapped to "/**/*.xml" you have created >> a conflict. The >> Premature End of File error is likely due to the >> files being created >> from the resource-directory definition, which will >> create a 0 length >> file, vs. the xml-doctype declaraton, which will >> initalize the file >> with a doctype and root element. >> >> >> >>> >>> 2) Also let us know it is possible to close the HC >>> wind ow when someone presses the logout. Is it >>> harmful? >> >> This is safe. >> >> Alex >> >> > ---------------------------------------------------------------------- > --- >> 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 >> > > > > > ______________________________________________________________________ > ______________ > Have a burning question? > Go to www.Answers.yahoo.com and get answers from real people who know. > |