Re: [Hypercontent-users] Hello World Type Application-using hypercontent
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2006-09-07 06:49:51
|
Alex, I did exactly what u said, next thing I want to add a html file using the UI, cant I do it? I did add a one html file manually to the repository but it doent show in the UI. How can we view the html page (what is the url that I should give from outside app like uPortal, what is the URL should I give, my project definition now look like this <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cms-project SYSTEM "http://hypercontent.sourceforge.net/dtd/hypercontent2_0.dtd"> <cms-project> <resource-directory path="/**/*.html" label="Html File" publish="true"> <content type="text/html"/> </resource-directory> </cms-project> Carl, Ur demo zip works fine but I want to do my own hello world app. cause unfortunately more work needs to be done to the Help and HyperContent documentation, till that I want to learn my self what is going on. --- al <al...@bi...> wrote: > On Tue, 5 Sep 2006 23:47:40 -0700 (PDT), tom tom > wrote > > > I want to get a quick hello world type demo > > (prototype) using Hypercontent. Can't I get that > > through using HTML and images etc. Is it > mandotary > > that it should always go with XML,DTDs and > XSLTs. > > You do not have to use XML, DTDs and XSL if all you > want is plain WYSIWYG HTML. > > > > > I made a simple project definition but it failed. > > > > Also it complain about 'You are not authorized to > do > > this operation', Is there any place these been > > documented (steps)to get a simple project going > on > > HyperContent. > > For more info on configuring permissions, see > http://hypercontent.sourceforge.net/help/project/permissions.html > > There are some other good documents in that section > to help you get started, but some pages are > unfortunately still blank. > > > > > My intention is to demonstrte, HyperContent 2.0 > with > > CAS and uPortal. > > > > I created new project, and login as admin user. > > > > What is the support for the jsp pages, can we > have > > jsp > > pages, will it render? > > There is not currently a JSP renderer in > HyperContent. > > > <resource-directory path="/html" > label="htmlfiles"> > > <content type="text/html"/> > > <output content-type="text/html" /> > > </resource-directory> > > You're very close! The missing key here is a > wildcard in the pattern. > > <resource-directory path="/html/*.html" label="Html > File" publish="true"> > <content type="text/html"/> > </resource-directory> > > Note that with publish="true", you do not have to > specify an output if you just want the raw file > output. You would need an output if you wanted to > perform any processing, or change the content > type retured from the server. This is handy for > DTDs, for example, since browser don't recognize > their content type. > > <resource-directory label="DTD" path="/config/dtd/*" > publish="false"> > <content type="application/xml-dtd" /> > <output basedir="/" content-type="text/plain" /> > </resource-directory> > > File patterns are similar to ant patterns; you could > also specify your path as "/**/*.html", and this > would allow users to put HTML files in any directory > at any level. > > Cheers, > Alex > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |