Thread: [Hypercontent-users] Newbies Questions
Brought to you by:
alexvigdor
From: Liying M. <liy...@fa...> - 2005-06-30 18:26:56
|
Hi Experts, We are trying HC2.0 now to implement a test version of our university's website. We are still at the stage of understanding more of HC by playing with the sample project, modifying content. I know we can add items under News directory, but when we can't do certain things like adding a root menu item or changing the navigation to be a drop down list, we are stuck. I read the Hypercontent 1.4 Manual, and thanks, that was helpful in understanding the building blocks. However, I still don't know where to start. Here are the questions: 1. In order to meet our needs, do we modify the definitions in the sample project, or do we need a brand new project built? 2. If we need to build project from scratch, then, * Do we create a test-repository folder under C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory where sample-build and sample-repository exist) and leave webapp folder alone? * Do we first create Project Definition, filesystem, under C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstrap\ config and projects? How do we define it if we don't have user.xml, index.xml, index.xsl, projet.xsl, etc created yet? * What source can we borrow for the new project, what need to be modified and recompiled? Thanks so much for helping me get started. slowly. Lillian Miao ERP/IT Florida A&M University (850) 412-7999 |
From: Carl B. <C.P...@hu...> - 2005-07-01 08:50:35
|
Hi Lillian I'm still evaluating HC2.0 but I've been live with HC 1.4 here for some time. I'll do my best to answer your questions. Alex might want to add to what I've written later on, but hopefully this will help. Answers embedded below Many Thanks Carl Liying Miao wrote: > Hi Experts, > > We are trying HC2.0 now to implement a test version of our > university’s website. We are still at the stage of understanding more > of HC by playing with the sample project, modifying content. I know we > can add items under News directory, but when we can’t do certain > things like adding a root menu item or changing the navigation to be a > drop down list, we are stuck. > > I read the Hypercontent 1.4 Manual, and thanks, that was helpful in > understanding the building blocks. However, I still don’t know where > to start. Here are the questions: > > 1. In order to meet our needs, do we modify the definitions in the > sample project, or do we need a brand new project built? > From my experience you should always start a new project from scratch. Spend some time planning out the structure of your site, how your template and navigation will work and getting your dtds correct from the start and this will make live much easier in the future. > 2. If we need to build project from scratch, then, > > · Do we create a test-repository folder under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory > where sample-build and sample-repository exist) and leave webapp > folder alone? > Yes, you'll need to create the directory for the repository. You don't need to do anything with the webapp directory. > · Do we first create Project Definition, filesystem, under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstrap\config > and projects? How do we define it if we don’t have user.xml, > index.xml, index.xsl, projet.xsl, etc created yet? > If you login to http://localhost:8080/projects/ as admin. Add a new project by typing a name in the box and press enter. Set the mount point, /newproject/ ( will be accessible at http://localhost:8080/newproject) Set the repository path, repositories/project-repository/newproject login to your new site and you'll see the following directories config/ workflow/ You will see nothing else since it's not defined in the project definition at this point. In config you will see project-definition.xml where you can now build up your project. Adding your XML doctypes, build, publish paths etc... You can set up permissions in permissions.xml although thats not something I've done since HC1.4 used the uPortal group/permissions manager. > · What source can we borrow for the new project, what need to be > modified and recompiled? > I'm not too sure what you meant by that, can you clarify > Thanks so much for helping me get started… slowly… > > Lillian Miao > > ERP/IT > Florida A&M University > (850) 412-7999 > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ |
From: Alex V. <av...@co...> - 2005-07-01 15:06:45
|
Hi Liying, I think Carl's response sums it up; unlike other content = management =20 systems where the general use-case is shoe-horning your content into =20 one of several pre-defined structures, with HyperContent you design =20 your web site structure according to your particular requirements, and =20= then implement it in your project definition. This also leaves you =20 with the task of creating XSL to generate everything on every page. =20 We're happy to share some useful templates, for example to generate =20 navigation toolbars, breadcrumb trails, and other common patterns. =20 You'll find some discussion of these in the mailing list archives. It's pretty straightforward to implement very generic sites; you can =20 start a site with undifferentiated sections, unlimited depth, and XHTML =20= only content with a few simple document and resource types. <xml-doctype path=3D"/**/index.xml" label=3D"Index Page" root=3D"html"/> <xml-doctype path=3D"/**/*.xml" label=3D"Page" root=3D"html"/> <resource-directory path=3D"/**/*/" label=3D"Directory"/> <resource-directory path=3D"/**/*.jpg" label =3D"JPG image" = publish=3D"true"> <content type=3D"image/jpeg" /> </resource-directory> This gives you everything you need to start entering HTML data, JPG =20 images and unlimited subdirectories; to set up output, you will of =20 course have to set up output elements and XSL documents, and probably a =20= sitemap (not required, but very handy for doing the dirty work of =20 generating navigation). You can refine the structure as you go by =20 adding more specific document types with custom XML grammars and/or =20 different output logic. In terms of source, there is generally no need to change or add any =20 source code (except for the recently discussed modifications required =20= to change allowable tags and attributes in the WYSIWYG editor . . . =20 this will be in a configuration file someday!). You can change your =20 project definition, DTDs, groups, permissions, workflows, content and =20= XSL on the fly through the web interface. The main reason you might =20 want to write some custom code would be to implement some custom =20 pipeline logic, for example that might grab some data from an RDBMS and =20= render it into XML for transformation, or into Java objects for =20 presentation with Velocity templates. -Alex On Jul 1, 2005, at 4:50 AM, Carl Barrow wrote: > Hi Lillian > > I'm still evaluating HC2.0 but I've been live with HC 1.4 here for =20 > some time. I'll do my best to answer your questions. Alex might want =20= > to add to what I've written later on, but hopefully this will help. > > Answers embedded below > > Many Thanks > Carl > > Liying Miao wrote: > >> Hi Experts, >> >> We are trying HC2.0 now to implement a test version of our =20 >> university=92s website. We are still at the stage of understanding = more =20 >> of HC by playing with the sample project, modifying content. I know =20= >> we can add items under News directory, but when we can=92t do certain = =20 >> things like adding a root menu item or changing the navigation to be =20= >> a drop down list, we are stuck. >> >> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in =20= >> understanding the building blocks. However, I still don=92t know = where =20 >> to start. Here are the questions: >> >> 1. In order to meet our needs, do we modify the definitions in the =20= >> sample project, or do we need a brand new project built? >> > =46rom my experience you should always start a new project from = scratch. =20 > Spend some time planning out the structure of your site, how your =20 > template and navigation will work and getting your dtds correct from =20= > the start and this will make live much easier in the future. > >> 2. If we need to build project from scratch, then, >> >> =B7 Do we create a test-repository folder under =20 >> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory =20= >> where sample-build and sample-repository exist) and leave webapp =20 >> folder alone? >> > Yes, you'll need to create the directory for the repository. You don't = =20 > need to do anything with the webapp directory. > >> =B7 Do we first create Project Definition, filesystem, under =20 >> C:=20 >> = \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootst=20= >> rap\config and projects? How do we define it if we don=92t have =20 >> user.xml, index.xml, index.xsl, projet.xsl, etc created yet? >> > If you login to http://localhost:8080/projects/ as admin. > Add a new project by typing a name in the box and press enter. > Set the mount point, /newproject/ ( will be accessible at =20 > http://localhost:8080/newproject) > Set the repository path, repositories/project-repository/newproject > login to your new site and you'll see the following directories > config/ > workflow/ > You will see nothing else since it's not defined in the project =20 > definition at this point. > In config you will see project-definition.xml where you can now build =20= > up your project. Adding your XML doctypes, build, publish paths etc... > You can set up permissions in permissions.xml although thats not =20 > something I've done since HC1.4 used the uPortal group/permissions =20 > manager. > >> =B7 What source can we borrow for the new project, what need to be =20= >> modified and recompiled? >> > I'm not too sure what you meant by that, can you clarify > >> Thanks so much for helping me get started=85 slowly=85 >> >> Lillian Miao >> >> ERP/IT >> Florida A&M University >> (850) 412-7999 >> > > --=20 > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dcli= ck > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Liying M. <liy...@fa...> - 2005-07-01 15:27:23
|
Thanks so much Carl. I added a new project, chose argument to insert and set the path repositories/project-repository/test in the index 0. I could see it's added and filesystem.xml is there, but when I type http://localhost:8080/test, says page not found. Then when I went back to projects index page http://localhost:8080/projects, I got following error, and same error occurs when I even tried to edit sample project. Well, right before I got these errors, I did change the path from repositories/project-repository to repositories/project-repository/test (here is what's in the filesystem.xml <argument index="0"/><argument index="0" value="repositories/project-repository/test"/>) and change "test" from upper case to lower case letters. But that's all I did. There was an error processing your request null org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) org.hypercontent.server.Session.getFileOpener(Session.java:153) org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) org.hypercontent.server.Session.bindForm(Session.java:165) org.hypercontent.project.engine.stage.FormBindingStage.process(FormBindingSt age.java:60) org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) org.hypercontent.project.Project.getAsset(Project.java:542) org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) org.hypercontent.server.ContentServer.service(ContentServer.java:415) org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.java:10 4) javax.servlet.http.HttpServlet.service(HttpServlet.java:697) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:237) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:157) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:214) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext Valve.java:198) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:152) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137 ) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:102) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :109) org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex t.java:104) org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne ction(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:644) java.lang.Thread.run(Thread.java:595) -----Original Message----- From: hyp...@li... [mailto:hyp...@li...] On Behalf Of Carl Barrow Sent: Friday, July 01, 2005 4:50 AM To: 'Hypercontent-users' Subject: Re: [Hypercontent-users] Newbies Questions Hi Lillian I'm still evaluating HC2.0 but I've been live with HC 1.4 here for some time. I'll do my best to answer your questions. Alex might want to add to what I've written later on, but hopefully this will help. Answers embedded below Many Thanks Carl Liying Miao wrote: > Hi Experts, > > We are trying HC2.0 now to implement a test version of our > university's website. We are still at the stage of understanding more > of HC by playing with the sample project, modifying content. I know we > can add items under News directory, but when we can't do certain > things like adding a root menu item or changing the navigation to be a > drop down list, we are stuck. > > I read the Hypercontent 1.4 Manual, and thanks, that was helpful in > understanding the building blocks. However, I still don't know where > to start. Here are the questions: > > 1. In order to meet our needs, do we modify the definitions in the > sample project, or do we need a brand new project built? > From my experience you should always start a new project from scratch. Spend some time planning out the structure of your site, how your template and navigation will work and getting your dtds correct from the start and this will make live much easier in the future. > 2. If we need to build project from scratch, then, > > . Do we create a test-repository folder under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory > where sample-build and sample-repository exist) and leave webapp > folder alone? > Yes, you'll need to create the directory for the repository. You don't need to do anything with the webapp directory. > . Do we first create Project Definition, filesystem, under > C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstrap\ config > and projects? How do we define it if we don't have user.xml, > index.xml, index.xsl, projet.xsl, etc created yet? > If you login to http://localhost:8080/projects/ as admin. Add a new project by typing a name in the box and press enter. Set the mount point, /newproject/ ( will be accessible at http://localhost:8080/newproject) Set the repository path, repositories/project-repository/newproject login to your new site and you'll see the following directories config/ workflow/ You will see nothing else since it's not defined in the project definition at this point. In config you will see project-definition.xml where you can now build up your project. Adding your XML doctypes, build, publish paths etc... You can set up permissions in permissions.xml although thats not something I've done since HC1.4 used the uPortal group/permissions manager. > . What source can we borrow for the new project, what need to be > modified and recompiled? > I'm not too sure what you meant by that, can you clarify > Thanks so much for helping me get started. slowly. > > Lillian Miao > > ERP/IT > Florida A&M University > (850) 412-7999 > -- ************************************ Carl Barrow Web Developer e-Services The University of Hull Cottingham Road Hull HU6 7RX Ext. 6838 ************************************ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Hypercontent-users mailing list Hyp...@li... https://lists.sourceforge.net/lists/listinfo/hypercontent-users |
From: Alex V. <av...@co...> - 2005-07-01 15:50:42
|
Liying, Did you try to stop and restart the server? It sounds like it might be related to a bug that has been fixed since the beta2 release. Also, try adding a trailing slash to the path in your filesystem.xml if you still have problems. -Alex On Jul 1, 2005, at 11:27 AM, Liying Miao wrote: > Thanks so much Carl. > > I added a new project, chose argument to insert and set the path > repositories/project-repository/test in the index 0. I could see it's > added > and filesystem.xml is there, but when I type > http://localhost:8080/test, > says page not found. Then when I went back to projects index page > http://localhost:8080/projects, I got following error, and same error > occurs > when I even tried to edit sample project. Well, right before I got > these > errors, I did change the path from repositories/project-repository to > repositories/project-repository/test > > (here is what's in the filesystem.xml <argument index="0"/><argument > index="0" value="repositories/project-repository/test"/>) > > and change "test" from upper case to lower case letters. But that's > all I > did. > > There was an error processing your request > null > > org.hypercontent.project.FileOpener.<init>(FileOpener.java:34) > org.hypercontent.server.Session.getFileOpener(Session.java:153) > org.hypercontent.project.engine.Task.getFileOpener(Task.java:49) > org.hypercontent.server.Session.bindForm(Session.java:165) > org.hypercontent.project.engine.stage.FormBindingStage.process(FormBind > ingSt > age.java:60) > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:308) > org.hypercontent.project.engine.Pipeline.process(Pipeline.java:282) > org.hypercontent.project.Project.getAsset(Project.java:542) > org.hypercontent.project.AssetRequest.getAsset(AssetRequest.java:150) > org.hypercontent.server.ContentServer.service(ContentServer.java:415) > org.hypercontent.servlet.CompositionServlet.doGet(CompositionServlet.ja > va:10 > 4) > javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic > ation > FilterChain.java:237) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil > terCh > ain.java:157) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal > ve.ja > va:214) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo > ntext > Valve.java:198) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal > ve.ja > va:152) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav > a:137 > ) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.jav > a:117 > ) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:102) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve > .java > :109) > org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC > ontex > t.java:104) > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: > 520) > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) > org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 793) > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process > Conne > ction(Http11Protocol.java:702) > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java: > 571) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo > l.jav > a:644) > java.lang.Thread.run(Thread.java:595) > > > -----Original Message----- > From: hyp...@li... > [mailto:hyp...@li...] On Behalf Of > Carl > Barrow > Sent: Friday, July 01, 2005 4:50 AM > To: 'Hypercontent-users' > Subject: Re: [Hypercontent-users] Newbies Questions > > Hi Lillian > > I'm still evaluating HC2.0 but I've been live with HC 1.4 here for some > time. I'll do my best to answer your questions. Alex might want to add > to what I've written later on, but hopefully this will help. > > Answers embedded below > > Many Thanks > Carl > > Liying Miao wrote: > >> Hi Experts, >> >> We are trying HC2.0 now to implement a test version of our >> university's website. We are still at the stage of understanding more >> of HC by playing with the sample project, modifying content. I know we >> can add items under News directory, but when we can't do certain >> things like adding a root menu item or changing the navigation to be a >> drop down list, we are stuck. >> >> I read the Hypercontent 1.4 Manual, and thanks, that was helpful in >> understanding the building blocks. However, I still don't know where >> to start. Here are the questions: >> >> 1. In order to meet our needs, do we modify the definitions in the >> sample project, or do we need a brand new project built? >> > From my experience you should always start a new project from scratch. > Spend some time planning out the structure of your site, how your > template and navigation will work and getting your dtds correct from > the > start and this will make live much easier in the future. > >> 2. If we need to build project from scratch, then, >> >> . Do we create a test-repository folder under >> C:\hypercontent2.0b2\hypercontent2.0b2\hypercontent2 (same directory >> where sample-build and sample-repository exist) and leave webapp >> folder alone? >> > Yes, you'll need to create the directory for the repository. You don't > need to do anything with the webapp directory. > >> . Do we first create Project Definition, filesystem, under >> > C: > \hypercontent2.0b2\hypercontent2.0b2\hypercontent2\repositories\bootstr > ap\ > config >> and projects? How do we define it if we don't have user.xml, >> index.xml, index.xsl, projet.xsl, etc created yet? >> > If you login to http://localhost:8080/projects/ as admin. > Add a new project by typing a name in the box and press enter. > Set the mount point, /newproject/ ( will be accessible at > http://localhost:8080/newproject) > Set the repository path, repositories/project-repository/newproject > login to your new site and you'll see the following directories > config/ > workflow/ > You will see nothing else since it's not defined in the project > definition at this point. > In config you will see project-definition.xml where you can now build > up > your project. Adding your XML doctypes, build, publish paths etc... > You can set up permissions in permissions.xml although thats not > something I've done since HC1.4 used the uPortal group/permissions > manager. > >> . What source can we borrow for the new project, what need to be >> modified and recompiled? >> > I'm not too sure what you meant by that, can you clarify > >> Thanks so much for helping me get started. slowly. >> >> Lillian Miao >> >> ERP/IT >> Florida A&M University >> (850) 412-7999 >> > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > > ************************************ > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |