You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Jonathan Hawkins <jo...@hawkinsweb.co.uk> on 2004/10/11 15:44:07 UTC
How to use my own customization page ?
This is the scenario that I have been trying to solve for far too long now
!!!
I have a JSP Portlet that I want to use my own customization page when the
user clicks on the customize icon on the portlet title. Fairly
straightforward stuff I would have thought.
I've set the providescustomization to true in my portlet xreg file and in
the BuildConfigureContext in my action class I have called setTemplate to my
customization page. First problem is you can only set the customization page
to be a jsp page, I assume because it is a jsp portlet.
I have now got my customization page to call the CustomizeAction class,
that's fine, except I get no parameters returned. So taking a look at
another portlet I see that when the customize icon is clicked the
CustomizeAction.BuildNormalContext method is called and the context is setup
to tell the system that I am customizing. Second problem, my jsp portlet
uses it's own action class and I don't want all the
CustomizeAction.BuildNormalContext stuff in my action classes
BuildNormalContext.
Basically, I want my jsp portlet to use my own customization page, any
assistance would be greatly appreciated. The amount of time that this has
taken and the "apparent" brick walls that I have come up against leaves me
thinking that Jetspeed 1.5 is not ideal for application development, which
is a shame.
Many thanks
Jon Hawkins
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: How to use my own customization page ?
Posted by "Scott T. Weaver" <sc...@binary-designs.net>.
Jonathan,
You might want to try using Jetspeed 1.6 plus Fusion and just write
straight JSR-168 portlets. Writing a JSR-168 portlet is not much
different then writing a servlet, the two apis are very similar. Also
with JSR-168 you don't have to worry about the idiosyncracies of the
Turbine framework on which Jetspeed 1 is heavily coupled to. This were
I think most of your problems are stemming from.
Jonathan Hawkins wrote:
>This is the scenario that I have been trying to solve for far too long now
>!!!
>
>I have a JSP Portlet that I want to use my own customization page when the
>user clicks on the customize icon on the portlet title. Fairly
>straightforward stuff I would have thought.
>
>I've set the providescustomization to true in my portlet xreg file and in
>the BuildConfigureContext in my action class I have called setTemplate to my
>customization page. First problem is you can only set the customization page
>to be a jsp page, I assume because it is a jsp portlet.
>
>I have now got my customization page to call the CustomizeAction class,
>that's fine, except I get no parameters returned. So taking a look at
>another portlet I see that when the customize icon is clicked the
>CustomizeAction.BuildNormalContext method is called and the context is setup
>to tell the system that I am customizing. Second problem, my jsp portlet
>uses it's own action class and I don't want all the
>CustomizeAction.BuildNormalContext stuff in my action classes
>BuildNormalContext.
>
>Basically, I want my jsp portlet to use my own customization page, any
>assistance would be greatly appreciated. The amount of time that this has
>taken and the "apparent" brick walls that I have come up against leaves me
>thinking that Jetspeed 1.5 is not ideal for application development, which
>is a shame.
>
>Many thanks
>
>Jon Hawkins
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>
>
--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people." - Admiral Hyman Rickover
*******************************************
* Scott T. Weaver *
* <we...@apache.org> *
* <http://www.einnovation.com> *
* -------------------------------------- *
* Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container *
* *
* OpenEditPro, Website Content Management *
* <http://www.openedit.org> *
*******************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org