Hi all,
I need to download a zip file from the server to client browser. I have a
servlet which does this --
FileInputStream fis = new FileInputStream(uFile);
PrintWriter pw = response.getWriter();
int c = -1;
// Loop to read and write
-archives.apache.org/mod_mbox/portals-pluto-user/200406.mbox/[EMAIL
PROTECTED]
Hope it helps someone ;)
Thanks,
Amit
Original Message Follows
From: Shah Amit [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: J2 - Zip
Look at minDeploy and nodbMinDeploy goals. They deploy the minimal jetspeed
without the demo portlets. They are in
XXX:\jakarta-jetspeed-2\portal\maven.xml
Original Message Follows
From: Rene Medellin [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To:
I need to download files from server to user browsers from a particular
directory. I tried to look thru the threads, but they are for J1.
Can someone please give me some pointers where I should research ...
Thanks,
Amit
-
To
http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets
This briefly explains how to do it. See if that helps. It is a little bit
old, meaning, it applies for prior to Milestone 2 release. But I think even
after M2, only the undeploy mechanism might have changed. I am not 100% sure
to change the skin or
any other customisation of my portal, i need to modified the archives in the
jetspeed folder
i`m in the rigth way ?
- Original Message -
From: Shah Amit [EMAIL PROTECTED]
To: jetspeed-user@jakarta.apache.org
Sent: Wednesday, April 13, 2005 12:37 PM
Subject: RE
Date: Wed, 13 Apr 2005 08:56:07 +0200
Hi Amit,
dont know if this solves your problem, but have a look on chapter 17 in the
portlet spec (User Information). It says available user attributs must be
defined in the protlet.xml.
Martin
-Ursprüngliche Nachricht-
Von: Shah Amit [mailto:[EMAIL
Hi all,
How do I add user Preferences directly in the database? I know that we can
add it from the administrative portlets, but it is not feasible for me
because I have an existing system with hudreds of users, and I cannot
manually do that.
I tried to enter records into PREFS_PROPERTY_KEY,
Hi Ate,
Sorry to bring up this thread again. The solution that you mentioned - using
window.top.location with html:rewrite did work well for me. However it
created another problem.
To summarize the situation, since it has been long since we discussed this
thread - I have a jsp with 3
@jakarta.apache.org
Subject: Re: Struts Bridge - ActionRequest Related Question
Date: Sun, 10 Apr 2005 21:34:49 +0200
Shah Amit wrote:
...
init-param
nameViewPage/name
value/r5prAction.do?dispatch=loadDropDowns/name
/init-param
...
This is ok.
javascript
location='html:rewrite href
Hi all,
Is it possible that all my portlets are maximized by default? I tried to
search the mailing list but could not find this particular topic ...
Thanks,
Amit
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hi all,
I tried to change the user-attribute value - Dudley to DudleyAmit, but
it didnot reflect the change. I had to restart tomcat and then it reflected.
I dont know if this is the intended behaviour ... But in my opinion it would
be awkward to have it that way ... I dont know if I am doing
Following was the exact line that I removed.
%@ page session=false %
And after that I didn't get that error anymore.
I dont know if yours is the same problem, but the exception looks like the
same that I had so ...
Amit
Original Message Follows
From: Shah Amit [EMAIL PROTECTED]
Reply
Hi all,
I am using Jetspeed 2 with Struts-bridge. Now I have a very typical
requirement. I have some member-area pages which are accessible only after a
user logs on. Now I want that all the member area pages should be https,
whereas other pages should not be on https.
I checked jsr 168 and
* be using action URLs because this warning is *only* displayed
from within processAction handling. Just make sure to use render URLs.
Shah Amit wrote:
Hi all,
Please pardon my stupidity with the Struts bridge. I have read the
documentation several times, and I understand what it says. However I have
and then redirect
to render action.
Thanks for your help
Amit
Original Message Follows
From: Shah Amit [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: Re: Struts Bridge - ActionRequest Related Question
Date: Fri, 01 Apr
Hi all,
Has any one used ValueList with Jetspeed 2 and struts-bridge ... If yes,
how did you pass a user entered selection or value from say like a first
page, to a second page which contains the actual grid ?? ..
the website is - valuelist.sf.net -- it is an implementation of Value
List
Hi all,
I want to use valueList (valuelist.sf.net) in my portals, which is like a
tag library that displays grids and tables for a list of objects.
Unfortunately this grid depends on request.getParameter(someParamName) if
I want to pass some user selection from a previous page and query the DB
Hi Geoff,
I got this advise from David Sean Taylor, and it has really worked great for
me.
I have a seperate directory where I have all my source for my portlet,
decorators and stuff like that. And then I have my own maven goals in my
project files which deploy these portlets, decorators and
then that is also appreciated.
i would like to steal with pride if that's ok.
cheers
/geoff
From: Shah Amit [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: RE: Best Way to start developing a portal
Date: Fri, 25 Mar 2005 10
Hi all,
Please pardon my stupid question because I dont have much experience with
struts or portals !!!
I have gone thru the struts-bridge documentation that is given on the
jetspeed website, and I have a few questions as to what would be the best
way to solve my problem.
I have two pages in
I dont know about Question no. 1. I dont really think that for Jetspeed 2
psml's can go to DB's yet. They have it on their todo list I think.
For question no. 2, I am not sure if you can add columns. But a suggestion
would be that -- for stuff like user name, email etc. take a look at the
Hi Thomas,
Thanks for your reply. I have gone thru the documentation that you
mentioned. I think I do understand it a little bit.
However I am facing some difficulties --
Following is an excerpt from my portlet.xml file --
portlet
init-param
nameServletContextProvider/name
2005 23:09:15 +0100
Shah,
I looked briefly at your actionMappings and the first thing I noticed is
that you do a redirect=true on a forward from a RenderAction...
You shouldn't need nor do that.
Forwarding with redirect=true is something you only need after processing
an ActionRequest.
Shah Amit
http://portals.apache.org/jetspeed-2/multiproject/portals-bridges-struts/features.html
This is a little bit burried documentation that I have been able to find
from their website. Apart from that, if you take a look at the JPetstore
sample application that comes with jetspeed, it has a very good
O so sorry. Thats my fault. I have read this page like 10 times, but never
saw the link which says feature(s).html It was not about the s. I
just never saw the html name of the page !
Apart from that, if you read the
javaDocs for
I think that indeed is the case. They are stored in the DB. I am 99% sure.
Amit
Original Message Follows
From: Martin Dulisch [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
Subject: Re: Deploying a portlet
Date: Sun, 20
1. If I wanted my portlets to be transparent to the client,
e.g. no frames, no edit, help, minimize and maximize buttons,
how would I do that? Does PSML (or maybe the lack of it)
provide that functionality?
Answer. - We can easily get rid of the edit and help button by controlling
the
Hi Priya,
http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets is a
wiki for what you need.
Also the wiki pages are a very good source of information for lot of stuff
around jetspeed. Besides that, they have a little bit documentation on the
website itself. It is not complete,
I have a small example using spring to manage my business logic classes, and
they are called by struts action classes.
I will mail you that once I package everything up.
Amit
Original Message Follows
From: [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Hi all,
I am so sorry for the confusion. When I said I have application, I only use
spring IOC feature. I dont use the spring web layer. I use struts framework
and the struts-bridge that ships with jetspeed.
Thanks,
Amit
Original Message Follows
From: Scott T Weaver [EMAIL PROTECTED]
Hi all,
I am trying to user the validator plugin with struts bridge. It works
great when I do a non-javascript validation with validate=true in the
action mapping.
However, if I want to do a javascript validation on the client side, I have
to put validate=false, and in that case, I am getting
This is not a problem anymore. This is wierd situation. I had a browser open
and I kept refreshing the same page and I got the issue. I just redeployed
everything and started a fresh browser, and this is not an issue anymore.
Thanks,
Amit
Original Message Follows
From: Shah Amit [EMAIL
It is definately jdk1.5 and not linux. The issue is, Sun decided to make
enum a keyword in jdk1.5 for whatever reasons !!
So as a result --
Enumeration enum = someObject.getEnumeration();
Statement will not compile with jdk1.5 because it would complain about the
enum variable name being a
I have heard that there is some eclipse plugin for Pluto out there. But I
dont know how good that works with Jetspeed.
Apart from that, I haven't heard of any.
Amit
Original Message Follows
From: Marky Goldstein [EMAIL PROTECTED]
Reply-To: Jetspeed Users List
Hi all,
Following is my firstPage.jsp
html:link href=secondPage.doGo to Second Page/html:link
and below is my struts-config.xml file ---
struts-config
action-mappings
action path=/firstPage
include=/WEB-INF/view/firstPage.jsp/
action path=/secondPage
Hi,
I created my own portlet, and I am trying to use expressions in jstl but
they are failing saying that they are not allowed.
I had to go to the c.tld file and change
rtexprvaluefalse/rtexprvalue to rtexprvaluetrue/rtexprvalue to
allow those.
Can someone please tell me what I am doing wrong
://java.sun.com/dtd/web-app_2_3.dtd;
I was fine after that.
Hope that helps,
- Doug
On Wed, 09 Mar 2005 14:02:03 -0500, Shah Amit [EMAIL PROTECTED]
wrote:
Hi,
I created my own portlet, and I am trying to use expressions in jstl but
they are failing saying that they are not allowed.
I had to go
Hi Frank,
I understand a little bit of that part. I am in no way an expert but I will
tell you what I understand.
Say a user has ---
prefName1=prefValue1
prefName2=prefValue2
In this case, prefName1 and prefName2 will be stored in PREFS_PROPERTY_KEY
and prefValue1 and prefValue2 will be stored
Hi all,
Does anyone know what kind of encryption is used on security_credential
table ... Actually I have some data that I need to translate to jetspeed
based model and populate the security_credential table with an external
program so ...
Thanks,
Amit
Did some reasearch in the spi-impl modules and found that it is SHA-1. Can
someone confirm if I am right
Thanks,
Amit
Original Message Follows
From: Shah Amit [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: jetspeed-user@jakarta.apache.org
How can I remove the maximize and minimize buttons from the portlet title
bar?? I know I can control the permission for edit and view the portlet. But
is there a way to remove the maximize and minimize buttons also ??
Also, is there a way to get rid of the entire title bar, or we have to write
Hi all,
I have found following -
I created a user with the create user portlet. Now I added user.name.given
and user.name.family properties to the user. Now I understand that the
values for these properties go to - prefs_property_value table. But the keys
(user.name.given and user.name.family)
Hi all,
I want to use sprint framework IOC feature in my portal. Can I just go ahead
and load the servlet like this in my web.xml --
servlet
servlet-namecontext/servlet-name
for attention to my problems,
i'll let you know if i'm successful!
bernhard
- Original Message - From: Shah Amit [EMAIL PROTECTED]
To: jetspeed-user@jakarta.apache.org
Sent: Tuesday, February 22, 2005 9:48 PM
Subject: Re: getting started
Did you rename your build.properties.sample file
Can you show your build.properties file ... I think you might not have set
the proper paths on the build.properties file.
Also note that the slashes are all forward slash even though it is windows.
It has biten lot of people including me ;)
C:/Documentsx/and not C:\Documentsx\
own psml file
Date: Wed, 09 Feb 2005 12:29:59 -0500
Shah Amit wrote:
Hi Mike,
Thanks a lot !! I do need help with security implementation. I would
really
really appreciate help !! I have gone thru the SPI interfaces and was
trying to understand them.
In the meantime, I was preparing
Use forward slash / instead of \. I think maven files have to use
forward slash. Atleast thats what I use and that works for me.
Goodluck
Amit
Original Message Follows
From: Edd Dawson [EMAIL PROTECTED]
Reply-To: Edd Dawson [EMAIL PROTECTED]
To: Hema Menon [EMAIL PROTECTED]
CC: Jetspeed
Thanks,
Amit
Original Message Follows
From: mike long [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Access your own psml file
Date: Wed, 09 Feb 2005 12:29:59 -0500
Shah Amit wrote:
Hi
A wild guess would be try to cast it to the interface and not directly to
the implementation ??
If you can give the entire trace, that would probably help better.
Amit
Original Message Follows
From: Zhonghui Ning [EMAIL PROTECTED]
Reply-To: Jetspeed Users List
Hi all,
I studied the entire org.apache.jetspeed.profiler.ProfiledPageContext
interface. Now I want to reach to the root folder. Ultimately I want to
create a tree of everything that exists, but from what I can understand
after reading the way interfaces are designed, I think I have to go
Sure. Thanks for your response.
Amit
Original Message Follows
From: David Sean Taylor [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: J2 - Menu Navigation - Root Folder
Date: Wed, 16 Feb
Hi,
I understand the navigation structure of jetspeed a little bit. I am reading
the ProfiledPageContext interface and trying to figure out how I can display
a menu tree. The examples do show how child folders and links will be
displayed. But how can I display the parent tree? Also where
PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Menu Navigation Tree
Date: Tue, 15 Feb 2005 12:06:56 -0800
Shah Amit wrote:
Hi,
I understand the navigation structure of jetspeed a little bit. I am
reading
Hi all,
I understand the way current Jetspeed 2 navigation system has been arranged
a little bit. But I have some questions and I dont know how I should
implement them.
For example I have a menu tree -
Page 1
Page 2
Level 1 Menu 1
Level 2 Page 1
Level 2 Page 2
Level 2
Taylor [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Access your own psml file
Date: Wed, 09 Feb 2005 09:37:49 -0800
Shah Amit wrote:
I have my own portlet web application. Now it logically makes
I have my own portlet web application. Now it logically makes sense that
to deploy this this applicaiton, I should just throw it under
jetspeed/web-inf/deploy, and should be able to access my webapplication from
the browser.
Till now I used to edit the default-page.psml in
-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Access your own psml file
Date: Wed, 09 Feb 2005 10:52:03 -0500
Shah Amit wrote:
I have my own portlet web application. Now it logically makes sense that
to deploy
-user@jakarta.apache.org
Subject: Re: Access your own psml file
Date: Wed, 09 Feb 2005 12:29:59 -0500
Shah Amit wrote:
Hi Mike,
Thanks a lot !! I do need help with security implementation. I would really
really appreciate help !! I have gone thru the SPI interfaces and was
trying to understand them
Taylor [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Access your own psml file
Date: Wed, 09 Feb 2005 09:37:49 -0800
Shah Amit wrote:
I have my own portlet web application. Now it logically makes
Hi Mike and David,
Thanks for your guidance.
I read a couple of tutorials on JAAS and I think I kindaa get the idea. I am
now going thru all the SPI interfaces and trying to judge what I would be
implementing and what not (probably leave
MessageDigestCredentialPasswordEncoder alone).
I think I
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Database Related Question
Date: Fri, 04 Feb 2005 13:27:08 -0500
Shah Amit wrote:
Hi Mike and David,
Thanks for your guidance.
I read a couple of tutorials on JAAS and I think I kindaa get the idea. I
am now going thru all the SPI
If you are just doing it from scratch, you might want to give a try to
Jetspeed2. It follows the Java Portlet specs. I am not much familiar with
Jetspeed1.x. Just started with Jetspeed2. You would need maven to build that
though ...
Amit
Original Message Follows
From: lorenzo baylon
]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Database Related Question
Date: Tue, 01 Feb 2005 23:11:42 -0800
Shah Amit wrote:
Thanks for the reply.
Now I already have an existing schema where I have a users table
, 02 Feb 2005 12:31:55 -0800
Shah Amit wrote:
Hi David,
Please pardon my stupid questions. I am pretty new with JAAS so ...
By what you suggested, you mean to say that I should have my own
implementation for almost all the interfaces in
org.apache.jetspeed.security.spi .. ?? and then change
considerable. I would suggest reading up on
Maven, all the tutorials on JAAS, and then the Spring reference manual. The
later will show you how to wire the application together using your own
security implementations.
Regards,
Mike Long
Shah Amit wrote:
Hi David,
Please pardon my stupid questions. I
Taylor [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Re: Database Related Question
Date: Mon, 31 Jan 2005 12:17:16 -0800
Shah Amit wrote:
I have an existing database, and a website built on it. We
help ...
Thanks,
Amit
Original Message Follows
From: Roger Ruttimann [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Shah Amit [EMAIL PROTECTED], Jetspeed Users List
jetspeed-user@jakarta.apache.org
Subject: Re: J2-SSO
Date: Tue, 01 Feb 2005 14:23:37 -0800
Please post questions
I have an existing database, and a website built on it. We are in a process
of portalizing the website with Jetspeed2.
Now I downloaded jetspeed2 and the DB that it creates has quite a lot of
tables (atleast 30 - 40). Out of all of these tables, I do understand that
security_XXX tables would
Hi all,
Has anyone deployed a production grade application using Jetspeed2 ?? How is
the performance, memory footprint, reliability etc. of J2 ??
Any opinions would be very appreciated !!!
Thanks,
Amit
-
To unsubscribe, e-mail:
I have written a very simple portlet that uses hibernate on the backend to
connect to DB with c3p0 connection pool. The portlet is very very simple.
Just has a submit button on the front and when you click that button, it
selects all records from a table and System.out's the records on console
you can look into
jakarta-jetspeed-2\applications\demo\src\java\org\apache\jetspeed\demo
directory.
in applications directory they have many good example to start with.
Thanks
Amit
Original Message Follows
From: Han, Richard [EMAIL PROTECTED]
Reply-To: Jetspeed Users List
Also I am kindaa in an evaluation stage of Portal and what framework to use.
If someone can give me some comparisions, I would really appreciate.
I know that Jetspeed 2 is based on Spring Framework. Is it easy to use
Spring Framework as the framework for my portlets with Jetspeed ?? Also some
I think it is as follows. I dont think you can use forward, or redirect.
PortletContext context = getPortletContext();
PortletRequestDispatcher rd =
context.getRequestDispatcher(whatEverPage);
rd.include(request, response);
.include transfers control to that
Hi All,
I am trying to use JAAS provided by J2. Is there any documentation on how to
use that ? I tried reading all the test examples they have and read all the
code for security.
here is my problem, when I follow JAAS client-side specification and try to
use J2's JAAS. I get NULLPointer
Hi all,
I tried to look up on google, but only found an article dated back in May
that J2 will soon have Hibernate support.
I would like to know if I can use Hibernate with J2. I dont know the best
way to architect this, but if J2 doeesnot provide any inbuilt support and I
have to write
76 matches
Mail list logo