portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaƫl Luta <raphael.l...@networks.groupvu.com>
Subject Re: Problems with JetSPeed from CVS..
Date Wed, 25 Apr 2001 16:17:59 GMT
Ingo Schuster wrote:
> 
> At 14:45 04/25/01, David Sean Taylor wrote:
> > > So the question is: why is the generated link like it is? I
> > > think it's
> > > produced by the CardPortletController. I'll check it.
> >
> >I was looking at this yesterday. In modules/pages/JetspeedTemplatePage.java:
> >
> >         if ( !template.startsWith( "/" ) )
> >         {
> >             StringBuffer templatePath = new StringBuffer("/");
> >
> >but I dont think thats the real problem.
> >I believe its somewhere in services/template/JetspeedTemplateService.java,
> >perhaps parseScreenTemplate()
> 
> No, definetely not. the problem is that the link is malformed: A template
> parameter in jetspeed must specify a template name without any leading path
> (and without a file extension).
> 

If I remember the CardController code correctly, it just copies the rundata parameters
and only adds the pane specific one. So the template name has already been resolved or
transformed before the Controller is called.

--
Raphael Luta - raphael.luta@networks.groupvu.com
Vivendi Universal Networks - Paris

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message