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 John Smith <jo...@gmx.de> on 2001/09/06 14:34:29 UTC

Your opinions

Hello everybody,

i began examining jetspeed 2 weeks ago. I want to access to several
information sources. Now I want to build a black box called "syndicate machine" (sm).
This "framework" should manage these sources (RSS, NewsML, ICE, SAP, …).

I want to use Jetspeed as an portlet manager that manage portlets. I plan to
build a special access-portlet to access to content from the "syndicate
machine". At the end the this portlet shows content of the several sources by
using the syndicate machine.

Is this a good idea? (any better ideas…)

Thanks for all comments,

John Smith

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


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


Re: RSS Portlets

Posted by Paul Spencer <pa...@mikon.com>.
Anthony,
In general you will need to create a new stylesheet, based on rss.xsl,
to the generate the HTML that will create a new browser window when the
link is clicked.

Basic steps:
1) Copy <jetspeed-home>/WEB-INF/xsl/rss.xsl to
   <jetspeed-home>/WEB-INF/xsl/new_window_rss.xsl

2) For EACH rss portlet that you want a new browser window opened when
   the link is clicked, add the following to <portlet-entry> 

        <parameter name="stylesheet.text/html"
            value="/WEB-INF/xsl/new_windows_rss.xsl" hidden="false">
        </parameter>

3) Edit <jetspeed-home>/WEB-INF/xsl/new_window_rss.xsl so that is will
   will generate the desired HTML.  You will have to add the desired
HTML
   in 2 places for each link, i.e. images and hrefs.

If you post the resulting HTML, I will it add to the Jetspeed
documentation/examples

Paul Spencer

Anthony Smith wrote:
> 
> I would like my links in my RSS Portles to open up in new pages. Can anyone
> tell me how I can implement this?
> 
> ---------------------------------------------------------------------
> 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: RSS Portlets

Posted by Frans Thamura <ft...@yahoo.com>.
I don't think so this is jetspeed project.

I prefer if some one want to modify RSS as their own
look and feel, they can modify the XSL.

but, it is better to create your own XSL, and modify
the XREG.

I did it here.

Several people don't like the structure of rss.xsl.

Oh yah, I rename the rss.xml become trend.xsl.

It work well.

Frans


--- Paul Spencer <pa...@mikon.com> wrote:
> I do not recommend changing this file since it is
> maintained by the
> Jetspeed project.  RSS portlets can be configured to
> use user defined
> stylesheet(s). See 
>
http://jakarta.apache.org/jetspeed/site/portlet_config_RSS.html
> 
> Paul Spencer
> 
> Gabriel Lopez Morteo wrote:
> > 
> > I do this changing <a href..> tags on
> > $TOMCAT_HOME/webapps/jetspeed/WEB-INF/xsl/rss.xsl
> > 
> > Regards
> > 
> > Gabriel Lopez
> > <ga...@cicese.mx>
> > 
> > -----Original Message-----
> > From: Anthony Smith
> [mailto:anthony.smith@fedex.com]
> > Sent: Monday, September 10, 2001 2:20 PM
> > To: jetspeed-user@jakarta.apache.org
> > Subject: RSS Portlets
> > 
> > I would like my links in my RSS Portles to open up
> in new pages. Can anyone
> > tell me how I can implement this?
> > 
> >
>
---------------------------------------------------------------------
> > 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
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@jakarta.apache.org
> 


=====
Empowering Open Source Spirit... 
Open Source is Open Source. Shared Source is another thing.

__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

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


Re: RSS Portlets

Posted by Paul Spencer <pa...@mikon.com>.
I do not recommend changing this file since it is maintained by the
Jetspeed project.  RSS portlets can be configured to use user defined
stylesheet(s). See 
http://jakarta.apache.org/jetspeed/site/portlet_config_RSS.html

Paul Spencer

Gabriel Lopez Morteo wrote:
> 
> I do this changing <a href..> tags on
> $TOMCAT_HOME/webapps/jetspeed/WEB-INF/xsl/rss.xsl
> 
> Regards
> 
> Gabriel Lopez
> <ga...@cicese.mx>
> 
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Monday, September 10, 2001 2:20 PM
> To: jetspeed-user@jakarta.apache.org
> Subject: RSS Portlets
> 
> I would like my links in my RSS Portles to open up in new pages. Can anyone
> tell me how I can implement this?
> 
> ---------------------------------------------------------------------
> 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

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


RE: RSS Portlets

Posted by Gabriel Lopez Morteo <ga...@cicese.mx>.
I do this changing <a href..> tags on
$TOMCAT_HOME/webapps/jetspeed/WEB-INF/xsl/rss.xsl

Regards

Gabriel Lopez
<ga...@cicese.mx>

-----Original Message-----
From: Anthony Smith [mailto:anthony.smith@fedex.com]
Sent: Monday, September 10, 2001 2:20 PM
To: jetspeed-user@jakarta.apache.org
Subject: RSS Portlets


I would like my links in my RSS Portles to open up in new pages. Can anyone
tell me how I can implement this?


---------------------------------------------------------------------
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


