Re: Uploading file > 1MB

2003-10-13 Thread Gokul Poduval
The turbine configuration file sets a limit on the file upload size. by
default it is 1mb. just increase this limit to whatever you want.

Gokul
http://pod.homelinux.net

florian.brunswicker wrote:
> Hi,
> 
> i have some problems uploading a file > 1MB.
> I tried both services (org.apache.fulcrum.upload.TurbineUploadService and
> org.apache.turbine.services.upload.TurbineUploadService) with
> services.UploadService.size.max=10485760 (default is 1048576).
> 
> Both services are working very well with files < 1MB, but with files > 1MB i
> always get a timeout without any error message.
> 
> Does anybody of you run in the same problem or has perhaps a solution for
> this ?
> 
> Best regards,
> 
> Florian
> 
> 
> 
> 
> -
> 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: What is "Content Feeds"?

2003-09-16 Thread Gokul Poduval
Hello,
 I think content feeds are the same as RSS feeds. AFAIK, they are two 
different names for the same thing.

--
Gokul
http://pod.homelinux.net
Zufeng Huang wrote:

All,

What is "Content Feeds"?

Does "Content feeds" has any relationship with
OCS/RSS, what's the difference between?
3Q.

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-
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: Problem in some portlet:K@N@!:

2003-08-02 Thread Gokul Poduval
Look at Jetspeed Bugzilla Bug 21131.

On Fri, 2003-08-01 at 20:51, Pascal DeMilly wrote:
> Aurelien,
> 
> I looked on the archive as you suggested and apart from downgrading java
> jdk to 1.4.1 I didn't see any other solution to that problem. I read
> messages from thread 06776 in the dev list which seemed to me
> inconclusive in that regard). 
> 
> Is it what I am supposed to do or do you know of another solution to
> this problem?
> 
> Thanks
> 
> Pascal
> 
> On Fri, 2003-08-01 at 05:34, Aurelien Pernoud wrote:
> > Please use the archive (www.mail-archive.com), this question has been
> > answered many times, it's related to JDK 1.4.x only.
> > 
> > Pascal DeMilly a écrit :
> > 
> > > When loading a brand new jetspeed-1.4b5.war (same with b4) I get the
> > > following error message in my Jetspeed documentation portlet for
> > > example.
> > >
> > > problem in SAX transform:
> > > org.apache.xml.utils.WrappedRuntimeException:
> > > The output format must have a
> > > '{http://xml.apache.org/xalan}content-handler' property!
> > >
> > > Any ideas what I need to do to fix that error?
> > >
> > > TIA
> > >
> > > Pascal
> > 
> > 
> > -
> > 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]



RE: Problem in some portlet

2003-08-01 Thread Gokul Poduval
Look at Jetspeed Bugzilla Bug 21131.

On Fri, 2003-08-01 at 20:51, Pascal DeMilly wrote:
> Aurelien,
> 
> I looked on the archive as you suggested and apart from downgrading java
> jdk to 1.4.1 I didn't see any other solution to that problem. I read
> messages from thread 06776 in the dev list which seemed to me
> inconclusive in that regard). 
> 
> Is it what I am supposed to do or do you know of another solution to
> this problem?
> 
> Thanks
> 
> Pascal
> 
> On Fri, 2003-08-01 at 05:34, Aurelien Pernoud wrote:
> > Please use the archive (www.mail-archive.com), this question has been
> > answered many times, it's related to JDK 1.4.x only.
> > 
> > Pascal DeMilly a écrit :
> > 
> > > When loading a brand new jetspeed-1.4b5.war (same with b4) I get the
> > > following error message in my Jetspeed documentation portlet for
> > > example.
> > >
> > > problem in SAX transform:
> > > org.apache.xml.utils.WrappedRuntimeException:
> > > The output format must have a
> > > '{http://xml.apache.org/xalan}content-handler' property!
> > >
> > > Any ideas what I need to do to fix that error?
> > >
> > > TIA
> > >
> > > Pascal
> > 
> > 
> > -
> > 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]



Error in Jetspeed - problem in SAX transform

