hypercontent-users Mailing List for HyperContent (Page 28)
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...> - 2005-05-25 16:07:14
|
Hi Mike, You should make sure that you copied over all the files in =20 WEB-INF/lib: the index and login screens are rendered using XSL, which =20= appears to be working, but the error makes it look like a Velocity =20 dependency is missing, which would break most of the management screens =20= that use velocity. Reading up on velocity dependencies, it seems it =20 might also be dependent on commons-collections.jar, which is in the =20 tomcat-lib directory in the HyperContent distribution. Try copying =20 that over to WEB-INF/lib and let me know if that works. Alex On May 18, 2005, at 10:49 AM, Mike B wrote: > Using: > tomcat 5.0 > jdk1.4.2_08 > > I followed Alex's instructions in the readme and set the absolute path > for the bootstrap and sample project repository. I also changed the > baseurl in hypercontent.properties file to be > http://localhost:8080/hypercontent to match it's location in tomcat's > webapps directory. > > After I start tomcat hypercontent appears to be running fine. I can > see the index page and list of mounted projects. Once I log in though, > I get nothing but blank screens and errors in hypercontent.log. I've > looked for other path settings that I may have overlooked but haven't > found any. Here's some of the output from hypercontent.log. > > Thanks > Mike > > DEBUG 2005-05-18 10:39:02,407 Redirected / to > http://134.53.131.123:8080/hypercontent/?mode=3Dinteractive > ERROR 2005-05-18 10:39:02,416 Servlet.service() for servlet > HyperContent threw exception > java.lang.NoClassDefFoundError > at org.apache.velocity.app.Velocity.init(Velocity.java:106) > at =20 > org.hypercontent.util.velocity.Configure.go(Configure.java:25) > at =20 > = org.hypercontent.project.engine.stage.VelocityStage.process(VelocitySta=20= > ge.java:69) > at =20 > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:299) > at =20 > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:273) > at org.hypercontent.project.Project.getAsset(Project.java:523) > at =20 > org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) > at =20 > org.hypercontent.server.ContentServer.service(ContentServer.java:415) > at =20 > = org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.ja=20= > va:104) > at = javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at = javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at =20 > = org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic=20= > ationFilterChain.java:252) > at =20 > = org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil=20= > terChain.java:173) > at =20 > = org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal=20= > ve.java:213) > at =20 > = org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal=20= > ve.java:178) > at =20 > = org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav=20= > a:126) > at =20 > = org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav=20= > a:105) > at =20 > = org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve=20= > .java:107) > at =20 > = org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:=20= > 148) > at =20 > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:=20= > 856) > at =20 > = org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process=20= > Connection(Http11Protocol.java:744) > at =20 > = org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin=20= > t.java:527) > at =20 > = org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollo=20= > werWorkerThread.java:80) > at =20 > = org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo=20= > l.java:684) > at java.lang.Thread.run(Thread.java:534) > DEBUG 2005-05-18 10:39:09,350 FSMountList Adding mount at / > ERROR 2005-05-18 10:39:09,351 > org.hypercontent.filesystem.FileSystemException: The filesystem could > not mounted due to faulty arguments - please check your configuration > at =20 > = org.hypercontent.filesystem.impl.LocalNonEditioningFileSystemImpl.mount=20= > (LocalNonEditioningFileSystemImpl.java:121) > at =20 > = org.hypercontent.filesystem.FileSystemFactory.mountFileSystemManager(Fi=20= > leSystemFactory.java:155) > at =20 > org.hypercontent.filesystem.FSMount.getManager(FSMount.java:75) > at org.hypercontent.project.Project.<init>(Project.java:354) > at =20 > org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.java:=20= > 84) > at =20 > = org.hypercontent.project.ProjectFactory.getProjectKeys(ProjectFactory.j=20= > ava:168) > at =20 > org.hypercontent.workflow.thread.BatchMonitor.run(BatchMonitor.java:=20= > 69) > at java.lang.Thread.run(Thread.java:534) > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_idt12&alloc_id=16344&op=CCk > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2005-05-25 15:52:18
|
Hi Carl (and everybody), I'm back . . . tanner than I've been in a decade and feeling relaxed, though it is cold and rainy here in New York. It sounds to me like the file "WEB-INF/classes/properties/FileSystemConfig.xml" is missing under the uPortal webapp. You should also make sure you've copied over the files in "WEB-INF/classes/properties/hypercontent". -Alex On May 25, 2005, at 6:30 AM, Carl Barrow wrote: > Hi > > I've moved everything over to the live server and added the > HyperContent channel which goes in fine. I just get 'You are not > authorized to view any configured projects' in the channel. The > repositories are in the correct place so I can't figure out why this > is happening. I get the following error in the log file. > > May/25 09:56:46 - Could not load project listings > ERROR [tcpConnection-6502-1] root.[] May/25 09:56:46 - EXCEPTION: > edu.columbia.filesystem.FileSystemException: A configuration error > made it impossible to fulfil this request; InputStream cannot be null > A configuration error made it impossible to fulfil this request > Recorded Exception: > java.lang.IllegalArgumentException: InputStream cannot be null > at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:72) > at > edu.columbia.filesystem.FileSystemFactory.init(FileSystemFactory.java: > 53) > at > edu.columbia.filesystem.FileSystemFactory.instance(FileSystemFactory.ja > va:115) > at > edu.columbia.filesystem.FileSystemFactory.getFileSystemType(FileSystemF > actory.java:168) > at > edu.columbia.filesystem.FileSystemFactory.getFileSystem(FileSystemFacto > ry.java:83) > at > edu.columbia.hypercontent.Project.getFileSystemFromElement(Project.java > :225) > at > edu.columbia.hypercontent.Project.initFileSystems(Project.java:215) > at edu.columbia.hypercontent.Project.<init>(Project.java:183) > at > edu.columbia.hypercontent.ProjectFactory.load(ProjectFactory.java:52) > at > edu.columbia.hypercontent.ProjectFactory.<init>(ProjectFactory.java: > 47) > at > edu.columbia.hypercontent.ProjectFactory.instance(ProjectFactory.java: > 64) > 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) > Has anyone go any idea what might be happening? > > Many thanks > Carl > > > Alex Vigdor wrote: > >> Hi Carl, >> The two things to make doubly sure of when you're moving the >> files are paths and permissions; if the files will be moving to >> different directories on the production server, you may need to >> adjust the paths in your project definitions. If you can keep all >> the paths the same, that won't be an issue. With permissions, you >> need to be certain that the UID under which the portal runs will have >> full read/write access to the repository files, and that the process >> has the appropriate umask for creating new files with the right >> permissions. >> As I have mentioned before, it's worth considering hosting the >> repositories on a file server - if you have more than one portal >> server, this is an especially good idea, so each server has the same >> repository filesystem mounted. If you've just got one production >> portal server, you can get by with using its internal disk, just make >> sure you back it up regularly. >> Those caveats aside, tarring up the files and moving them over >> seems like a fine approach. Good luck! >> >> Alex >> >> On May 5, 2005, at 10:40 AM, Carl Barrow wrote: >> >>> Hi Alex >>> >>> Sorry for all the questions...... >>> >>> Now breadcrumbs are working I need to move HyperContent over to the >>> live portal ready for the full role out. I'm using it to manage >>> twelve live sites and a number of others in testing. In your >>> opinion what is the best procedure to move everything over from my >>> test portal to the live University Portal on a different server. >>> Should I just deploy HyperContent on the live portal and then tar up >>> all the repositories on the test server and move them over? Do you >>> foresee any difficulties with the move? >>> >>> 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: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great >>> events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play >>> to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> 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 Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-05-25 10:24:24
|
Hi I've moved everything over to the live server and added the HyperContent channel which goes in fine. I just get 'You are not authorized to view any configured projects' in the channel. The repositories are in the correct place so I can't figure out why this is happening. I get the following error in the log file. May/25 09:56:46 - Could not load project listings ERROR [tcpConnection-6502-1] root.[] May/25 09:56:46 - EXCEPTION: edu.columbia.filesystem.FileSystemException: A configuration error made it impossible to fulfil this request; InputStream cannot be null A configuration error made it impossible to fulfil this request Recorded Exception: java.lang.IllegalArgumentException: InputStream cannot be null at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:72) at edu.columbia.filesystem.FileSystemFactory.init(FileSystemFactory.java:53) at edu.columbia.filesystem.FileSystemFactory.instance(FileSystemFactory.java:115) at edu.columbia.filesystem.FileSystemFactory.getFileSystemType(FileSystemFactory.java:168) at edu.columbia.filesystem.FileSystemFactory.getFileSystem(FileSystemFactory.java:83) at edu.columbia.hypercontent.Project.getFileSystemFromElement(Project.java:225) at edu.columbia.hypercontent.Project.initFileSystems(Project.java:215) at edu.columbia.hypercontent.Project.<init>(Project.java:183) at edu.columbia.hypercontent.ProjectFactory.load(ProjectFactory.java:52) at edu.columbia.hypercontent.ProjectFactory.<init>(ProjectFactory.java:47) at edu.columbia.hypercontent.ProjectFactory.instance(ProjectFactory.java:64) 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) Has anyone go any idea what might be happening? Many thanks Carl Alex Vigdor wrote: > Hi Carl, > The two things to make doubly sure of when you're moving the files > are paths and permissions; if the files will be moving to different > directories on the production server, you may need to adjust the paths > in your project definitions. If you can keep all the paths the same, > that won't be an issue. With permissions, you need to be certain that > the UID under which the portal runs will have full read/write access > to the repository files, and that the process has the appropriate > umask for creating new files with the right permissions. > As I have mentioned before, it's worth considering hosting the > repositories on a file server - if you have more than one portal > server, this is an especially good idea, so each server has the same > repository filesystem mounted. If you've just got one production > portal server, you can get by with using its internal disk, just make > sure you back it up regularly. > Those caveats aside, tarring up the files and moving them over > seems like a fine approach. Good luck! > > Alex > > On May 5, 2005, at 10:40 AM, Carl Barrow wrote: > >> Hi Alex >> >> Sorry for all the questions...... >> >> Now breadcrumbs are working I need to move HyperContent over to the >> live portal ready for the full role out. I'm using it to manage >> twelve live sites and a number of others in testing. In your opinion >> what is the best procedure to move everything over from my test >> portal to the live University Portal on a different server. Should I >> just deploy HyperContent on the live portal and then tar up all the >> repositories on the test server and move them over? Do you foresee >> any difficulties with the move? >> >> 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: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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: <ls...@sc...> - 2005-05-19 04:45:04
|
DQpZZXN0ZXJkYXkgSSB0cmllZCB0aGUgYmV0YSB2ZXNpb24gb24gd2luWFAsamRrMS40LjJfMDcu SXQgc2VlbXMgdGhhdCBzb21lIGJ1Z3Mgc3RpbGwgZXhzaXN0cyBjb21wYXJlZCB0byB0aGUgdmVy c2lvbiBjaGVja2VkIG91dCBmcm9tIENWUy5UaGV5IGFyZToNCg0KMS5XaGVuIEkgY3JlYXRlIGEg bmV3IHByb2plY3QgLGl0IGRvZXNuJ3Qgd29yayBhcyBpdCBpcyBzYWlkIGluIEh5cGVyQ29udGVu dCAyIEJldGEgUkVBRCBNRSB0aGF0DQoiVXNlIHRoZSBVUkwgd2l0aCB0aGUgbW91bnRwb2ludCBh cyBqdXN0IGRlc2NyaWJlZCB0byBlbnRlciB5b3VyIHByb2plY3QgcmVwb3NpdG9yeTsgeW91IG1h eQ0KaW5pdGlhbGx5IGdldCBhICJmaWxlIG5vdCBmb3VuZCIgZXJyb3Igd2hlbiB5b3UgdHJ5IHRv IGFjY2VzcyBpdC4gIFdhaXQgYWJvdXQgMTAgc2Vjb25kcyBhbmQgdHJ5IGFnYWluIC0gdGhlIHN5 c3RlbSBvbmx5IGNoZWNrcyBmb3IgbmV3IHByb2plY3RzIGV2ZXJ5IDEwIHNlY29uZHMuIg0KSSBo YWQgdG8gcmVzdGFydCB0b21jYXQgc28gdGhhdCBpIGNvdWxkIGVudGVyIG15IG5ldyBwcm9qZWN0 LkkgZm91bmQgdGhhdCBhZnRlciBjcmVhdGVkIHRoZSBuZXcgcHJvamVjdCxubyBkaXJlY3Rvcmll cyBvciBmaWxlcyB3ZXJlIGNyZWF0ZWQgYnkgSHlwZXJjb250ZW50MiBpbiB3aGVyZSB0aGUgcmVw b3NpdG9yeSBzaG91bGQgYmUuIEJUVywgc2hvdWxkIEkgIGNyZWF0ZSB0aGUgcHJvamVjdCByZXBv c2l0b3J5IGRpcmVjdG9yeSBieSBteXNlbGYgPw0KDQoyLkkgY29uZmlndXJlIHRoZSBwcm9qZWN0 LWRlZmluaXRpb24ueG1sIGJ5IHRoZSBwcm9qZWN0IGRlZmluaXRpb24geG1sIGZpbGUgb2YgYSAx LjMgcHJvamVjdC5UaGUgdXJsIHBhdHRlcm4gc3VjaCBhcyAvbmV3cy8qL2luZGV4LnhtbCwvbmV3 cy8qL2RldGFpbHMvKiAuLiBkb2Vzbid0IHdvcmsuVGhhdCBtZWFucyBJIGNhbid0IGNyZWF0ZSBm aWxlcyBieSB1c2luZyB0aGUgcHVsbCBkb3duIG1lbnVzIGZvciBhZGRpbmcgY29udGVudC5CdXQg dGhlIHBhdHRlcm4gc3VjaCBhcyAvaW1hZ2VzLyogZG9lcyB3b3JrLg0KDQozLkF0IHRoZSB0aW1l IEkgd2FzIGNyZWF0aW5nIHRoZSBuZXcgcHJvamVjdCAsSSBuYW1lZCB0aGUgcHJvamVjdCAibHN1 biIgYW5kIG1vdW50ZWQgaXQgdG8gIi9sc3VuLyJhbmQgaHlwZXJjb250ZW50MiBhdXRvbWF0aWNh bGx5IGNyZWF0ZWQgdGhlIGRpcmVjdG9yeSAibHN1biIgdW5kZXIgL3Byb2plY3RzLyBhbmQgdGhl biBpIHdhcyBpbiB0aGUgcGF0aCAvcHJvamVjdHMvbHN1bi8gYXMgaXQgd2FzIHNob3duIG9uIHRo ZSB0b3Agb2YgdGhlIG91dGVyIGZyYW1lLkJ1dCB3aGVuIHJldHVybmVkIHRvIC9wcm9qZWN0cy8s SSBjYW4ndCBzZWUgdGhlIGRpcmVjdG9yeSAibHN1biIgaW4gdGhlIGxpc3QgdW50aWwgaSByZXN0 YXJ0ZWQgdG9tY2F0LiBUaGlzIHByb2JsZW0gYWxzbyBvY2N1ciB3aGVuIGkgY3JlYXRlICBmaWxl cyBpbiB0aGUgdXJsIHBhdHRlcm4gc3VjaCBhcyAvaW1hZ2VzLyogZm9yIHRoaXMgbmV3IHByb2pl Y3QuSSBjYW4ndCBzZWUgdGhlICJpbWFnZXMiIGRpciBvciBpdHMgZmlsZXMgaW4gdGhlIGxpc3Qg dW50aWwgaSByZXN0YXJ0IHRvbWNhdC4NCg0KNC53aGVuIEkgdXBsb2FkZWQgdGhlIHppcCBmaWxl IG9mIHRoZSAxLjMgcHJvamVjdCBpbiB0aGUgd29ya2Zsb3cgKGluIC9sc3VuLyksaSBtZXQgYW4g ZXhjZXB0aW9uIHdoaWNoIHdhcyA6DQogICAgIFtqYXZhXSBVcGxvYWQgb3JnLmh5cGVyY29udGVu dC5zZXJ2bGV0LkZpbGVVcGxvYWQNCiAgICAgW2phdmFdIEVSUk9SIFtGaWxlSGFuZGxlT3V0cHV0 U3RyZWFtIHBvb2w3XSAoTG9nZ2VyLmphdmE6MzUpIC0NCiAgICAgW2phdmFdIG9yZy5oeXBlcmNv bnRlbnQuZmlsZXN5c3RlbS5GaWxlU3lzdGVtRXhjZXB0aW9uOiBUaGUgcmVxdWVzdGVkIGRpcmVj DQp0b3J5IHdhcyBub3QgZm91bmQ6IC93b3JrZmxvdy1kYXRhL3VwbG9hZC9nNkxCN2ZjMXpUL0Q6 XGVjbGlwc193b3Jrc3BhY2VcQ01TXHNpdA0KZXNcc2NuXHNjbl9jb21pYy56aXANCiAgICAgW2ph dmFdICAgICBhdCBvcmcuaHlwZXJjb250ZW50LmZpbGVzeXN0ZW0uaW1wbC5Mb2NhbEVkaXRpb25p bmdGaWxlU3lzdGVtSW1wDQpsLm5ld0ZpbGUoTG9jYWxFZGl0aW9uaW5nRmlsZVN5c3RlbUltcGwu amF2YTo4MikNCiAgICAgW2phdmFdICAgICBhdCBvcmcuaHlwZXJjb250ZW50LmZpbGVzeXN0ZW0u RmlsZUhhbmRsZS5jcmVhdGUoRmlsZUhhbmRsZS5qYXZhDQo6MjQ3KQ0KICAgICBbamF2YV0gICAg IGF0IG9yZy5oeXBlcmNvbnRlbnQuZmlsZXN5c3RlbS5GaWxlSGFuZGxlT3V0cHV0U3RyZWFtJFdv cmsucnVuKEYNCmlsZUhhbmRsZU91dHB1dFN0cmVhbS5qYXZhOjc5KQ0KICAgICBbamF2YV0gICAg IGF0IG9yZy5oeXBlcmNvbnRlbnQudXRpbC5SdW5uYWJsZVF1ZXVlVGhyZWFkLnJ1bihSdW5uYWJs ZVF1ZXVlVGgNCnJlYWQuamF2YTozMCkNCg0KDQo= |
From: Mike B <mbe...@gm...> - 2005-05-18 14:50:07
|
Using: tomcat 5.0 jdk1.4.2_08 I followed Alex's instructions in the readme and set the absolute path for the bootstrap and sample project repository. I also changed the baseurl in hypercontent.properties file to be http://localhost:8080/hypercontent to match it's location in tomcat's webapps directory. After I start tomcat hypercontent appears to be running fine. I can see the index page and list of mounted projects. Once I log in though, I get nothing but blank screens and errors in hypercontent.log. I've looked for other path settings that I may have overlooked but haven't found any. Here's some of the output from hypercontent.log. Thanks Mike DEBUG 2005-05-18 10:39:02,407 Redirected / to http://134.53.131.123:8080/hypercontent/?mode=3Dinteractive ERROR 2005-05-18 10:39:02,416 Servlet.service() for servlet HyperContent threw exception java.lang.NoClassDefFoundError at org.apache.velocity.app.Velocity.init(Velocity.java:106) at org.hypercontent.util.velocity.Configure.go(Configure.java:25) at org.hypercontent.project.engine.stage.VelocityStage.process(Velo= cityStage.java:69) at org.hypercontent.project.engine.Pipeline.process(Pipeline.java:2= 99) at org.hypercontent.project.engine.Pipeline.process(Pipeline.java:2= 73) at org.hypercontent.project.Project.getAsset(Project.java:523) at org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java= :150) at org.hypercontent.server.ContentServer.service(ContentServer.java= :415) at org.hypercontent.servlet.CompositionServlet.doGet(CompositionSer= vlet.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:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applica= tionFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWra= pperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardCon= textValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostVa= lve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVa= lve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngi= neValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapte= r.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor= .java:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.= processConnection(Http11Protocol.java:744) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcp= Endpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(Lead= erFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Th= readPool.java:684) at java.lang.Thread.run(Thread.java:534) DEBUG 2005-05-18 10:39:09,350 FSMountList Adding mount at / ERROR 2005-05-18 10:39:09,351 =20 org.hypercontent.filesystem.FileSystemException: The filesystem could not mounted due to faulty arguments - please check your configuration at org.hypercontent.filesystem.impl.LocalNonEditioningFileSystemImp= l.mount(LocalNonEditioningFileSystemImpl.java:121) at org.hypercontent.filesystem.FileSystemFactory.mountFileSystemMan= ager(FileSystemFactory.java:155) at org.hypercontent.filesystem.FSMount.getManager(FSMount.java:75) at org.hypercontent.project.Project.<init>(Project.java:354) at org.hypercontent.project.ProjectFactory.refresh(ProjectFactory.j= ava:84) at org.hypercontent.project.ProjectFactory.getProjectKeys(ProjectFa= ctory.java:168) at org.hypercontent.workflow.thread.BatchMonitor.run(BatchMonitor.j= ava:69) at java.lang.Thread.run(Thread.java:534) |
From: <ls...@sc...> - 2005-05-18 10:07:45
|
DQo= |
From: Carl B. <C.P...@hu...> - 2005-05-17 09:35:52
|
Thanks very much! I've been eager to take a look for a while :) I've set it up standalone outside uPortal for now and I've had a play. Initial thoughts are good! A couple of comments straight off... The directory structure isn't collapsible as before. I know the users here did like being able to see the full structure. The users here will really welcome the ability navigate though the actual website as they would normally and then click edit on the required page. I've not had proper look, at how it works but the workflow looks like it would be well received by users here. I'll have a go at migrating a project from 1.4 and let you know how that goes...... Have a good vacation!!! Cheers Carl Alex Vigdor wrote: > Hello all, > I'm happy to announce that the HyperContent 2.0 beta release is > now available from > > https://sourceforge.net/project/showfiles.php?group_id=101745 > > This distribution has been successfully tested under Windows and Mac > OS X; the code has also been tested on Tomcat 4.1.x under Solaris with > an Apache front end and NFS mounted filesystems (our production > setup). JDK 1.4.2 and Ant are required; JDK 1.5 has not been tested. > An embedded version of Tomcat 5 is included, but not required. The > included READ ME has installation instructions, as well as > instructions on how to migrate an existing 1.x project into 2.0 (about > a 10 minute process, not including manual re-entry of groups and > permissions!). Firefox is the recommended browser for using this > release; IE will work fine, but there area a couple cosmetic glitches > I didn't catch in time. > > I must apologize in advance to those of you eager to get started with > 2.0; I happen to be leaving for a one week vacation to remote and > tropical areas (i.e. no internet access) early Wednesday morning, so > you have a little over 24 hours to ask me questions before I > disappear. Hopefully you will be able to spend that week exploring > the system, and of course I'd encourage you to help each other out on > this list. > > Most of the known issues with this release are cosmetic and/or related > to localization support (or the lack thereof); the underlying web > serving, workflow and batch processing engines are quite stable and > have been optimized for performance. The rendering pipelines and > build/publish are 100% backwards compatible with existing 1.4 project > configurations and data. The editors are exactly the same in both > functionality and appearance to their 1.4 counterparts, with the > exception of DTD parsing and prediction improvements for the XML > editor, which make it possible to work with DocBook DTDs, among > others. The only 1.4 features that aren't yet present are copy/move > files, rebuild search index, and the Build Options editor. The latter > will not be brought forward, barring public outcry - it will > eventually be superseded by a capacity for inline XML includes (post > 2.0). Copy/move files and rebuild search index will be added in time > for the final release, and hopefully a scheduling component for the > workflow engine will be added as well. Target date for the final > release is next month. > > Q. If so much of version 2.0 is identical to 1.4, what's so great > about it? > A. Lots! > - standalone operation as a java web application (not just a portal > channel any more) > - built-in web server and workflow engine > - integration with external authentication, LDAP, web and file > servers > - redesigned GUI allows users to navigate the output web site > to get around inside the system > - support for multiple open files > - persistent user history tracks recently viewed and saved files > - management screens are themselves subject to content > management, and can be overridden or extended by any project > - batch processing that can split large asynchronous jobs across > a pool of servers > - support for binary data processing pipelines (e.g. image > thumbnails) > - support for ** directory patterns in xml & resource definitions > (e.g. /**/*.jpg = allow jpg files anywhere) > > And now a quick word on workflow, which is the major feature everyone > has been waiting for. The workflow engine is script-driven, and every > project can have its own set of custom workflow scripts; by default, > new projects get copies of the scripts installed in the bootstrap > project. The bundled scripts right now allow > > - non-approving authors to request approval of changes > - approving users to request changes from a member of the authors > group > - upload and download zips > - build & publish (individual files or whole site) > - watch files (receive notification of changes) > > Any work generated in a workflow is kept around as long as it is > "enqueued" somewhere, which means you can keep a history of your > builds, publications, uploaded and downloaded zips, etc. Right now you > can manually delete the work records any time after they are complete, > and when the scheduling component is ready you will be able to > configure self-deletion after a specified amount of time. > > Email notifications require you to configure a valid SMTP server in > the hypercontent.properties file, and you must add valid e-mail > addresses for users in their VCard files (these are linked from the > user's name when logged in). When integrated with your campus > authentication and LDAP, HyperContent can automatically construct a > VCard for each user on first login, including email address, that will > be used to support workflow. When I return from vacation, I'll be > happy to give people some guidance on this integration; for the > adventurous, JAAS is used for pluggable authentication, and the LDAP > to VCard configuration file is the same as in version 1.4, so go for it. > > Good luck to everyone, I look forward to hearing your feedback. > > Cheers, > Alex > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > 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...> - 2005-05-16 22:18:44
|
Hello all, I'm happy to announce that the HyperContent 2.0 beta release is now available from https://sourceforge.net/project/showfiles.php?group_id=101745 This distribution has been successfully tested under Windows and Mac OS X; the code has also been tested on Tomcat 4.1.x under Solaris with an Apache front end and NFS mounted filesystems (our production setup). JDK 1.4.2 and Ant are required; JDK 1.5 has not been tested. An embedded version of Tomcat 5 is included, but not required. The included READ ME has installation instructions, as well as instructions on how to migrate an existing 1.x project into 2.0 (about a 10 minute process, not including manual re-entry of groups and permissions!). Firefox is the recommended browser for using this release; IE will work fine, but there area a couple cosmetic glitches I didn't catch in time. I must apologize in advance to those of you eager to get started with 2.0; I happen to be leaving for a one week vacation to remote and tropical areas (i.e. no internet access) early Wednesday morning, so you have a little over 24 hours to ask me questions before I disappear. Hopefully you will be able to spend that week exploring the system, and of course I'd encourage you to help each other out on this list. Most of the known issues with this release are cosmetic and/or related to localization support (or the lack thereof); the underlying web serving, workflow and batch processing engines are quite stable and have been optimized for performance. The rendering pipelines and build/publish are 100% backwards compatible with existing 1.4 project configurations and data. The editors are exactly the same in both functionality and appearance to their 1.4 counterparts, with the exception of DTD parsing and prediction improvements for the XML editor, which make it possible to work with DocBook DTDs, among others. The only 1.4 features that aren't yet present are copy/move files, rebuild search index, and the Build Options editor. The latter will not be brought forward, barring public outcry - it will eventually be superseded by a capacity for inline XML includes (post 2.0). Copy/move files and rebuild search index will be added in time for the final release, and hopefully a scheduling component for the workflow engine will be added as well. Target date for the final release is next month. Q. If so much of version 2.0 is identical to 1.4, what's so great about it? A. Lots! - standalone operation as a java web application (not just a portal channel any more) - built-in web server and workflow engine - integration with external authentication, LDAP, web and file servers - redesigned GUI allows users to navigate the output web site to get around inside the system - support for multiple open files - persistent user history tracks recently viewed and saved files - management screens are themselves subject to content management, and can be overridden or extended by any project - batch processing that can split large asynchronous jobs across a pool of servers - support for binary data processing pipelines (e.g. image thumbnails) - support for ** directory patterns in xml & resource definitions (e.g. /**/*.jpg = allow jpg files anywhere) And now a quick word on workflow, which is the major feature everyone has been waiting for. The workflow engine is script-driven, and every project can have its own set of custom workflow scripts; by default, new projects get copies of the scripts installed in the bootstrap project. The bundled scripts right now allow - non-approving authors to request approval of changes - approving users to request changes from a member of the authors group - upload and download zips - build & publish (individual files or whole site) - watch files (receive notification of changes) Any work generated in a workflow is kept around as long as it is "enqueued" somewhere, which means you can keep a history of your builds, publications, uploaded and downloaded zips, etc. Right now you can manually delete the work records any time after they are complete, and when the scheduling component is ready you will be able to configure self-deletion after a specified amount of time. Email notifications require you to configure a valid SMTP server in the hypercontent.properties file, and you must add valid e-mail addresses for users in their VCard files (these are linked from the user's name when logged in). When integrated with your campus authentication and LDAP, HyperContent can automatically construct a VCard for each user on first login, including email address, that will be used to support workflow. When I return from vacation, I'll be happy to give people some guidance on this integration; for the adventurous, JAAS is used for pluggable authentication, and the LDAP to VCard configuration file is the same as in version 1.4, so go for it. Good luck to everyone, I look forward to hearing your feedback. Cheers, Alex |
From: Alex V. <av...@co...> - 2005-05-13 18:55:13
|
Philip, That is an interesting question, interesting enough that I've = spent =20 several hours today working on it, instead of finishing the packaging =20= of the 2.0 beta ;-) The DTD parser that sits behind the XML editor =20 hasn't been touched much since I first wrote it 3 years ago; it works =20= fine for simple DTDs, but lacked support for public identifiers, =20 NMTOKENS, and had a couple little bugs that showed up trying to parse =20= the docbook dtd (which has some very messy formatting in parts). So =20 after some coding, and installing local copies of the docbook DTDs and =20= wiring in the docbook XML catalog, it works. However, it takes almost =20= 2 minutes to parse the DTD, because it has to load all those modules =20 and replace many thousands of entities that are there to make it =20 possible for the same DTD to support SGML and XML. The good news is it takes only about 5 seconds to parse the Simplified =20= DocBook DTD: http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd All that said, there are some good reasons to consider alternatives to =20= Docbook for building documentation in HyperContent. Building one giant =20= DocBook document can become unwieldy in the XML editor (though that =20 might improve with a post-2.0 redesign of that editor), and more =20 importantly doesn't leave you any way to break the document down into a =20= set of say hundreds of hyperlinked web pages. The sample project in =20 hypercontent shows an alternative approach, where you store each =20 division, chapter, etc. in a separate XML file, which are then all =20 bundled together to generate one giant PDF, but are also published =20 separately as interlinked HTML pages. This approach also has the =20 advantage that, since permissions and locking are done at the level of =20= individual files, you can assign different permissions on different =20 sections of the documentation, and allow different users to be =20 simultaneously working on different sections of the documentation. If =20= you still need DocBook format to feed into another system, you could =20 create a form of output which would bundle all the files together and =20= transform them into a single DocBook XML document. Anyhow, the beta won't be out today now, but I'll try to wrap it up =20 this weekend, and you will at least have the option of using DocBook at =20= that point. -Alex On May 13, 2005, at 8:49 AM, Philip Rinehart wrote: > Great, fixed that problem. Now, to the more interesting question. For =20= > our initial project, we wanted to use the docbook =20 > dtd,=A0http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd. = However, =20 > it uses modules. Here's the question, I can upload the docbook.dtd =20 > file into the repository, it now sees it, but now throws errors =20 > because it doesn't know where the .mod files are. If I specify the =20 > oasis URL above, it causes the channel to time out, and I get nowhere. = =20 > How would I go about using the docbook dtd, and have it find the =20 > included modules from the dtd? > > Philip > > On May 12, 2005, at 9:52 PM, Alex Vigdor wrote: > >> Philip, >> =A0 Based on the error, it looks like the system was trying to = resolve =20 >> the dtd location as a relative path - by default, it will try and =20 >> resolve relative paths to the working directory, which is wherever =20= >> you started the JVM - in other words, the uPortal directory. This =20 >> means that the file you're editing still is missing the leading slash = =20 >> in its doctype - changing the doctype in the project definition does =20= >> not change the doctype of existing files, it only affects files =20 >> created after the change. >> =A0 You can either delete the file and recreate it, or download it = and =20 >> manually change the doctype to also add the leading slash (you would =20= >> need to enable the upload editor to upload your change). If you have =20= >> a number of files that need the change, you can use the download zip =20= >> function to download all the files to your local disk, where you can =20= >> use your favorite editor to do a global search and replace. Zip the =20= >> changes up and use upload zip to put them back in the repository. >> >> Alex >> >> On May 12, 2005, at 9:28 PM, Philip Rinehart wrote: >> >> >>> Thanks Alex, >>> >>> Tried that, didn't solve the problem. It seems as if what is =20 >>> happening is that the dtd reference is trying to refer to the root =20= >>> of the uPortal instance, *not* the dtd contained within the =20 >>> repository. Here's the snippet from the error log: >>> >>> org.jasig.portal.PortalException: PortalException has no ErrorID >>> =A0 at =20 >>> = edu.columbia.hypercontent.editors.EditorServant.setStaticData(EditorS=20 >>> ervant.java:90) >>> =A0 at =20 >>> = edu.columbia.hypercontent.contentmanager.commands.ChangeEditor.execut=20 >>> e(ChangeEditor.java:58) >>> =A0 at =20 >>> = edu.columbia.hypercontent.contentmanager.CContentManager.setRuntimeDa=20 >>> ta(CContentManager.java:192) >>> =A0 at =20 >>> = org.jasig.portal.MultithreadedChannelAdapter.setRuntimeData(Multithre=20 >>> adedChannelAdapter.java:61) >>> =A0 at =20 >>> org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:=20 >>> 417) >>> =A0 at org.jasig.portal.utils.threading.Worker.run(Worker.java:88) >>> Caused by: edu.columbia.hypercontent.CMSException: There was an =20 >>> error while processing this directive; =20 >>> /home/local/tomcat5_instances/dev/susan/dtd/docbook.dtd (No such =20 >>> file or directory) >>> =A0 at =20 >>> = edu.columbia.hypercontent.DocumentFactory.getDocumentFromStream(Docum=20 >>> entFactory.java:434) >>> =A0 at =20 >>> = edu.columbia.hypercontent.editors.xml.XmlEditor.startSession(XmlEdito=20 >>> r.java:66) >>> =A0 at =20 >>> = edu.columbia.hypercontent.editors.EditorServant.setStaticData(EditorS=20 >>> ervant.java:86) >>> =A0 ... 5 more >>> >>> >>> This directory: /home/local/tomcat5_instances/dev/susan is the root =20= >>> of the uPortal instance. Shouldn't it be referring to the dtd? >>> >>> Philip >>> >>> On May 12, 2005, at 4:08 PM, Alex Vigdor wrote: >>> >>> >>>> Hi Philip, >>>> =A0 My first suggestion is to add the leading "/" on the dtd =20 >>>> location: "/dtd/docbook.dtd". You can check the portal log for =20 >>>> stack traces, which are handy. What version of uPortal are you =20 >>>> running? A doctype does not need to have any forms of output =20 >>>> associated with it, and if there is an error parsing the DTD or XML = =20 >>>> it should display the parsing error. The root can be any element in = =20 >>>> your DTD. >>>> >>>> The sitemap is optional - it's just a specific XML document type =20= >>>> that the system applies special processing to before it's included, = =20 >>>> which you can use to set up templates for the site map or =20 >>>> navigation structures. You can have none of them, one of them, or =20= >>>> as many as you want. You can use your own custom includes & xslt to = =20 >>>> set up navigation structures, in fact that was the only way prior =20= >>>> to version 1.4. The navigation document type was specifically =20 >>>> designed to make it easy to do manual sorting of navigation =20 >>>> elements in the drag & drop navigation editor, as well as move the =20= >>>> logic of sorting and labeling navigation elements out of XSL. We =20= >>>> actually use this document type to manage pushed bookmarks channels = =20 >>>> at Columbia - it is displayed as a nested list of bookmarks, which =20= >>>> can be added, updated and re-ordered using the same navigation =20 >>>> editor by non-technical users. >>>> >>>> -Alex >>>> >>>> On May 12, 2005, at 2:49 PM, Philip Rinehart wrote: >>>> >>>> >>>> >>>>> I'm having a problem setting up the definition of a particular =20 >>>>> section of my test website. I've specified the dtd I want to use, =20= >>>>> which is in the repository, as well as the editor key. Here's what = =20 >>>>> the line looks like: >>>>> >>>>> =A0 <xml-doctype definition=3D"dtd/docbook.dtd" label=3D"First = Section" =20 >>>>> path=3D"/*/index.xml" root=3D"body"> >>>>> =A0 <editor key=3D"xml"/> >>>>> =A0 </xml-doctype> >>>>> >>>>> However, when I attempt to do anything to the index.xml file I end = =20 >>>>> up with the following error: >>>>> >>>>> Error performing changeEditor: PortalException has no ErrorID =20 >>>>> (org.jasig.portal.PortalException) >> >> >>>>> >>>>> >>>> >>>> >>>> >>>>> >>>>> >>>>> >>>>> It's not clear to me why this is happening. Should I be using a =20= >>>>> different root? does it have to have a transform associated with =20= >>>>> it? Everything else makes sense to me, and I've been able to get =20= >>>>> resource directories working without issue, etc. >>>>> >>>>> Also, does every hypercontent site need a sitemap, or can that be =20= >>>>> omitted? >>>>> >>>>> Philip >>>>> >>>>> Philip Rinehart >> >> >>>>> >>>>> >>>> >>>> >>>> >>>>> >>>>> Academic Media & Technology >> >> >>>>> >>>>> >>>> >>>> >>>> >>>>> >>>>> Cluster Support Services >> >> >>>>> >>>>> >>>> >>>> >>>> >>>>> >>>>> 203-432-6573 >> >> >>>>> >>>>> >>>> >>>> >>>> >>>>> >>>>> clu...@ya... >> >> >>>>> >>>>> >>>> >>>> >>>> >>>>> >>>>> phi...@ya... >> >> >>>>> >>>>> >>>> >>>> >>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>> >>> Philip Rinehart >> >> >>> >>> Academic Media & Technology >> >> >>> >>> Cluster Support Services >> >> >>> >>> 203-432-6573 >> >> >>> >>> clu...@ya... >> >> >>> >>> phi...@ya... >> >> >>> >>> >>> >>> > > Philip Rinehart > Academic Media & Technology > Cluster Support Services > 203-432-6573 > clu...@ya... > phi...@ya... > > > |
From: Alex V. <av...@co...> - 2005-05-13 14:28:34
|
Hi Carl, HyperContent 1.4 will consider anyone as an admin user who is in the Portal Administrators group, which is a special group of superusers who also have unlimited permissions in the groups and permissions managers. The portal quick-start "admin" user gains its special privileges thanks to membership in this group. In version 2.0, you can define administrators both globally and at the project level. Alex On May 13, 2005, at 4:29 AM, Carl Barrow wrote: > Hi Alex > > The live portal here has either 'staff' or 'studen't users so no one > is an 'admin' user as such. This usually works fine, if we want to > make major changes to the layout which we have locked down we take the > portal down for 30 mins, switch to simple security and update the > layouts there. As far as I can tell, HyperContent needs an admin > user who automatically sees everything and will set up security for a > site in the first instance. Is there anyway that HyperContent can > just go on a username or am I going to have to setup a new group of > users on the portal with admin rights? > > 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 Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Philip R. <phi...@ya...> - 2005-05-13 12:49:36
|
Great, fixed that problem. Now, to the more interesting question. For our initial project, we wanted to use the docbook dtd, http:// www.oasis-open.org/docbook/xml/4.4/docbookx.dtd. However, it uses modules. Here's the question, I can upload the docbook.dtd file into the repository, it now sees it, but now throws errors because it doesn't know where the .mod files are. If I specify the oasis URL above, it causes the channel to time out, and I get nowhere. How would I go about using the docbook dtd, and have it find the included modules from the dtd? Philip On May 12, 2005, at 9:52 PM, Alex Vigdor wrote: > Philip, > Based on the error, it looks like the system was trying to > resolve the dtd location as a relative path - by default, it will > try and resolve relative paths to the working directory, which is > wherever you started the JVM - in other words, the uPortal > directory. This means that the file you're editing still is missing > the leading slash in its doctype - changing the doctype in the > project definition does not change the doctype of existing files, > it only affects files created after the change. > You can either delete the file and recreate it, or download it > and manually change the doctype to also add the leading slash (you > would need to enable the upload editor to upload your change). If > you have a number of files that need the change, you can use the > download zip function to download all the files to your local disk, > where you can use your favorite editor to do a global search and > replace. Zip the changes up and use upload zip to put them back in > the repository. > > Alex > > On May 12, 2005, at 9:28 PM, Philip Rinehart wrote: > > >> Thanks Alex, >> >> Tried that, didn't solve the problem. It seems as if what is >> happening is that the dtd reference is trying to refer to the root >> of the uPortal instance, *not* the dtd contained within the >> repository. Here's the snippet from the error log: >> >> org.jasig.portal.PortalException: PortalException has no ErrorID >> at >> edu.columbia.hypercontent.editors.EditorServant.setStaticData >> (EditorServant.java:90) >> at >> edu.columbia.hypercontent.contentmanager.commands.ChangeEditor.execut >> e(ChangeEditor.java:58) >> at >> edu.columbia.hypercontent.contentmanager.CContentManager.setRuntimeDa >> ta(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) >> Caused by: edu.columbia.hypercontent.CMSException: There was an >> error while processing this directive; /home/local/ >> tomcat5_instances/dev/susan/dtd/docbook.dtd (No such file or >> directory) >> at >> edu.columbia.hypercontent.DocumentFactory.getDocumentFromStream >> (DocumentFactory.java:434) >> at >> edu.columbia.hypercontent.editors.xml.XmlEditor.startSession >> (XmlEditor.java:66) >> at >> edu.columbia.hypercontent.editors.EditorServant.setStaticData >> (EditorServant.java:86) >> ... 5 more >> >> >> This directory: /home/local/tomcat5_instances/dev/susan is the >> root of the uPortal instance. Shouldn't it be referring to the dtd? >> >> Philip >> >> On May 12, 2005, at 4:08 PM, Alex Vigdor wrote: >> >> >>> Hi Philip, >>> My first suggestion is to add the leading "/" on the dtd >>> location: "/dtd/docbook.dtd". You can check the portal log for >>> stack traces, which are handy. What version of uPortal are you >>> running? A doctype does not need to have any forms of output >>> associated with it, and if there is an error parsing the DTD or >>> XML it should display the parsing error. The root can be any >>> element in your DTD. >>> >>> The sitemap is optional - it's just a specific XML document type >>> that the system applies special processing to before it's >>> included, which you can use to set up templates for the site map >>> or navigation structures. You can have none of them, one of them, >>> or as many as you want. You can use your own custom includes & >>> xslt to set up navigation structures, in fact that was the only >>> way prior to version 1.4. The navigation document type was >>> specifically designed to make it easy to do manual sorting of >>> navigation elements in the drag & drop navigation editor, as well >>> as move the logic of sorting and labeling navigation elements out >>> of XSL. We actually use this document type to manage pushed >>> bookmarks channels at Columbia - it is displayed as a nested list >>> of bookmarks, which can be added, updated and re-ordered using >>> the same navigation editor by non-technical users. >>> >>> -Alex >>> >>> On May 12, 2005, at 2:49 PM, Philip Rinehart wrote: >>> >>> >>> >>>> I'm having a problem setting up the definition of a particular >>>> section of my test website. I've specified the dtd I want to >>>> use, which is in the repository, as well as the editor key. >>>> Here's what the line looks like: >>>> >>>> <xml-doctype definition="dtd/docbook.dtd" label="First >>>> Section" path="/*/index.xml" root="body"> >>>> <editor key="xml"/> >>>> </xml-doctype> >>>> >>>> However, when I attempt to do anything to the index.xml file I >>>> end up with the following error: >>>> >>>> Error performing changeEditor: PortalException has no ErrorID >>>> (org.jasig.portal.PortalException) > > >>>> >>>> >>> >>> >>> >>>> >>>> >>>> >>>> It's not clear to me why this is happening. Should I be using a >>>> different root? does it have to have a transform associated with >>>> it? Everything else makes sense to me, and I've been able to get >>>> resource directories working without issue, etc. >>>> >>>> Also, does every hypercontent site need a sitemap, or can that >>>> be omitted? >>>> >>>> Philip >>>> >>>> Philip Rinehart > > >>>> >>>> >>> >>> >>> >>>> >>>> Academic Media & Technology > > >>>> >>>> >>> >>> >>> >>>> >>>> Cluster Support Services > > >>>> >>>> >>> >>> >>> >>>> >>>> 203-432-6573 > > >>>> >>>> >>> >>> >>> >>>> >>>> clu...@ya... > > >>>> >>>> >>> >>> >>> >>>> >>>> phi...@ya... > > >>>> >>>> >>> >>> >>> >>>> >>>> >>>> >>>> >>>> >> >> Philip Rinehart > > >> >> Academic Media & Technology > > >> >> Cluster Support Services > > >> >> 203-432-6573 > > >> >> clu...@ya... > > >> >> phi...@ya... > > >> >> >> >> > Philip Rinehart Academic Media & Technology Cluster Support Services 203-432-6573 clu...@ya... phi...@ya... |
From: Carl B. <C.P...@hu...> - 2005-05-13 08:23:03
|
Hi Alex The live portal here has either 'staff' or 'studen't users so no one is an 'admin' user as such. This usually works fine, if we want to make major changes to the layout which we have locked down we take the portal down for 30 mins, switch to simple security and update the layouts there. As far as I can tell, HyperContent needs an admin user who automatically sees everything and will set up security for a site in the first instance. Is there anyway that HyperContent can just go on a username or am I going to have to setup a new group of users on the portal with admin rights? Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-05-13 01:52:18
|
Philip, Based on the error, it looks like the system was trying to = resolve the =20 dtd location as a relative path - by default, it will try and resolve =20= relative paths to the working directory, which is wherever you started =20= the JVM - in other words, the uPortal directory. This means that the =20 file you're editing still is missing the leading slash in its doctype - =20= changing the doctype in the project definition does not change the =20 doctype of existing files, it only affects files created after the =20 change. You can either delete the file and recreate it, or download it = and =20 manually change the doctype to also add the leading slash (you would =20 need to enable the upload editor to upload your change). If you have a =20= number of files that need the change, you can use the download zip =20 function to download all the files to your local disk, where you can =20 use your favorite editor to do a global search and replace. Zip the =20 changes up and use upload zip to put them back in the repository. Alex On May 12, 2005, at 9:28 PM, Philip Rinehart wrote: > Thanks Alex, > > Tried that, didn't solve the problem. It seems as if what is happening = =20 > is that the dtd reference is trying to refer to the root of the =20 > uPortal instance, *not* the dtd contained within the repository. =20 > Here's the snippet from the error log: > > org.jasig.portal.PortalException: PortalException has no ErrorID > =A0 =A0 =A0 =A0 at =20 > = edu.columbia.hypercontent.editors.EditorServant.setStaticData(EditorSer=20= > vant.java:90) > =A0 =A0 =A0 =A0 at =20 > = edu.columbia.hypercontent.contentmanager.commands.ChangeEditor.execute(=20= > ChangeEditor.java:58) > =A0 =A0 =A0 =A0 at =20 > = edu.columbia.hypercontent.contentmanager.CContentManager.setRuntimeData=20= > (CContentManager.java:192) > =A0 =A0 =A0 =A0 at =20 > = org.jasig.portal.MultithreadedChannelAdapter.setRuntimeData(Multithread=20= > edChannelAdapter.java:61) > =A0 =A0 =A0 =A0 at =20 > org.jasig.portal.ChannelRenderer$Worker.run(ChannelRenderer.java:417) > =A0 =A0 =A0 =A0 at = org.jasig.portal.utils.threading.Worker.run(Worker.java:88) > Caused by: edu.columbia.hypercontent.CMSException: There was an error =20= > while processing this directive; =20 > /home/local/tomcat5_instances/dev/susan/dtd/docbook.dtd (No such file =20= > or directory) > =A0 =A0 =A0 =A0 at =20 > = edu.columbia.hypercontent.DocumentFactory.getDocumentFromStream(Documen=20= > tFactory.java:434) > =A0 =A0 =A0 =A0 at =20 > = edu.columbia.hypercontent.editors.xml.XmlEditor.startSession(XmlEditor.=20= > java:66) > =A0 =A0 =A0 =A0 at =20 > = edu.columbia.hypercontent.editors.EditorServant.setStaticData(EditorSer=20= > vant.java:86) > =A0 =A0 =A0 =A0 ... 5 more > > > This directory:=A0/home/local/tomcat5_instances/dev/susan is the root = of =20 > the uPortal instance. Shouldn't it be referring to the dtd? > > Philip > > On May 12, 2005, at 4:08 PM, Alex Vigdor wrote: > >> Hi Philip, >> =A0 My first suggestion is to add the leading "/" on the dtd = location: =20 >> "/dtd/docbook.dtd". You can check the portal log for stack traces, =20= >> which are handy. What version of uPortal are you running? A doctype =20= >> does not need to have any forms of output associated with it, and if =20= >> there is an error parsing the DTD or XML it should display the =20 >> parsing error. The root can be any element in your DTD. >> >> The sitemap is optional - it's just a specific XML document type that = =20 >> the system applies special processing to before it's included, which =20= >> you can use to set up templates for the site map or navigation =20 >> structures. You can have none of them, one of them, or as many as you = =20 >> want. You can use your own custom includes & xslt to set up =20 >> navigation structures, in fact that was the only way prior to version = =20 >> 1.4. The navigation document type was specifically designed to make =20= >> it easy to do manual sorting of navigation elements in the drag & =20 >> drop navigation editor, as well as move the logic of sorting and =20 >> labeling navigation elements out of XSL. We actually use this =20 >> document type to manage pushed bookmarks channels at Columbia - it is = =20 >> displayed as a nested list of bookmarks, which can be added, updated =20= >> and re-ordered using the same navigation editor by non-technical =20 >> users. >> >> -Alex >> >> On May 12, 2005, at 2:49 PM, Philip Rinehart wrote: >> >> >>> I'm having a problem setting up the definition of a particular =20 >>> section of my test website. I've specified the dtd I want to use, =20= >>> which is in the repository, as well as the editor key. Here's what =20= >>> the line looks like: >>> >>> =A0 <xml-doctype definition=3D"dtd/docbook.dtd" label=3D"First = Section" =20 >>> path=3D"/*/index.xml" root=3D"body"> >>> =A0 <editor key=3D"xml"/> >>> =A0 </xml-doctype> >>> >>> However, when I attempt to do anything to the index.xml file I end =20= >>> up with the following error: >>> >>> Error performing changeEditor: PortalException has no ErrorID =20 >>> (org.jasig.portal.PortalException) >> >> >>> >>> >>> >>> It's not clear to me why this is happening. Should I be using a =20 >>> different root? does it have to have a transform associated with it? = =20 >>> Everything else makes sense to me, and I've been able to get =20 >>> resource directories working without issue, etc. >>> >>> Also, does every hypercontent site need a sitemap, or can that be =20= >>> omitted? >>> >>> Philip >>> >>> Philip Rinehart >> >> >>> >>> Academic Media & Technology >> >> >>> >>> Cluster Support Services >> >> >>> >>> 203-432-6573 >> >> >>> >>> clu...@ya... >> >> >>> >>> phi...@ya... >> >> >>> >>> >>> >>> > > Philip Rinehart > Academic Media & Technology > Cluster Support Services > 203-432-6573 > clu...@ya... > phi...@ya... > > > |
From: Philip R. <phi...@ya...> - 2005-05-13 01:28:39
|
Thanks Alex, Tried that, didn't solve the problem. It seems as if what is happening is that the dtd reference is trying to refer to the root of the uPortal instance, *not* the dtd contained within the repository. Here's the snippet from the error log: org.jasig.portal.PortalException: PortalException has no ErrorID at edu.columbia.hypercontent.editors.EditorServant.setStaticData (EditorServant.java:90) 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) Caused by: edu.columbia.hypercontent.CMSException: There was an error while processing this directive; /home/local/tomcat5_instances/dev/ susan/dtd/docbook.dtd (No such file or directory) at edu.columbia.hypercontent.DocumentFactory.getDocumentFromStream (DocumentFactory.java:434) at edu.columbia.hypercontent.editors.xml.XmlEditor.startSession (XmlEditor.java:66) at edu.columbia.hypercontent.editors.EditorServant.setStaticData (EditorServant.java:86) ... 5 more This directory: /home/local/tomcat5_instances/dev/susan is the root of the uPortal instance. Shouldn't it be referring to the dtd? Philip On May 12, 2005, at 4:08 PM, Alex Vigdor wrote: > Hi Philip, > My first suggestion is to add the leading "/" on the dtd > location: "/dtd/docbook.dtd". You can check the portal log for > stack traces, which are handy. What version of uPortal are you > running? A doctype does not need to have any forms of output > associated with it, and if there is an error parsing the DTD or XML > it should display the parsing error. The root can be any element > in your DTD. > > The sitemap is optional - it's just a specific XML document type > that the system applies special processing to before it's included, > which you can use to set up templates for the site map or > navigation structures. You can have none of them, one of them, or > as many as you want. You can use your own custom includes & xslt > to set up navigation structures, in fact that was the only way > prior to version 1.4. The navigation document type was > specifically designed to make it easy to do manual sorting of > navigation elements in the drag & drop navigation editor, as well > as move the logic of sorting and labeling navigation elements out > of XSL. We actually use this document type to manage pushed > bookmarks channels at Columbia - it is displayed as a nested list > of bookmarks, which can be added, updated and re-ordered using the > same navigation editor by non-technical users. > > -Alex > > On May 12, 2005, at 2:49 PM, Philip Rinehart wrote: > > >> I'm having a problem setting up the definition of a particular >> section of my test website. I've specified the dtd I want to use, >> which is in the repository, as well as the editor key. Here's what >> the line looks like: >> >> <xml-doctype definition="dtd/docbook.dtd" label="First Section" >> path="/*/index.xml" root="body"> >> <editor key="xml"/> >> </xml-doctype> >> >> However, when I attempt to do anything to the index.xml file I end >> up with the following error: >> >> Error performing changeEditor: PortalException has no ErrorID >> (org.jasig.portal.PortalException) > > >> >> >> >> It's not clear to me why this is happening. Should I be using a >> different root? does it have to have a transform associated with >> it? Everything else makes sense to me, and I've been able to get >> resource directories working without issue, etc. >> >> Also, does every hypercontent site need a sitemap, or can that be >> omitted? >> >> Philip >> >> Philip Rinehart > > >> >> Academic Media & Technology > > >> >> Cluster Support Services > > >> >> 203-432-6573 > > >> >> clu...@ya... > > >> >> phi...@ya... > > >> >> >> >> > Philip Rinehart Academic Media & Technology Cluster Support Services 203-432-6573 clu...@ya... phi...@ya... |
From: Alex V. <av...@co...> - 2005-05-12 20:08:51
|
Hi Philip, My first suggestion is to add the leading "/" on the dtd = location:=20 "/dtd/docbook.dtd". You can check the portal log for stack traces,=20 which are handy. What version of uPortal are you running? A doctype=20 does not need to have any forms of output associated with it, and if=20 there is an error parsing the DTD or XML it should display the parsing=20= error. The root can be any element in your DTD. The sitemap is optional - it's just a specific XML document type that=20 the system applies special processing to before it's included, which=20 you can use to set up templates for the site map or navigation=20 structures. You can have none of them, one of them, or as many as you=20= want. You can use your own custom includes & xslt to set up navigation=20= structures, in fact that was the only way prior to version 1.4. The=20 navigation document type was specifically designed to make it easy to=20 do manual sorting of navigation elements in the drag & drop navigation=20= editor, as well as move the logic of sorting and labeling navigation=20 elements out of XSL. We actually use this document type to manage=20 pushed bookmarks channels at Columbia - it is displayed as a nested=20 list of bookmarks, which can be added, updated and re-ordered using the=20= same navigation editor by non-technical users. -Alex On May 12, 2005, at 2:49 PM, Philip Rinehart wrote: > I'm having a problem setting up the definition of a particular section=20= > of my test website. I've specified the dtd I want to use, which is in=20= > the repository, as well as the editor key. Here's what the line looks=20= > like: > > =A0 <xml-doctype definition=3D"dtd/docbook.dtd" label=3D"First = Section"=20 > path=3D"/*/index.xml" root=3D"body"> > =A0 =A0 <editor key=3D"xml"/> > =A0 </xml-doctype> > > However, when I attempt to do anything to the index.xml file I end up=20= > with the following error: > > Error performing changeEditor: PortalException has no ErrorID=20 > (org.jasig.portal.PortalException) > > > It's not clear to me why this is happening. Should I be using a=20 > different root? does it have to have a transform associated with it?=20= > Everything else makes sense to me, and I've been able to get resource=20= > directories working without issue, etc. > > Also, does every hypercontent site need a sitemap, or can that be=20 > omitted? > > Philip > > Philip Rinehart > Academic Media & Technology > Cluster Support Services > 203-432-6573 > clu...@ya... > phi...@ya... > > > |
From: Philip R. <phi...@ya...> - 2005-05-12 18:49:25
|
I'm having a problem setting up the definition of a particular section of my test website. I've specified the dtd I want to use, which is in the repository, as well as the editor key. Here's what the line looks like: <xml-doctype definition="dtd/docbook.dtd" label="First Section" path="/*/index.xml" root="body"> <editor key="xml"/> </xml-doctype> However, when I attempt to do anything to the index.xml file I end up with the following error: Error performing changeEditor: PortalException has no ErrorID (org.jasig.portal.PortalException) It's not clear to me why this is happening. Should I be using a different root? does it have to have a transform associated with it? Everything else makes sense to me, and I've been able to get resource directories working without issue, etc. Also, does every hypercontent site need a sitemap, or can that be omitted? Philip Philip Rinehart Academic Media & Technology Cluster Support Services 203-432-6573 clu...@ya... phi...@ya... |
From: Carl B. <C.P...@hu...> - 2005-05-11 15:39:58
|
Thanks Alex Thats makes sense, it's a template that uses a lot of Javascript for the menu which makes the template very fiddly. I'll debug as you suggested. Carl Alex Vigdor wrote: > Hi Carl, > My guess would be that you have a different version of Xalan in > this other environment. Newer versions of Xalan have become picky > about things older version would let fly - I've run into this a > couple of times, and basically had to go through the concerned XSL > and comment out sections one at a time to see what section of the > stylesheet is causing the offense. It's a brute force debugging > method, but unfortunately the error message from Xalan does not > provide any useful guidance! > > Alex > > On May 11, 2005, at 11:19 AM, Carl Barrow wrote: > >> Hi Alex >> >> I decided to do a test move to a local installation which seems to >> have gone okay. I've moved over the repositories and edited a >> couple of sites and published them. I am getting an error in one >> though, this isn't happening when I publish from my other install. >> Any idea what might be happening, I can't see a difference anywhere. >> Thanks >> Carl >> >> * There was an error attempting to preview or publish /index.html; >> There was an error while processing this directive; There was an >> error while processing this directive; >> java.lang.ArrayIndexOutOfBoundsException: -1 >> >> There was an error attempting to preview or publish /index.html >> Recorded Exception: There was an error while processing this directive >> Recorded Exception: There was an error while processing this directive >> Recorded Exception: java.lang.RuntimeException: >> java.lang.ArrayIndexOutOfBoundsException: -1 >> at >> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java: >> 3407) >> at >> org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Transfo >> rmerHandlerImpl.java:433) >> at >> edu.columbia.hypercontent.filters.XmlIncludeFilter$IncludesCachingConte >> ntHandler.parse(XmlIncludeFilter.java:256) >> at >> edu.columbia.hypercontent.util.CachingContentHandler.parse(CachingConte >> ntHandler.java:242) >> at edu.columbia.hypercontent.FileHolder.parse(FileHolder.java:291) >> at >> edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.jav >> a:591) >> at >> edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.jav >> a:525) >> at >> edu.columbia.hypercontent.filters.XslTransformFilter.filter(XslTransfor >> mFilter.java:162) >> at >> edu.columbia.hypercontent.engine.RenderingWorkerTask.run(RenderingWorke >> rTask.java:116) >> at >> edu.columbia.hypercontent.RequestTracker$Worker.run(RequestTracker.java >> :324) >> >> >> >> >> Alex Vigdor wrote: >> >>> Hi Carl, >>> The two things to make doubly sure of when you're moving the >>> files are paths and permissions; if the files will be moving to >>> different directories on the production server, you may need to >>> adjust the paths in your project definitions. If you can keep all >>> the paths the same, that won't be an issue. With permissions, you >>> need to be certain that the UID under which the portal runs will >>> have full read/write access to the repository files, and that the >>> process has the appropriate umask for creating new files with the >>> right permissions. >>> As I have mentioned before, it's worth considering hosting the >>> repositories on a file server - if you have more than one portal >>> server, this is an especially good idea, so each server has the >>> same repository filesystem mounted. If you've just got one >>> production portal server, you can get by with using its internal >>> disk, just make sure you back it up regularly. >>> Those caveats aside, tarring up the files and moving them over >>> seems like a fine approach. Good luck! >>> >>> Alex >>> >>> On May 5, 2005, at 10:40 AM, Carl Barrow wrote: >>> >>>> Hi Alex >>>> >>>> Sorry for all the questions...... >>>> >>>> Now breadcrumbs are working I need to move HyperContent over to >>>> the live portal ready for the full role out. I'm using it to >>>> manage twelve live sites and a number of others in testing. In >>>> your opinion what is the best procedure to move everything over >>>> from my test portal to the live University Portal on a different >>>> server. Should I just deploy HyperContent on the live portal and >>>> then tar up all the repositories on the test server and move them >>>> over? Do you foresee any difficulties with the move? >>>> >>>> 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: NEC IT Guy Games. >>>> Get your fingers limbered up and give it your best shot. 4 great >>>> events, 4 >>>> opportunities to win big! Highest score wins.NEC IT Guy Games. >>>> Play to >>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great >>> events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> 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 Oracle Space Sweepstakes >> Want to be the first software developer in space? >> Enter now for the Oracle Space Sweepstakes! >> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > 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...> - 2005-05-11 15:24:24
|
Hi Carl, My guess would be that you have a different version of Xalan in this other environment. Newer versions of Xalan have become picky about things older version would let fly - I've run into this a couple of times, and basically had to go through the concerned XSL and comment out sections one at a time to see what section of the stylesheet is causing the offense. It's a brute force debugging method, but unfortunately the error message from Xalan does not provide any useful guidance! Alex On May 11, 2005, at 11:19 AM, Carl Barrow wrote: > Hi Alex > > I decided to do a test move to a local installation which seems to > have gone okay. I've moved over the repositories and edited a couple > of sites and published them. I am getting an error in one though, > this isn't happening when I publish from my other install. Any idea > what might be happening, I can't see a difference anywhere. > Thanks > Carl > > * There was an error attempting to preview or publish /index.html; > There was an error while processing this directive; There was an > error while processing this directive; > java.lang.ArrayIndexOutOfBoundsException: -1 > > There was an error attempting to preview or publish /index.html > Recorded Exception: There was an error while processing this directive > Recorded Exception: There was an error while processing this directive > Recorded Exception: java.lang.RuntimeException: > java.lang.ArrayIndexOutOfBoundsException: -1 > at > org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java: > 3407) > at > org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Transfo > rmerHandlerImpl.java:433) > at > edu.columbia.hypercontent.filters.XmlIncludeFilter$IncludesCachingConte > ntHandler.parse(XmlIncludeFilter.java:256) > at > edu.columbia.hypercontent.util.CachingContentHandler.parse(CachingConte > ntHandler.java:242) > at edu.columbia.hypercontent.FileHolder.parse(FileHolder.java:291) > at > edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.jav > a:591) > at > edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.jav > a:525) > at > edu.columbia.hypercontent.filters.XslTransformFilter.filter(XslTransfor > mFilter.java:162) > at > edu.columbia.hypercontent.engine.RenderingWorkerTask.run(RenderingWorke > rTask.java:116) > at > edu.columbia.hypercontent.RequestTracker$Worker.run(RequestTracker.java > :324) > > > > > Alex Vigdor wrote: > >> Hi Carl, >> The two things to make doubly sure of when you're moving the >> files are paths and permissions; if the files will be moving to >> different directories on the production server, you may need to >> adjust the paths in your project definitions. If you can keep all >> the paths the same, that won't be an issue. With permissions, you >> need to be certain that the UID under which the portal runs will have >> full read/write access to the repository files, and that the process >> has the appropriate umask for creating new files with the right >> permissions. >> As I have mentioned before, it's worth considering hosting the >> repositories on a file server - if you have more than one portal >> server, this is an especially good idea, so each server has the same >> repository filesystem mounted. If you've just got one production >> portal server, you can get by with using its internal disk, just make >> sure you back it up regularly. >> Those caveats aside, tarring up the files and moving them over >> seems like a fine approach. Good luck! >> >> Alex >> >> On May 5, 2005, at 10:40 AM, Carl Barrow wrote: >> >>> Hi Alex >>> >>> Sorry for all the questions...... >>> >>> Now breadcrumbs are working I need to move HyperContent over to the >>> live portal ready for the full role out. I'm using it to manage >>> twelve live sites and a number of others in testing. In your >>> opinion what is the best procedure to move everything over from my >>> test portal to the live University Portal on a different server. >>> Should I just deploy HyperContent on the live portal and then tar up >>> all the repositories on the test server and move them over? Do you >>> foresee any difficulties with the move? >>> >>> 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: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great >>> events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play >>> to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> 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 Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-05-11 15:15:32
|
Hi Alex I decided to do a test move to a local installation which seems to have gone okay. I've moved over the repositories and edited a couple of sites and published them. I am getting an error in one though, this isn't happening when I publish from my other install. Any idea what might be happening, I can't see a difference anywhere. Thanks Carl * There was an error attempting to preview or publish /index.html; There was an error while processing this directive; There was an error while processing this directive; java.lang.ArrayIndexOutOfBoundsException: -1 There was an error attempting to preview or publish /index.html Recorded Exception: There was an error while processing this directive Recorded Exception: There was an error while processing this directive Recorded Exception: java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -1 at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3407) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433) at edu.columbia.hypercontent.filters.XmlIncludeFilter$IncludesCachingContentHandler.parse(XmlIncludeFilter.java:256) at edu.columbia.hypercontent.util.CachingContentHandler.parse(CachingContentHandler.java:242) at edu.columbia.hypercontent.FileHolder.parse(FileHolder.java:291) at edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.java:591) at edu.columbia.hypercontent.DocumentFactory.transform(DocumentFactory.java:525) at edu.columbia.hypercontent.filters.XslTransformFilter.filter(XslTransformFilter.java:162) at edu.columbia.hypercontent.engine.RenderingWorkerTask.run(RenderingWorkerTask.java:116) at edu.columbia.hypercontent.RequestTracker$Worker.run(RequestTracker.java:324) Alex Vigdor wrote: > Hi Carl, > The two things to make doubly sure of when you're moving the files > are paths and permissions; if the files will be moving to different > directories on the production server, you may need to adjust the paths > in your project definitions. If you can keep all the paths the same, > that won't be an issue. With permissions, you need to be certain that > the UID under which the portal runs will have full read/write access > to the repository files, and that the process has the appropriate > umask for creating new files with the right permissions. > As I have mentioned before, it's worth considering hosting the > repositories on a file server - if you have more than one portal > server, this is an especially good idea, so each server has the same > repository filesystem mounted. If you've just got one production > portal server, you can get by with using its internal disk, just make > sure you back it up regularly. > Those caveats aside, tarring up the files and moving them over > seems like a fine approach. Good luck! > > Alex > > On May 5, 2005, at 10:40 AM, Carl Barrow wrote: > >> Hi Alex >> >> Sorry for all the questions...... >> >> Now breadcrumbs are working I need to move HyperContent over to the >> live portal ready for the full role out. I'm using it to manage >> twelve live sites and a number of others in testing. In your opinion >> what is the best procedure to move everything over from my test >> portal to the live University Portal on a different server. Should I >> just deploy HyperContent on the live portal and then tar up all the >> repositories on the test server and move them over? Do you foresee >> any difficulties with the move? >> >> 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: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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...> - 2005-05-05 14:58:52
|
Hi Carl, The two things to make doubly sure of when you're moving the files are paths and permissions; if the files will be moving to different directories on the production server, you may need to adjust the paths in your project definitions. If you can keep all the paths the same, that won't be an issue. With permissions, you need to be certain that the UID under which the portal runs will have full read/write access to the repository files, and that the process has the appropriate umask for creating new files with the right permissions. As I have mentioned before, it's worth considering hosting the repositories on a file server - if you have more than one portal server, this is an especially good idea, so each server has the same repository filesystem mounted. If you've just got one production portal server, you can get by with using its internal disk, just make sure you back it up regularly. Those caveats aside, tarring up the files and moving them over seems like a fine approach. Good luck! Alex On May 5, 2005, at 10:40 AM, Carl Barrow wrote: > Hi Alex > > Sorry for all the questions...... > > Now breadcrumbs are working I need to move HyperContent over to the > live portal ready for the full role out. I'm using it to manage > twelve live sites and a number of others in testing. In your opinion > what is the best procedure to move everything over from my test portal > to the live University Portal on a different server. Should I just > deploy HyperContent on the live portal and then tar up all the > repositories on the test server and move them over? Do you foresee > any difficulties with the move? > > 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: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-05-05 14:36:32
|
Hi Alex Sorry for all the questions...... Now breadcrumbs are working I need to move HyperContent over to the live portal ready for the full role out. I'm using it to manage twelve live sites and a number of others in testing. In your opinion what is the best procedure to move everything over from my test portal to the live University Portal on a different server. Should I just deploy HyperContent on the live portal and then tar up all the repositories on the test server and move them over? Do you foresee any difficulties with the move? Thanks Carl -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Carl B. <C.P...@hu...> - 2005-05-05 13:29:06
|
Of course! I was trying to go round a very long way..... Thanks Very Much! Carl Alex Vigdor wrote: > Hi Carl, > You should be able to test whether $item has a value like this > > <xsl:if test="$item"> > . . . > </xsl:if> > > -Alex > > On May 5, 2005, at 6:02 AM, Carl Barrow wrote: > >> Hi Alex >> >> I want to keep some pages out of the navigation. I've found it >> useful to be able to build pages in root and not have them included >> as part of the site. Would it be possible to check if $item is >> null and then not include it the breadcrumb on those pages? >> Everything I've tried doesn't seem to work. >> >> Thanks >> Carl >> >> >> Alex Vigdor wrote: >> >>> Hi Carl, >>> I suspect the problem is that your sitemap file is not included >>> in your navigation, so when the XSL attempts to build the >>> breadcrumb, $item is going to be null. You should try adding the >>> sitemap to your navigation >>> >>> <nav-template pattern="/sitemap.xml"/> >>> >>> You would need to adjust your xsl logic, as this will cause a link >>> to be added to your sitemap in the navigation, where you are >>> already linking to the sitemap with a custom graphic. You could >>> test for "/sitemap.xml" in your navigation rendering and place the >>> sitemap graphical link there in place of the text link. >>> >>> -Alex >>> >>> On May 4, 2005, at 5:19 AM, Carl Barrow wrote: >>> >>>> Thanks very much for this Alex, >>>> >>>> It's working now. However, there seems to be a problem building >>>> my sitemap if I include a breadcrumb trail. I get the error >>>> message : >>>> >>>> There was an error attempting to preview or publish /sitemap.xml >>>> -> /sitemap.html >>>> >>>> I assume this is because I'm transforming sitemap.xml as well us >>>> using it to make the breadcrumb. Would I need to use another xml >>>> file to look after the breadcrumbs? >>>> >>>> Carl >>>> >>>> Alex Vigdor wrote: >>>> >>>>> Hi Carl, >>>>> I was able to duplicate the problem, and I was able to >>>>> resolve it by replacing the use of the "//" axis with >>>>> "descendant-or-self::". >>>>> >>>>> e.g. >>>>> >>>>> <xsl:template name = "breadcrumb"> >>>>> <xsl:param name = "item" select = >>>>> "$navigation/nav-item[descendant-or-self::nav- >>>>> item[@location=$sourceLoc]]"/> >>>>> >>>>> <xsl:call-template name = "breadcrumblink"> >>>>> <xsl:with-param name = "item" select = "$item"/> >>>>> </xsl:call-template> >>>>> >>>>> <xsl:if test = "not($item/@location=$sourceLoc)"> >>>>> <xsl:text> >>>>> > >>>>> </xsl:text> >>>>> >>>>> <xsl:call-template name = "breadcrumb"> >>>>> <xsl:with-param name = "item" select = >>>>> "$item/nav-item[descendant-or-self::nav- >>>>> item[@location=$sourceLoc]]"/ > >>>>> </xsl:call-template> >>>>> </xsl:if> >>>>> </xsl:template> >>>>> >>>>> -Alex >>>>> >>>>> On May 3, 2005, at 4:56 AM, Carl Barrow wrote: >>>>> >>>>>> Hi Alex >>>>>> >>>>>> Attached is a screenshot from the navigation editor and then a >>>>>> screenshot from the website showing where it has gone wrong. >>>>>> The navigation xml file is detailed below: >>>>>> >>>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>>> <!DOCTYPE nav-template SYSTEM >>>>>> "http://hypercontent.sourceforge.net/dtd/navigation.dtd"> >>>>>> <nav-template customLabel="Home" labelWith="custom" >>>>>> pattern="/index.xml" sortChildren="by-label"> >>>>>> <nav-template pattern="/*/index.xml" sortChildren="by-label"> >>>>>> <nav-template pattern="/*/*" sortChildren="by-label" /> >>>>>> >>>>>> <nav-template pattern="/*/*/index.xml" >>>>>> sortChildren="by-label"> >>>>>> <nav-template pattern="/*/*/*" sortChildren="by-label" /> >>>>>> </nav-template> >>>>>> </nav-template> >>>>>> </nav-template> >>>>>> >>>>>> Many Thanks >>>>>> Carl >>>>>> >>>>>> Alex Vigdor wrote: >>>>>> >>>>>>> Hi Carl, >>>>>>> It would be helpful to see the navigation XML (we'll often >>>>>>> create an XML output for an xml-doctype that has all the >>>>>>> includes but no transformation, to see what is feeding the >>>>>>> transform), and perhaps a screenshot demonstrating where it >>>>>>> has gone wrong. >>>>>>> >>>>>>> Alex >>>>>>> >>>>>>> On Apr 29, 2005, at 9:31 AM, Carl Barrow wrote: >>>>>>> >>>>>>>> I'm still having a problems getting breadcrumbs working >>>>>>>> properly on my sites here in Hull. It always displays the >>>>>>>> first child at a Particular level instead of the one which >>>>>>>> corresponds to the directory you are actually in. Does >>>>>>>> anyone have time to take a look at where I might be going >>>>>>>> wrong? >>>>>>>> >>>>>>>> Many Thanks >>>>>>>> Carl >>>>>>>> >>>>>>>> <xsl:variable name = "navigation" select = >>>>>>>> "/cms:wrapper/child::*/navigation"/> >>>>>>>> <xsl:variable name = "sourceLoc" select = >>>>>>>> "/cms:wrapper/cms:source/@path"/> >>>>>>>> >>>>>>>> >>>>>>>> <xsl:template name = "breadcrumb"> >>>>>>>> <xsl:param name = "item" select = >>>>>>>> "$navigation/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>>>>> >>>>>>>> <xsl:call-template name = "breadcrumblink"> >>>>>>>> <xsl:with-param name = "item" select = "$item"/> >>>>>>>> </xsl:call-template> >>>>>>>> >>>>>>>> <xsl:if test = "not($item/@location=$sourceLoc)"> >>>>>>>> <xsl:text> >>>>>>>> > >>>>>>>> </xsl:text> >>>>>>>> >>>>>>>> <xsl:call-template name = "breadcrumb"> >>>>>>>> <xsl:with-param name = "item" select = >>>>>>>> "$item/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>>>>> </xsl:call-template> >>>>>>>> </xsl:if> >>>>>>>> </xsl:template> >>>>>>>> >>>>>>>> <xsl:template name = "breadcrumblink"> >>>>>>>> <xsl:param name = "item" select = "."/> >>>>>>>> >>>>>>>> <a><xsl:attribute name = "href"> >>>>>>>> <xsl:value-of select = "$item/@location"/> >>>>>>>> </xsl:attribute> >>>>>>>> >>>>>>>> <xsl:value-of select = "$item/@label"/></a> >>>>>>>> </xsl:template> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> ************************************ >>>>>>>> >>>>>>>> Carl Barrow >>>>>>>> Web Developer >>>>>>>> e-Services >>>>>>>> The University of Hull >>>>>>>> Cottingham Road >>>>>>>> Hull >>>>>>>> HU6 7RX >>>>>>>> Ext. 6838 >>>>>>>> ************************************ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------- >>>>>>>> SF.Net email is sponsored by: Tell us your software >>>>>>>> development plans! >>>>>>>> Take this survey and enter to win a one-year sub to >>>>>>>> SourceForge.net >>>>>>>> Plus IDC's 2005 look-ahead and a copy of this survey >>>>>>>> Click here to start! >>>>>>>> http://www.idcswdc.com/cgi-bin/survey?id=105hix >>>>>>>> _______________________________________________ >>>>>>>> Hypercontent-users mailing list >>>>>>>> Hyp...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.Net email is sponsored by: NEC IT Guy Games. >>>>>>> Get your fingers limbered up and give it your best shot. 4 >>>>>>> great events, 4 >>>>>>> opportunities to win big! Highest score wins.NEC IT Guy Games. >>>>>>> Play to >>>>>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>> ************************************ >>>>>> >>>>>> <webpage.jpg><naveditor.jpg> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: NEC IT Guy Games. >>>>> Get your fingers limbered up and give it your best shot. 4 great >>>>> events, 4 >>>>> opportunities to win big! Highest score wins.NEC IT Guy Games. >>>>> Play to >>>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>>> _______________________________________________ >>>>> 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: NEC IT Guy Games. >>>> Get your fingers limbered up and give it your best shot. 4 great >>>> events, 4 >>>> opportunities to win big! Highest score wins.NEC IT Guy Games. >>>> Play to >>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>> _______________________________________________ >>>> Hypercontent-users mailing list >>>> Hyp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great >>> events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> 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: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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...> - 2005-05-05 13:16:03
|
Hi Carl, You should be able to test whether $item has a value like this <xsl:if test="$item"> . . . </xsl:if> -Alex On May 5, 2005, at 6:02 AM, Carl Barrow wrote: > Hi Alex > > I want to keep some pages out of the navigation. I've found it useful > to be able to build pages in root and not have them included as part > of the site. Would it be possible to check if $item is null and then > not include it the breadcrumb on those pages? Everything I've tried > doesn't seem to work. > > Thanks > Carl > > > Alex Vigdor wrote: > >> Hi Carl, >> I suspect the problem is that your sitemap file is not included >> in your navigation, so when the XSL attempts to build the >> breadcrumb, $item is going to be null. You should try adding the >> sitemap to your navigation >> >> <nav-template pattern="/sitemap.xml"/> >> >> You would need to adjust your xsl logic, as this will cause a link to >> be added to your sitemap in the navigation, where you are already >> linking to the sitemap with a custom graphic. You could test for >> "/sitemap.xml" in your navigation rendering and place the sitemap >> graphical link there in place of the text link. >> >> -Alex >> >> On May 4, 2005, at 5:19 AM, Carl Barrow wrote: >> >>> Thanks very much for this Alex, >>> >>> It's working now. However, there seems to be a problem building my >>> sitemap if I include a breadcrumb trail. I get the error message : >>> >>> There was an error attempting to preview or publish /sitemap.xml -> >>> /sitemap.html >>> >>> I assume this is because I'm transforming sitemap.xml as well us >>> using it to make the breadcrumb. Would I need to use another xml >>> file to look after the breadcrumbs? >>> >>> Carl >>> >>> Alex Vigdor wrote: >>> >>>> Hi Carl, >>>> I was able to duplicate the problem, and I was able to resolve >>>> it by replacing the use of the "//" axis with >>>> "descendant-or-self::". >>>> >>>> e.g. >>>> >>>> <xsl:template name = "breadcrumb"> >>>> <xsl:param name = "item" select = >>>> "$navigation/nav-item[descendant-or-self::nav- >>>> item[@location=$sourceLoc]]"/> >>>> >>>> <xsl:call-template name = "breadcrumblink"> >>>> <xsl:with-param name = "item" select = "$item"/> >>>> </xsl:call-template> >>>> >>>> <xsl:if test = "not($item/@location=$sourceLoc)"> >>>> <xsl:text> >>>> > >>>> </xsl:text> >>>> >>>> <xsl:call-template name = "breadcrumb"> >>>> <xsl:with-param name = "item" select = >>>> "$item/nav-item[descendant-or-self::nav- >>>> item[@location=$sourceLoc]]"/ > >>>> </xsl:call-template> >>>> </xsl:if> >>>> </xsl:template> >>>> >>>> -Alex >>>> >>>> On May 3, 2005, at 4:56 AM, Carl Barrow wrote: >>>> >>>>> Hi Alex >>>>> >>>>> Attached is a screenshot from the navigation editor and then a >>>>> screenshot from the website showing where it has gone wrong. The >>>>> navigation xml file is detailed below: >>>>> >>>>> <?xml version="1.0" encoding="UTF-8"?> >>>>> <!DOCTYPE nav-template SYSTEM >>>>> "http://hypercontent.sourceforge.net/dtd/navigation.dtd"> >>>>> <nav-template customLabel="Home" labelWith="custom" >>>>> pattern="/index.xml" sortChildren="by-label"> >>>>> <nav-template pattern="/*/index.xml" sortChildren="by-label"> >>>>> <nav-template pattern="/*/*" sortChildren="by-label" /> >>>>> >>>>> <nav-template pattern="/*/*/index.xml" >>>>> sortChildren="by-label"> >>>>> <nav-template pattern="/*/*/*" sortChildren="by-label" /> >>>>> </nav-template> >>>>> </nav-template> >>>>> </nav-template> >>>>> >>>>> Many Thanks >>>>> Carl >>>>> >>>>> Alex Vigdor wrote: >>>>> >>>>>> Hi Carl, >>>>>> It would be helpful to see the navigation XML (we'll often >>>>>> create an XML output for an xml-doctype that has all the >>>>>> includes but no transformation, to see what is feeding the >>>>>> transform), and perhaps a screenshot demonstrating where it has >>>>>> gone wrong. >>>>>> >>>>>> Alex >>>>>> >>>>>> On Apr 29, 2005, at 9:31 AM, Carl Barrow wrote: >>>>>> >>>>>>> I'm still having a problems getting breadcrumbs working properly >>>>>>> on my sites here in Hull. It always displays the first child >>>>>>> at a Particular level instead of the one which corresponds to >>>>>>> the directory you are actually in. Does anyone have time to >>>>>>> take a look at where I might be going wrong? >>>>>>> >>>>>>> Many Thanks >>>>>>> Carl >>>>>>> >>>>>>> <xsl:variable name = "navigation" select = >>>>>>> "/cms:wrapper/child::*/navigation"/> >>>>>>> <xsl:variable name = "sourceLoc" select = >>>>>>> "/cms:wrapper/cms:source/@path"/> >>>>>>> >>>>>>> >>>>>>> <xsl:template name = "breadcrumb"> >>>>>>> <xsl:param name = "item" select = >>>>>>> "$navigation/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>>>> >>>>>>> <xsl:call-template name = "breadcrumblink"> >>>>>>> <xsl:with-param name = "item" select = "$item"/> >>>>>>> </xsl:call-template> >>>>>>> >>>>>>> <xsl:if test = "not($item/@location=$sourceLoc)"> >>>>>>> <xsl:text> >>>>>>> > >>>>>>> </xsl:text> >>>>>>> >>>>>>> <xsl:call-template name = "breadcrumb"> >>>>>>> <xsl:with-param name = "item" select = >>>>>>> "$item/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>>>> </xsl:call-template> >>>>>>> </xsl:if> >>>>>>> </xsl:template> >>>>>>> >>>>>>> <xsl:template name = "breadcrumblink"> >>>>>>> <xsl:param name = "item" select = "."/> >>>>>>> >>>>>>> <a><xsl:attribute name = "href"> >>>>>>> <xsl:value-of select = "$item/@location"/> >>>>>>> </xsl:attribute> >>>>>>> >>>>>>> <xsl:value-of select = "$item/@label"/></a> >>>>>>> </xsl:template> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> ************************************ >>>>>>> >>>>>>> Carl Barrow >>>>>>> Web Developer >>>>>>> e-Services >>>>>>> The University of Hull >>>>>>> Cottingham Road >>>>>>> Hull >>>>>>> HU6 7RX >>>>>>> Ext. 6838 >>>>>>> ************************************ >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> SF.Net email is sponsored by: Tell us your software development >>>>>>> plans! >>>>>>> Take this survey and enter to win a one-year sub to >>>>>>> SourceForge.net >>>>>>> Plus IDC's 2005 look-ahead and a copy of this survey >>>>>>> Click here to start! >>>>>>> http://www.idcswdc.com/cgi-bin/survey?id=105hix >>>>>>> _______________________________________________ >>>>>>> Hypercontent-users mailing list >>>>>>> Hyp...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> This SF.Net email is sponsored by: NEC IT Guy Games. >>>>>> Get your fingers limbered up and give it your best shot. 4 great >>>>>> events, 4 >>>>>> opportunities to win big! Highest score wins.NEC IT Guy Games. >>>>>> Play to >>>>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>>>> _______________________________________________ >>>>>> 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 >>>>> ************************************ >>>>> >>>>> <webpage.jpg><naveditor.jpg> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: NEC IT Guy Games. >>>> Get your fingers limbered up and give it your best shot. 4 great >>>> events, 4 >>>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play >>>> to >>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>> _______________________________________________ >>>> 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: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great >>> events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play >>> to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> Hypercontent-users mailing list >>> Hyp...@li... >>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> 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: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Carl B. <C.P...@hu...> - 2005-05-05 09:58:41
|
Hi Alex I want to keep some pages out of the navigation. I've found it useful to be able to build pages in root and not have them included as part of the site. Would it be possible to check if $item is null and then not include it the breadcrumb on those pages? Everything I've tried doesn't seem to work. Thanks Carl Alex Vigdor wrote: > Hi Carl, > I suspect the problem is that your sitemap file is not included > in your navigation, so when the XSL attempts to build the > breadcrumb, $item is going to be null. You should try adding the > sitemap to your navigation > > <nav-template pattern="/sitemap.xml"/> > > You would need to adjust your xsl logic, as this will cause a link to > be added to your sitemap in the navigation, where you are already > linking to the sitemap with a custom graphic. You could test for > "/sitemap.xml" in your navigation rendering and place the sitemap > graphical link there in place of the text link. > > -Alex > > On May 4, 2005, at 5:19 AM, Carl Barrow wrote: > >> Thanks very much for this Alex, >> >> It's working now. However, there seems to be a problem building my >> sitemap if I include a breadcrumb trail. I get the error message : >> >> There was an error attempting to preview or publish /sitemap.xml -> >> /sitemap.html >> >> I assume this is because I'm transforming sitemap.xml as well us >> using it to make the breadcrumb. Would I need to use another xml >> file to look after the breadcrumbs? >> >> Carl >> >> Alex Vigdor wrote: >> >>> Hi Carl, >>> I was able to duplicate the problem, and I was able to resolve >>> it by replacing the use of the "//" axis with "descendant-or-self::". >>> >>> e.g. >>> >>> <xsl:template name = "breadcrumb"> >>> <xsl:param name = "item" select = >>> "$navigation/nav-item[descendant-or-self::nav- >>> item[@location=$sourceLoc]]"/> >>> >>> <xsl:call-template name = "breadcrumblink"> >>> <xsl:with-param name = "item" select = "$item"/> >>> </xsl:call-template> >>> >>> <xsl:if test = "not($item/@location=$sourceLoc)"> >>> <xsl:text> >>> > >>> </xsl:text> >>> >>> <xsl:call-template name = "breadcrumb"> >>> <xsl:with-param name = "item" select = >>> "$item/nav-item[descendant-or-self::nav-item[@location=$sourceLoc]]"/ > >>> </xsl:call-template> >>> </xsl:if> >>> </xsl:template> >>> >>> -Alex >>> >>> On May 3, 2005, at 4:56 AM, Carl Barrow wrote: >>> >>>> Hi Alex >>>> >>>> Attached is a screenshot from the navigation editor and then a >>>> screenshot from the website showing where it has gone wrong. The >>>> navigation xml file is detailed below: >>>> >>>> <?xml version="1.0" encoding="UTF-8"?> >>>> <!DOCTYPE nav-template SYSTEM >>>> "http://hypercontent.sourceforge.net/dtd/navigation.dtd"> >>>> <nav-template customLabel="Home" labelWith="custom" >>>> pattern="/index.xml" sortChildren="by-label"> >>>> <nav-template pattern="/*/index.xml" sortChildren="by-label"> >>>> <nav-template pattern="/*/*" sortChildren="by-label" /> >>>> >>>> <nav-template pattern="/*/*/index.xml" sortChildren="by-label"> >>>> <nav-template pattern="/*/*/*" sortChildren="by-label" /> >>>> </nav-template> >>>> </nav-template> >>>> </nav-template> >>>> >>>> Many Thanks >>>> Carl >>>> >>>> Alex Vigdor wrote: >>>> >>>>> Hi Carl, >>>>> It would be helpful to see the navigation XML (we'll often >>>>> create an XML output for an xml-doctype that has all the >>>>> includes but no transformation, to see what is feeding the >>>>> transform), and perhaps a screenshot demonstrating where it has >>>>> gone wrong. >>>>> >>>>> Alex >>>>> >>>>> On Apr 29, 2005, at 9:31 AM, Carl Barrow wrote: >>>>> >>>>>> I'm still having a problems getting breadcrumbs working properly >>>>>> on my sites here in Hull. It always displays the first child >>>>>> at a Particular level instead of the one which corresponds to >>>>>> the directory you are actually in. Does anyone have time to >>>>>> take a look at where I might be going wrong? >>>>>> >>>>>> Many Thanks >>>>>> Carl >>>>>> >>>>>> <xsl:variable name = "navigation" select = >>>>>> "/cms:wrapper/child::*/navigation"/> >>>>>> <xsl:variable name = "sourceLoc" select = >>>>>> "/cms:wrapper/cms:source/@path"/> >>>>>> >>>>>> >>>>>> <xsl:template name = "breadcrumb"> >>>>>> <xsl:param name = "item" select = >>>>>> "$navigation/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>>> >>>>>> <xsl:call-template name = "breadcrumblink"> >>>>>> <xsl:with-param name = "item" select = "$item"/> >>>>>> </xsl:call-template> >>>>>> >>>>>> <xsl:if test = "not($item/@location=$sourceLoc)"> >>>>>> <xsl:text> >>>>>> > >>>>>> </xsl:text> >>>>>> >>>>>> <xsl:call-template name = "breadcrumb"> >>>>>> <xsl:with-param name = "item" select = >>>>>> "$item/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>>> </xsl:call-template> >>>>>> </xsl:if> >>>>>> </xsl:template> >>>>>> >>>>>> <xsl:template name = "breadcrumblink"> >>>>>> <xsl:param name = "item" select = "."/> >>>>>> >>>>>> <a><xsl:attribute name = "href"> >>>>>> <xsl:value-of select = "$item/@location"/> >>>>>> </xsl:attribute> >>>>>> >>>>>> <xsl:value-of select = "$item/@label"/></a> >>>>>> </xsl:template> >>>>>> >>>>>> >>>>>> -- >>>>>> ************************************ >>>>>> >>>>>> Carl Barrow >>>>>> Web Developer >>>>>> e-Services >>>>>> The University of Hull >>>>>> Cottingham Road >>>>>> Hull >>>>>> HU6 7RX >>>>>> Ext. 6838 >>>>>> ************************************ >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> SF.Net email is sponsored by: Tell us your software development >>>>>> plans! >>>>>> Take this survey and enter to win a one-year sub to SourceForge.net >>>>>> Plus IDC's 2005 look-ahead and a copy of this survey >>>>>> Click here to start! >>>>>> http://www.idcswdc.com/cgi-bin/survey?id=105hix >>>>>> _______________________________________________ >>>>>> Hypercontent-users mailing list >>>>>> Hyp...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> This SF.Net email is sponsored by: NEC IT Guy Games. >>>>> Get your fingers limbered up and give it your best shot. 4 great >>>>> events, 4 >>>>> opportunities to win big! Highest score wins.NEC IT Guy Games. >>>>> Play to >>>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>>> _______________________________________________ >>>>> 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 >>>> ************************************ >>>> >>>> <webpage.jpg><naveditor.jpg> >>> >>> >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: NEC IT Guy Games. >>> Get your fingers limbered up and give it your best shot. 4 great >>> events, 4 >>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>> _______________________________________________ >>> 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: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > 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...> - 2005-05-04 13:20:38
|
Hi Carl, I suspect the problem is that your sitemap file is not included in your navigation, so when the XSL attempts to build the breadcrumb, $item is going to be null. You should try adding the sitemap to your navigation <nav-template pattern="/sitemap.xml"/> You would need to adjust your xsl logic, as this will cause a link to be added to your sitemap in the navigation, where you are already linking to the sitemap with a custom graphic. You could test for "/sitemap.xml" in your navigation rendering and place the sitemap graphical link there in place of the text link. -Alex On May 4, 2005, at 5:19 AM, Carl Barrow wrote: > Thanks very much for this Alex, > > It's working now. However, there seems to be a problem building my > sitemap if I include a breadcrumb trail. I get the error message : > > There was an error attempting to preview or publish /sitemap.xml -> > /sitemap.html > > I assume this is because I'm transforming sitemap.xml as well us using > it to make the breadcrumb. Would I need to use another xml file to > look after the breadcrumbs? > > Carl > > Alex Vigdor wrote: > >> Hi Carl, >> I was able to duplicate the problem, and I was able to resolve it >> by replacing the use of the "//" axis with "descendant-or-self::". >> >> e.g. >> >> <xsl:template name = "breadcrumb"> >> <xsl:param name = "item" select = >> "$navigation/nav-item[descendant-or-self::nav- >> item[@location=$sourceLoc]]"/> >> >> <xsl:call-template name = "breadcrumblink"> >> <xsl:with-param name = "item" select = "$item"/> >> </xsl:call-template> >> >> <xsl:if test = "not($item/@location=$sourceLoc)"> >> <xsl:text> >> > >> </xsl:text> >> >> <xsl:call-template name = "breadcrumb"> >> <xsl:with-param name = "item" select = >> "$item/nav-item[descendant-or-self::nav-item[@location=$sourceLoc]]"/ >> > >> </xsl:call-template> >> </xsl:if> >> </xsl:template> >> >> -Alex >> >> On May 3, 2005, at 4:56 AM, Carl Barrow wrote: >> >>> Hi Alex >>> >>> Attached is a screenshot from the navigation editor and then a >>> screenshot from the website showing where it has gone wrong. The >>> navigation xml file is detailed below: >>> >>> <?xml version="1.0" encoding="UTF-8"?> >>> <!DOCTYPE nav-template SYSTEM >>> "http://hypercontent.sourceforge.net/dtd/navigation.dtd"> >>> <nav-template customLabel="Home" labelWith="custom" >>> pattern="/index.xml" sortChildren="by-label"> >>> <nav-template pattern="/*/index.xml" sortChildren="by-label"> >>> <nav-template pattern="/*/*" sortChildren="by-label" /> >>> >>> <nav-template pattern="/*/*/index.xml" sortChildren="by-label"> >>> <nav-template pattern="/*/*/*" sortChildren="by-label" /> >>> </nav-template> >>> </nav-template> >>> </nav-template> >>> >>> Many Thanks >>> Carl >>> >>> Alex Vigdor wrote: >>> >>>> Hi Carl, >>>> It would be helpful to see the navigation XML (we'll often >>>> create an XML output for an xml-doctype that has all the includes >>>> but no transformation, to see what is feeding the transform), and >>>> perhaps a screenshot demonstrating where it has gone wrong. >>>> >>>> Alex >>>> >>>> On Apr 29, 2005, at 9:31 AM, Carl Barrow wrote: >>>> >>>>> I'm still having a problems getting breadcrumbs working properly >>>>> on my sites here in Hull. It always displays the first child at >>>>> a Particular level instead of the one which corresponds to the >>>>> directory you are actually in. Does anyone have time to take a >>>>> look at where I might be going wrong? >>>>> >>>>> Many Thanks >>>>> Carl >>>>> >>>>> <xsl:variable name = "navigation" select = >>>>> "/cms:wrapper/child::*/navigation"/> >>>>> <xsl:variable name = "sourceLoc" select = >>>>> "/cms:wrapper/cms:source/@path"/> >>>>> >>>>> >>>>> <xsl:template name = "breadcrumb"> >>>>> <xsl:param name = "item" select = >>>>> "$navigation/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>> >>>>> <xsl:call-template name = "breadcrumblink"> >>>>> <xsl:with-param name = "item" select = "$item"/> >>>>> </xsl:call-template> >>>>> >>>>> <xsl:if test = "not($item/@location=$sourceLoc)"> >>>>> <xsl:text> >>>>> > >>>>> </xsl:text> >>>>> >>>>> <xsl:call-template name = "breadcrumb"> >>>>> <xsl:with-param name = "item" select = >>>>> "$item/nav-item[//nav-item[@location=$sourceLoc]]"/> >>>>> </xsl:call-template> >>>>> </xsl:if> >>>>> </xsl:template> >>>>> >>>>> <xsl:template name = "breadcrumblink"> >>>>> <xsl:param name = "item" select = "."/> >>>>> >>>>> <a><xsl:attribute name = "href"> >>>>> <xsl:value-of select = "$item/@location"/> >>>>> </xsl:attribute> >>>>> >>>>> <xsl:value-of select = "$item/@label"/></a> >>>>> </xsl:template> >>>>> >>>>> >>>>> -- >>>>> ************************************ >>>>> >>>>> Carl Barrow >>>>> Web Developer >>>>> e-Services >>>>> The University of Hull >>>>> Cottingham Road >>>>> Hull >>>>> HU6 7RX >>>>> Ext. 6838 >>>>> ************************************ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF.Net email is sponsored by: Tell us your software development >>>>> plans! >>>>> Take this survey and enter to win a one-year sub to SourceForge.net >>>>> Plus IDC's 2005 look-ahead and a copy of this survey >>>>> Click here to start! >>>>> http://www.idcswdc.com/cgi-bin/survey?id=105hix >>>>> _______________________________________________ >>>>> Hypercontent-users mailing list >>>>> Hyp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: NEC IT Guy Games. >>>> Get your fingers limbered up and give it your best shot. 4 great >>>> events, 4 >>>> opportunities to win big! Highest score wins.NEC IT Guy Games. Play >>>> to >>>> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >>>> _______________________________________________ >>>> 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 >>> ************************************ >>> >>> <webpage.jpg><naveditor.jpg> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 great >> events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to >> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 >> _______________________________________________ >> 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: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great > events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |