So Portlet.getTitle() now returns a String.

I did this so that HTML and presentation was removed some more from
Portlet.

In the past the RSSPortlet used the <link> element to point to a "more
information" url.  EX:  on the Slashdot RSS there was a <link> that was
http://www.slashdot.org.  So what I was doing was creating a title that
was essentially:

<a href="http://www.slashdot.org">Slashdot</a>

This won't work anymore because:

- XSP apps can't use getTitle() because it was an ECS element and not
XML
- places presentation support on the PortletControl

So I was thinking that we could have another method in the portlet like:

getLink() or something (I don't totally like this so if someone will
come up with another suggestion)...

The PortletControl will then use getTitle() and getLink() (assuming it
is not null) and creating an additional A link for more information.

Thoughts?
        
-- 
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN:  "Please Open Source Java!"
The house of the unbelievers shall be razed and they shall be
scorched to the earth. Their code will be open until the end of days.


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to