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 Holger Dewes <h....@insiders.de> on 2003/10/14 10:22:30 UTC

Problems with portlet parameter customization (bug?)

Hello,

I have a problem with portlet parameter customization. When a user logs
in, and a portlet parameter is set to a value (let's call it value A)
that does not equal the standard value from the registry (let's call
that value B), and it is set to value B, then afterwards the customizer
shows not value B (the current value) but value A (the value it had when
logging in). So basically, when changing a parameter value to the
registry value, the customizer still shows the old, non-registry value.
However, in the PSML, the values are correct.

I did some debugging, and it seems that when setting a value equal to
the registry value, it is removed from the user's PSML (this happens in
CustomizeAction.doUpdate()). However, in
CustomizeAction.buildNormalContext(), if the current value cannot be
found in the portlet instance (which is, I suppose, the value from the
user's PSML), it uses instead
Portlet.getPortletConfig().getInitParameter(). I can only guess that
that is the value as it was when the portlet was initialized, i.e. when
the user has logged in. But this does _not_ represent the current value.

So my question really is: bug or feature?

Cheers
-- 
Holger Dewes


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


RE: Problems with portlet parameter customization (bug?)

Posted by Mark Orciuch <ma...@ngsltd.com>.
I committed some portlet customizer related changes few days ago so Sept. 9
is not really up to date. I can't help you with your firewall problem :-(

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: Holger Dewes [mailto:h.dewes@insiders.de]
> Sent: Wednesday, October 15, 2003 2:56 AM
> To: 'Jetspeed Users List'
> Subject: RE: Problems with portlet parameter customization (bug?)
>
>
>
> > -----Original Message-----
> > From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> > Sent: Tuesday, October 14, 2003 4:36 PM
> > To: Jetspeed Users List
> > Subject: RE: Problems with portlet parameter customization (bug?)
> >
> >
> > Please pull down the latest sources from CVS and try it
> > again. If it's still a problem, please log a Bugzilla bug. Thanks!
>
> Hi Mark,
>
> the problem is that I am sitting behind a firewall and cannot access the
> CVS server directly. And the latest packaged version is from 9. Sept.
> 2003. Is that really up-to-date? If not so, how can I get the current
> version?
>
> Cheers
> --
> Holger Dewes
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>



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


RE: Problems with portlet parameter customization (bug?)

Posted by Tim Reilly <ti...@consultant.com>.
FWIW

I have the same firewall issue at work. 
I just saw this tonight and plan to try it out. 
http://cvsgrab.sourceforge.net/


> -----Original Message-----
> From: Holger Dewes [mailto:h.dewes@insiders.de]
> Sent: Wednesday, October 15, 2003 3:56 AM
> To: 'Jetspeed Users List'
> Subject: RE: Problems with portlet parameter customization (bug?)
> 
> 
> 
> > -----Original Message-----
> > From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com] 
> > Sent: Tuesday, October 14, 2003 4:36 PM
> > To: Jetspeed Users List
> > Subject: RE: Problems with portlet parameter customization (bug?)
> > 
> > 
> > Please pull down the latest sources from CVS and try it 
> > again. If it's still a problem, please log a Bugzilla bug. Thanks!
> 
> Hi Mark,
> 
> the problem is that I am sitting behind a firewall and cannot access the
> CVS server directly. And the latest packaged version is from 9. Sept.
> 2003. Is that really up-to-date? If not so, how can I get the current
> version?
> 
> Cheers
> -- 
> Holger Dewes
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 

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


RE: Problems with portlet parameter customization (bug?)

Posted by Holger Dewes <h....@insiders.de>.
> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com] 
> Sent: Tuesday, October 14, 2003 4:36 PM
> To: Jetspeed Users List
> Subject: RE: Problems with portlet parameter customization (bug?)
> 
> 
> Please pull down the latest sources from CVS and try it 
> again. If it's still a problem, please log a Bugzilla bug. Thanks!

Hi Mark,

the problem is that I am sitting behind a firewall and cannot access the
CVS server directly. And the latest packaged version is from 9. Sept.
2003. Is that really up-to-date? If not so, how can I get the current
version?

Cheers
-- 
Holger Dewes


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


RE: Problems with portlet parameter customization (bug?)

Posted by Holger Dewes <h....@insiders.de>.
> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com] 
> Sent: Tuesday, October 14, 2003 4:36 PM
> To: Jetspeed Users List
> Subject: RE: Problems with portlet parameter customization (bug?)
> 
> 
> Please pull down the latest sources from CVS and try it 
> again. If it's still a problem, please log a Bugzilla bug. Thanks!
> 

Hi Mark,

I just tested it with a CVS copy from yesterday and I can't reproduce
the bug.

Good work :-)

