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 variable is also visible in the top and bottom
Velocity files?

Roel



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



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 name=highlight-background-color value=#3969B5
hidden=false/
property name=portlet-skin-class value=MySkin hidden=false/
property name=image.paths value=MySkin hidden=false/
/skin-entry

The 'background-color' property causes both the background color of a
portlet, and the background color of the entire page to change, in the final
HTML I find:

The main cell which contains the portlets:

  trtd height=2  style=background-color: #9CCFFF  img height=2
width=2 src=images/dot.gif //td/tr

And the portlet content cell:

td colspan=2  class=PContent   style=background-color:
#9CCFFF; 

However, I want to change the background color of the portlet to white.. The
logical step would be to alter the PContent class, but this is overridden by
the inserted style-attribute in the HTML above. Now I'm stuck with editing
the jetspeed.vm templates which render the portlets.

Advice: I would advise that this entire mechanism to be changed, to use the
full capabilities of CSS. For example, I'd like to see something like this:

td colspan=2 class=general PContent

Here, the 'PContent' class overrides the 'general' class (space separated
classes). This will eliminate all the inserted style-attributes in the tags,
and make much cleaner HTML and VM-templates. However, in that case you can't
define these properties in the skins xreg file, but you'd have to define
these in the CSS file. Also, it would make styles less customizable from the
portal website..

Any ideas?

Roel

PS I guess I have to post this to the other mailing list.. oh well.



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



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:
  input type=submit value=Edit name=eventSubmit_doEditCommit

The following function is NOT being called:
  public void doEditCommit( RunData rundata, Portlet portlet ) throws
Exception { }

This is probably due to the capital 'C' of Commit? (I tried inserting an
underscore, but to no avail) Is there any proper documentation about the
eventSubmit mechanism? I couldn't find anything with Google..

Roel



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



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.apache.org/turbine/turbine/turbine-2.3/howto/action
 -event-howto.html




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



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 = http://www.w3.org/1999/XSL/Transform;
xmlns:rdf = http://www.w3.org/1999/02/22-rdf-syntax-ns#;
xmlns:ocs = http://alchemy.openjava.org/ocs/ocs-syntax#;
xmlns:dc  = http://purl.org/dc/elements/1.0/;
exclude-result-prefixes=rdf ocs aocs dc
version   = 1.0

The 'aocs' in exclude-result-prefixed is not defined, maybe this line should
be added:

xmlns:aocs= http://alchemy.openjava.org/ocs/ocs-syntax#;

Roel



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



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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 there obvious complications?

I'd like to do a LEFT JOIN, which is not supported in Torque 3.1 yet.

Thanks,

Roel





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



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-user@jakarta.apache.org
 CC: David Sean Taylor
 Onderwerp: Re: PSML Import Problem with MySQL
 
 
 Hello,
 
 is there nobody who can help me with that? How do you guys do it? First  
 you create a schema for the new tables, then you run 'maven torque:sql',  
 the you run the genaerated scripts in your database. So far so good. But  
 you also need the corresponding OM-classes to use the new tables. 
 But how  
 do I do that?
 
 Please help me if you can,
 Thanks a lot,
 Sven.



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



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
 Onderwerp: changing PSML from within portlet



 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)
 
 
 Thank you Danny,
 but this seems to confirm it is a bug rather than a problem in setting up
 the proper configuration before buidling with Maven etc.
 I would like to be sure I did not make any error in setting properties
 before modifying code.
 Are developers aware of this presumed bug for J1.5?
 
 Bye
 Stefano
 
 - Original Message - 
 From: Danny Gehl [EMAIL PROTECTED]
 To: 'Jetspeed Users List' jetspeed-user@jakarta.apache.org
 Sent: Thursday, March 31, 2005 10:56 AM
 Subject: AW: Problem with MySQL 4.1 and Jetpeed 1.5 (1.4-B4)
 
 
  The Problem is, that some 'null' or 'Date(0)' values are
  written to DB, which causes the DB to fill in defaults
  (and default is '000-00-00 00:00:00'). We fixed it by patching
  the Classes CreateNewUserAndConfirmAction as well as
  UpdateUserAction. There we added or changed the following:
 
  user.setCreateDate(now);
  user.setLastLogin(now);
  user.setPasswordChanged(now);
 
  That should do it for 1.5 version.
 
  Hope this helps.
 
  Danny



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



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 is rendered
 the data is sent to server and for all practical purposes can't be
 undone.

Ah..


 So, what you want is to do the resource fetching _before_ any of the
 portlet is rendered. One way to do this is to create an Action that
 does the fetching, and upon a submit from your portlet, go to this
 Action.