2003-07-25 Thread Gokul Poduval
I am running Jetspeed 1.4-b4 on Tomcat 4.1.24. Everything was going fine
till one fine day I started getting this error in portlets -

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException:
The output format must have a
'{http://xml.apache.org/xalan}content-handler' property!

The portlets dont display anything else. This is happening in lot of
portlets, though not all, and I am nore really sure what this error
means. Any ideas ?

Gokul


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



fileUpload

2003-07-21 Thread Gokul Poduval
I am trying to make a portlet to perform fileUpload. My .vm file is as 
follows -



   #fileUploadField ("file")
   
 
 
 
   



   However, when when I check the HttpServletRequest, I am getting lot 
of headers, but no header with the file information. This is how the 
action class looks like.

HttpServletRequest request = rundata.getRequest();
DiskFileUpload upload = new DiskFileUpload();
List items = upload.parseRequest(request);
	But when I check the items list, it turns out to be empty. Any idea on 
whats wrong with the velocity template ?

Gokul





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


Re: Linking to other portlets

2003-07-18 Thread Gokul Poduval
Hello,
> 
> Here are some examples of links to panes in Velocity:
> 
> $jslink.getPaneById("P_12345")
> $jslink.getPaneById("Pane_3,SubPane_17")
> $jslink.getPaneByName("pane_1")
> 

I tried this, but it does seem to work. I am not really sure if what I
want to link to is a subpane. I have a MenuControl which has four items,
and I want to provide a link such it takes me to a specific item in the
Menu.

Gokul



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



Linking to specific portlets

2003-07-17 Thread Gokul Poduval
Hello,
 I have a portal with different panes, A,B and C. Pane B contains a menu
on the left similar to this

1
2
3
4

 I want to give a link on Pane A, such that it brings up item 3 in pane
B. 

 When I use jslink, I am only able to link to pane B, but cant link in
such a way that when pane B comes up, it automatically goes to menu item
3. Does anyone know how to do this ?

Gokul



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



Re: Linking to other portlets

2003-07-16 Thread Gokul Poduval
Hello,

  To elaborate further, the About US section contains a menu on the
left, similar to this

About Us
Management Team
Executive Bios
Message

  What I want to do is that when the user clicks on a link in a portlet
on the home pane, he should be forwarded to the 'Message'.

Gokul

On Thu, 2003-07-17 at 12:41, Gokul Poduval wrote:
> Hello,
>I have a portal where the navigation is done though a tab pane in the
> following fashion
> 
> Home | About Us | etc | etc | Contact Us
> 
>In the Home Tab, I have 4-5 portlets. One of these portlets requires
> a link which takes me to another tab pane. How can I provide such a link
> ?
> 
> Gokul
> 
> 
> -
> 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]



Linking to other portlets

2003-07-16 Thread Gokul Poduval
Hello,
   I have a portal where the navigation is done though a tab pane in the
following fashion

Home | About Us | etc | etc | Contact Us

   In the Home Tab, I have 4-5 portlets. One of these portlets requires
a link which takes me to another tab pane. How can I provide such a link
?

Gokul


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



Re: Don't Understand

2003-06-09 Thread Gokul Poduval
I normally define my portlets in demo-portlets.xreg. That seems to work
for me :)

On Mon, 2003-06-09 at 21:50, [EMAIL PROTECTED] wrote:
> Hello.
> 
> Now I'm reading the Configuration Guide, and I make all the things that
> this guide do. But now I don't understand how can I use the
> local-portlets.xreg,
> because when I want to put a portlet on the .psml file only see the
> portlets.xreg and not the local-portlets.xreg.
> 
> I seed all the configurations scripts and in no script put whith xreg use
> the application.
> 
> It's very important, because I want to make a portal and I cannot see my
> portlets.
> 
> Best Regards,
> Javier.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
Yours Sincerely,
Gokul Poduval
[EMAIL PROTECTED]


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



Re: user's guide

2003-06-08 Thread Gokul Poduval
This is a good place to start

http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm

-- 
Yours Sincerely,
Gokul Poduval
[EMAIL PROTECTED]


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



fileUpload macro

2003-06-06 Thread Gokul Poduval
Hello,
  I have a form in which I want to allow the user to select a file. When
he clicks submit, the file should be emailed to me.

  I have already got java.mail working to send me simple text messages,
