ok - i see what you're saying w/ the page default.

is your question about making it so when you click the "news index page" link, it 
automatically shows you the latest news items? 

if yes, the news module already does this (but it doesn't limit the amount of news 
item that are shown. that will become a per user configurable parameter once more of 
the porlet code is rolled out). 

are you looking to do something more or completely different then this for the main 
page?
-----
in answer to your original question...

if you wanted to change the default index page that is displayed, you would need a 
method in the NewsModule that exposes this functionality, and then you could replace 
the the following line in the jboss-service.xml file w/ your method name:


  | <operation
  |     name="newsindexpage"  <-- change this
  |     display-name="News"
  |     description="The news."
  |     image=""
  |     hint=""/>
  | 

just as an fyi, an customizations you've made to the current news module is going to 
be completely incompatible w/ the 1.1 release (the code is being cleaned up 
dramtically). 

if your enhancement is doing something more then just displaying the latest items, i 
would appricate it if you could send me your changes and i can investigate integrating 
them into what will be the 1.1 release. 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830795#3830795

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830795


-------------------------------------------------------
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
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to