In my current setup I extend the JspPortletAction, and pass all necessary
attributes to the JSP by setting them in the HttpServletRequest. My Portlet
definition uses 'JSP' as a parent. So, when the portlet is displayed for the
first time, the buildNormalContext of the extended JspPortletAction function
is called. As I now understand it, by this time it is too late? (What data
has been sent?) Any data that is fetched in this function can't stop the
rendering?

How can an Action that fetches the data stop the rendering of a Portlet, as
you describe?

Thanks for the tips,

Roel




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



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



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



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 works for you? Did you put it into your HOME-Directory and not 
 into your  
 project-root-directory (did you just create a new file or did it already  
 exist)?  Could you please post your file as an example please?

   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




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



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 file so that the combination of Maven and Torque can find it?

[note: I'm using 1.6-dev from CVS]

I asked this question yesterday, but got no reply. I've been working on it
all day yesterday, but couldn't find it. A new day, a new insight. Here is
the solution to my problem.

Since the PsmlImporter and related classes couldn't find the JDBC driver, I
edited the PsmlImporter source file to print out the classpath it was using.
Apparently it was looking in the ~/.maven/repository/ directory for all the
JAR files. Looking around a bit in the Jetspeed source root directory, those
directories were mentioned in a couple of files. First, in the .classpath
file, and next in the project.xml file (and those included there from the
./etc/project-dependencies/ directory). First, I put the MySQL JDBC JAR file
in my maven repository. Then I tried editing the .classpath file, which
didn't help. Finally I added another file to the project-dependencies
directory and included it in project.xml. Success!

So here's what I did:

1. Add the driver JAR to your Maven repository. I made a subdir
~/.maven/repository/mysql/jars/ and copied the
mysql-connector-java-3.1.7-bin.jar there.

2. Make a mysql.xml in ./etc/project-dependencies/, containing this:

!--MySQL dependencies--
dependency
idmysql:mysql-connector-java/id
version3.1.7-bin/version
properties
war.bundletrue/war.bundle
/properties
/dependency

3. Import this mysql.xml in the project.xml file by adding this line at the
start of the dependencies section:
mysql;

4. Rebuild.

5. the 'maven import' command now works.

I guess the same procedure works for other database drivers.

Roel van Dijk
Forest  Fields






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



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

2005-03-16 Thread Roel van Dijk
Read my last post, it describes this in detail, I figured it out myself ;-)

But thanks, anyway.

