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 v

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: The 'background-color' property causes both the background color of a portlet, an

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 : http://www.w3.org/1999/XSL/Transf

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 > http://jakarta.apa

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: and in my code: public void doEdit( RunData rundata, Portlet portlet ) throws Exception { } This works fine. However, when I do this: The following function is NOT being called: public vo

RE: using another version of torque in jetspeed 1.6-dev

2005-04-06 Thread Roel van Dijk
a:408) at java.lang.Thread.run(Thread.java:534) (sorry if it wraps) The main point is that there is a NullPointerException at line 785 of the JetspeedProfilerService. Too bad. Any ideas? Roel > -Oorspronkelijk bericht- > Van: Roel van Dijk [mailto:[EMAIL PROTECTED] > > Befor

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 are

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

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

2005-04-06 Thread Roel van Dijk
Ate said: > I guess you're building with Fusion > (org.apache.jetspeed.fusion=true in your > build.properties). Actually, the default project.properties file that comes with 1.6-dev states: org.apache.jetspeed.fusion=false I'll try and install M2 as a quick fix for now, thanks. Roel

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

2005-04-06 Thread Roel van Dijk
Just checked out a fresh Jetspeed 1.6-dev from the CVS. Building it using maven gives me this error: Attempting to download portals-bridges-common-0.2.jar. WARNING: Failed to download portals-bridges-common-0.2.jar. The build cannot continue because of the following unsatisfied dependency:

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: jetspeed-use

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

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

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 wo

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: http://portals.apache.org/jetspeed

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

2005-03-16 Thread Roel van Dijk
> > > path="${org.apache.jetspeed.test.jdbc.j1.drivers.path}"/> > path="${org.apache.jetspeed.test.jdbc.j1.drivers.path2}"/> > path="${org.apache.jetspeed.test.jdbc.j1.drivers.path3}"/> > I did

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

2005-03-16 Thread Roel van Dijk
1.0.1 > > > and that's it! Run maven and it will access the driver. > > Regards, > Pablo > > -Mensaje original- > De: David Sean Taylor [mailto:[EMAIL PROTECTED] > Enviado el: miƩrcoles, 16 de marzo de 2005 16:55 > Para: Jetspeed Users List

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

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

RE: EmptyStackException

2005-03-08 Thread Roel van Dijk
ericht----- Van: 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.Empt

EmptyStackException

2005-03-08 Thread Roel van Dijk
(with a local html page, and not a remote one like the Mozilla 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