how do get binary files through ? to get the strings i just use
rundata.getParameters().getString(string_name). but i guess i cant use
that for getting files.

gokul


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



Session Management in Jetspeed

2003-06-05 Thread Gokul Poduval
Hello,
  Can somebody point me to a starter document to session management in
Jetspeed ? Or can somebody just list out some basic steps on how to go
about it.

Thanks.

-- 
Yours Sincerely,
Gokul Poduval
[EMAIL PROTECTED]


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



Dynamically changing portlet

2003-06-05 Thread Gokul Poduval
Hello,
   I have a situation where I display three portlets in a three column
layout. The left most portlet is a search portlet, and depedning on the
action there, I need to keep changing the portlet in the centre. 

   Is it possible to do this ?

Gokul



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



adding own portlet

2003-06-03 Thread Gokul Poduval
Hello,
   I was trying to create a Hello World portlet, and managed to compile
it succesfully. Then I added a reference to it sample.xreg in
webapps/jetspeed/WEB-INF/conf/. 
   However when I login as turbine in my jetspeed portal, and try to add
this HelloWorldPortlet, I am not able to view this in the available
list. I have put the .class file in
webapps/jetspeed/WEB-INF/classes/org/apache/jetspeed/portal/portlets.

   I have attached my .xreg and .java files.

gokul

sample.xreg




HelloWorldPortlet
Simple Hello World Portlet
Example

   
org.apache.jetspeed.portal.portlets.HelloWorldPortlet





HelloWorldPortlet.java

package org.apache.jetspeed.portal.portlets ;

import org.apache.jetspeed.portal.portlets.AbstractInstancePortlet ;
import org.apache.turbine.util.RunData ;
import org.apache.ecs.ConcreteElement ;
import org.apache.ecs.StringElement ;

public class HelloWorldPortlet extends AbstractInstancePortlet {

public ConcreteElement getContent(RunData rundata) {
return (new StringElement("Hello World ! "+ getID()));
}
}


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



XSLT Portlet

2003-05-30 Thread Gokul Poduval
Hello,
   I have a CMS which stores documents in HTML. I am intresting in
   extracting some info from these files and put them in a portlet.
   Initially, I was planning to use cocoon along with XSLT stylesheets to
   produce some HTML/XML which I could then feed to a portlet.
   However, the Jetspeed website mentions that it uses Cocoon itself, and
   therefore I was planning to use that to integrate the CMS system with
   a Jetspeed portlet. Unfortunately the section on XSLT portlets seems
   to be missing from teh bluesunrise.com website.
   Can anybody give me any pointers on how to write XSLT portlets using
   cocoon ?

-- 
Gokul

-- 
http://www.fastmail.fm - Same, same, but different…

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



Jetspeed Tutorial

2003-05-28 Thread Gokul Poduval
Hello,
  I was going through the Jetspeed tutorial at
  http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm. I have
  downloded jetspeed-src, jetspeed-war and jportal.jar, and unzipped them
  all to the same directory. When I try to compile the tutorials using
  ant, this is the error I get
--
Buildfile: build.xml

prepare:

check_om:

om:

main:
[unjar] Expanding: /var/tomcat/webapps/jetspeed/lib/torque-3.0.jar
into /home/gokul/jetspeed/torque3/templates.scratch

BUILD FAILED
file:/home/gokul/jetspeed/torque3/build.xml:23: Error while expanding
/var/tomcat/webapps/jetspeed/lib/torque-3.0.jar
--

All my files have been downloaded and unzipped at /home/gokul/jetspeed.
Tomcat is installed at /var/tomcat, and I have ownership permissions to
it.

The following is my build.properties file -

--
jetspeed_home=/var/tomcat/webapps/jetspeed
catalina_home=$CATALINA_HOME
portlet_app_name=jportal
company=com.bluesunrise.jportal
jetspeed_jar=/bin/jetspeed-1.4-b3.jar
jetspeed_war=/bin/jetspeed.war
jetspeed_lib=/lib
jetspeed_conf=/webapp/WEB-INF/conf/
---

Can somebody point out where I am going wrong ?

Gokul
-- 
Gokul

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own

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