Roel


 -Oorspronkelijk bericht-
 Van: Molina Pablo (teampro) [mailto:[EMAIL PROTECTED]
 Verzonden: Wednesday, March 16, 2005 5:00 PM
 Aan: 'Jetspeed Users List'
 Onderwerp: RE: importing PSML into the database - where do I put the
 driver?


 Wherever it is, just add it as a dependency within the project.xml file:

 If the .jar file is named mysql-driver-1.0.1.jar, then

 dependency
 idmysql-driver/id
 version1.0.1/version
 /dependency

 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
 Asunto: Re: importing PSML into the database - where do I put the driver?

 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 the MySQL-Driver
 JAR file so that the combination of Maven and Torque can find it?
 
 
  [note: I'm using 1.6-dev from CVS]
 
 org.apache.jetspeed.test.jdbc.j1.drivers.path:

  goal name=import prereqs=java:compile
  description=Import PSML

  java fork=true
 classname=org.apache.jetspeed.services.psmlmanager.PsmlImporter 
  !-- comment this out to preserve existing profiles --
  arg value=false/
classpath
  path refid=maven.dependency.classpath/
  pathelement path=${maven.build.dest}/
  pathelement
 path=${org.apache.jetspeed.test.jdbc.j1.drivers.path}/
  pathelement
 path=${org.apache.jetspeed.test.jdbc.j1.drivers.path2}/
  pathelement
 path=${org.apache.jetspeed.test.jdbc.j1.drivers.path3}/
/classpath
  /java
  /goal


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

 -
 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: 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-1/psml_db.html

Or at least link to this Jetspeed-2 page, where it is described (and
apparently is applicable to Jetspeed-1, too).

http://portals.apache.org/jetspeed-2/database.html

Roel



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



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 all the options as stated in the guide, and
running the 'maven import' command gives me this output:

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] NOTICE: 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
BUILD SUCCESSFUL
Total time: 22 seconds
Finished at: Tue Mar 15 13:52:39 CET 2005


When I look in webapp/WEB-INF/log/jetspeedservices.log I see this error at
the top:

[main] WARN  DatabasePsmlManagerService -
DatabasePsmlManagerService.getDbConnection: exception:
org.apache.torque.TorqueException: java.sql.SQLException: No suitable driver


(which is followed by a typical big stacktrace)

Apparently Torque could not find the appropriate driver. I have the MySQL
driver JAR file, which I have copied to about every 'lib' directory I could
find, but to no avail. I also included it in my CLASSPATH environment
variable.

So here is the big question: where should I put the MySQL-Driver JAR file so
that the combination of Maven and Torque can find it?

Roel



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



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 standard Jetspeed build by
typen maven. All succeeds. However, this does not give me the file
target/classes/sql/dbpsml-schema.sql.

Here's a CVS diff:

  # cvs diff project.properties
  Index: project.properties
  ===
  RCS file: /home/cvspublic/jakarta-jetspeed/project.properties,v
  retrieving revision 1.18
  diff -r1.18 project.properties
  94c94
   database = hypersonic
  ---
   database = mysql

Is there something I am missing? Should I do something similar to 'make
clean' (maven clean?) before building Jetspeed?

Roel



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



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-mail: [EMAIL PROTECTED]



EmptyStackException

2005-03-08 Thread Roel van Dijk

I've checked out Jetspeed 1.6-dev from the CVS, and it runs fine on Resin
3.0.12
on my Debian machine. I'm trying out the different Portlets. I've configured
a
custom XSLT Porlet, which works just fine. However, the next portlet I
wanted to
try were the WebClippingPortlet. First, when I tried the portlets, I got the
libXp.so.6 error message. Apparently I was missing xlibs, so I installed
that.
So, I restarted Resin and now I get three of these messages on the console
when
I run the Mozilla Clipped portlet:

java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:79)
at
org.apache.jetspeed.util.rewriter.SwingParserAdaptor$Callback.handleEndTag(S
wingParserAdaptor.java:255)
at
javax.swing.text.html.parser.DocumentParser.handleEndTag(DocumentParser.java
:217)
at javax.swing.text.html.parser.Parser.parse(Parser.java:2072)
at
javax.swing.text.html.parser.DocumentParser.parse(DocumentParser.java:106)
at
javax.swing.text.html.parser.ParserDelegator.parse(ParserDelegator.java:78)
at
org.apache.jetspeed.util.rewriter.SwingParserAdaptor.run(SwingParserAdaptor.
java:78)
at
org.apache.jetspeed.util.rewriter.ClipperRewriter.rewrite(ClipperRewriter.ja
va:95)
at
org.apache.jetspeed.services.transformer.JetspeedTransformerService.clipElem
entsNumber(JetspeedTransformerService.java:162)
at
org.apache.jetspeed.services.Transformer.clipElementsNumber(Transformer.java
:89)
at
org.apache.jetspeed.portal.portlets.WebClippingPortlet.getWebClippedContent(
WebClippingPortlet.java:331)
at
org.apache.jetspeed.portal.portlets.WebClippingPortlet.getContent(WebClippin
gPortlet.java:228)
at
org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(Portl
etWrapper.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:267)
at ..

java.net.MalformedURLException: java.util.EmptyStackException
at
org.apache.jetspeed.util.rewriter.SwingParserAdaptor.run(SwingParserAdaptor.
java:85)
at
org.apache.jetspeed.util.rewriter.ClipperRewriter.rewrite(ClipperRewriter.ja
va:95)
at
org.apache.jetspeed.services.transformer.JetspeedTransformerService.clipElem
entsNumber(JetspeedTransformerService.java:162)
at
org.apache.jetspeed.services.transformer.JetspeedTransformerService.findElem
ent(JetspeedTransformerService.java:86)
at
org.apache.jetspeed.services.Transformer.findElement(Transformer.java:55)
at
org.apache.jetspeed.portal.portlets.WebClippingPortlet.getWebClippedContent(
WebClippingPortlet.java:308)
at
org.apache.jetspeed.portal.portlets.WebClippingPortlet.getContent(WebClippin
gPortlet.java:228)
at
org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(Portl
etWrapper.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:267)
at ..

The portlet itself is filled with nullnullnull.

I also get three of these in turbine.log:

  Exception occurred:java.net.MalformedURLException:
java.util.EmptyStackException

When I run the StartTagNumber example (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 html incomplete, or is it incorrect?

Roel van Dijk
Forest-Fields





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



RE: EmptyStackException

2005-03-08 Thread Roel van Dijk

I screamed too soon. I tried this with a custom remote page, and that worked
just fine. Apparently the startTag/stopTag/startTagNumber configuration for
the Mozilla Clipped portlet is not applicable anymore. Still, it's an
ugly, big stacktrace ;-)

Roel



-Oorspronkelijk bericht-
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.EmptyStackException



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