RSS Portlets

Posted by Anthony Smith <an...@fedex.com>.
I would like my links in my RSS Portles to open up in new pages. Can anyone
tell me how I can implement this?


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


Re: server URL and port

Posted by Paul Spencer <pa...@mikon.com>.
Norman,
Jetspeed does NOT write port port 8080 or 80.  Jetspeed runs under
Tomcat, of other servlet engine.  Tomcat connect to it's internal,
although optional, web server, Apache, IIS, ...  Ports 8080 is commonly
used for a second web server.

The port is configured in the web server, not Jetspeed.

Paul Spencer

Norman Schoneich wrote:
> 
> Hi all!
> 
> Why does Jetspeed write the port into a server url (eg.
> http://localhost:8080/jetspeed/) ?
> Can I configure it (eg. to write :80) ?
> And Where ?
> 
> TIA
> 
> ---------------------------------------------------------------------
> 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: server URL and port

Posted by Dave Carlson <dc...@ontogenics.com>.
The port is not configured as part of Jetspeed, but rather as part of the
underlying Java application server and/or connected web server.  If you are
using Tomcat, then check the tomcat docs about how to change the port to 80.

-- Dave

----- Original Message -----
From: "Norman Schoneich" <sc...@ecooperate.de>
To: <je...@jakarta.apache.org>
Sent: Monday, September 10, 2001 10:55 AM
Subject: server URL and port


> Hi all!
>
> Why does Jetspeed write the port into a server url (eg.
> http://localhost:8080/jetspeed/) ?
> Can I configure it (eg. to write :80) ?
> And Where ?
>
> TIA
>
>
> ---------------------------------------------------------------------
> 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


server URL and port

Posted by Norman Schoneich <sc...@ecooperate.de>.
Hi all!

Why does Jetspeed write the port into a server url (eg.
http://localhost:8080/jetspeed/) ?
Can I configure it (eg. to write :80) ?
And Where ?

TIA


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


How to work with two Velocity forms in a page ?

Posted by Emmanuel Bardet <em...@bardet.org>.
Hello, s'me again!

How do I differentiate actions between two Velocity forms so that the right
portlet is used ?

...
VelocityPortlet1
<form action="http://cpt:8080/portal/template/Home" method="post">
<input name="text" value="QWE" size="30" />
<input type="submit" name="eventSubmit_doUpdate" value="Update" />
</form>
...
VelocityPortlet2
<form action="http://cpt:8080/portal/template/Home" method="post">
<input name="text" value="QWERTY" size="30" />
<input type="submit" name="eventSubmit_doUpdate" value="Update" />
</form>
...

This also refers the posted message
http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg01547.html

Thanks for your help,

Emmanuel.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Requested Action not found

Posted by Emmanuel Bardet <em...@bardet.org>.
For those interrested, I have found the solution to this problem. It resides
in point 5.

The line <parameter name="action" value="MenuAction" hidden="false"/> should
de facto read
<parameter name="action" value="portlets.MenuAction" hidden="false"/>.

Oh man! All this hassle for a single word. I hope this can help some buddy.

-----Original Message-----
From: Emmanuel Bardet [mailto:emmanuel@bardet.org]
Sent: mercredi 16 janvier 2002 21:31
To: jetspeed-user@jakarta.apache.org
Subject: Requested Action not found


Hello Gents,

I need help again. I want to set up my own Action package but I keep getting
"Requested Action not found". I tried to start with something I thought
easy, yo. Here's what I did so far:

1. In TR.p
module.packages=com.test.modules
module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

2. Copied HelloAction.java to MenuAction.java + some modifications ie:
a. package com.test.modules.actions.portlets;
b. import
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction;
c. public class MenuAction extends VelocityPortletAction

3. Placed the compiled file MenuAction.class in
WEB-INF\classes\com\tousauregime\modules\actions\portlets\

4. Copied hello-customize.vm and hello.vm to respectively menu-customize.vm
and menu.vm

5. Added a test-portlets.xreg in conf with:
<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="MenuVelocity" hidden="false" type="ref"
        parent="CustomizerVelocity" application="false">
        <meta-info>
            <title>MenuVelocity</title>
            <description>Simple Velocity Portlet Example</description>
        </meta-info>
        <parameter name="template" value="menu" hidden="false"/>
        <parameter name="action" value="MenuAction" hidden="false"/>
        <parameter name="text" value="Hello World in MenuVelocity"
hidden="false"/>
        <media-type ref="html"/>
    </portlet-entry>
</registry>

But I keep getting the following error in my log file:

...
[Wed Jan 16 21:11:43 GMT 2002] -- INFO -- cache miss, object
expired: -1653569551|template-menu|action-MenuAction|text-Hello World in
MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- PortletFactory.getPortlet(): took
a total of 0
millisecond(s) -> -1653569551|template-menu|action-MenuAction|text-Hello
World in MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: requested
template = Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\screens\html\Customize.vm returning
/html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: calculated
template = /html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\layouts\html\default.vm returning
/html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage:
layoutTemplate is finally /html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\top.vm returning /html/top.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\left.vm returning /html/left.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\controls\html\jetspeed.vm returning
/html/jetspeed.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- VelocityPortlet found action
MenuAction context org.apache.velocity.VelocityContext@71bd98
[Wed Jan 16 21:11:43 GMT 2002] -- ERROR --
	Exception:  java.lang.ClassNotFoundException:

	Requested Action not found: MenuAction
	Turbine looked in the following modules.packages path:
	[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

	Stack Trace follows:
	java.lang.ClassNotFoundException:

	Requested Action not found: MenuAction
	Turbine looked in the following modules.packages path:
	[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

	at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
	at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
	at
org.apache.jetspeed.portal.portlets.VelocityPortlet.getContent(VelocityPortl
et.java:139)
      ...


Could anybody help me on this ?

Thanks in advance.

Emmanuel.


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Requested Action not found

Posted by Emmanuel Bardet <em...@bardet.org>.
Hello Gents,

I need help again. I want to set up my own Action package but I keep getting
"Requested Action not found". I tried to start with something I thought
easy, yo. Here's what I did so far:

1. In TR.p
module.packages=com.test.modules
module.packages=org.apache.jetspeed.modules
module.packages=org.apache.turbine.modules

2. Copied HelloAction.java to MenuAction.java + some modifications ie:
a. package com.test.modules.actions.portlets;
b. import
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction;
c. public class MenuAction extends VelocityPortletAction

3. Placed the compiled file MenuAction.class in
WEB-INF\classes\com\tousauregime\modules\actions\portlets\

4. Copied hello-customize.vm and hello.vm to respectively menu-customize.vm
and menu.vm

5. Added a test-portlets.xreg in conf with:
<?xml version="1.0" encoding="UTF-8"?>
<registry>
    <portlet-entry name="MenuVelocity" hidden="false" type="ref"
        parent="CustomizerVelocity" application="false">
        <meta-info>
            <title>MenuVelocity</title>
            <description>Simple Velocity Portlet Example</description>
        </meta-info>
        <parameter name="template" value="menu" hidden="false"/>
        <parameter name="action" value="MenuAction" hidden="false"/>
        <parameter name="text" value="Hello World in MenuVelocity"
hidden="false"/>
        <media-type ref="html"/>
    </portlet-entry>
</registry>

But I keep getting the following error in my log file:

...
[Wed Jan 16 21:11:43 GMT 2002] -- INFO -- cache miss, object
expired: -1653569551|template-menu|action-MenuAction|text-Hello World in
MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- PortletFactory.getPortlet(): took
a total of 0
millisecond(s) -> -1653569551|template-menu|action-MenuAction|text-Hello
World in MenuVelocity
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: requested
template = Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\screens\html\Customize.vm returning
/html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage: calculated
template = /html/Customize.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\layouts\html\default.vm returning
/html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- JetspeedTemplatePage:
layoutTemplate is finally /html/default.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\top.vm returning /html/top.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\navigations\html\left.vm returning /html/left.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- template exists:
F:\Dev\WEB-INF\templates\vm\controls\html\jetspeed.vm returning
/html/jetspeed.vm
[Wed Jan 16 21:11:43 GMT 2002] -- DEBUG -- VelocityPortlet found action
MenuAction context org.apache.velocity.VelocityContext@71bd98
[Wed Jan 16 21:11:43 GMT 2002] -- ERROR --
	Exception:  java.lang.ClassNotFoundException:

	Requested Action not found: MenuAction
	Turbine looked in the following modules.packages path:
	[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

	Stack Trace follows:
	java.lang.ClassNotFoundException:

	Requested Action not found: MenuAction
	Turbine looked in the following modules.packages path:
	[com.test.modules, org.apache.jetspeed.modules, org.apache.turbine.modules]

	at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
	at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
	at
org.apache.jetspeed.portal.portlets.VelocityPortlet.getContent(VelocityPortl
et.java:139)
      ...


Could anybody help me on this ?

Thanks in advance.

Emmanuel.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Your opinions

Posted by niv the tool <ni...@wapcominc.com>.
Hi. Can u elaborate on your project very interesting
TIA niv


-----Original Message-----
From: John Smith [mailto:johnsmith007@gmx.de] 
Sent: Thursday, September 06, 2001 2:34 PM
To: jetspeed-user@jakarta.apache.org
Subject: Your opinions


Hello everybody,

i began examining jetspeed 2 weeks ago. I want to access to several
information sources. Now I want to build a black box called "syndicate
machine" (sm). This "framework" should manage these sources (RSS,
NewsML, ICE, SAP, .).

I want to use Jetspeed as an portlet manager that manage portlets. I
plan to build a special access-portlet to access to content from the
"syndicate machine". At the end the this portlet shows content of the
several sources by using the syndicate machine.

Is this a good idea? (any better ideas.)

Thanks for all comments,

John Smith

-- 
GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net

--
GMX Tipp:

Machen Sie Ihr Hobby zu Geld bei unserem Partner 1&1!
http://profiseller.de/info/index.php3?ac=OM.PS.PS003K00596T0409a


---------------------------------------------------------------------
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