RE: Jetspeed2 Portlet Development Example
This link may help: http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets -Original Message- From: Clemens A mensik [mailto:[EMAIL PROTECTED] Sent: Sunday, March 27, 2005 5:20 AM To: 'Jetspeed Users List' Subject: RE: Jetspeed2 Portlet Development Example Hi Stephen, thx for asking the same question I wanted to post ;-) ...installed jetspeed 2 successfully I'm also looking for some kind of 'how to', that describes portlet developement up from scratch. I would appreciate any help, because I've to set up a default portlet for a new project till thursday... 2 days left, thats not much... thx in advance... clemens (jetspeed-rookie) -Original Message- From: Stephen Hatfield [mailto:[EMAIL PROTECTED] Sent: Freitag, 25. März 2005 15:35 To: jetspeed-user@jakarta.apache.org Subject: Jetspeed2 Portlet Development Example Does anyone have a full example of portlet development in Jetspeed2? What I would dearly love to have are all the files necessary for a portlet and instructions on how to deploy portlets. I find the documentation on portlet development at Apache a bit thin. I realize I am probably asking for a lot and anyone may certainly give me a hard time about that. But then I hope they have pity on a newbie and help him out. Thank you very much! Stephen - 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]
RE: J1 to J2 Migration
Hi Shivkumar, You may want to go to Fusion first while you migrate your J1 portlets to JSR-168 portlets. http://wiki.apache.org/portals/Jetspeed2/Fusion HTH, Scott -Original Message- From: Shiv Swaminathan [mailto:[EMAIL PROTECTED] Sent: Friday, March 25, 2005 12:48 PM To: jetspeed-user@jakarta.apache.org Subject: J1 to J2 Migration Hi , We have an application running on J1 presently and we would like to move it to J2 soon. Has anybody attempted this ? if so please do post details of it. Is there any easier way to migrate than to re-code the whole stuff ? Shivkumar Swaminathan - 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]
Jetspeed 2 - Valuelist
Hi all, Has any one used ValueList with Jetspeed 2 and struts-bridge ... If yes, how did you pass a user entered selection or value from say like a first page, to a second page which contains the actual grid ?? .. the website is - valuelist.sf.net -- it is an implementation of Value List Handler pattern of J2ee. Thanks, Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Jetspeed2 Portlet Development Example
thx, but that's not exactly what I've been asking for... I've boon looking for some how to that describes everything I have to do to develp, deploy and customize my own portlet also its web-style. Anyway, I think I've already found everything I've been looking for.. greets clemens -Original Message- From: Scott T Weaver [mailto:[EMAIL PROTECTED] Sent: Montag, 28. März 2005 16:50 To: 'Jetspeed Users List' Subject: RE: Jetspeed2 Portlet Development Example This link may help: http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets -Original Message- From: Clemens A mensik [mailto:[EMAIL PROTECTED] Sent: Sunday, March 27, 2005 5:20 AM To: 'Jetspeed Users List' Subject: RE: Jetspeed2 Portlet Development Example Hi Stephen, thx for asking the same question I wanted to post ;-) ...installed jetspeed 2 successfully I'm also looking for some kind of 'how to', that describes portlet developement up from scratch. I would appreciate any help, because I've to set up a default portlet for a new project till thursday... 2 days left, thats not much... thx in advance... clemens (jetspeed-rookie) -Original Message- From: Stephen Hatfield [mailto:[EMAIL PROTECTED] Sent: Freitag, 25. März 2005 15:35 To: jetspeed-user@jakarta.apache.org Subject: Jetspeed2 Portlet Development Example Does anyone have a full example of portlet development in Jetspeed2? What I would dearly love to have are all the files necessary for a portlet and instructions on how to deploy portlets. I find the documentation on portlet development at Apache a bit thin. I realize I am probably asking for a lot and anyone may certainly give me a hard time about that. But then I hope they have pity on a newbie and help him out. Thank you very much! Stephen - 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]
ThreeColumnLayout doesn't work!?
Hi, somebody know how this should work? I've just put some default portlets together and like to have three columns, but it doesn't work. Only get 2 Columns. Anybody know about this problem? Here's my code: fragment id=dp-1 type=layout name=jetspeed::VelocityThreeColumns fragment id=dp-3 type=portlet name=pam::LocaleSelector property layout=ThreeColumns name=row value=0 / property layout=ThreeColumns name=column value=0 / /fragment fragment id=dp-12 type=portlet name=security::LoginPortlet property layout=ThreeColumns name=row value=0 / property layout=ThreeColumns name=column value=1 / /fragment fragment id=dp-7 type=portlet name=demo::PickANumberPortlet property layout=ThreeColumns name=row value=0 / property layout=ThreeColumns name=column value=2 / /fragment /fragment Maybe I've used it wrong somehow? Would appreciate any hint that could help me solving this problem. Now I'm just using nested VelocityTwoColumns getting as much columns as I'd like to ;-) greets clemens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
status of CVS
I am trying to start a project with Jetspeed2. I am having trouble getting out of the gate. Fedora Core 2 java 1.4.2 Jetspeed CVS (today) using included HSQL First of all, to get latest source, should I be using cvs or svn? I could not find anywhere on the site where one should go - things seem to be in transition between svn and cvs? Anyway, all I could get was the cvs as part of Jakarta (ie cvs checkout jakarta-jetspeed-2). I am following the Getting Started steps. I have setup the build.properties, etc. It seems that maven cannot download anything. I keep getting for example: WARNING: Failed to download pluto-1.0.1-rc1.jar. I get this message for every jar maven tries to download. Eventually, build fails with : + | Build and Install all Jetspeed 2 jars Apache Portals JSF Bridge | Memory: 49M/76M + Attempting to download myfaces-jsf-api-1.0.9.jar. WARNING: Failed to download myfaces-jsf-api-1.0.9.jar. BUILD FAILED File.. /root/jakarta-jetspeed-2/maven.xml Element... maven:reactor Line.. 133 Column 40 The build cannot continue because of the following unsatisfied dependency: myfaces-jsf-api-1.0.9.jar Any ideas how to troubleshoot this? Or are things just in flux right now pending a M2 release? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: status of CVS
Some jars may not be downloaded sometimes from the maven repo. Ones that I have come across is pluto, myfaces, commons-validator, itgroundwork, jdbc-se, and someothers too. You could manually download this from the values corresponding to maven.repo.remote which is (maven.repo.remote = http://www.bluesunrise.com/maven/, http://www.ibiblio.org/maven/) I usually download them from http://www.bluesunrise.com/maven and copy it to your local maven/repository directory. This would get your build to succeed. HTH, Hema On Mon, 28 Mar 2005 15:55:44 -0500, Steve B. [EMAIL PROTECTED] wrote: I am trying to start a project with Jetspeed2. I am having trouble getting out of the gate. Fedora Core 2 java 1.4.2 Jetspeed CVS (today) using included HSQL First of all, to get latest source, should I be using cvs or svn? I could not find anywhere on the site where one should go - things seem to be in transition between svn and cvs? Anyway, all I could get was the cvs as part of Jakarta (ie cvs checkout jakarta-jetspeed-2). I am following the Getting Started steps. I have setup the build.properties, etc. It seems that maven cannot download anything. I keep getting for example: WARNING: Failed to download pluto-1.0.1-rc1.jar. I get this message for every jar maven tries to download. Eventually, build fails with : + | Build and Install all Jetspeed 2 jars Apache Portals JSF Bridge | Memory: 49M/76M + Attempting to download myfaces-jsf-api-1.0.9.jar. WARNING: Failed to download myfaces-jsf-api-1.0.9.jar. BUILD FAILED File.. /root/jakarta-jetspeed-2/maven.xml Element... maven:reactor Line.. 133 Column 40 The build cannot continue because of the following unsatisfied dependency: myfaces-jsf-api-1.0.9.jar Any ideas how to troubleshoot this? Or are things just in flux right now pending a M2 release? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- ~~ Hema Menon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
PSML Import Problem with MySQL
Title: Message Hello, I am using Jetspeed 1.5 FINAL,MySQL 4.1.9 andTomcat 5.0.16. Attempts to import PSML into DBkeeps causing errors, even though I modified properties files (attached)to use MySQL settings instead of HSQL. I tried both MySQL drivers and ensured that they are in the CLASSPATH. Still I get the problem that you can see in attached stdout log. AbstractDataSourceFactory says that the driver is not supported, and its code seems to hide the real source/ line of the exception. What could be causing this problem? http://db.apache.org/torque/xref/org/apache/torque/dsfactory/AbstractDataSourceFactory.html Any help very much appreciated... Regards, Dmitriy P.S. The same setup works just fine if I build war and run it from tomcat... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PSML Import Problem with MySQL
Here are attachments inline: ==STDOUT= import: [java] * PSML Importer * [java] log4j:WARN No appenders could be found for logger (org.apache.stratum.component.ComponentLoader). [java] log4j:WARN Please initialize the log4j system properly. [java] 766 [main] ERROR dsfactory.AbstractDataSourceFactory - Property: driver value: com.mysql.jdbc.Driver is not supported by DataSource: org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS [java] 844 [main] INFO component.ComponentLoader - loading component: name=fulcrum class=org.apache.fulcrum.Fulcrum config=.\webapp\WEB-INF\conf\Fulcrum.properties [java] 1079 [main] INFO fulcrum.TurbineServices - Finished initializing all services! [java] Running with Importer Service: class org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService [java] Running with Exporter Service: class org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService [java] PSMLImporter completed. Exported 0 profiles [java] PSML Importer - completed [java] [ERROR] Java Result: 1 project.properties (excerpt) = #database = hypersonic #targetPackage = org.apache.jetspeed.om.torque #torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable #torque.database.url = jdbc:hsqldb:hsql://localhost #torque.database.driver = org.hsqldb.jdbcDriver #torque.database.user = sa #torque.database.password = database = mysql targetPackage = org.apache.jetspeed.om.torque torque.retrievableInterface = org.apache.fulcrum.intake.Retrievable torque.database.url = jdbc:mysql://localhost:3306/jetspeed torque.database.driver = com.mysql.jdbc.Driver #torque.database.driver = org.gjt.mm.mysql.Driver torque.database.user = root torque.database.password = Torque.properties (excerpt) = torque.database.default=default ### torque.database.default.adapter=hypersonic torque.database.default.adapter=mysql ### torque.database.default.adapter=oracle ### torque.database.default.adapter=mssql ## ## Using torque's old pool ## ### torque.dsfactory.default.connection.driver = org.hsqldb.jdbcDriver ### torque.dsfactory.default.connection.url = jdbc:hsqldb:${webappRoot}/WEB-INF/db/jetspeed ### torque.dsfactory.default.connection.user = sa ### torque.dsfactory.default.connection.password = torque.dsfactory.default.factory=org.apache.torque.dsfactory.TorqueDataS ourceFactory # The number of database connections to cache per ConnectionPool instance (specified per database) torque.dsfactory.default.pool.defaultMaxConnections=10 torque.dsfactory.default.pool.maxExpiryTime=3600 torque.dsfactory.default.pool.connectionWaitTimeout=10 ### MySQL torque.dsfactory.default.connection.driver = com.mysql.jdbc.Driver # torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver torque.dsfactory.default.connection.url = jdbc:mysql://localhost:3306/jetspeed torque.dsfactory.default.connection.user = root torque.dsfactory.default.connection.password = -Original Message- From: Dmitriy Kruglyak [mailto:[EMAIL PROTECTED] Sent: Monday, March 28, 2005 1:57 PM To: jetspeed-user@jakarta.apache.org Subject: PSML Import Problem with MySQL Hello, I am using Jetspeed 1.5 FINAL, MySQL 4.1.9 andTomcat 5.0.16. Attempts to import PSML into DB keeps causing errors, even though I modified properties files (attached) to use MySQL settings instead of HSQL. I tried both MySQL drivers and ensured that they are in the CLASSPATH. Still I get the problem that you can see in attached stdout log. AbstractDataSourceFactory says that the driver is not supported, and its code seems to hide the real source / line of the exception. What could be causing this problem? http://db.apache.org/torque/xref/org/apache/torque/dsfactory/AbstractDat aSourceFactory.html Any help very much appreciated... Regards, Dmitriy P.S. The same setup works just fine if I build war and run it from tomcat...
Re: ThreeColumnLayout doesn't work!?
fragment id=dp-1 type=layout name=jetspeed::VelocityThreeColumns fragment id=dp-3 type=portlet name=pam::LocaleSelector property layout=ThreeColumns name=row value=0 / property layout=ThreeColumns name=column value=0 / /fragment fragment id=dp-12 type=portlet name=security::LoginPortlet property layout=ThreeColumns name=row value=0 / property layout=ThreeColumns name=column value=1 / /fragment fragment id=dp-7 type=portlet name=demo::PickANumberPortlet property layout=ThreeColumns name=row value=0 / property layout=ThreeColumns name=column value=2 / /fragment /fragment Try change fragment ids to new ones in all fragment elements. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JS2: Portlet Level security
I see that it is possible to put security constraints in psml files at page level. Is it possible to restrict usage of some exact portlet on page by security constraints so that it is not rendered if user is not in some spesific group/role. -- Jouni Rajala - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JS2: Portlet Level security
Jouni Rajala wrote: I see that it is possible to put security constraints in psml files at page level. Is it possible to restrict usage of some exact portlet on page by security constraints so that it is not rendered if user is not in some spesific group/role. Not quite yet, scheduled for 2.0 final release What we do have is the PortletPermission class, and we can check against it using the JAAS security, however the checks are not being made in the current aggregator. INSERT INTO SECURITY_PERMISSION VALUES(11,'org.apache.jetspeed.security.PortletPermission','MyPortet','view'... -- David Sean Taylor Bluesunrise Software [EMAIL PROTECTED] [office] +01 707 773-4646 [mobile] +01 707 529 9194 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]