hypercontent-users Mailing List for HyperContent (Page 33)
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: Alex V. <av...@co...> - 2004-11-19 16:27:47
|
Actually, it does look like the javascript bug was fixed in 2.4.1. The internal channel anchors will still be broken, because I don't see that that has been addressed in bugzilla, but that's not so serious. Alex On Nov 19, 2004, at 11:17 AM, Amos wrote: > Should I upgrade to 2.4.1? Been meaning to do that on this box, but > just haven't gotten to it yet. > > Alex Vigdor wrote: >> Amos, >> OK, I think I've got a fix on this. uPortal 2.4, unlike previous >> versions, is appending an anchor to all the links inside a channel, >> so that the display jumps to that channel when the link is followed. >> Unfortunately, this is breaking in two ways here: It's attempting >> to add an anchor to a javascript command, and it's also adding an >> anchor to links that already have an anchor! I'll send a message to >> the portal developer's list. >> Alex > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Amos <hyp...@ut...> - 2004-11-19 16:17:06
|
Should I upgrade to 2.4.1? Been meaning to do that on this box, but just haven't gotten to it yet. Alex Vigdor wrote: > Amos, > OK, I think I've got a fix on this. uPortal 2.4, unlike previous > versions, is appending an anchor to all the links inside a channel, so > that the display jumps to that channel when the link is followed. > Unfortunately, this is breaking in two ways here: It's attempting to > add an anchor to a javascript command, and it's also adding an anchor > to links that already have an anchor! I'll send a message to the > portal developer's list. > > Alex |
From: Amos <hyp...@ut...> - 2004-11-19 15:45:22
|
Actually, I was wrong about Safari. Attached is an excerpt (I must say easier to do with Safari than Firefox) of view source from Safari. It looks identical to that of Firefox. However, when I place the cursor over these links, the status bar reports the URL with a '%' as I indicated earlier. Amos |
From: Alex V. <av...@co...> - 2004-11-19 15:44:41
|
Amos, OK, I think I've got a fix on this. uPortal 2.4, unlike previous versions, is appending an anchor to all the links inside a channel, so that the display jumps to that channel when the link is followed. Unfortunately, this is breaking in two ways here: It's attempting to add an anchor to a javascript command, and it's also adding an anchor to links that already have an anchor! I'll send a message to the portal developer's list. Alex On Nov 19, 2004, at 10:29 AM, Amos wrote: > Alex Vigdor wrote: >> If you could, do a view source and see what shows up for the save >> link. The XSL to generate it is >> <a href="javascript:confirmSave('{$baseActionURL}');"><xsl:value-of >> select="$SAVE"/></a> > > Attached is the output of view source. > > Maybe it's a MacOS X Firefox thing? When I go to the same site with > Safari, the WYSIWUG editor doesn't come up because of the unsupported > browser, but the save link *does* work. Instead of having a "#" in the > resulting Javascript URL, it's a "%". > > Amos > > <html><head><title>uPortal 2.4</title><link > href="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/unicon.css" rel="stylesheet" type="text/css"><link > href="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/unicon_portlet.css" rel="stylesheet" > type="text/css"><script language="JavaScript"> > > function openBrWindow(theURL,winName,features) > {window.open(theURL,winName,features);} > > </script></head><body marginwidth="0" marginheight="0" > topmargin="0" leftmargin="0"><table class="uportal-background-content" > cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td > valign="top" align="left"><img title="" alt="" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/institutional/mainlogo.gif"></td><td width="100%"><img > height="1" width="1" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td><td valign="top" > align="right"><table cellpadding="0" cellspacing="10" > border="0"><tr><td><a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.uP? > uP_root=root&uP_reload_layout=true& > uP_sparam=targetRestriction&targetRestriction=no targetRestriction > parameter&uP_sparam=targetAction&targetAction=no targetAction > parameter&uP_sparam=selectedID&selectedID=& > uP_cancel_targets=true&uP_sparam=mode&mode=view"><img > border="0" title="Home" alt="Home" height="24" width="24" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/home.gif"></a></td><td><a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.uP? > uP_fname=layout-sitemap&uP_sparam=targetRestriction& > targetRestriction=no targetRestriction > parameter&uP_sparam=targetAction&targetAction=no targetAction > parameter&uP_sparam=selectedID&selectedID=& > uP_cancel_targets=true"><img border="0" title="View Sitemap" alt="View > Sitemap" height="24" width="24" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/sitemap.gif"></a></td><td><a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.uP? > uP_fname=portal/channelmanager/general"><img border="0" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/channelmanager.gif" title="Channel Manager" alt="Channel > Manager" height="24" width="24"></a></td><td><a > class="uportal-navigation-category" href="Logout"><img border="0" > title="Logout" alt="Logout" height="24" width="24" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/logout.gif"></a></td></tr><tr><td colspan="10"><p > class="uportal-channel-strong">Welcome Amos > Gouaux</p></td></tr></table></td></tr></table><table cellpadding="0" > cellspacing="9" border="0" cols="2" width="100%"><tr><td > class="uportal-background-dark" width="100%" valign="top"><table > cellspacing="0" cellpadding="0" align="center" border="0" cols="1" > width="100%"><tr><td><img height="9" width="20" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/topleftcorner.gif"></td><td style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/topborder.gif); background-repeat:repeat-x;" > width="100%"><img height="1" width="1" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td><td><img height="9" width="19" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/toprightcorner.gif"></td></tr><tr><td > style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/headerleftborder.gif); background-repeat:repeat-y;"><img > height="1" width="20" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td><td > class="uportal-background-semidark" nowrap="nowrap"><span > class="uportal-channel-title"><a > name="2764">HyperContent</a></span></td><td style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/headerrightborder.gif); background-repeat:repeat-y;" > class="uportal-background-dark"><img height="1" width="19" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td></tr><tr><td><img height="8" > width="20" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/headerbottomleft.gif"></td><td > style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/headerbottomborder.gif); background-repeat:repeat-x;"><img > height="1" width="1" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td><td><img height="8" width="19" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/headerbottomright.gif"></td></tr><tr><td > valign="bottom" style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/iconbarlinesleft.gif); background-repeat:repeat-y;"><img > height="1" width="20" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/channellinesbottom.gif"></td><td > class="uportal-background-light" nowrap="nowrap"><a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.uP? > uP_root=root"><img border="0" height="23" width="26" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/return.gif" title="return" alt="return"></a><a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.uP? > uP_help_target=2764#2764"><img border="0" height="23" width="26" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/contenthelp.gif" title="help" alt="help"></a><a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.uP? > uP_about_target=2764#2764"><img border="0" height="23" width="26" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/contentabout.gif" title="about" alt="about"></a><a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.uP? > uP_edit_target=2764#2764"><img border="0" height="23" width="26" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/icons/contentedit.gif" title="edit" alt="edit"></a></td><td > style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/iconbarrightborder.gif); background-repeat:repeat-y;" > class="uportal-background-dark"><img height="1" width="19" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td></tr><tr><td><img height="19" > width="20" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/channeltopleft.gif"></td><td > style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/channeltopborder.gif); background-repeat:repeat-x;"><img > height="19" width="1" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td><td><img height="19" width="19" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/channeltopright.gif"></td></tr><tr><td > style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/channelleftborder.gif); background-repeat:repeat-y;"><img > height="1" width="20" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td><td > class="uportal-background-content"><table cellpadding="0" > cellspacing="0" border="0" width="100%"><tr><td width="100%"><script > type="text/javascript" language="JavaScript1.2"> > // > function confirmSave(baseurl){ > var comment = prompt("Click OK to close and save this file. You > may add a comment below:"," "); > if(comment){ > this.location.href=baseurl+"?CMCommand=saveFile&comment="+comment; > } > } > function confirmDraft(baseurl){ > var comment = prompt("Click OK to close and save a draft of your > changes - only you can access the draft later. You may add a comment > below:"," "); > if(comment){ > this.location.href=baseurl+"?CMCommand=saveDraft&comment="+comment; > } > } > function confirmDiscard(baseurl){ > if(window.confirm("Are you sure you want to close this file and > discard your changes?")){ > this.location.href=baseurl+"?CMCommand=discardFile"; > } > } > // > </script><table width="100%" cellspacing="0" cellpadding="3" > border="0"><tr><td><img width="16" > src="media/org/jasig/portal/channels/CUserPreferences/tab-column/ > transparent.gif" height="1" border="0"></td><td><img width="16" > src="media/org/jasig/portal/channels/CUserPreferences/tab-column/ > transparent.gif" height="1" border="0"></td><td><img width="16" > src="media/org/jasig/portal/channels/CUserPreferences/tab-column/ > transparent.gif" height="1" border="0"></td></tr><tr><td colspan="2" > class="uportal-background-dark"><span > class="uportal-channel-title-reversed">/index.xml</span></td><td > nowrap="nowrap" class="uportal-background-dark" align="right"><a > title="Preview" > href="javascript: > window.open('tag.idempotent.worker.download.target.2764.uP? > CMCommand=previewNode&previewPath=/index.xml& > edition=temp','HyperContent_Publishing_Engine_Window').focus();"><img > width="16" vspace="0" src="media/edu/columbia/hypercontent/eye.gif" > hspace="1" height="16" border="0"></a></td></tr><tr><td > class="uportal-background-light" align="left"><span > class="uportal-channel-table-row-even">Editor: <a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > CMCommand=changeEditor&CMEditor=0#2764">Core Metadata</a> | XML | > <a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > CMCommand=changeEditor&CMEditor=2#2764">Spell Check</a> | <a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > CMCommand=changeEditor&CMEditor=3#2764">Build Options</a> | <a > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > CMCommand=changeEditor&CMEditor=4#2764">Upload/Download</a></ > span></td><td nowrap="nowrap" colspan="2" > class="uportal-background-light" align="right"><span > class="uportal-channel-table-row-even">Close and: <a > href="javascript: > confirmSave('tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764 > .uP');#2764">Save</a> > > | > <a > href="javascript: > confirmDraft('tag.bb0533a4a71079d5.render.userLayoutRootNode.target.276 > 4.uP');#2764">Save Draft</a> > | > <a > href="javascript: > confirmDiscard('tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2 > 764.uP');#2764">Discard</a></span></td></tr><tr><td > class="uportal-channel-table-row-even" align="left"><a title="Previous > Edit Screen" > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > CMCommand=changeEditor&CMEditor=0#2764"><img width="16" vspace="1" > src="media/edu/columbia/hypercontent/back.gif" hspace="1" height="16" > border="0"></a></td><td colspan="2" > class="uportal-channel-table-row-even" align="right"><a title="Next > Edit Screen" > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > CMCommand=changeEditor&CMEditor=2#2764"><img width="16" vspace="1" > src="media/edu/columbia/hypercontent/forward.gif" hspace="1" > height="16" border="0"></a></td></tr><tr><td></td></tr></table><style > type="text/css">@import url("htmlarea/htmlarea.css");</style><SCRIPT > type="text/javascript" language="JavaScript1.2"> > > function deleteElement(path){ > if (window.confirm('Are you sure you want to delete > this element?')){ > this.location.href=path; > } > } > </SCRIPT><center><form onsubmit="" name="xeditform" > method="post" > action="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP#2 > 764"><input value="Process Changes" type="submit" > class="uportal-button"><p></p><input value="UpdateDoc" type="hidden" > name="edit_cmd"><table width="100%" class="uportal-background-content" > cellspacing="0" cellpadding="1" border="0"><tr><td > class="uportal-background-highlight"><a name=""></a><table > width="100%" class="uportal-background-content" cellspacing="0" > cellpadding="2" border="0"><tr > class="uportal-background-highlight"><td width="10%" valign="middle" > nowrap="nowrap" class="uportal-background-highlight"><a title="Expand > Element" > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > edit_cmd=ExpandAll&position=##2764"><img width="16" vspace="1" > src="media/edu/columbia/hypercontent/expanded.gif" hspace="1" > height="16" border="0" alt="Expand Element"></a><span > class="uportal-channel-text"><strong>body</strong></span></td><td > width="*" class="uportal-background-highlight"></td><td width="5%" > nowrap="nowrap" class="uportal-background-highlight" align="right"><a > title="Enable Editing" > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > edit_cmd=UnlockAll&togglePosition=##2764"><img width="16" > vspace="1" src="media/edu/columbia/hypercontent/unlock.gif" hspace="1" > height="16" border="0" alt="Enable > Editing"></a></td></tr></table><table width="100%" > class="uportal-background-content" cellspacing="3" cellpadding="1" > border="0"><tr><td><img width="10" > src="media/org/jasig/portal/channels/CUserPreferences/tab-column/ > transparent.gif" height="1"></td><td width="100%"><select > name="insert:::0" class="uportal-button"><option selected="selected"> > <option>* Select element to insert<option> <option > value="uid:::2">section<option value="uid:::4">html<option > value="uid:::6">image<option > value="uid:::8">link</select></td></tr><tr><td><img width="10" > src="media/org/jasig/portal/channels/CUserPreferences/tab-column/ > transparent.gif" height="1"></td><td width="100%" > class="uportal-background-dark"><a name="0"></a><table width="100%" > class="uportal-background-content" cellspacing="0" cellpadding="2" > border="0"><tr class="uportal-background-med"><td width="10%" > valign="middle" nowrap="nowrap" class="uportal-background-med"><a > title="Collapse Element" > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > edit_cmd=ToggleElement&position=0#0#2764"><img width="16" > vspace="1" src="media/edu/columbia/hypercontent/expanded.gif" > hspace="1" height="16" border="0" alt="Collapse Element"></a><span > class="uportal-channel-text"><strong>html</strong></span></td><td > width="*" class="uportal-background-med"></td><td width="5%" > nowrap="nowrap" class="uportal-background-med" align="right"><a > title="Enable Editing" > href="tag.bb0533a4a71079d5.render.userLayoutRootNode.target.2764.uP? > edit_cmd=ToggleElementMode&togglePosition=0#0#2764"><img > width="16" vspace="1" src="media/edu/columbia/hypercontent/lock.gif" > hspace="1" height="16" border="0" alt="Enable > Editing"></a></td></tr></table><table width="100%" > class="uportal-background-content" cellspacing="3" cellpadding="1" > border="0"><tr><td colspan="2"><table cellspacing="0" cellpadding="1" > border="0"><tr><td nowrap="nowrap" > class="uportal-channel-table-row-even">anchor</td><td > class="uportal-channel-table-row-even" > align="left"></td></tr></table></td></tr><tr><td><img width="10" > src="media/org/jasig/portal/channels/CUserPreferences/tab-column/ > transparent.gif" height="1"></td><td width="100%" > class="uportal-channel-table-row-even">Welcome to HyperContent > HyperContent is an open-source web content management system being > developed by institutions of higher education under the sponsorship of > the Java Architectures Special Interest Group (JA-SIG). HyperContent > delivers a rich set of management and authoring tools which enable > content experts, designers, developers and administrators to > collaborate effectively in the production of high quality web sites > with consistent navigation and design. XML storage makes data reuse > and site evolution painless, and a pure Java architecture delivers a > stable, scalable platform.HyperContent is free for anyone to download, > use and/or modify. Adopters are encouraged to participate in the > community by signing up for the mailing lists, posting in the forums > and contributing development effort back to the project.HyperContent > Releases Version 1.4June 18, 2004: A new navigation system which > simplifies navigation and site map generation, including a new editor > allowing drag-and-drop reordering of items and easy insertion of links > to external sites.Version 1.3March 16, 2004: Multilingual spell > checking with integrated American English, British English, French and > German dictionaries, in-browser image cropping and resizing, SFTP > publishing support, performance enhancements and more. Available from > the downloads page.Version 1.2December 2003: Many new features > including WYSIWYG in-browser content editing, full content and > metadata search, internationalization support and more. Available from > the downloads page.Version 1.1April 2003: Added metadata support, > highly optimized rewrite of the filesystem package and mix-and-match > tool support in the authoring environment. No longer available for > download.</td></tr></table></td></tr><tr><td><img width="10" > src="media/org/jasig/portal/channels/CUserPreferences/tab-column/ > transparent.gif" height="1"></td><td width="100%"><select > name="insert:::1" class="uportal-button"><option selected="selected"> > <option>* Select element to insert<option> <option > value="uid:::2">section<option value="uid:::4">html<option > value="uid:::6">image<option > value="uid:::8">link</select></td></tr></table></td></tr></ > table><br><input value="Process Changes" type="submit" > class="uportal-button"></form></center></td><td><img height="1" > width="1" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td></tr></table></td><td > style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/channelrightborder.gif); background-repeat:repeat-y;" > class="uportal-background-dark"><img height="1" width="1" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td></tr><tr><td><img height="19" > width="20" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/bottomleftcorner.gif"></td><td > style="background-image: > url(media/org/jasig/portal/layout/AL_TabColumn/integratedModes/unicon/ > mainBorder/bottomborder.gif); background-repeat:repeat-x;"><img > height="1" width="1" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/skin/transparent.gif"></td><td><img height="19" width="19" > src="media/org/jasig/portal/layout/AL_TabColumn/integratedModes/ > unicon/mainBorder/bottomrightcorner.gif"></td></tr></table></td></ > tr></table></body></html> > > > > > |
From: Amos <hyp...@ut...> - 2004-11-19 15:27:42
|
Alex Vigdor wrote: > If you could, do a view source and see what shows up for the save link. > The XSL to generate it is > > <a href="javascript:confirmSave('{$baseActionURL}');"><xsl:value-of > select="$SAVE"/></a> Attached is the output of view source. Maybe it's a MacOS X Firefox thing? When I go to the same site with Safari, the WYSIWUG editor doesn't come up because of the unsupported browser, but the save link *does* work. Instead of having a "#" in the resulting Javascript URL, it's a "%". Amos |
From: Alex V. <av...@co...> - 2004-11-19 14:44:55
|
This seems strange - I can't duplicate it with an older version of uPortal. It looks like the tag format has changed - I wonder if there may be a bug in some of the newer uPortal serialization code. There's also a small possibility that there is a xalan version conflict. If you could, do a view source and see what shows up for the save link. The XSL to generate it is <a href="javascript:confirmSave('{$baseActionURL}');"><xsl:value-of select="$SAVE"/></a> Alex On Nov 19, 2004, at 1:17 AM, Amos wrote: > When I'm editing a page and I click on "Close and: Save", I don't get > the popup window. I opened the Javascript console window and it has: > > Error: illegal character > Source File: > javascript: > confirmSave('tag.asdfasdf.render.userLayoutRootNode.target.2764.uP'); > #2764 Line: 1 > > And the red arrow is pointing just after the "#" in the ";#2764" > sequence. > > Amos > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2004-11-19 14:35:28
|
Make sure that "jazzy-core.jar" was properly deployed into uPortal's WEB-INF/lib. Also, under WEB-INF/classes there should be /edu/columbia./hypercontent/dict/src" with dictionary files in it. Alex On Nov 18, 2004, at 7:00 PM, Amos wrote: > Got HC working with uP 2.4 after manually deploying the channel. I set > the path explicitly, and so edited Project.xml before doing the 'ant' > part. When I logged into uP with admin rights, selected the channel, > then began the manual edit to finish the paths business. Anyway, after > clicking on what might have been the last ">" (not sure about that > though), it hang and never came back. When I checked the server log, > it had: > > java.lang.NoClassDefFoundError: > com/swabunga/spell/engine/SpellDictionaryDichoMapped > at > edu.columbia.hypercontent.dict.DictionaryFactory.getDictionary(Dictiona > ryFactory.java:39) > at > edu.columbia.hypercontent.Project.getDictionary(Project.java:1805) > at > edu.columbia.hypercontent.editors.spellcheck.SpellCheck.loadDictionary( > SpellCheck.java:83) > at > edu.columbia.hypercontent.editors.spellcheck.SpellCheck.startSession(Sp > ellCheck.java:66) > at > edu.columbia.hypercontent.editors.EditorServant.setStaticData(EditorSer > vant.java:86) > at > edu.columbia.hypercontent.contentmanager.commands.ChangeEditor.execute( > ChangeEditor.java:58) > at > edu.columbia.hypercontent.contentmanager.CContentManager.setRuntimeData > (CContentManager.java:192) > at > org.jasig.portal.MultithreadedChannelAdapter.setRuntimeData(Multithread > edChannelAdapter.java:61) at > org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:417) > at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) > > > Seems odd that I'd get that. What did I mess up? > > Amos > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Amos <hyp...@ut...> - 2004-11-19 06:15:55
|
When I'm editing a page and I click on "Close and: Save", I don't get the popup window. I opened the Javascript console window and it has: Error: illegal character Source File: javascript:confirmSave('tag.asdfasdf.render.userLayoutRootNode.target.2764.uP');#2764 Line: 1 And the red arrow is pointing just after the "#" in the ";#2764" sequence. Amos |
From: Amos <hyp...@ut...> - 2004-11-18 23:58:32
|
Got HC working with uP 2.4 after manually deploying the channel. I set the path explicitly, and so edited Project.xml before doing the 'ant' part. When I logged into uP with admin rights, selected the channel, then began the manual edit to finish the paths business. Anyway, after clicking on what might have been the last ">" (not sure about that though), it hang and never came back. When I checked the server log, it had: java.lang.NoClassDefFoundError: com/swabunga/spell/engine/SpellDictionaryDichoMapped at edu.columbia.hypercontent.dict.DictionaryFactory.getDictionary(DictionaryFactory.java:39) at edu.columbia.hypercontent.Project.getDictionary(Project.java:1805) at edu.columbia.hypercontent.editors.spellcheck.SpellCheck.loadDictionary(SpellCheck.java:83) at edu.columbia.hypercontent.editors.spellcheck.SpellCheck.startSession(SpellCheck.java:66) at edu.columbia.hypercontent.editors.EditorServant.setStaticData(EditorServant.java:86) at edu.columbia.hypercontent.contentmanager.commands.ChangeEditor.execute(ChangeEditor.java:58) at edu.columbia.hypercontent.contentmanager.CContentManager.setRuntimeData(CContentManager.java:192) at org.jasig.portal.MultithreadedChannelAdapter.setRuntimeData(MultithreadedChannelAdapter.java:61) at org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:417) at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) Seems odd that I'd get that. What did I mess up? Amos |
From: Alex V. <av...@co...> - 2004-11-17 01:17:44
|
I haven't tried it with UP 2.4 yet; the problem you're seeing is not severe, it just means you'll have to manually publish the HyperContent channel using the Channel Manager. This particular error looks to be caused by classpath dependency changes in the channel registry since 2.3, due to portlet support. I'm not sure what other issues you might run into, but theoretically everything should work fine. The classname for the HyperContent channel is edu.columbia.hypercontent.contentmanager.CContentManager You can use this to do a manual publish. Alex On Nov 16, 2004, at 7:55 PM, Amos wrote: > For grins I thought I'd try installing 1.4 with uP 2.4, but was > greeted with this: > > publish: > [echo] Attemping to publish Content Manager channel > [java] Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/pluto/om/common/PreferenceSet > [java] at java.lang.Class.forName0(Native Method) > [java] at java.lang.Class.forName(Class.java:141) > [java] at > org.jasig.portal.ChannelRegistryStoreFactory.<clinit>(ChannelRegistrySt > oreFactory.java:62) > [java] at > edu.columbia.hypercontent.util.AutoPublish.main(AutoPublish.java:53) > [java] Java Result: 1 > > Should I attempt a manual install, or will it be all up-hill with 2.4? > Since this is currently more as a prototype than anything else, would > I have better luck with CVS? > > Amos > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Amos <hyp...@ut...> - 2004-11-17 00:53:44
|
For grins I thought I'd try installing 1.4 with uP 2.4, but was greeted with this: publish: [echo] Attemping to publish Content Manager channel [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/pluto/om/common/PreferenceSet [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:141) [java] at org.jasig.portal.ChannelRegistryStoreFactory.<clinit>(ChannelRegistryStoreFactory.java:62) [java] at edu.columbia.hypercontent.util.AutoPublish.main(AutoPublish.java:53) [java] Java Result: 1 Should I attempt a manual install, or will it be all up-hill with 2.4? Since this is currently more as a prototype than anything else, would I have better luck with CVS? Amos |
From: Alex V. <av...@co...> - 2004-11-16 15:14:47
|
Yes, this is actually an intentional setting; unfortunately it's not in a configuration file, I should put that on a to-do list. This is all set up on about lines 340 -410 of the source file edu.columbia.hypercontent.DocumentFactory.java. TDs are configured on line 378 - if, for example, you wanted to allow the "bgcolor" or "style" attribute, you would have to add it to the array of accepted attributes for that element. This is the configuration for the NekoHTML parser; it strips out all garbage, like Microsoft-specific tags that come from Word, but is also configured to strip out styling attributes. There's some information about this configuration at http://www.apache.org/~andyc/neko/doc/html/filters.html#filters.removing Anyhow, you can change the configuration to your liking, and use the ant script to recompile and jar the code. Cheers, Alex On Nov 16, 2004, at 10:01 AM, Carl Barrow wrote: > Hi Alex > > Thanks very much, thats solved it! and just about clears all the > problems I've have setting up our new public website. I still don't > seem to be able to get the html editor to allow me to create tables > with cell colours, it strips them out on saving. Have you > seen/overcome this before? > > Thanks > Carl > > Alex Vigdor wrote: > >> Hi Carl, >> I would try replacing the XPath in your first for-each with >> >> $navigation/nav-item/nav-item[starts-with(/cms:wrapper/cms:source/ >> @directory,@directory)] >> >> I'm assuming the problem is that at lower levels, the source >> directory is not equal to the nav-item directory, but is a >> descendant of it. Let me know how that works. >> >> -Alex >> >> On Nov 16, 2004, at 5:21 AM, Carl Barrow wrote: >> >>> Hi Alex >>> I seem to have everything set up correctly in the project >>> definition, I think it's the xsl I'm having problems with. I've >>> made it just about everything else apart from what I need to >>> actually do. I can get it to display the very top level navigation >>> throughout and have also made it display links to all pages on >>> every page. If you have time to take a look that would be great. >>> I've included the code below. >>> >>> Many thanks >>> Carl >>> >>> <xsl:template name="left-navigation"> >>> <xsl:for-each >>> select="$navigation/nav-item/nav-item[/cms:wrapper/cms:source/ >>> @directory = @directory]"> >>> <xsl:for-each select="nav-item"> >>> <xsl:variable name="onSelf" select="@location = >>> $sourceItem/@location"/> >>> <xsl:variable name="style"> >>> <xsl:choose> >>> <!-- this is self --> >>> <xsl:when test="$onSelf"> >>> <xsl:text></xsl:text> >>> </xsl:when> >>> <!-- normal link --> >>> <xsl:otherwise> >>> <xsl:text></xsl:text> >>> </xsl:otherwise> >>> </xsl:choose> >>> </xsl:variable> >>> <xsl:choose> >>> <xsl:when test="$onSelf"> >>> <xsl:call-template >>> name="navigation-link-side"> >>> <xsl:with-param name="style" >>> select="$style"/> >>> </xsl:call-template> >>> </xsl:when> >>> >>> <xsl:otherwise> >>> <xsl:call-template >>> name="navigation-link-side"> >>> <xsl:with-param name="style" >>> select="$style"/> >>> </xsl:call-template> >>> </xsl:otherwise> >>> </xsl:choose> >>> </xsl:for-each> >>> </xsl:for-each> >>> >>> Alex Vigdor wrote: >>> >>>> Hi Carl, >>>> First off, you need to make sure you're including your site map >>>> or navigation file in the output definition for the secondary >>>> pages; you'll also have to make sure the logic in your xsl is >>>> going to properly cause the menu to get generated at that level. >>>> When you're in a subdirectory, you can't of course grab the >>>> related element with an equals comparison on the directory - what >>>> we do here is use the xsl starts-wth function. For example, >>>> >>>> <xsl:for-each select="$navigation/nav-item"> >>>> <xsl:choose> >>>> <xsl:when >>>> test="starts-with(@directory,/cms:wrapper/cms:source/@directory"> >>>> <!-- display active navigation link --> >>>> </xsl:when> >>>> <xsl:otherwise> >>>> <!-- display inactive navigation link --> >>>> </xsl:otherwise> >>>> </xsl:choose> >>>> </xsl:for-each> >>>> >>>> If you have trouble with it, send along your project definition and >>>> XSL and I'll have a look. >>>> >>>> -Alex >>>> >>>> On Nov 15, 2004, at 8:38 AM, Carl Barrow wrote: >>>> >>>>> Hi Alex >>>>> >>>>> Just one more thing (for now) that I need help with...... >>>>> >>>>> My site here automatically creates menu items down the left which >>>>> works fine at root level and then also down to the next set of >>>>> directories, for example 'root/first level/ ' If I create sub >>>>> directories in the first level I don't get any menu items on those >>>>> pages. I need to keep the menu items for those pages the same >>>>> as the ones visible in my first level directories. How can I do >>>>> this? >>>>> >>>>> Thanks >>>>> Carl >>>>> >>>>> -- >>>>> ************************************ >>>>> >>>>> Carl Barrow >>>>> Web Developer >>>>> e-Services >>>>> The University of Hull >>>>> Cottingham Road >>>>> Hull >>>>> HU6 7RX >>>>> Ext. 6838 >>>>> ************************************ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: InterSystems CACHE >>>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>>> robust object and relational technologies, making it a perfect >>>>> match >>>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: InterSystems CACHE >>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>> robust object and relational technologies, making it a perfect match >>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: InterSystems CACHE >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> robust object and relational technologies, making it a perfect match >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ |
From: Carl B. <C.P...@hu...> - 2004-11-16 15:01:04
|
Hi Alex Thanks very much, thats solved it! and just about clears all the problems I've have setting up our new public website. I still don't seem to be able to get the html editor to allow me to create tables with cell colours, it strips them out on saving. Have you seen/overcome this before? Thanks Carl Alex Vigdor wrote: > Hi Carl, > I would try replacing the XPath in your first for-each with > > $navigation/nav-item/nav-item[starts-with(/cms:wrapper/cms:source/ > @directory,@directory)] > > I'm assuming the problem is that at lower levels, the source > directory is not equal to the nav-item directory, but is a descendant > of it. Let me know how that works. > > -Alex > > On Nov 16, 2004, at 5:21 AM, Carl Barrow wrote: > >> Hi Alex >> I seem to have everything set up correctly in the project >> definition, I think it's the xsl I'm having problems with. I've made >> it just about everything else apart from what I need to actually >> do. I can get it to display the very top level navigation >> throughout and have also made it display links to all pages on >> every page. If you have time to take a look that would be great. >> I've included the code below. >> >> Many thanks >> Carl >> >> <xsl:template name="left-navigation"> >> <xsl:for-each >> select="$navigation/nav-item/nav-item[/cms:wrapper/cms:source/ >> @directory = @directory]"> >> <xsl:for-each select="nav-item"> >> <xsl:variable name="onSelf" select="@location = >> $sourceItem/@location"/> >> <xsl:variable name="style"> >> <xsl:choose> >> <!-- this is self --> >> <xsl:when test="$onSelf"> >> <xsl:text></xsl:text> >> </xsl:when> >> <!-- normal link --> >> <xsl:otherwise> >> <xsl:text></xsl:text> >> </xsl:otherwise> >> </xsl:choose> >> </xsl:variable> >> <xsl:choose> >> <xsl:when test="$onSelf"> >> <xsl:call-template >> name="navigation-link-side"> >> <xsl:with-param name="style" >> select="$style"/> >> </xsl:call-template> >> </xsl:when> >> >> <xsl:otherwise> >> <xsl:call-template >> name="navigation-link-side"> >> <xsl:with-param name="style" >> select="$style"/> >> </xsl:call-template> >> </xsl:otherwise> >> </xsl:choose> >> </xsl:for-each> >> </xsl:for-each> >> >> Alex Vigdor wrote: >> >>> Hi Carl, >>> First off, you need to make sure you're including your site map >>> or navigation file in the output definition for the secondary >>> pages; you'll also have to make sure the logic in your xsl is going >>> to properly cause the menu to get generated at that level. When >>> you're in a subdirectory, you can't of course grab the related >>> element with an equals comparison on the directory - what we do >>> here is use the xsl starts-wth function. For example, >>> >>> <xsl:for-each select="$navigation/nav-item"> >>> <xsl:choose> >>> <xsl:when >>> test="starts-with(@directory,/cms:wrapper/cms:source/@directory"> >>> <!-- display active navigation link --> >>> </xsl:when> >>> <xsl:otherwise> >>> <!-- display inactive navigation link --> >>> </xsl:otherwise> >>> </xsl:choose> >>> </xsl:for-each> >>> >>> If you have trouble with it, send along your project definition and >>> XSL and I'll have a look. >>> >>> -Alex >>> >>> On Nov 15, 2004, at 8:38 AM, Carl Barrow wrote: >>> >>>> Hi Alex >>>> >>>> Just one more thing (for now) that I need help with...... >>>> >>>> My site here automatically creates menu items down the left which >>>> works fine at root level and then also down to the next set of >>>> directories, for example 'root/first level/ ' If I create sub >>>> directories in the first level I don't get any menu items on those >>>> pages. I need to keep the menu items for those pages the same as >>>> the ones visible in my first level directories. How can I do this? >>>> >>>> Thanks >>>> Carl >>>> >>>> -- >>>> ************************************ >>>> >>>> Carl Barrow >>>> Web Developer >>>> e-Services >>>> The University of Hull >>>> Cottingham Road >>>> Hull >>>> HU6 7RX >>>> Ext. 6838 >>>> ************************************ >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: InterSystems CACHE >>>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>>> robust object and relational technologies, making it a perfect match >>>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: InterSystems CACHE >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> robust object and relational technologies, making it a perfect match >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-11-16 14:43:14
|
Hi Carl, I would try replacing the XPath in your first for-each with $navigation/nav-item/nav-item[starts-with(/cms:wrapper/cms:source/ @directory,@directory)] I'm assuming the problem is that at lower levels, the source directory is not equal to the nav-item directory, but is a descendant of it. Let me know how that works. -Alex On Nov 16, 2004, at 5:21 AM, Carl Barrow wrote: > Hi Alex > I seem to have everything set up correctly in the project definition, > I think it's the xsl I'm having problems with. I've made it just about > everything else apart from what I need to actually do. I can get it > to display the very top level navigation throughout and have also > made it display links to all pages on every page. If you have time to > take a look that would be great. > I've included the code below. > > Many thanks > Carl > > <xsl:template name="left-navigation"> > <xsl:for-each > select="$navigation/nav-item/nav-item[/cms:wrapper/cms:source/ > @directory = @directory]"> > <xsl:for-each select="nav-item"> > <xsl:variable name="onSelf" select="@location = > $sourceItem/@location"/> > <xsl:variable name="style"> > <xsl:choose> > <!-- this is self --> > <xsl:when test="$onSelf"> > <xsl:text></xsl:text> > </xsl:when> > <!-- normal link --> > <xsl:otherwise> > <xsl:text></xsl:text> > </xsl:otherwise> > </xsl:choose> > </xsl:variable> > <xsl:choose> > <xsl:when test="$onSelf"> > <xsl:call-template > name="navigation-link-side"> > <xsl:with-param name="style" > select="$style"/> > </xsl:call-template> > </xsl:when> > > <xsl:otherwise> > <xsl:call-template > name="navigation-link-side"> > <xsl:with-param name="style" > select="$style"/> > </xsl:call-template> > </xsl:otherwise> > </xsl:choose> > </xsl:for-each> > </xsl:for-each> > > Alex Vigdor wrote: > >> Hi Carl, >> First off, you need to make sure you're including your site map >> or navigation file in the output definition for the secondary pages; >> you'll also have to make sure the logic in your xsl is going to >> properly cause the menu to get generated at that level. When you're >> in a subdirectory, you can't of course grab the related element with >> an equals comparison on the directory - what we do here is use the >> xsl starts-wth function. For example, >> >> <xsl:for-each select="$navigation/nav-item"> >> <xsl:choose> >> <xsl:when >> test="starts-with(@directory,/cms:wrapper/cms:source/@directory"> >> <!-- display active navigation link --> >> </xsl:when> >> <xsl:otherwise> >> <!-- display inactive navigation link --> >> </xsl:otherwise> >> </xsl:choose> >> </xsl:for-each> >> >> If you have trouble with it, send along your project definition and >> XSL and I'll have a look. >> >> -Alex >> >> On Nov 15, 2004, at 8:38 AM, Carl Barrow wrote: >> >>> Hi Alex >>> >>> Just one more thing (for now) that I need help with...... >>> >>> My site here automatically creates menu items down the left which >>> works fine at root level and then also down to the next set of >>> directories, for example 'root/first level/ ' If I create sub >>> directories in the first level I don't get any menu items on those >>> pages. I need to keep the menu items for those pages the same as >>> the ones visible in my first level directories. How can I do this? >>> >>> Thanks >>> Carl >>> >>> -- >>> ************************************ >>> >>> Carl Barrow >>> Web Developer >>> e-Services >>> The University of Hull >>> Cottingham Road >>> Hull >>> HU6 7RX >>> Ext. 6838 >>> ************************************ >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: InterSystems CACHE >>> FREE OODBMS DOWNLOAD - A multidimensional database that combines >>> robust object and relational technologies, making it a perfect match >>> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2004-11-16 10:21:26
|
Hi Alex I seem to have everything set up correctly in the project definition, I think it's the xsl I'm having problems with. I've made it just about everything else apart from what I need to actually do. I can get it to display the very top level navigation throughout and have also made it display links to all pages on every page. If you have time to take a look that would be great. I've included the code below. Many thanks Carl <xsl:template name="left-navigation"> <xsl:for-each select="$navigation/nav-item/nav-item[/cms:wrapper/cms:source/@directory = @directory]"> <xsl:for-each select="nav-item"> <xsl:variable name="onSelf" select="@location = $sourceItem/@location"/> <xsl:variable name="style"> <xsl:choose> <!-- this is self --> <xsl:when test="$onSelf"> <xsl:text></xsl:text> </xsl:when> <!-- normal link --> <xsl:otherwise> <xsl:text></xsl:text> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:choose> <xsl:when test="$onSelf"> <xsl:call-template name="navigation-link-side"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="navigation-link-side"> <xsl:with-param name="style" select="$style"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </xsl:for-each> </xsl:for-each> Alex Vigdor wrote: > Hi Carl, > First off, you need to make sure you're including your site map or > navigation file in the output definition for the secondary pages; > you'll also have to make sure the logic in your xsl is going to > properly cause the menu to get generated at that level. When you're > in a subdirectory, you can't of course grab the related element with > an equals comparison on the directory - what we do here is use the xsl > starts-wth function. For example, > > <xsl:for-each select="$navigation/nav-item"> > <xsl:choose> > <xsl:when > test="starts-with(@directory,/cms:wrapper/cms:source/@directory"> > <!-- display active navigation link --> > </xsl:when> > <xsl:otherwise> > <!-- display inactive navigation link --> > </xsl:otherwise> > </xsl:choose> > </xsl:for-each> > > If you have trouble with it, send along your project definition and > XSL and I'll have a look. > > -Alex > > On Nov 15, 2004, at 8:38 AM, Carl Barrow wrote: > >> Hi Alex >> >> Just one more thing (for now) that I need help with...... >> >> My site here automatically creates menu items down the left which >> works fine at root level and then also down to the next set of >> directories, for example 'root/first level/ ' If I create sub >> directories in the first level I don't get any menu items on those >> pages. I need to keep the menu items for those pages the same as >> the ones visible in my first level directories. How can I do this? >> >> Thanks >> Carl >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: InterSystems CACHE >> FREE OODBMS DOWNLOAD - A multidimensional database that combines >> robust object and relational technologies, making it a perfect match >> for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-11-15 17:53:01
|
Hi Carl, First off, you need to make sure you're including your site map or navigation file in the output definition for the secondary pages; you'll also have to make sure the logic in your xsl is going to properly cause the menu to get generated at that level. When you're in a subdirectory, you can't of course grab the related element with an equals comparison on the directory - what we do here is use the xsl starts-wth function. For example, <xsl:for-each select="$navigation/nav-item"> <xsl:choose> <xsl:when test="starts-with(@directory,/cms:wrapper/cms:source/@directory"> <!-- display active navigation link --> </xsl:when> <xsl:otherwise> <!-- display inactive navigation link --> </xsl:otherwise> </xsl:choose> </xsl:for-each> If you have trouble with it, send along your project definition and XSL and I'll have a look. -Alex On Nov 15, 2004, at 8:38 AM, Carl Barrow wrote: > Hi Alex > > Just one more thing (for now) that I need help with...... > > My site here automatically creates menu items down the left which > works fine at root level and then also down to the next set of > directories, for example 'root/first level/ ' If I create sub > directories in the first level I don't get any menu items on those > pages. I need to keep the menu items for those pages the same as the > ones visible in my first level directories. How can I do this? > > Thanks > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines > robust object and relational technologies, making it a perfect match > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2004-11-15 13:38:04
|
Hi Alex Just one more thing (for now) that I need help with...... My site here automatically creates menu items down the left which works fine at root level and then also down to the next set of directories, for example 'root/first level/ ' If I create sub directories in the first level I don't get any menu items on those pages. I need to keep the menu items for those pages the same as the ones visible in my first level directories. How can I do this? Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-11-11 16:06:49
|
Hi Carl, If you want to provide WYSIWYG editing for visually distinct parts of the page, there are two approaches. You can build up the content in one file, for example if you have a page which has an abstract, body text and an optional sidebar: <!ELEMENT page (abstract,body,sidebar?)> <!ELEMENT abstract (html)> <!ELEMENT body (html)> <!ELEMENT sidebar (html)> The XML editor replaces any instance of the 'html' tag with a WYSIWYG area, so this would give you three distinct editable areas, which you could refer to by the name of their enclosing element in XSL <xsl:variable name="sidebar" select="/cms:wrapper/cms:source/page/sidebar/html"/> The other possible approach is to break the editable areas out into separate files, which may not have their own form of output, but which are included into the target page at build time. There are two reasons you might want to do this; either because you want to apply different permissions to these sub-components, or because the sub-component is of a repeating type and you don't want your page file to get too large. A classic example is announcements for the home page; there can be any number of announcements, and you may want to allow someone to edit announcements without changing anything else on the home page. e.g. <xml-doctype path="/announcements/*" label="Announcement" root="html"/> <xml-doctype path="/index.xml" ...> <output type="text/html> <include source="/announcements/* data="yes" metadata="yes"/> <transform ... /> </output> </xml-doctype> -Alex On Nov 11, 2004, at 4:46 AM, Carl Barrow wrote: > Hi > > I have a template set up with one main editable area and a second > editable area which displays the page description. I need to add two > more editable areas to the page. What would be the best/simplest way > to do this? > > Many thanks > Carl > > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2004-11-11 09:45:45
|
Hi I have a template set up with one main editable area and a second editable area which displays the page description. I need to add two more editable areas to the page. What would be the best/simplest way to do this? Many thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Ingmars <ing...@lu...> - 2004-11-10 09:47:07
|
Hello! We are using Hypercontent 1.4 with php elements in the University of Latvia. The main page of university is built using hyperconent 1.4 http://www.lu.lv Best Wishes Ingmars Rubenis LU University of Latvia Developer, Group Leader IT department -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of hyp...@li... Sent: Wednesday, November 10, 2004 6:12 AM To: hyp...@li... Subject: Hypercontent-users digest, Vol 1 #45 - 1 msg Send Hypercontent-users mailing list submissions to hyp...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/hypercontent-users or, via email, send a message with subject or body 'help' to hyp...@li... You can reach the person managing the list at hyp...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of Hypercontent-users digest..." Today's Topics: 1. Re: Who is using Hypercontent in production? (Adam Carl) --__--__-- Message: 1 Cc: hyp...@li... From: Adam Carl <ac...@co...> Subject: Re: [Hypercontent-users] Who is using Hypercontent in production? Date: Tue, 9 Nov 2004 09:41:44 -0500 To: Susan Bramhall <sus...@ya...> Susan. Here at Columbia we have the following departments/organizations using HyperContent to publish their sites. Human Resources http://www.hr.columbia.edu/hr/ Department Of Chemistry http://www.columbia.edu/cu/chemistry/ The Graduate School of Arts and Science Dining Services University Seminars http://www.columbia.edu/cu/seminars/ Student Services http://www.columbia.edu/cu/studentservices/ Dining Services http://www.columbia.edu/cu/dining/ Department Of Biology http://www.columbia.edu/cu/biology/ Department Of Religion http://www.columbia.edu/cu/religion/ Department of Political Science http://www.columbia.edu/cu/polisci/ University Writing Program http://www.columbia.edu/cu/uwp/ Office of Responsible Research http://www.columbia.edu/cu/orcr/ There are a few smaller ones out there and a couple more in the development phase. Adam Carl On Nov 8, 2004, at 5:00 PM, Susan Bramhall wrote: > Hi all. I've been playing with Hypercontent a bit and am curious to > know how many sites are using it production at this point. Thanks. > Susan > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users --__--__-- _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users End of Hypercontent-users Digest |
From: Adam C. <ac...@co...> - 2004-11-09 14:39:51
|
Susan. Here at Columbia we have the following departments/organizations using HyperContent to publish their sites. Human Resources http://www.hr.columbia.edu/hr/ Department Of Chemistry http://www.columbia.edu/cu/chemistry/ The Graduate School of Arts and Science Dining Services University Seminars http://www.columbia.edu/cu/seminars/ Student Services http://www.columbia.edu/cu/studentservices/ Dining Services http://www.columbia.edu/cu/dining/ Department Of Biology http://www.columbia.edu/cu/biology/ Department Of Religion http://www.columbia.edu/cu/religion/ Department of Political Science http://www.columbia.edu/cu/polisci/ University Writing Program http://www.columbia.edu/cu/uwp/ Office of Responsible Research http://www.columbia.edu/cu/orcr/ There are a few smaller ones out there and a couple more in the development phase. Adam Carl On Nov 8, 2004, at 5:00 PM, Susan Bramhall wrote: > Hi all. I've been playing with Hypercontent a bit and am curious to > know how many sites are using it production at this point. Thanks. > Susan > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Susan B. <sus...@ya...> - 2004-11-08 22:00:40
|
Hi all. I've been playing with Hypercontent a bit and am curious to know how many sites are using it production at this point. Thanks. Susan |
From: Carl B. <C.P...@hu...> - 2004-10-19 07:50:06
|
Hi Alex, Thanks very much! It's sometimes the smallest things that you miss. Carl Alex Vigdor wrote: > Hi Carl, > Well, the error message indicates that it is a problem with the > configured path. After you configured it with the absolute path, did > you restart the portal server? > > Alex > > On Oct 18, 2004, at 11:16 AM, Carl Barrow wrote: > >> Didn't paste the full log output in before, sorry. >> >> ERROR [tcpConnection-6502-1] root.[] Oct/18 16:03:46 - EXCEPTION: >> edu.columbia.filesystem.FileSystemException: The filesystem could >> not mounted due to faulty arguments - please check your configuration >> edu.columbia.filesystem.FileSystemException: The filesystem could >> not mounted due to faulty arguments - please check your configuration >> at >> edu.columbia.filesystem.impl.LocalNonEditioningFileSystemImpl.mount(Loc >> alNonEditioningFileSystemImpl.java:73) >> at >> edu.columbia.filesystem.FileSystemFactory.mountFileSystemManager(FileSy >> stemFactory.java:130) >> at >> edu.columbia.hypercontent.Project.getRepositoryManager(Project.java: >> 1215) >> at >> edu.columbia.hypercontent.ProjectFactory.getProjectKeys(ProjectFactory. >> java:72) >> at >> edu.columbia.hypercontent.contentmanager.CMModel.getProjectListings(CMM >> odel.java:81) >> at >> edu.columbia.hypercontent.contentmanager.CContentManager.setStaticData( >> CContentManager.java:120) >> >> >> Thanks >> Carl >> >> -- >> ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IT Product Guide on >> ITManagersJournal >> Use IT products in your business? Tell us what you think of them. >> Give us >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find >> out more >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2004-10-18 16:06:13
|
Hi Carl, Well, the error message indicates that it is a problem with the configured path. After you configured it with the absolute path, did you restart the portal server? Alex On Oct 18, 2004, at 11:16 AM, Carl Barrow wrote: > Didn't paste the full log output in before, sorry. > > ERROR [tcpConnection-6502-1] root.[] Oct/18 16:03:46 - EXCEPTION: > edu.columbia.filesystem.FileSystemException: The filesystem could not > mounted due to faulty arguments - please check your configuration > edu.columbia.filesystem.FileSystemException: The filesystem could not > mounted due to faulty arguments - please check your configuration > at > edu.columbia.filesystem.impl.LocalNonEditioningFileSystemImpl.mount(Loc > alNonEditioningFileSystemImpl.java:73) > at > edu.columbia.filesystem.FileSystemFactory.mountFileSystemManager(FileSy > stemFactory.java:130) > at > edu.columbia.hypercontent.Project.getRepositoryManager(Project.java: > 1215) > at > edu.columbia.hypercontent.ProjectFactory.getProjectKeys(ProjectFactory. > java:72) > at > edu.columbia.hypercontent.contentmanager.CMModel.getProjectListings(CMM > odel.java:81) > at > edu.columbia.hypercontent.contentmanager.CContentManager.setStaticData( > CContentManager.java:120) > > > Thanks > Carl > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > |
From: Carl B. <C.P...@hu...> - 2004-10-18 15:14:31
|
Didn't paste the full log output in before, sorry. ERROR [tcpConnection-6502-1] root.[] Oct/18 16:03:46 - EXCEPTION: edu.columbia.filesystem.FileSystemException: The filesystem could not mounted due to faulty arguments - please check your configuration edu.columbia.filesystem.FileSystemException: The filesystem could not mounted due to faulty arguments - please check your configuration at edu.columbia.filesystem.impl.LocalNonEditioningFileSystemImpl.mount(LocalNonEditioningFileSystemImpl.java:73) at edu.columbia.filesystem.FileSystemFactory.mountFileSystemManager(FileSystemFactory.java:130) at edu.columbia.hypercontent.Project.getRepositoryManager(Project.java:1215) at edu.columbia.hypercontent.ProjectFactory.getProjectKeys(ProjectFactory.java:72) at edu.columbia.hypercontent.contentmanager.CMModel.getProjectListings(CMModel.java:81) at edu.columbia.hypercontent.contentmanager.CContentManager.setStaticData(CContentManager.java:120) Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |