I don't know how many of you out there are just switching over to the new
build ( I know, its about time... )
I for one did so yesterday, and to my surprise it builds and runs!
Im attempting to compile a list of potential problems for those of you about
to do the same.
Some observations about the new build. Please correct me if they are
inaccurate:
1. default.psml has some unmatched tags. It also has some new tags
'portlet-controller-ref' and 'portlet-set'
2. the new jcfg file now names portlet entries 'portlet-entry'
New registries:
<portlet-registry>
<portlet-control-registry>
<portlet-controller-registry>
<media-type-registry>
<profile-registry>
<capability-map-registry>
3. the 'default' user's screen is empty, however the 'turbine' user works
fine
you can plug in your own default user screen and it seems to work
4. Portlet.getContent signature changed
public ConcreteElement getContent( RunData rundata ) {
5. Portlet.getPortletConfig().getRunData() is no longer available (see
Santiago Gala's email Nov.9)
6 From the Portlet's init() method, getInitParameter() no longer works (it
returns null):
PortletConfig config = this.getPortletConfig();
xmlFile = config.getInitParameter("xml"); // get a parameter from
default.psml
I need help here:
This last one really breaks a lot of my code. Is there currently a way to
get parameters from <user>.psml?
Thanks
David
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://marc.theaimsgroup.com/?l=jetspeed>
Problems?: [EMAIL PROTECTED]