Re: FW: Problem getting sample to work

Anthony Eden <[email protected]> Sat, 03 Apr 2004 18:51:56 -0500
Newsgroups gmane.comp.java.jpublish.devel
Message-ID <[email protected]>
You can name the repository anything you want but the name you use in 
the basic.html template must match the name of the repository as it 
appears in the jpublish.xml file. I need to update the tutorial for the 
JPublish 3.x changes, thanks for pointing that out. If you have any 
other questions along the way please feel free to post them here.

Sincerely,
Anthony Eden

Adrian Klingel wrote:

> Please disregard, I’ve figured out that I named the repository 
> incorrectly in jpublish.xml. I had originally called it 
> “content_repository”, after what is stated in the Tutorial, which I 
> believe may be from a previous version.
>
> Thanks,
>
> Adrian Klingel
>
> -----Original Message-----
> *From:* [email protected] 
> [mailto:[email protected]] *On Behalf Of 
> *Adrian Klingel
> *Sent:* Saturday, April 03, 2004 6:28 PM
> *To:* [email protected]
> *Subject:* [JPublish-developer] Problem getting sample to work
>
> I’m using JPublish 3.0b1 with FreeMarker and Beanshell, and attempting 
> to get a sample application to run. I first deployed the 
> jpublish-empty.war file, created by bean classes and Beanshell scripts.
>
> I’ve got all the necessary files set up (basic.html, jpublish.xml, 
> index.html, index.xml) and I’ve got the files in their appropriate 
> places. However, when I attempt to access the index.html page, I see 
> the FreeMarker (or maybe it’s Velocity, I don’t know) references in my 
> basic.html. The page title is referenced using $page.title, and that 
> is working correctly. However, none of the $content stuff is being 
> interpreted – it’s just the call itself that is seen in the browser.
>
> Does anyone have an idea why a $page attribute would get interpreted, 
> and not a $content attribute?
>
> Thanks very much,
>
> Adrian Klingel
>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click