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 Michael Klaene <mk...@yahoo.com> on 2004/01/28 18:57:35 UTC

IFrame and passing attributes...

Hi,
I wanted to pass a request attribute from an IFrame to the called application within the IFrame.  I want to override the BASICAuthIFramePortlet class but is it possible to set an attribute on that can be processed by another ServletContext?
 
Any help would be appreciated,


Mike





---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: IFrame and passing attributes...

Posted by Michael Klaene <mk...@yahoo.com>.
Great.  That sounds like just what I need... Could you post the relevant code or do you have it available on-line somewhere?
 
I've tried adding parameters through the jetspeed admin front-end on my IFrame portlet.  But upon checking request attributes in the called program, I see nothing.  
 
I'm just not sure how to accomplish this.
 
Thanks,
Mike

Peter_Anders�n <pe...@internetborder.se> wrote:
Hi
I have a generic IframePortlet.
It can both do Basic Auth.
It can pass username and password if you want as form post it can also pass
three additional parameters that yuo decide the name and value for !

/Peter

----- Original Message ----- 
From: "Michael Klaene" 
To: 
Sent: Wednesday, January 28, 2004 6:57 PM
Subject: IFrame and passing attributes...


> Hi,
> I wanted to pass a request attribute from an IFrame to the called
application within the IFrame. I want to override the
BASICAuthIFramePortlet class but is it possible to set an attribute on that
can be processed by another ServletContext?
>
> Any help would be appreciated,
>
>
> Mike
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!


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


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Rundata removing session attributes?

Posted by Michael Klaene <mk...@yahoo.com>.
I've got a SessionListener object which sets a couple of session attributes (getting current session from HttpSessionEvt) upon creating a new session.
 
In buildNormalContext of a portlet, I'm trying to retrieve those same attributes from the session but all I get is NULL.  I'm using something like String s = (String)rundata.getSession().getAttribute("s");
 
I've confirmed (by checking session id's) that the session is the same in both methods.  Also, the attribute names would not not conflict with other Jetspeed attributes so is it possible that somewhere rundata or someother object is removing these attributes?
 
Any help would be appreciated,
Thanks,
Mike





---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!

Re: IFrame and passing attributes...

Posted by Peter Andersén <pe...@internetborder.se>.
Hi
I have a generic IframePortlet.
It can both do Basic Auth.
It can pass username and password if you want as form post it can also pass
three additional parameters that yuo decide the name and value for !

/Peter

----- Original Message ----- 
From: "Michael Klaene" <mk...@yahoo.com>
To: <je...@jakarta.apache.org>
Sent: Wednesday, January 28, 2004 6:57 PM
Subject: IFrame and passing attributes...


> Hi,
> I wanted to pass a request attribute from an IFrame to the called
application within the IFrame.  I want to override the
BASICAuthIFramePortlet class but is it possible to set an attribute on that
can be processed by another ServletContext?
>
> Any help would be appreciated,
>
>
> Mike
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!


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