Cheers
-- 
Holger Dewes


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


RE: Showing external URL in portlet

Posted by suchisubhra sinha <su...@cisco.com>.
Cool.  I am  not ready  to  use Iframe but may be will  use
WebSurfPortlet.
Thank you  very much  and really appreciate your help.

~suchi

-----Original Message-----
From: Jhon [mailto:developer_me@yahoo.com] 
Sent: Tuesday, October 14, 2003 2:26 PM
To: Jetspeed Users List
Subject: Re: Showing external URL in portlet


There different ways to achieve this.

1>First thing is u can use IFramePortlet. This will
display all other links within same window.

2>If you don't want to use <IFrame>, you may go
WebSurfPortlet which rewrites all links so that they
will be displayed in same window.
For details visit :
http://jakarta.apache.org/jetspeed/site/community-portlets.html

hope this helps,
j

--- suchisubhra sinha <su...@cisco.com> wrote:
> Hi All,
>   I am trying to  build an application that is
> calling an external site
> (www.yahoo.com)
> In one of my portlet. This is working fine. But as
> yahoo has so many
> links inside
> , any one clicking one  of their links it is taking
> them  outside our
> portlet look and feel.
> They  see what  Yahoo  is showing them. Is there any
>  way  I can  show
> them  in my portlet?
> 
> My  requirement is no way  user  can  go  oot of my portlet/portal  
> look and feel( don't
> Think I am  stufburn).
> 
> Please help  me.
> 
> Thanx
> ~suchi
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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



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


Re: Showing external URL in portlet

Posted by Jhon <de...@yahoo.com>.
There different ways to achieve this.

1>First thing is u can use IFramePortlet. This will
display all other links within same window.

2>If you don't want to use <IFrame>, you may go
WebSurfPortlet which rewrites all links so that they
will be displayed in same window.
For details visit :
http://jakarta.apache.org/jetspeed/site/community-portlets.html

hope this helps,
j

--- suchisubhra sinha <su...@cisco.com> wrote:
> Hi All,
>   I am trying to  build an application that is
> calling an external site
> (www.yahoo.com)
> In one of my portlet. This is working fine. But as
> yahoo has so many
> links inside
> , any one clicking one  of their links it is taking
> them  outside our
> portlet look and feel.
> They  see what  Yahoo  is showing them. Is there any
>  way  I can  show
> them  in my portlet?
> 
> My  requirement is no way  user  can  go  oot of my
> portlet/portal  look
> and feel( don't 
> Think I am  stufburn).
> 
> Please help  me.
> 
> Thanx
> ~suchi
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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


Showing external URL in portlet

Posted by suchisubhra sinha <su...@cisco.com>.
Hi All,
  I am trying to  build an application that is calling an external site
(www.yahoo.com)
In one of my portlet. This is working fine. But as yahoo has so many
links inside
, any one clicking one  of their links it is taking them  outside our
portlet look and feel.
They  see what  Yahoo  is showing them. Is there any  way  I can  show
them  in my portlet?

My  requirement is no way  user  can  go  oot of my portlet/portal  look
and feel( don't 
Think I am  stufburn).

Please help  me.

Thanx
~suchi


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


RE: Problems with portlet parameter customization (bug?)

Posted by Mark Orciuch <ma...@ngsltd.com>.
Please pull down the latest sources from CVS and try it again. If it's still
a problem, please log a Bugzilla bug. Thanks!

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: Holger Dewes [mailto:h.dewes@insiders.de]
> Sent: Tuesday, October 14, 2003 3:23 AM
> To: jetspeed-user@jakarta.apache.org
> Subject: Problems with portlet parameter customization (bug?)
>
>
> Hello,
>
> I have a problem with portlet parameter customization. When a user logs
> in, and a portlet parameter is set to a value (let's call it value A)
> that does not equal the standard value from the registry (let's call
> that value B), and it is set to value B, then afterwards the customizer
> shows not value B (the current value) but value A (the value it had when
> logging in). So basically, when changing a parameter value to the
> registry value, the customizer still shows the old, non-registry value.
> However, in the PSML, the values are correct.
>
> I did some debugging, and it seems that when setting a value equal to
> the registry value, it is removed from the user's PSML (this happens in
> CustomizeAction.doUpdate()). However, in
> CustomizeAction.buildNormalContext(), if the current value cannot be
> found in the portlet instance (which is, I suppose, the value from the
> user's PSML), it uses instead
> Portlet.getPortletConfig().getInitParameter(). I can only guess that
> that is the value as it was when the portlet was initialized, i.e. when
> the user has logged in. But this does _not_ represent the current value.
>
> So my question really is: bug or feature?
>
> Cheers
> --
> Holger Dewes
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>



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