Template question

2004-06-25 Thread cyaconi
Hi.. I'll try to explain my problem... hope you can undertand it. I've a VelocityPortlet with his default template. This template shows a list of articles already stored in the db, and has a link to add a new one: $jslink?eventSubmit_doEdit= This method (doEdit) only set a template wich has the

Re: $jslink, what is the java equivalent?

2004-06-25 Thread Raphael Luta
Floßmann Christoph wrote: And where can we find that code? See src/java/org/apache/jetspeed/util/template/BaseJetspeedLink.java -Original Message- From: Archana Turaga [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 4:44 PM To: Jetspeed Users List Subject: RE: $jslink, what is the jav

RE: $jslink, what is the java equivalent?

2004-06-25 Thread Floßmann Christoph
And where can we find that code? -Original Message- From: Archana Turaga [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 4:44 PM To: Jetspeed Users List Subject: RE: $jslink, what is the java equivalent? The way I did is write my own class that calls the BasEJetspeedLink (jslink ja

Thank you

2004-06-25 Thread Maruthi
Hello Christoph, Thanks for your help and great patience.Now my Action class is working.Seems to be jsp:useBean is not working in Jetspeed-1.5.I tried with your code also but the same problem i got ...might be its not working with 1.5. Anyway thanks a lot. Schöne Wochenende & Viele Spass, Tsc

RE: $jslink, what is the java equivalent?

2004-06-25 Thread Archana Turaga
The way I did is write my own class that calls the BasEJetspeedLink (jslink java class) which is a singleton. You can look at that codeit is pretty straightforward.It works perfectly okay in the jsp world. -Original Message- From: Stefan Rennick Egglestone [mailto:[EMAIL PROTECTED] Se

Re: $jslink, what is the java equivalent?

2004-06-25 Thread Stijn de Witt
Thanks, but I am using Velocity, and I am looking for a way to create a link, not from within the template, but from my Java action class. I have done some experimenting and doing this: public String render(String outputType, RunData data) { logger.debug("render: Starting..."); BaseJetspe

RE: class not found

2004-06-25 Thread Jeremy Ford
It looks like you need to modify your modules.packages property to be com.ravuri.portal.modules instead of com.ravuri.portal.modules.actions.portlets Jeremy Ford [EMAIL PROTECTED] From: Maruthi <[EMAIL PROTECTED]> Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]> To: Jetspeed Users List <[EMA

RE: My xreg files always seem to get messed up.

2004-06-25 Thread Anthony Smith
Those were the versions that I was using. -Original Message- From: Jeremy Ford [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 9:05 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: My xreg files always seem to get messed up. What version of Jetspeed are you using? There ha

RE: My xreg files always seem to get messed up.

2004-06-25 Thread Jeremy Ford
What version of Jetspeed are you using? There have been issues that have been resolved in both 1.4 and 1.5. Jeremy Ford [EMAIL PROTECTED] From: Anthony Smith <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Jetspeed Users List <[EMAIL PROTECTED]> Subject: My xreg files always seem to get mes

Re: $jslink, what is the java equivalent?

2004-06-25 Thread Stefan Rennick Egglestone
The way I've done this, which I'm sure is not a good way to do it at all is as follows. In your jsp, call Portlet thisPortlet = (Portlet)request.getAttribute("portlet"); String pageID = portlet.getPortletConfig().getPageID() The pageID is then a string which looks somehting like user/test/html/

My xreg files always seem to get messed up.

2004-06-25 Thread Anthony Smith
I know (or at least I think) That many of my xreg files in my config directory get partially deleted because of the way my server gets shutdown sometimes. I really need to get the problem solved. Does anyone else have this problem and if so how are you handling it? ---

RE: WG: Sharing attributes between portlet applications

2004-06-25 Thread alex
Yes I see your point. However, for the portlet that needed the tree, it didn't matter - yet :) A -Original Message- From: Oliver Pfau [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 2004 7:40 AM To: 'Jetspeed Users List' Subject: AW: WG: Sharing attributes between portlet applications W

Jetspeed 1.4/1.5 + DB PSML : No default.psml created when adding user

2004-06-25 Thread lguy
Hello, I'm using Jetspeed Portal with a PostgreSQL DB PSML : 1.4 and 1.5 are both running on my server (Tomcat 4.1.27). When I use the file system based PSML, adding a new user works fine and creates a new default.psml for the new user. If I switch to Postgre DB PSML, the user is added to the

RE: class not found

2004-06-25 Thread Floßmann Christoph
Hi Maruthi, let's try some little sample code. I hope you are compiling jetspeed from the source. This code runs in J1.4b4 for sure. == jsp page put this in /webapp/WEB-INF/templates/jsp/portlets/html/ name it: Actiontest.jsp

AW: WG: Sharing attributes between portlet applications

2004-06-25 Thread Oliver Pfau
With the loss of the context I mean that is it possible in your jsp in your IFrame to access the objects defined with the defineObjects-Tag ? I mean renderResponse, renderRequest, portletConfig... Your jsp in the IFrame don't uses the scheme from the portal... the IFrame is only a view... ---

class not found

2004-06-25 Thread Maruthi
Hello everybody, I have a problem with JSP Portlet Action class.I am getting class not found exception.I tried all the ways but i am not able fix it since yesterday.Any help in this regard will be greatly appreciated. Thank you, Maruthi. === java.lang.ClassNotFoundException:

RE: WG: Sharing attributes between portlet applications

2004-06-25 Thread alex
No. I set session variables and each time the buildNormalContext function is called it repaints itself. I am not sure about your comment that you lose portal context? Can you expand on this, please? A -Original Message- From: Oliver Pfau [mailto:[EMAIL PROTECTED] Sent: Friday, June 25, 20

AW: WG: Sharing attributes between portlet applications

2004-06-25 Thread Oliver Pfau
hi...that's interesting... but I decided to avoid the usage of IFrames because it implies the loss of the portal context...scheme, ect. how do the IFrame-portlets communicate ? url parameter ? -Ursprüngliche Nachricht- Von: alex [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 25. Juni 2004 13

RE: WG: Sharing attributes between portlet applications

2004-06-25 Thread alex
In regards to the treeview question below...I implemented something very similar by using a "framed" approach: inside an IFramePortlet read a JSP file which defines the "view". I have one portlet with 3 frames, top left is the tree, bottom left is command buttons to ease tree navigation and the rig

Re: JetSpeed2 build failed. TorqueDataModelTask cannot be found

2004-06-25 Thread Denis Burlaka
Yes. > > Did you delete your plugin directory ? > > Regards, >Serge Huber. > > At 07:00 25.06.2004, you wrote: > >I download and install Maven 1.0rc3, but I got same error. > >What is wrong??? > > > >Thanks. > > > > > > > > You might want to recycle your Maven plugins by deleted the content of

$jslink, what is the java equivalent?

2004-06-25 Thread Stijn de Witt
You can get the current location from your Velocity template using $jslink right? My question is, how do I do the equivalent, getting the URL to the current page, from Java? TIA, -Stijn - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: JetSpeed2 build failed. TorqueDataModelTask cannot be found

2004-06-25 Thread Serge Huber
Did you delete your plugin directory ? Regards, Serge Huber. At 07:00 25.06.2004, you wrote: I download and install Maven 1.0rc3, but I got same error. What is wrong??? Thanks. > > You might want to recycle your Maven plugins by deleted the content of > ${user.home}/.maven/plugins. Oh and upgradi

RE: hello christoph ...class not found Exception ..

2004-06-25 Thread Maruthi
Hello.. I tried by adding jsp:useBean ...but i am getting this error message.Below is the error message i am getting...in addition to java.lang.ClassNotFoundException. Error encountered processing a template: /portlets/html/RegistrationJSPTemplate.jspjavax

Re: Jetspeed 2 build failed

2004-06-25 Thread Ate Douma
Waqar Sadiq wrote: I have downloaded jetspeed-2 source and am trying to build it. However the build fails because it cannot load the jdbc drivers. The error is ClassNotFound error that fails to load com.p6spy.engine.spy.P6SpyDriver. I have downloaded the P6Spy driver but am not clear how to