Hi Moabi,

You can set properties for the HTMLRewriter through the call to it's
contructor.
This is done in the BrowserServlet since it does the rewriting for the
IFramePortlet.
Look at the handleTextContent method. There are the settable boolean
properties to configure the rewriter to remove javascript or headers or
applets etc.

Thanks,
Casey

-----Original Message-----
From: Moabi Nyokong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 12:43 AM
To: 'Jetspeed Users List'
Subject: RE: Jar file containing new portlets that enhance IFrame and
webr writing capabilities


Hi Glen,
I'm having problems with your IFramePortlet...I'm using an image chart with
ALT and HREF tags, but the software seems to overide the ALT tags and use a
javascript fn for this, that isn't being parsed properly in IE. Is there a
way to remove any javascript functinality in the IFRamPortlet?

-----Original Message-----
From: Glen Carl [mailto:[EMAIL PROTECTED]]
Sent: 25 November 2002 11:18
To: Jetspeed Users List
Subject: Re: Jar file containing new portlets that enhance IFrame and webr
writing capabilities


No worries. We need to improve our documentation. We are happy there is
some interest in these portlets, and there is some discussion. It helps
us determine some areas that need improvement.
Thanks,
Glen

Steve wrote:
> Sorry, I misunderstood the meaning of "cookie-less operation" in the
> announcement.
>
> Steve
>
> ----- Original Message -----
> From: "Glen Carl" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Cc: "Casimiro Lovato-Winston" <[EMAIL PROTECTED]>
> Sent: Monday, November 25, 2002 5:39 PM
> Subject: Re: Jar file containing new portlets that enhance IFrame and
> webr writing capabilities
>
>
>
>>Actually, the portlets were developed to support both cookie and
>>cookie-less sessions. However, the portlets were primarily designed to
>>support xml/xsl. You may want to debug the mime type that is being
>>passed in for the Jsp. We have some logic to handle binary data, and
>>the .jsp may be getting filtered as binary data, since for our
>>project, at this time, we are only processing the html and xml, and
>>other input is being treated as binary data. I would believe the
>>source can be easily adapted to support jsp and velocity. Tomorrow,
>>Casey may have some time to explain in greater detail how to deal with
>>JSP's. Please let us know if you find a way to adapt the source for
>>JSP's and we will implement it. Thanks,
>>Glen
>>
>>Steve wrote:
>>
>>>This is likely because they do not support cookies.
>>>
>>>You could probably work around this if you modified your jsp to
>>>support cookie-less sessions.  The .jsp can add info to the href's so
>>>that the
>>
> url
>
>>>includes a session-id so the next .jsp will use an existing session.
>>>
>>>Steve B.
>>>
>>>----- Original Message -----
>>>From: "Martin Kisimov" <[EMAIL PROTECTED]>
>>>To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
>>>Sent: Monday, November 25, 2002 10:41 AM
>>>Subject: RE: Jar file containing new portlets that enhance IFrame and
>>
> webr
>
>>>writing capabilities
>>>
>>>
>>>
>>>
>>>>another question with which I am struggling
>>>>
>>>>I set an attribute in the WebBrowserPortlet, but is not available in
>>>>a simple jsp which I display in the portlet. Infact none of the
>>>>attributes
>>>
>>>are
>>>
>>>
>>>>available in the jsp and the session.isNew method returns true.
>>>>
>>>>I am a bit confused, as this happens all the time and new session
>>>>gets created all the time
>>>>
>>>>Any answers to that?
>>>>
>>>>On the other hand I made a listener which looks at when an attribute
>>>>get placed removed or replace in a session and all the attributes
>>>>are there, however via the jsp I do not get anything in terms of
>>>>attributes.
>>>>
>>>>Why is that
>>>>
>>>>
>>>>-----Original Message-----
>>>>From: Glen Carl [mailto:[EMAIL PROTECTED]]
>>>>Sent: 22 November 2002 10:04
>>>>To: Jetspeed Users List
>>>>Subject: Re: Jar file containing new portlets that enhance IFrame
>>>>and webr ewriting capabilities
>>>>
>>>>
>>>>Martin,
>>>>You may need to modify the util/WebBrowserRewriter.java to include
>>>>the template reference. Follow the way styleSheetLocation is done,
>>>>where a CSS link is placed in the head. The version we submitted has
>>>>the style hard-coded, but in my current version I have made the
>>>>style dynamic, and match the style to the skin. You will probably
>>>>want to do the same for your Jsp templates. I chose to pass the skin
>>>>selection between the IframeProxyPortlet and BrowserServlet via
>>>>HttpSession setAttribute/getAttribute. If there is more interest in
>>>>our proxy portlets, I will update the source to include this
>>>>feature. Glen
>>>>
>>>>Martin Kisimov wrote:
>>>>
>>>>
>>>>>ok I got it to work, just have a few questions.
>>>>>
>>>>>I am trying to implement a template which has standard navigations
>>>>>for
>>>>
>>>>every
>>>>
>>>>
>>>>>jsp that gets displayed. I tested the functionality which specifies
>>>>>the standard navigation from jsp to jsp lets say, however i want
>>>>>toembed
>>>>
>>>these
>>>
>>>
>>>>>jsps in a template and get it all displayed. Regardles of links I
>>>>>would
>>>>
>>>>like
>>>>
>>>>
>>>>>to be able display the template at all times.
>>>>>
>>>>>How possible is that
>>>>>
>>>>>Thank you


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to