velocity $skin variable in top.vm or bottom.vm

2005-04-12 Thread Roel van Dijk
How can I make the $skin variable available top.vm or bottom.vm files? Judging from the Java code, this line is used to put the skin variable in the Velocity context for the portlets: context.put( skin, this.getPortlets().getPortletConfig().getPortletSkin() ); Is there any way that the

custom skins advice - background color

2005-04-11 Thread Roel van Dijk
I'm using 1.6-dev, and creating some custom skins. All works fine so far. I do have a question about this. First some data: My local-skins.xreg contains something like: skin-entry name=MySkin hidden=false property name=background-color value=#9CCFFF hidden=false/ property

evenSubmit question

2005-04-07 Thread Roel van Dijk
I'm using the eventSubmit mechanism to call functions in the portlet from the HTML. For example: input type=submit value=Edit name=eventSubmit_doEdit and in my code: public void doEdit( RunData rundata, Portlet portlet ) throws Exception { } This works fine. However, when I do this:

RE: evenSubmit question

2005-04-07 Thread Roel van Dijk
Thanks for the link, it is clearly described there. It works fine now with all lower case characters. Roel -Oorspronkelijk bericht- Van: Hema Menon [mailto:[EMAIL PROTECTED] It is related to the action handling in Turbine. The documentation is available here

parse error for ocs.xsl

2005-04-07 Thread Roel van Dijk
I'm using Resin as my application server, which has a different (stricter?) XML parser than Tomcat. It gives this error when Jetspeed 1.6-dev is restarted: com.caucho.xsl.XslParseException: /WEB-INF/xsl/ocs.xsl:22: `aocs' must be a namespace prefix Lines 17-22 : xsl:stylesheet xmlns:xsl =

RE: missing dependency for Jetspeed 1.6-dev (portals-bridges-common-0.2.jar)

2005-04-06 Thread Roel van Dijk
Check you're $USER_HOME/build.properties if you haven't defined it there (it will override any project.properties). I know, nothing about fusion in there either, but maven still tries to download that jar file.. Roel - To

using another version of torque in jetspeed 1.6-dev

2005-04-06 Thread Roel van Dijk
Before I waste my time trying this, is it possible to change to the CVS version of Torque, using Jetspeed 1.6-dev? I have checked out Torque, and built the jar file. Would it be sufficient to change the Jetspeed dependencies, and point to the CVS version in stead of the torque-3.1.jar file? Or

RE: PSML Import Problem with MySQL

2005-04-05 Thread Roel van Dijk
See this URL: http://db.apache.org/torque/maven-plugin/goals.html torque:omGenerate the Peer-based object model from *-schema.xml files Roel -Oorspronkelijk bericht- Van: Sven Richter [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, April 05, 2005 3:53 PM Aan:

changing PSML from within portlet

2005-04-01 Thread Roel van Dijk
What's the best way to alter the PSML from within a Portlet? (For example, change a parameter.) Roel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: changing PSML from within portlet

2005-04-01 Thread Roel van Dijk
As usual, I found the answer myself ;-) I'm now using the PortletConfigState.setPortletConfigParameter() function, which works fine. Roel -Oorspronkelijk bericht- Van: Roel van Dijk [mailto:[EMAIL PROTECTED] Verzonden: Friday, April 01, 2005 2:46 PM Aan: Jetspeed Users List

RE: Problem with MySQL 4.1 and Jetpeed 1.5 (1.4-B4)

2005-03-31 Thread Roel van Dijk
I had this same bug in 1.6-dev recently. Has it been fixed in CVS? Roel -Oorspronkelijk bericht- Van: Stefano Bianchi [mailto:[EMAIL PROTECTED] Verzonden: Thursday, March 31, 2005 11:27 AM Aan: Jetspeed Users List Onderwerp: Re: Problem with MySQL 4.1 and Jetpeed 1.5 (1.4-B4)

RE: don't show portlet upon error

2005-03-30 Thread Roel van Dijk
Is it possible to stop the rendering of a portlet when an error occurs in the buildNormalContext method? For example, if the portlet uses a URL and the URL can't be reached, the portlet doesn't need to be displayed. Any ideas? Short answer: you can't. Basically, as soon as a portlet

don't show portlet upon error

2005-03-29 Thread Roel van Dijk
I'm using Jetspeed 1.6-dev. Is it possible to stop the rendering of a portlet when an error occurs in the buildNormalContext method? For example, if the portlet uses a URL and the URL can't be reached, the portlet doesn't need to be displayed. Any ideas? Thanks, Roel

RE: importing PSML into the database - where do I put the driver?

2005-03-17 Thread Roel van Dijk
I didn't do this, but I guess it should work. For my project I altered some of the files in the Jetspeed source directories. Read my description from earlier this week on: http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg15698.html Roel -Oorspronkelijk bericht- I

RE: importing PSML into the database - where do I put the driver?

2005-03-16 Thread Roel van Dijk
-Oorspronkelijk bericht- Van: Roel van Dijk [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, March 15, 2005 2:03 PM Aan: Jetspeed Users List Onderwerp: importing PSML into the database - where do I put the driver? So here is the big question: where should I put the MySQL-Driver JAR

RE: importing PSML into the database - where do I put the driver?

2005-03-16 Thread Roel van Dijk
? Roel van Dijk wrote: -Oorspronkelijk bericht- Van: Roel van Dijk [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, March 15, 2005 2:03 PM Aan: Jetspeed Users List Onderwerp: importing PSML into the database - where do I put the driver? So here is the big question: where should I put

RE: importing PSML into the database - where do I put the driver?

2005-03-16 Thread Roel van Dijk
I did see this, but was unsure how to use it. Where do I define these variables ${org.apache.jetspeed.test.jdbc.j1.drivers.path} ? in your $HOME/build.properties Excellent. Maybe it's wise to add this information to the Jetspeed-1 PSML DB page here:

importing PSML into the database - where do I put the driver?

2005-03-15 Thread Roel van Dijk
I'm following the PSML Database Configuration Guide on this page: http://portals.apache.org/jetspeed-1/psml_db.html Everything worked so far (had a little troubles with creating the .sql files for the database, but that eventually worked). I created the database, with all the tables. I altered

PSML Database

2005-03-11 Thread Roel van Dijk
I have some troubles creating the .sql file to create the PSML Database. http://portals.apache.org/jetspeed-1/psml_db.html I've taken Jetspeed 1.6-dev from the CVS. I've changed the projects.properties file in the source directory, altering database = hypersonic to database = mysql. I run the

Jetspeed and SPNEGO

2005-03-10 Thread Roel van Dijk
Has anyone tried to automate the Jetspeed login using the SPNEGO protocol? (for example, using the Windows Domain username as a username for Jetspeed) Roel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

EmptyStackException

2005-03-08 Thread Roel van Dijk
Clipped portlet), it works just fine. No errors. So, what's my problem? It looks like the html document parser doesn't work properly? Is the retrieved html incomplete, or is it incorrect? Roel van Dijk Forest-Fields

RE: EmptyStackException

2005-03-08 Thread Roel van Dijk
: Roel van Dijk [mailto:[EMAIL PROTECTED] Verzonden: Tuesday, March 08, 2005 3:02 PM Aan: jetspeed-user@jakarta.apache.org Onderwerp: EmptyStackException Exception occurred:java.net.MalformedURLException: java.util.EmptyStackException