David Sean Taylor wrote:
> 
> 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
> 

I believe that the merged HEAD uses the new proposal-0003 syntax from
Kevin work but kept the existing PSML syntax from the pre-proposal-0003
branch.
I've committed a new simple PSML file as default.psml

> 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)
>

This is necessary for resolving the multi-threading issues.
 
> 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
>

This looks like a bug. 
Let me have a look... yes... it's now fixed in the CVS :)
 
> 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?
> 

Update your CVS tree ;)

--
Rapha�l Luta - [EMAIL PROTECTED]


--
--------------------------------------------------------------
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]

Reply via email to