hypercontent-users Mailing List for HyperContent (Page 20)
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: Ray S. <ls...@sc...> - 2006-03-16 07:58:11
|
Hi Alex Would you please send us a sample HC2.0 project package for a department website in your college ? We hope this would help us to setup department websites by using HC2.0 in our campus. More details about authentication with LDAP , CAS are expected to be finished on the HC home site . Thx. Ray |
From: Alex V. <av...@co...> - 2006-03-15 16:33:25
|
Hi Jeff, Permissions can only be applied down to the level of a file, not sections within a file. Depending on your information model, one approach might be to package the content as a set of files rather than a single file; you can pull the contents of the multiple files together at display time. For example, you might define your packages as "/*/index.xml", and then have a second type "/*/ author.xml" to store data that the authors can write to. You would then apply the write permission for authors to "/*/author.xml"; your output for /*/index.xml could then include source="author.xml". If you're working from the latest CVS code, you can also set an attribute 'create="auto"' on the author doctype, so the author file will be automatically created every time you add a package. Alex On Mar 15, 2006, at 11:18 AM, Jeffrey L. Florendo wrote: > Hi, > I was wondering if there was a way to set user permissions on > different parts of a file. > For example, If i have 2 fields "Title" and "Author" I want only > the admin groups to be able to edit the "Title" and "Author" > fields but have the faculty groups only be able to view and NOT > edit the "Title" field. > Is this at all possible? > - Jeff > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the > live webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Jeffrey L. F. <jl...@co...> - 2006-03-15 16:18:18
|
Hi, I was wondering if there was a way to set user permissions on different parts of a file. For example, If i have 2 fields "Title" and "Author" I want only the admin groups to be able to edit the "Title" and "Author" fields but have the faculty groups only be able to view and NOT edit the "Title" field. Is this at all possible? - Jeff |
From: Scott B. <sco...@ru...> - 2006-03-08 04:43:25
|
Alex, When I tried to download a zip file of a site today it claims that it successfully generated the ZIP file and I was able to download something but WinZip 10.0 (Build 6698) would not open it. I tried downloading from both IE and Firefox. Any ideas? -Scott |
From: Scott B. <sco...@ru...> - 2006-02-21 17:22:04
|
It also doesn't seem to like + signs? It doesn't URLEncode them for when you click on them. -Scott -- Scott Battaglia Application Developer, Architecture & Engineering Team Enterprise Systems and Services, Rutgers University v: 732.445.0097 | f: 732.445.5493 | sco...@ru... |
From: Scott B. <sco...@ru...> - 2006-02-21 17:15:14
|
Alex, In order to save me the trouble of uploading like 20 images manually, I zipped them and used the zip feature. It allowed me to upload files with extra dots in them (i.e. uportal2.4.jpg) but now it doesn't seem to like them! It actually can't even seem to delete them. Any suggestions? -Scott -- Scott Battaglia Application Developer, Architecture & Engineering Team Enterprise Systems and Services, Rutgers University v: 732.445.0097 | f: 732.445.5493 | sco...@ru... |
From: Carl B. <C.P...@hu...> - 2006-02-16 13:11:34
|
Thanks very much Alex, thats working now :) Carl Alex Vigdor wrote: > Hi Carl, > You could just insert some logic between the closing "a" tag and > the closing "li" tag: > > <xsl:if test="$nav-item/nav-item"> > <ul> > <xsl:for-each select="$nav-item/nav-item"> > <xsl:call-template name="navigation-drop"/> > </xsl:for-each> > </ul> > </xsl:if> > > Cheers, > Alex > > On Feb 16, 2006, at 7:20 AM, Carl Barrow wrote: > >> Hi all, >> >> I'm trying to create a bulleted list from my sitemap.xml file What I >> want it to do is format the list as follows. This is then formatted >> by css as you'll see on http://www.hull.ac.uk which is not auto >> generated at the moment. >> <ul id="p7PMnav"> >> <li><a href="" class="p7PMtrg" accesskey="c"><span >> class="under">C</span>ourses</a> >> <ul> >> <li><a href="">A-Z listing</a></li> >> <li><a href="">Admissions advice</a></li> >> <li><a href="">Costs</a> >> <ul> >> <li><a href="">Bursaries and >> scholarships</a></li> >> <li><a href="">Course costs</a></li> >> </ul> >> </li> >> <li><a href="">Courses introduction</a></li> >> <li><a href="">Open days/Visits</a></li> >> <li><a href="">Order prospectus</a> >> <ul> >> <li><a href="">Undergraduate</a></li> >> <li><a href="">Postgraduate</a></li> >> <li><a href="">Part-time</a></li> >> </ul> >> </li> >> </ul> >> </li> >> </ul> >> >> I can easily create a list like >> <ul> >> <li> >> </li> >> </ul> >> >> It's the lower down levels that I'm having problems with. I guess I >> need to check if there are any children and then if so create them >> within the <li> tag. Has anyone done this or have any idea how to do >> it. >> >> The code I have so far is: >> >> <div id="topnav"> >> <ul id="p7PMnav"> >> <xsl:call-template name = "top-navigation"/> >> </ul> >> </div> >> >> <xsl:template name = "top-navigation"> >> <xsl:for-each select = "$navigation/nav-item"> >> <xsl:for-each select = ". | nav-item"> >> <xsl:call-template name = "navigation-drop"/> >> </xsl:for-each> >> </xsl:for-each> >> </xsl:template> >> >> <xsl:template name = "navigation-drop"> >> <xsl:param name = "nav-item" select = "."/> >> <li> <a><xsl:attribute name = "href"> >> <xsl:choose> >> <xsl:when test = "starts-with($nav-item/@location,'/')"> >> <xsl:value-of select = >> "concat($baseurl,$nav-item/@base,'.html')"/> >> </xsl:when> >> >> <xsl:otherwise> >> <xsl:value-of select = "$nav-item/@location"/> >> </xsl:otherwise> >> </xsl:choose> >> </xsl:attribute> >> >> <xsl:if test = "$nav-item/@target"> >> <xsl:attribute name = "target"> >> <xsl:value-of select = "$nav-item/@target"/> >> </xsl:attribute> >> </xsl:if> >> >> <xsl:value-of select = "$nav-item/@label"/> </a> </li> >> >> Many Thanks >> Carl >> >> --************************************ >> >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2006-02-16 13:02:32
|
Hi Carl, You could just insert some logic between the closing "a" tag and the closing "li" tag: <xsl:if test="$nav-item/nav-item"> <ul> <xsl:for-each select="$nav-item/nav-item"> <xsl:call-template name="navigation-drop"/> </xsl:for-each> </ul> </xsl:if> Cheers, Alex On Feb 16, 2006, at 7:20 AM, Carl Barrow wrote: > Hi all, > > I'm trying to create a bulleted list from my sitemap.xml file What > I want it to do is format the list as follows. This is then > formatted by css as you'll see on http://www.hull.ac.uk which is > not auto generated at the moment. > <ul id="p7PMnav"> > <li><a href="" class="p7PMtrg" accesskey="c"><span class="under">C</ > span>ourses</a> > <ul> > <li><a href="">A-Z listing</a></li> > <li><a href="">Admissions advice</a></li> > <li><a href="">Costs</a> > <ul> > <li><a href="">Bursaries and scholarships</ > a></li> > <li><a href="">Course costs</a></li> > </ul> > </li> > <li><a href="">Courses introduction</a></li> > <li><a href="">Open days/Visits</a></li> > <li><a href="">Order prospectus</a> > <ul> > <li><a href="">Undergraduate</a></li> > <li><a href="">Postgraduate</a></li> > <li><a href="">Part-time</a></li> > </ul> > </li> > </ul> > </li> > </ul> > > I can easily create a list like > <ul> > <li> > </li> > </ul> > > It's the lower down levels that I'm having problems with. I guess > I need to check if there are any children and then if so create > them within the <li> tag. Has anyone done this or have any idea > how to do it. > > The code I have so far is: > > <div id="topnav"> > <ul id="p7PMnav"> > <xsl:call-template name = "top-navigation"/> > </ul> > </div> > > <xsl:template name = "top-navigation"> > <xsl:for-each select = "$navigation/nav-item"> > <xsl:for-each select = ". | nav-item"> > <xsl:call-template name = "navigation-drop"/> > </xsl:for-each> > </xsl:for-each> > </xsl:template> > > <xsl:template name = "navigation-drop"> > <xsl:param name = "nav-item" select = "."/> > <li> <a><xsl:attribute name = "href"> > <xsl:choose> > <xsl:when test = "starts-with($nav-item/ > @location,'/')"> > <xsl:value-of select = "concat($baseurl,$nav- > item/@base,'.html')"/> > </xsl:when> > > <xsl:otherwise> > <xsl:value-of select = "$nav-item/@location"/> > </xsl:otherwise> > </xsl:choose> > </xsl:attribute> > > <xsl:if test = "$nav-item/@target"> > <xsl:attribute name = "target"> > <xsl:value-of select = "$nav-item/@target"/> > </xsl:attribute> > </xsl:if> > > <xsl:value-of select = "$nav-item/@label"/> </a> </li> > > Many Thanks > Carl > > -- > ************************************ > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2006-02-16 12:20:58
|
Hi all, I'm trying to create a bulleted list from my sitemap.xml file What I want it to do is format the list as follows. This is then formatted by css as you'll see on http://www.hull.ac.uk which is not auto generated at the moment. <ul id="p7PMnav"> <li><a href="" class="p7PMtrg" accesskey="c"><span class="under">C</span>ourses</a> <ul> <li><a href="">A-Z listing</a></li> <li><a href="">Admissions advice</a></li> <li><a href="">Costs</a> <ul> <li><a href="">Bursaries and scholarships</a></li> <li><a href="">Course costs</a></li> </ul> </li> <li><a href="">Courses introduction</a></li> <li><a href="">Open days/Visits</a></li> <li><a href="">Order prospectus</a> <ul> <li><a href="">Undergraduate</a></li> <li><a href="">Postgraduate</a></li> <li><a href="">Part-time</a></li> </ul> </li> </ul> </li> </ul> I can easily create a list like <ul> <li> </li> </ul> It's the lower down levels that I'm having problems with. I guess I need to check if there are any children and then if so create them within the <li> tag. Has anyone done this or have any idea how to do it. The code I have so far is: <div id="topnav"> <ul id="p7PMnav"> <xsl:call-template name = "top-navigation"/> </ul> </div> <xsl:template name = "top-navigation"> <xsl:for-each select = "$navigation/nav-item"> <xsl:for-each select = ". | nav-item"> <xsl:call-template name = "navigation-drop"/> </xsl:for-each> </xsl:for-each> </xsl:template> <xsl:template name = "navigation-drop"> <xsl:param name = "nav-item" select = "."/> <li> <a><xsl:attribute name = "href"> <xsl:choose> <xsl:when test = "starts-with($nav-item/@location,'/')"> <xsl:value-of select = "concat($baseurl,$nav-item/@base,'.html')"/> </xsl:when> <xsl:otherwise> <xsl:value-of select = "$nav-item/@location"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> <xsl:if test = "$nav-item/@target"> <xsl:attribute name = "target"> <xsl:value-of select = "$nav-item/@target"/> </xsl:attribute> </xsl:if> <xsl:value-of select = "$nav-item/@label"/> </a> </li> Many Thanks Carl -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2006-02-10 13:49:45
|
Hi Scott, Not your fault! I introduced this little bug a few days ago; I overrode a method in such a way that an exception that previously was swallowed could actually propagate, and in this case it's occurring when you create a new file. The file gets created fine, but the exception prevents the automatic redirect to the editor screen. I've already checked in a fix, so I'll load it up on the JA-SIG server. Alex On Feb 9, 2006, at 9:54 PM, Scott Battaglia wrote: > Alex, > > What does it mean to get messages like this: > "/community/roadmap/ cannot contain pattern /config/templates/ > navigation.xml" > > Did I mess up a configuration option somewhere? > > Thanks > -Scott > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Scott B. <sco...@ru...> - 2006-02-10 02:54:55
|
Alex, What does it mean to get messages like this: "/community/roadmap/ cannot contain pattern /config/templates/navigation.xml" Did I mess up a configuration option somewhere? Thanks -Scott |
From: Alex V. <av...@co...> - 2006-02-09 17:04:27
|
Hi Carl, I actually just checked in a couple of changes the other day that allow you to specify a property "http.server.port" to override the default setting of 8080, so you could update your code from CVS. Of course, you can also deploy HC2 into a full instance of Tomcat as explained here: http://hypercontent.sourceforge.net/help/install/deploy.html Then you can use traditional Tomcat configuration methods. Cheers, Alex On Feb 9, 2006, at 11:57 AM, Carl Barrow wrote: > Hi Alex > > I need to run H/C 2 on a different port. You would usually do this > in tomcat's server.xml file but there doesn't seem to be one > included with the install. How can I change it? > > Cheers > Carl > > -- > ************************************ > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2006-02-09 16:57:49
|
Hi Alex I need to run H/C 2 on a different port. You would usually do this in tomcat's server.xml file but there doesn't seem to be one included with the install. How can I change it? Cheers Carl -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2006-02-09 09:23:29
|
I've certainly come across the same issue here a few time. What I've found (this is in 1.4) is that I can type in <tag> , process changes, save and build. This works fine and goes onto the site. The issue occurs when you go back into the content to edit it. So as a last resort, a couple of time I've just pasted the code in last of all. Which is fine, unless you actually want to edit the page! Cheers Carl Alex Vigdor wrote: > Hi Scott, > This is a tricky problem I've never quite figured out . . . the > entities are getting submitted back to the server properly, and you > can see if you view source upon the reload of the form that the > entities are still encoded. And in fact, if you have a "<" > immediately followed by a space, it still shows up fine, but if it is > followed by a character, even though it is encoded, the browser parses > it as a tag and it disappears. To the best of my understanding at > this point it is a browser bug (it occurs in both HTMLArea and > TinyMCE, which rely on the underlying browser support). Two > workarounds I've used include using screenshots of XML and introducing > a space between the open tag and the actual tag name (e.g. < tag . . > .). Of course, neither of these supports easy copy-and-paste. This > is definitely a good candidate for a Jira issue, perhaps someone can > figure out a real solution . . . > > Alex > > On Feb 8, 2006, at 11:08 AM, Scott Battaglia wrote: > >> Alex, >> >> As part of the CAS web site, we're displaying parts of the Spring >> WebFlow XML file to give instructions >> (http://www.ja-sig.org/products/cas/server/certs/index.html). >> However, if I edit that page I lose all the "code". It seems to >> convert the > and < and then parse them out. Is there a way to >> disable that? >> >> Thanks >> -Scott >> >> --Scott Battaglia >> Application Developer, Architecture & Engineering Team >> Enterprise Systems and Services, Rutgers University >> v: 732.445.0097 | f: 732.445.5493 | sco...@ru... >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2006-02-08 17:25:19
|
Hi Scott, This is a tricky problem I've never quite figured out . . . the entities are getting submitted back to the server properly, and you can see if you view source upon the reload of the form that the entities are still encoded. And in fact, if you have a "<" immediately followed by a space, it still shows up fine, but if it is followed by a character, even though it is encoded, the browser parses it as a tag and it disappears. To the best of my understanding at this point it is a browser bug (it occurs in both HTMLArea and TinyMCE, which rely on the underlying browser support). Two workarounds I've used include using screenshots of XML and introducing a space between the open tag and the actual tag name (e.g. < tag . . .). Of course, neither of these supports easy copy-and-paste. This is definitely a good candidate for a Jira issue, perhaps someone can figure out a real solution . . . Alex On Feb 8, 2006, at 11:08 AM, Scott Battaglia wrote: > Alex, > > As part of the CAS web site, we're displaying parts of the Spring > WebFlow XML file to give instructions (http://www.ja-sig.org/ > products/cas/server/certs/index.html). However, if I edit that > page I lose all the "code". It seems to convert the > and < > and then parse them out. Is there a way to disable that? > > Thanks > -Scott > > -- > Scott Battaglia > Application Developer, Architecture & Engineering Team > Enterprise Systems and Services, Rutgers University > v: 732.445.0097 | f: 732.445.5493 | sco...@ru... > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Scott B. <sco...@ru...> - 2006-02-08 16:08:41
|
Alex, As part of the CAS web site, we're displaying parts of the Spring WebFlow XML file to give instructions (http://www.ja-sig.org/products/cas/server/certs/index.html). However, if I edit that page I lose all the "code". It seems to convert the > and < and then parse them out. Is there a way to disable that? Thanks -Scott -- Scott Battaglia Application Developer, Architecture & Engineering Team Enterprise Systems and Services, Rutgers University v: 732.445.0097 | f: 732.445.5493 | sco...@ru... |
From: Alex V. <av...@co...> - 2006-01-25 17:04:38
|
Hi Carl, Actually, the save does fail if the comment string is empty; the comment is by default pre-populated with a single space so that the user can bypass it. All you have to do is remove that one space on line 20 of edu/columbia/hypercontent/contentmanager/ CM_editor_html.xsl in v1.4, or in v2.0 at line 239 of the file "/js/ manage.js" in the bootstrap repository. Cheers, Alex On Jan 25, 2006, at 11:53 AM, Carl Barrow wrote: > Hi Alex > > I would like to force the user to add a comment on Save and Close. > It would make my life a lot easier when trying to find out what > they have done wrong. A lot us users just click OK and don't add > anything. > > Is there some code that I could change/add in version 1.4 to do this? > > Many Thanks > Carl > > -- > ************************************ > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2006-01-25 16:54:20
|
Hi Alex I would like to force the user to add a comment on Save and Close. It would make my life a lot easier when trying to find out what they have done wrong. A lot us users just click OK and don't add anything. Is there some code that I could change/add in version 1.4 to do this? 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...> - 2006-01-25 14:43:17
|
I see, thanks very much for that. It's doing what I need it to do now :) Cheers Carl Alex Vigdor wrote: > Hi Carl, > You should be able to add that as a clause to the xpath, e.g. > > <xsl:for-each select = > "$navigation/nav-item/nav-item/nav-item[nav-item and > starts-with(/cms:wrapper/cms:source/ @directory,@directory)]"> > > Cheers, > Alex > > On Jan 25, 2006, at 9:04 AM, Carl Barrow wrote: > >> Hi Alex >> >> I'm creating menu items from various parts in the site using ie. >> >> <xsl:for-each select = >> "$navigation/nav-item/nav-item/nav-item[starts-with(/cms:wrapper/cms:source/ >> @directory,@directory)]"> >> >> What I need to do is to check if there are child elements present and >> only call the template when there is. I can't quite seem to get that >> working. I know it's probably just a small if statement, can you >> help at all? >> >> Cheers >> Carl >> >> --************************************ >> >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2006-01-25 14:23:22
|
Hi Carl, You should be able to add that as a clause to the xpath, e.g. <xsl:for-each select = "$navigation/nav-item/nav-item/nav-item[nav- item and starts-with(/cms:wrapper/cms:source/ @directory,@directory)]"> Cheers, Alex On Jan 25, 2006, at 9:04 AM, Carl Barrow wrote: > Hi Alex > > I'm creating menu items from various parts in the site using ie. > > <xsl:for-each select = "$navigation/nav-item/nav-item/nav-item > [starts-with(/cms:wrapper/cms:source/ @directory,@directory)]"> > > What I need to do is to check if there are child elements present > and only call the template when there is. I can't quite seem to > get that working. I know it's probably just a small if statement, > can you help at all? > > Cheers > Carl > > -- > ************************************ > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2006-01-25 14:05:07
|
Hi Alex I'm creating menu items from various parts in the site using ie. <xsl:for-each select = "$navigation/nav-item/nav-item/nav-item[starts-with(/cms:wrapper/cms:source/ @directory,@directory)]"> What I need to do is to check if there are child elements present and only call the template when there is. I can't quite seem to get that working. I know it's probably just a small if statement, can you help at all? Cheers Carl -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2006-01-18 15:26:02
|
Hi Carl, This section from your log indicates it is probably an issue with the "repository.base" property, since both the bootstrap project and disk cache are specified using that property. Do you have this set to an absolute path? If not, I would recommend trying that, as relative paths always get tricky. ERROR 2006-01-18 14:47:59,200 There was a problem initializing the HyperContent disk cache: please check that the "cache_dir" property in "WEB-INF/classes/properties/hypercontent.properties" is set to a valid directory INFO 2006-01-18 14:47:59,227 HyperContent initiating startup at Wed Jan 18 14:47:59 GMT 2006 on thread main ERROR 2006-01-18 14:47:59,866 Unable to initialize bootstrap project: please check the settings in the /properties/Projects.xml file in your classpath Cheers, Alex On Jan 18, 2006, at 9:49 AM, Carl Barrow wrote: > Hi Alex, > > Thats what I thought the problem was but after checking I couldn't > find a problem. I'll keep trying to sort it out. > > I've attached a log file for you to take a look at. > > Cheers > Carl > > Alex Vigdor wrote: > >> Hi Carl, >> You may want to check in the log for "Unable to initialize >> bootstrap project" - it looks to me like it was unable to load the >> bootstrap repository. Double check the value of "repository.base" >> in the hypercontent.properties file, and if that looks OK you may >> want to have a look at "/properties/Projects.xml", which uses the >> "repository.base" property to construct the full path where the >> system expects to find the bootstrap repository. >> >> Cheers, >> Alex >> >> On Jan 18, 2006, at 9:04 AM, Carl Barrow wrote: >> >>> I get this error in the browser when I try to access the project if >>> I didn't make it clear. >>> Cheers >>> Carl >>> >>> Carl Barrow wrote: >>> >>>> Hi Alex, >>>> >>>> I 'm getting this error when I try to run HyperContent 2. I did >>>> move it to a new location on the server but the original install >>>> now gives me the error too. Any ideas? >>>> >>>> Cheers >>>> Carl >>>> >>>> >>>> >>>> >>>> Error occurred: The information on this screen may help an >>>> administrator find the problem >>>> java.lang.NullPointerException >>>> at >>>> org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.java: >>>> 72) >>>> at >>>> org.hypercontent.project.ProjectFactory.getProject(ProjectFactory.ja >>>> va :155) >>>> at >>>> org.hypercontent.server.ContentServer.initRequest(ContentServer.java >>>> : 175) >>>> at >>>> org.hypercontent.server.ContentServer.service(ContentServer.java: >>>> 408) >>>> at >>>> org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet >>>> .j ava:104) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) >>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App >>>> li cationFilterChain.java:237) >>>> at >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Application >>>> Fi lterChain.java:157) >>>> at >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper >>>> Va lve.java:214) >>>> at >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardVal >>>> ve Context.java:104) >>>> at >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja >>>> va :520) >>>> at >>>> org.apache.catalina.core.StandardContextValve.invokeInternal(Standar >>>> dC ontextValve.java:198) >>>> at >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext >>>> Va lve.java:152) >>>> at >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardVal >>>> ve Context.java:104) >>>> at >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja >>>> va :520) >>>> at >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. >>>> ja va:137) >>>> at >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardVal >>>> ve Context.java:104) >>>> at >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve. >>>> ja va:118) >>>> at >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardVal >>>> ve Context.java:102) >>>> at >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja >>>> va :520) >>>> at >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa >>>> lv e.java:109) >>>> at >>>> org.apache.catalina.core.StandardValveContext.invokeNext(StandardVal >>>> ve Context.java:104) >>>> at >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.ja >>>> va :520) >>>> at >>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java: >>>> 929) >>>> at >>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: >>>> 160) >>>> at >>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav >>>> a: 799) >>>> at >>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc >>>> es sConnection(Http11Protocol.java:705) >>>> at >>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.jav >>>> a: 577) >>>> at >>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread >>>> Po ol.java:683) >>>> at java.lang.Thread.run(Thread.java:534) |
From: Alex V. <av...@co...> - 2006-01-18 14:36:47
|
Hi Carl, You may want to check in the log for "Unable to initialize bootstrap project" - it looks to me like it was unable to load the bootstrap repository. Double check the value of "repository.base" in the hypercontent.properties file, and if that looks OK you may want to have a look at "/properties/Projects.xml", which uses the "repository.base" property to construct the full path where the system expects to find the bootstrap repository. Cheers, Alex On Jan 18, 2006, at 9:04 AM, Carl Barrow wrote: > I get this error in the browser when I try to access the project if I > didn't make it clear. > Cheers > Carl > > Carl Barrow wrote: > >> Hi Alex, >> >> I 'm getting this error when I try to run HyperContent 2. I did >> move it to a new location on the server but the original install now >> gives me the error too. Any ideas? >> >> Cheers >> Carl >> >> >> >> >> Error occurred: The information on this screen may help an >> administrator find the problem >> java.lang.NullPointerException >> at >> org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.java: >> 72) >> at >> org.hypercontent.project.ProjectFactory.getProject(ProjectFactory.java >> :155) >> at >> org.hypercontent.server.ContentServer.initRequest(ContentServer.java: >> 175) >> at >> org.hypercontent.server.ContentServer.service(ContentServer.java:408) >> at >> org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.j >> ava:104) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli >> cationFilterChain.java:237) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi >> lterChain.java:157) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa >> lve.java:214) >> at >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> Context.java:104) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> :520) >> at >> org.apache.catalina.core.StandardContextValve.invokeInternal(StandardC >> ontextValve.java:198) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa >> lve.java:152) >> at >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> Context.java:104) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> :520) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja >> va:137) >> at >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> Context.java:104) >> at >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja >> va:118) >> at >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> Context.java:102) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> :520) >> at >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv >> e.java:109) >> at >> org.apache.catalina.core.StandardValveContext.invokeNext(StandardValve >> Context.java:104) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java >> :520) >> at >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) >> at >> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java: >> 160) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: >> 799) >> at >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces >> sConnection(Http11Protocol.java:705) >> at >> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: >> 577) >> at >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo >> ol.java:683) >> at java.lang.Thread.run(Thread.java:534) >> >> >> ************************************ >> >> Carl Barrow >> Systems Integrator >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD >> SPLUNK! >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > -- > ************************************ > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2006-01-18 14:04:57
|
I get this error in the browser when I try to access the project if I didn't make it clear. Cheers Carl Carl Barrow wrote: > Hi Alex, > > I 'm getting this error when I try to run HyperContent 2. I did move > it to a new location on the server but the original install now gives > me the error too. Any ideas? > > Cheers > Carl > > > > > Error occurred: The information on this screen may help an > administrator find the problem > java.lang.NullPointerException > at > org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.java:72) > at > org.hypercontent.project.ProjectFactory.getProject(ProjectFactory.java:155) > > at > org.hypercontent.server.ContentServer.initRequest(ContentServer.java:175) > at > org.hypercontent.server.ContentServer.service(ContentServer.java:408) > at > org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.java:104) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) > > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > > at > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) > > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) > > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) > > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > > at > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) > > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) > > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > at > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) > > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) > > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) > > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > > at java.lang.Thread.run(Thread.java:534) > > > ************************************ > > Carl Barrow > Systems Integrator > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2006-01-18 13:07:20
|
Hi Alex, I 'm getting this error when I try to run HyperContent 2. I did move it to a new location on the server but the original install now gives me the error too. Any ideas? Cheers Carl Error occurred: The information on this screen may help an administrator find the problem java.lang.NullPointerException at org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.java:72) at org.hypercontent.project.ProjectFactory.getProject(ProjectFactory.java:155) at org.hypercontent.server.ContentServer.initRequest(ContentServer.java:175) at org.hypercontent.server.ContentServer.service(ContentServer.java:408) at org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.java:104) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) at java.lang.Thread.run(Thread.java:534) ************************************ Carl Barrow Systems Integrator e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |