Re: Why is the login portlet authenticating twice?

2005-01-31 Thread Marcel Dullaart
Thanx for pointing out the second page. Section 4.3.2 describes exactly the problems I am having, but I don't think it is acceptable to undeploy all portlets before shutting down JB, but for the time being its oke. I'll give it a try on 4.0.1 and let you know about the results. Marcel ---

Re: Nested portlet?

2005-01-31 Thread Nan Anonymous
> > You can setup a portlet pipeline and retrieve only the content for one > portlet within another portlet. This is what we do in Jetspeed 1.6 > fusion to support jsr 168 portlets > Thanks. Can you point me to the document about this portlet pipeline? I suppose there can be an API (as Java cla

AW: File Upload

2005-01-31 Thread apache
public void doUploaddhl(RunData rundata, Context context) throws Exception { try { FileItem fi = rundata.getParameters().getFileItem("filename"); OrderManager om = new OrderManager(); om.importTrackAndTrace(fi.getStream()); } catch(Exception e) { logge

Re: File Upload

2005-01-31 Thread Carlos Torres
Can you explain how you did it? Which classes you used, if any change was necessary. Thanks. - Original Message - From: <[EMAIL PROTECTED]> To: "'Jetspeed Users List'" Sent: Monday, January 31, 2005 6:02 PM Subject: AW: File Upload Yeah, I did it ;) -Ursprüngliche Nachricht-

AW: File Upload

2005-01-31 Thread apache
Yeah, I did it ;) -Ursprüngliche Nachricht- Von: Carlos Torres [mailto:[EMAIL PROTECTED] Gesendet: Montag, 31. Januar 2005 22:59 An: Apache JetSpeed User; Apache JetSpeed Dev Betreff: File Upload Hello all, Anybody made a page(portlet) with file upload using JetSpeed 1.5 ? Please help

File Upload

2005-01-31 Thread Carlos Torres
Hello all, Anybody made a page(portlet) with file upload using JetSpeed 1.5 ? Please help me. Thanks. Carlos Torres

[J1] different questions

2005-01-31 Thread Daniel Brose
Hi there! I'm quite new to Jetspeed and currently I'm building my first portal site with Jetspeed 1.6-dev out of the CVS. I have some questions: - Where do I get information about switching the db from HypersonicSQL to e.g. MySQL? - I want to use some own configuration files for my portlets (like

Re: Database Related Question

2005-01-31 Thread David Sean Taylor
Shah Amit wrote: 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_XX

Re: jetspeed2 and simple webapps

2005-01-31 Thread David Sean Taylor
Carlos Ortiz wrote: Maybe a stupid question, but what Jetspeed2 Bridge would I use if I just wanted to call a non-jsf, non-struts, webapp from a jetspeed2 portlet without having to add portlet code? Just a plain old servlet. Is this possible? Of course. Just use the GenericServletPortlet for

Re: Nested portlet?

2005-01-31 Thread David Sean Taylor
Nan Anonymous wrote: Hmm.. forgot this forum is for both. I would be more interesting on JS2 as I want to do this in as much conformance to JSR168 as possible. Of course, a comparison of different approaches for different portal servers would also be very educational. Thanks You can setup a portlet

Re: Spring portlet

2005-01-31 Thread David Sean Taylor
Matthias Koch wrote: Hi, its my first time working with jetspeed, because I used the Spring Framework for my applications I just will test how I can integrate them into jetspeed. Portlet is Not Available: SpringPortletDemo Reason: PortletFactory: Failed to load portlet org.apache.portals.bridges.f

Re: J2 Warning: HttpServletRequest.getContextPath() now returns the contextPath of the Portlet, not the Portal

2005-01-31 Thread David Sean Taylor
Ate Douma wrote: No, to /jetspeed/login/proxy. I can't reproduce your error. Please check that you indeed have updated the change-password.jsp and login.jsp from the security application. In these the required url is now generated with an explicit reference to the portal (jetspeed) context using t

jetspeed2 and simple webapps

2005-01-31 Thread Carlos Ortiz
Maybe a stupid question, but what Jetspeed2 Bridge would I use if I just wanted to call a non-jsf, non-struts, webapp from a jetspeed2 portlet without having to add portlet code? Just a plain old servlet. Is this possible? Thanks, Carlos.

Re: J2: Absolute URL rendering

2005-01-31 Thread Ate Douma
I already have a patch ready for issue http://issues.apache.org/jira/browse/JS2-204. It will solve this issue as well. But, the is one catch related to using non-secure PortletURLs when in a secure mode which I want to discuss first with the Pluto team before I commit it. [EMAIL PROTECTED] wrote:

Database Related Question

2005-01-31 Thread Shah Amit
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 pr

RE: Why is the login portlet authenticating twice?

2005-01-31 Thread Pesendorfer, Tom
Marcel, I have tried it in versions from 3.2.3 to 3.2.6 and it works the same in all of them. I started by following the original instructions at http://wiki.apache.org/portals/Jetspeed2/JBossHowTo, but found out that there was more to it and it wasn't quite that simple (at least not for me), so

Re: J2: Absolute URL rendering

2005-01-31 Thread watler
Scott, I think this can be addressed in the layout decorators/macros if you would like a quick workaround, (it invokes a method in the JetspeedPowerTool there to convert relative urls into absolute ones: you could use your own constants or macros there). Otherwise, I have added it to my todo list

RE: J2 Velocity Error?

2005-01-31 Thread Frank Villarreal
Thanks Randy (and Chris). I was about to implement something very similar just so I could proceed ... but your hack works like a charm. Thanks again. - Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 31, 2005 11:01 AM To: Jetspeed User

RE: J2 Velocity Error?

2005-01-31 Thread watler
Frank, This is an issue I have known about but i have not gotten around to fixing yet. I just modify my custom portlet decorator like this: #foreach ($action in $actions) #set($actionImage = $action.Link) #if($actionImage.startsWith("content/images/")) #set($action

RE: J2 Velocity Error?

2005-01-31 Thread Frank Villarreal
Chris, Thanks for taking a stab at my question, but I don't think that's the problem. Layout.vm seems to control the (re)positioning of portlets within a page. Upon further inspection, it seems J2 uses a request filter to remap image requests to the current decorator "theme" folder. And like I

Re: J2 Velocity Error?

2005-01-31 Thread Christopher Wood
I think the piece you're missing is in templates\layout\html\columns\layout.vm. I don't pretend to understand fully how the rendering process works, but this template appears to be what aggregates the portlet fragments - if you look at the page source, you can see by inspection that it generate

Problem with admin user.

2005-01-31 Thread Deep Kumar
Hi All, Wherever I am trying to add any user or try configure the profile for any user. Some or the other configuration gets screwed, like, after configuration of user accounts, Edit account won't work or sometime Add user doesn't work. Anybody having clue what wrong with my jetspeed po

J2 Velocity Error?

2005-01-31 Thread Frank Villarreal
FYI: Not sure if this is a bug using Jetspeed 2, I've created a new custom decorator theme (both for the layout and the portlet). I essentially copied an existing folder structure being used for the other J2 themes (minty-blue, jetspeed, etc) and customized it. Everything seems to work corr

RE: Profiles and PSML issues, jetspeed 1.5

2005-01-31 Thread Archana Turaga
A2: ["For a given user if the user does not have a PSML then the role's PSML can be taken in and if that is not present then the Group PSML is taken in"],: This just how the behavior is...it was just general knowledge for you...:-). You are right about atleast one role being assigned to the user ..

RE: [J1.5] Repeatedly: How must work modul EditAccount

2005-01-31 Thread Vladimir Lisin
Thanks all. Sorry for worry ! EditAccount works right . Best regards, Vladimir

ERROR VelocityPortletControl - Exception while creating content

2005-01-31 Thread angeloimm
Hi all; i'm using Jetspeed 1.5, JBoss 3.2.5; all worked fine until this morning; now i have this error: 2005-01-31 15:24:58,739 [http-0.0.0.0-8080-Processor22] ERROR VelocityPortletControl - Exception while creating content org.apache.velocity.exception.MethodInvocationException: Invocation of me

RE: [J1.5] Repeatedly: How must work modul EditAccount

2005-01-31 Thread Archana Turaga
What is your default template engine...velocity or jsp..make sure you are following the rules of setting the default template engine..given at the jetspeed 1.5 configuration page. We are using the Edit Account without any problem. -Original Message- From: Vladimir Lisin [mailto:[EMAIL PRO

Re: Why is the login portlet authenticating twice?

2005-01-31 Thread Marcel Dullaart
Hi, I am not answering your question, but I am wondering what you did to deploy J2 on JBoss. First, which version of JBoss are you using? And can you give me an overview of the steps taken to get J2 running including portlets. Thanx, Marcel On Mon, 31 Jan 2005 06:56:32 +1300, Pesendorfer, Tom <[E

Re: Cannot deploy portlets

2005-01-31 Thread Marcel Dullaart
Hi, I found something similar when deploying J2 on JB0ss 4.0.1 (see my blog: http://marcels-javanotes.blogspot.com) The wiki tells you to set the JBossManager as ApplicationServerManager in the jetspeed-spring.xml, but that class is not implemented yet., It only defines stub implementations. I thi

Re: Invalid XML character

2005-01-31 Thread Hisashi Yamaguchi
Hi The problem has been resolved. All I needed to do is juts saving file as the same encoding that is defined in XML. I really appreciate your help. Thanks, --Hisashi.Yamaguchi - Original Message - From: "Nan Anonymous" <[EMAIL PROTECTED]> To: "Jetspeed Users List" Sent: Friday, January 2

Re: J2 Warning: HttpServletRequest.getContextPath() now returns the contextPath of the Portlet, not the Portal

2005-01-31 Thread Ate Douma
David Sean Taylor wrote: Ate Douma wrote: I've just fixed issue: http://issues.apache.org/jira/browse/JS2-203 Please read it if you are currently are (mis)using the Portal contextPath from within a Servlet/JSP/Velocity dispatched by a Portlet. Regards, Ate after a cvs update, when I login Im no

[J1.5] Repeatedly: How must work modul EditAccount

2005-01-31 Thread Vladimir Lisin
Hi all Sorry but I didn't received the answer on my question about the work the modul Edit Acount and have to repeat it :- The template top_loggedIn.jsp have the link "" wich it was translated in http://10.5.6.135:8090/jportal/portal/template/EditAccount/action/PrepareScreenEditAccount";