Thought I would post some of my findings:

In trying to get the IframeProxyPortlet and WebBrowserPortlet working
from the "Community Portlets" on the apache site, I ran into issues with
the WebBrowserPortlet.  It never wanted to render using the xsl style
sheet.  After debugging for sometime, it turned out to be - what I think
is a bug - 

//String base = MimeType.HTML.toString();
// Replaced toString() with just the content type i.e. text/html 
String base = MimeType.HTML.getContentType();

The toString() method of the MimeType method returns the combined
content type and character set, which never matches up with the
"text/html" being returned from RunData.

Anyway, if any others have run or will run into this problem, just
modify the code that I put above.


Jason Trust


-----Original Message-----
From: Jason Trust [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 16, 2004 11:14 AM
To: Jetspeed Users List
Subject: RE: Browsing static pages within a portlet

Robin and others,

I have installed the WebSurfPortlet, but my results are curious.  The
portlet displays the contents from the url request in text form, rather
than displaying the page itself.  So I see <html><head> ... instead of a
rendered html page.

Any thoughts?

Jason Trust

-----Original Message-----
From: Robin Antony [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 15, 2004 11:11 PM
To: Jetspeed Users List
Subject: Re: Browsing static pages within a portlet

Hi,
Maybe you should consider using a WebSurfPortlet. It is an extension of
the
already existing WebPagePortlet. You can refer to this link for more
details
and decide if it suits your needs.
http://grids.ucs.indiana.edu/users/balsoy/jetspeed/websurfportlet.html
Regards,
Robin Antony
OpenSI.Net
[EMAIL PROTECTED]

----- Original Message ----- 
From: "Daniel Farinha" <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 15, 2004 3:46 AM
Subject: Browsing static pages within a portlet


> I need to browse a number of local static pages within a single
portlet.
> Unfortunately I can't use IFRAME or any other fancy HTML tags.
>
> I'm considering extending FileServerPortlet, so that any pages that it
> servers will have the HTML parsed, and normal <a href> links will be
> re-written to a format that the portlet can catch (say using something
like
> JSLINK) to then open the respective static page.
>
> Is this a feasible solution, or are there better alternatives?
>
> Regards
>
> Daniel Farinha
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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




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




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

Reply via email to