> No it doesn't, in fact it is empty. I noticed that the JspPortletAction
> method "setTemplate" has been deprecated, so I guess I incorrectly assumed
> that since I specified the customizetemplate in the registry that the
> Jetspeed engine would switch the customize portlet with the original
> portlet. So if it is deprecated what is the right method to implement
> this
> functionality?
Yes the setTemplate() is in fact deprecated in JspPortlet but the setTemplate()
methods in PortletAction are not so you can use them with out worrying. We deprecated
the setTemplate() in JspPortletAction to help prod users into using the ones from
PortletAction which are part of the new MVC model.
So just do this.
buildCustomizedContext()
{
...
setTemplate("myTemplate.jsp");
...
}
> As a side note, I noticed in the javadoc for JspPortletAction that
> "NOTE:This supports the pre-MVC style of template based portlet
> development
> and is supplied for backward compatibility. It is suggested you use a
> combination of ". Is the JspPortlet going to be phased out? I am right
> about to build about 10 portlets so I want to get it as close to right as
> possible.
Definitely use the MVC model. Currently both Velocity and JSP actions are just
wrappers over the top of the MVC stuff anyway.
If you feel that the fact the "customizeTemplate" is not working as advertised, please
log a Bug report so we can correct. Myself personally, I never have paid much
attention to the customizeTemplate parameter, I have always done things "by hand" like
I showed you above.
Regards,
*===================================*
* Scott T Weaver������������������� *
* Jakarta Jetspeed Portal Project�� *
* [EMAIL PROTECTED] *
*===================================*
�
> -----Original Message-----
> From: Andy Benjamin [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 08, 2003 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Not to be a pain, but...
>
> Scott,
>
> No it doesn't, in fact it is empty. I noticed that the JspPortletAction
> method "setTemplate" has been deprecated, so I guess I incorrectly assumed
> that since I specified the customizetemplate in the registry that the
> Jetspeed engine would switch the customize portlet with the original
> portlet. So if it is deprecated what is the right method to implement
> this
> functionality?
>
> As a side note, I noticed in the javadoc for JspPortletAction that
> "NOTE:This supports the pre-MVC style of template based portlet
> development
> and is supplied for backward compatibility. It is suggested you use a
> combination of ". Is the JspPortlet going to be phased out? I am right
> about to build about 10 portlets so I want to get it as close to right as
> possible.
>
> Thanks for all your assistance!
>
> Andy
>
>
> >From: "Weaver, Scott" <[EMAIL PROTECTED]>
> >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> >To: 'Jetspeed Users List' <[EMAIL PROTECTED]>
> >Subject: RE: Not to be a pain, but...
> >Date: Fri, 8 Aug 2003 09:58:19 -0400
> >
> >Andy,
> >
> >Does your buildCustomizeContext() method set template to point to your
> >custom customization template?
> >
> >*===================================*
> >* Scott T Weaver������������������� *
> >* Jakarta Jetspeed Portal Project�� *
> >* [EMAIL PROTECTED] *
> >*===================================*
> >
> >
> >
> > > -----Original Message-----
> > > From: Andy Benjamin [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, August 08, 2003 9:36 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Not to be a pain, but...
> > >
> > > Scott,
> > >
> > > I think there is some disconnect somewhere as I still get the same
> > > results.
> > > The portlet just maximizes itself but displays the original portlet
> >again
> > > -
> > > not its customize jsp. I have attached an extremely simple example
> that
> > > shows this behavior. I am guessing that my registry doesn't look like
> >it
> > > should. Thanks!
> > >
> > > Andy
> > >
> > >
> > > >From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > > >Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > > >To: 'Jetspeed Users List' <[EMAIL PROTECTED]>
> > > >Subject: RE: Not to be a pain, but...
> > > >Date: Fri, 8 Aug 2003 09:07:49 -0400
> > > >
> > > >Hi Andy,
> > > >
> > > >I have JSP portlets that have there own customizer and they work
> fine.
> > > >What version of Jetspeed are you on? If you are on b3 or greater you
> >can
> > > >set this parameter within your portlet's registry entry.
> > > >
> > > ><parameter name="provides.customization" value="true"
> > > > hidden="false" cachedOnName="true"
> cachedOnValue="true"/>
> > > >
> > > >If it is before b3 then your portlet class will have to override the
> > > >providesCusomization() method to return "true".
> > > >
> > > >
> > > >hth,
> > > >*===================================*
> > > >* Scott T Weaver������������������� *
> > > >* Jakarta Jetspeed Portal Project�� *
> > > >* [EMAIL PROTECTED] *
> > > >*===================================*
> > > >
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Andy Benjamin [mailto:[EMAIL PROTECTED]
> > > > > Sent: Friday, August 08, 2003 8:48 AM
> > > > > To: [EMAIL PROTECTED]
> > > > > Subject: Not to be a pain, but...
> > > > >
> > > > > Hey all,
> > > > >
> > > > > I know a couple people on this list are having trouble overriding
> >the
> > > > > portlet customize icon and substituting their own jsp instead of
> the
> > > > > default
> > > > > velocity one.
> > > > >
> > > > > With all the discussions about jsr-168 and that other portal
> > > dominating
> > > > > the
> > > > > list discussion for the past few days I was afraid this issue
> would
> > > fall
> > > > > through the cracks.
> > > > >
> > > > > This issue is a blocking type issue and if someone could just
> >confirm
> > > >that
> > > > > it is a bug and say that it will be fixed in the next release or
> > > >provides
> > > > > a
> > > > > workaround that would be much appreciated. Thanks!!
> > > > >
> > > > >
> > > > > Andy
> > > > >
> > > > > _________________________________________________________________
> > > > > Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> > > > > http://join.msn.com/?page=features/junkmail
> > > > >
> > > > >
> > > > >
> >---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: jetspeed-user-
> [EMAIL PROTECTED]
> > > > > For additional commands, e-mail:
> >[EMAIL PROTECTED]
> > >
> > > _________________________________________________________________
> > > Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> > > http://join.msn.com/?page=features/junkmail
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]