<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>Hi Everybody,<BR>
<BR>
I have some problem while creating a new news article using '+' button. I wrote a jsp file which get all news pages in the current folder. When jsp page is loaded it retrieves all <BR>
the news pages that are based on news_article structure content type. but the probllem is when I click on new icon I am not sure I should I write the code.<BR>
<BR>
Currently my code works fine only for displaying by using following sentence.<BR>
<BR>
<cms:contentload collector="allInFolderPriorityDateDesc" param="tests/|news_article" editable="true" >.. this code works fine but it can only retrieve the all files that are type <BR>
of news article. but when I try to add new page it shows some exception like 'tests already exists'. tests is my folder where I have all news pages(<FONT>news1.html</FONT>, news2.html,..news5.html)<BR>
<BR>
After having some research on Templateone I changed the code to following way.<BR>
<BR>
<cms:contentload collector="${property.collector}" param="${property.tests}news_${number}.html|news_article" editable="true"><BR>
<BR>
But I am getting errors like "for input string". I am not sure with what value the property.collector is substituted. I went through properties of jsp page and gave same properties that working<BR>
file has(templateone).<BR>
<BR>
If anyone has knowledge pls share with me.<BR>
<BR>
Thanks in Advance <BR>
Srini<BR>
<BR><br /><hr />Be one of the first to try Windows Live Mail. <a href='http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d' target='_new'>Windows Live Mail.</a></body>
</html>