Re: File Upload

2005-02-01 Thread Alan Chiang
http://64.233.167.104/search?q=cache:c-b-JjQJntcJ:www.mail-archive.com/jetspeed-user%40jakarta.apache.org/msg10114.html+commons+fileupload+portlet+tutorialhl=en Grabbed this from the Jetspeed archives; the classes are deprecated, but it has thus far worked for me on J1.6. Hope this helps! Alan

Re: File Upload

2005-02-01 Thread Alan Chiang
I pretty much followed the instructions in the link I sent you. I created a JSP page with a form, and used Turbine's parameter parser to snag the FileItem. If you read the FileItem's api, its very easy to use. I just call a write on the FileItem when I can confirm its all good. Don't be afraid

Returning binary data through portlet

2005-01-14 Thread Alan Chiang
Hi all, Wondering if anyone knows how to get a portlet to return binary data, or get Jetspeed to return binary data. I have a JSP that reads files for download, coupled with the JSP portlet, but any data returned seems to be intercepted and interpreted as text and is dumped to the portlet

HttpServletRequest and Response items for portlet

2004-12-13 Thread Alan Chiang
Hi all, I've been trying to get an upload portlet working with Jetspeed for a while now, and I have a question about the Request and Response items returned from RunData. I have a simple servlet that uses the O'Reilly upload servlet, and it works fine with tomcat 5.0.28, and through Apache

JSR-168 portlet problem

2004-12-10 Thread Alan Chiang
Hi, I'm getting this stack trace when attempting to deploy what I believe to be a JSR-168 portlet. org.apache.jetspeed.pipeline.PipelineException: org.apache.jetspeed.aggregator.FailedToRenderFragmentException: Unable to render fragment because: javax.portlet.PortletException: Failed to find

LateInitCastorRegistryService

2004-11-24 Thread Alan Chiang
Hi, I'm having a problem where Jetspeed 1.6 dev craps out after tomcat is reloaded, stopped and/or started multiple times. This also happens when I use Tomcat's manager to reload, stop and start Jetspeed multiple times Using J2 pre_portalurl_refactor_20041015, Jetspeed 1.6 Fusion as of Nov 5,

Re: jdbc driver error

2004-11-10 Thread Alan Chiang
Perhaps Maven doesn't like spaces (eg Program Files). Perhaps you should also try adding it in your class path. AC On Wed, 10 Nov 2004 05:46:24 -0800 (PST), nafise hassani [EMAIL PROTECTED] wrote: I really don'nt know why maven can't find my mysql driver I put this driver in these

Jetspeed-spring.xml problem: portletFactoryProxy unsatisfied dependency

2004-11-09 Thread Alan Chiang
Hi, has anyone encountered this error? It's similar to the ones in the jetspeed-dev archive (see jetspeed fusion running with org.springframework.beans.factory.UnsatisfiedDependencyException), but I'm not sure how to solve this. I'm running J2 pre-portalurl_refactor... and the head from J1 as

FusionAccessController: Null pointer exception in j1.6

2004-11-06 Thread Alan Chiang
Hi, I'm getting this error using j2 pre_portalurl_refactor_20041015 and J1.6 Head as of nov 5, 2004. 2004-11-06 13:12:45,316 [TP-Processor3] ERROR FusionAccessController - error in fusion access controller java.lang.NullPointerException at

Using Jetspeed's Torque service

2004-11-04 Thread Alan Chiang
Hi, I'm trying to create a portlet with the assistance of Torque. I've created a new Action class for a Velocity portlet, and I've created a new set of Torque OM's for my database. The Torque OM's are generated properlly, but when I go to import the OM's and try to perform a doSelect, it

Re: Problem building Jetspeed 1.5 war

2004-10-27 Thread Alan Chiang
Add -Dmaven.test.skip=true ? You can also add maven.test.ignore.failure=true or maven.test.skip=true in the properties file. http://maven.huangdong.com/reference/plugins/test/properties.html AC On Wed, 27 Oct 2004 11:34:25 +0200, Daniel Pardo [EMAIL PROTECTED] wrote: I think that you can

Dynamically Generate PSML/Menus

2004-10-27 Thread Alan Chiang
Hi all, I'm a bit new to Jetspeed, portals, and the surrounding technologies, but I'm slowly taking it all in. I would like to create a menu similar to the PSML menus, but they need to be dynamically generated from a database. The menu would list items, for example cars, and as you click on