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


-----Original Message-----
From: Casimiro Lovato-Winston [mailto:[EMAIL PROTECTED]]
Sent: 21 November 2002 07:49
To: Jetspeed Users List
Subject: RE: Jar file containing new portlets that enhance IFrame and
webrewriting capabilities


My apologies, I combined the entries in the demo-iframe.xreg demo-wbp.xreg
into one demo file, demo-proxy portlets. If the portlets are available but
not showing up check the log file and see if any debugging information tells
you anything like URL http:.... cannot be found or a Java error. BUT....come
to think of it if they are just blank it must be an xsl problem. make sure
that the rss.xsl file is located in a directory where it can be found by a
url. /jetspeed/WEB-INF/xsl/rss.xsl would be a good one since you can point
directly to it. Modify the properties for the portlet to reflect this and it
should work. I will set up a site later today for with the
demo-proxyportlets.xreg file examples.

If none of these things work send another email and we'll try again.

Thanks,

Casey

-----Original Message-----
From: Martin Kisimov [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 11:47 PM
To: 'Jetspeed Users List'
Subject: RE: Jar file containing new portlets that enhance IFrame and
webrewriting capabilities


Hi I have attempted to run through your example, however I am running into
some problems. I am a newbie, so maybe thats it. Can you pls help me out.

I followed your instructions and included the jar in the distribution, then
i added the provided demo-proxyportlets.xreg file in the WEB-INF/conf
directory and these are the parameters as i had them:

<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="WBP_BBC" hidden="false" type="ref"
        parent="WebBrowserPortlet" application="false">
        <meta-info>
            <title>BBC In a WebBrowserPortlet</title>
            <description>Portlet that rewrites all urls and retreives
them</description>
        </meta-info>

<classname>org.apache.jetspeed.portal.portlets.WebBrowserPortlet</classname>
        <parameter name="stylesheet"
            value="http://127.0.0.1:7001/jetspeed/rss/rss.xsl";
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="portletid" value="WBP_BBC1" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="new_url"

value="http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xm
l"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="proxy"
            value="http://127.0.0.1:7001/jetspeed/browser";
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_applet" value="yes" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_script" value="yes" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_noscript" value="yes" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_head" value="yes" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_style" value="yes" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_meta" value="yes" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_object" value="yes" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="dont_remove_onsomething" value="yes"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="open_in_popup" value="no" hidden="true"
            cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">WebBrowserPortlet</category>
        <category group="Jetspeed">demo</category>
    </portlet-entry>
    <portlet-entry name="BBCIframe2" hidden="false" type="ref"
        parent="IframeProxyPortlet" application="false">
        <meta-info>
            <title>BBC IFramed and Proxied</title>
            <description>BBC In an Iframe with a servlet proxy</description>
        </meta-info>

<classname>org.apache.jetspeed.portal.portlets.IframeProxyPortlet</classname
>
        <parameter name="source"

value="http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xm
l"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="xsl"
            value="http://127.0.0.1:7001/jetspeed/rss/rss.xsl";
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="proxy"
            value="http://127.0.0.1:7001/jetspeed/browser";
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="width" value="100%" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="height" value="500" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="scrolling" value="auto" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="frameborder" value="1" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <media-type ref="html"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">FNMOC</category>
        <category group="Jetspeed">demo</category>
    </portlet-entry>
</registry>

after that i changed the web.xml and added the following:

<servlet>
    <servlet-name>browserServlet</servlet-name>
    <servlet-class>org.apache.jetspeed.util.BrowserServlet</servlet-class>
  </servlet>
<servlet-mapping>
    <servlet-name>browserServlet</servlet-name>
    <url-pattern>/browser</url-pattern>
  </servlet-mapping>

you guys have a mention to the following which i could not find:
IframeProxyPortlet - see the included demo-iframe.xreg file
WebBrowserPortlet - see the included demo-wbp.xreg file

what happens is that i can add the portlets but do not see them after they
have been added. If i go back to adding portlets, the 2 are there however i
can't remove them..... very strange, but i still do not see them in my
normal pane


can you advise


-----Original Message-----
From: Casimiro Lovato-Winston [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2002 02:57
To: Jetspeed Users List
Subject: Jar file containing new portlets that enhance IFrame and
webrewriting capabilities


Hello,

We would like to submit to the group some portlet classes that we have been
working on for your review and use. Included here is a .jar file with source
for portlets and utility classes that do the following:

        * navigate without leaving the portal
        * handle XML->XSL transformations
        * proxy information or content not available to the user
        * be independent of cookies
        * maintain session state whether data is proxied or
           directly available.
        * allow pop-up content and navigation through html rewriting and
session
           management.

    The classes included here are alpha-level and are intended to show what
we
    have accomplished so far so that other developers can use/modify/comment
    and we can all benefit. Unpack the jar file to see docs, source files,
and          class files, and a config file for your review. I will try to
setup a demo site soon.

DESCRIPTIONS

    PORTLETS
    IframeProxyPortlet - Portlet that renders an iframe in the portal. In
this case the portlet will pass references to an xsl style sheet(URL) and
the id of the portlet to the BrowserServlet which will use this information
to render content to the client and to maintain correct state for each
portlet it may be gathering content for. It also will know and inherit the
correct session information and know which cascading style sheet to use if
specified. This portlet is also independent from cookies.

    WebBrowserPortlet - This a portlet that supports cookie-less operation,
xsl         transformations, proxy content, session state, and navigation
without leaving the portlet. Settings allow parameters for url/html
rewriting, pop-up content, proxied information, and xsl style sheet url.

All feedback is greatly appreciated.

Thanks,
Casey Winston - [EMAIL PROTECTED]
Glen Carl - [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]>

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

Reply via email to