Here's an example of a Velocity template that does what you want. By default, it displays a list of article summaries, in this case mocked up by a #foreach loop. Each summary has a "more" link that adds a query parameter with the article ID and references the default (presumably current) template. If the template sees the article ID, then it shows the full text of the selected article.
-- Michael On 12/22/02 11:19 PM, "Cheng Hok Man, Match" <[EMAIL PROTECTED]> wrote: > Hi, > I had setup the jetspeed 1.4b3 on Tomcat 4.1.12, jdk1.4.0_01. > Everything is smooth. > > Now, I want to publish an article on jetspeed. On the frontpage, > I wish to show the first paragraph of the article. The portlet has a > link which links to the full article. It just like the same things in > javaworld.com, or etc. > I find that the existing facilities from JspPortlet, > WebPagePorlet, etc cannot fullfill my requirements. Did I miss > something? Do we have any facilities can complete the task? > > Thank you very much. > Match. > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> >
articles.vm
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
