Content inside Enhanced layout

2004-11-04 Thread Robin Antony
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new 
functionality. In the enhanced multi column layout in the customize pane 
would it be possible to have the content of the portlet appear there as 
well. So when a person drags and drops the portlet around he would also 
be able to see the content that would apear in it. Has anyone tried 
doing this before. It would be great if someone could give me tips on 
how we could achieve this.
Thanks and Regards,
Robin Antony

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


Meven help needed to run on jetspeed

2004-11-04 Thread Srinivasarao Sri
Hi,
I am running jetspeed portal server.
I installed Maven.
I have one project in 
StageDir>Srccontains portlets code
StageDir>Config
StageDir>webappcontains all jsp and html and others
Now I have to integrate this project with maven and deploy in to jetspeed portal 
server.
Can you please let me know the steps or maven commands to follow to deploy
Thanks in advance
regards,
Srinivasa Rao
  
 


-
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a

Re: Content inside Enhanced layout

2004-11-04 Thread Raphaël Luta
Robin Antony wrote:
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new 
functionality. In the enhanced multi column layout in the customize pane 
would it be possible to have the content of the portlet appear there as 
well. So when a person drags and drops the portlet around he would also 
be able to see the content that would apear in it. Has anyone tried 
doing this before. It would be great if someone could give me tips on 
how we could achieve this.
It should not be very difficult to do. You already have a reference to the
portlets ID so you can simply customize the multimcolum-customize template to use
$jetspeed.getContentById($portlet.id) instead of displaying the
portlet properties.
--
Raphaël Luta - [EMAIL PROTECTED]
Apache Portals - Enterprise Portal in Java
http://portals.apache.org/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Pane IDs

2004-11-04 Thread Apostolidis Apostolos
   Hi all! I am using jetspeed 1.4 along with jakarta-tomcat-4.1.31, JSP 
Portlets. I have defined several panes, which consist of more than one 
portlet. How can i get the paneid from each pane??

Thanx in advance...

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


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 doesn't seem to work; the velocity template doesn't
appear with any information from my Action class.

I have tried to trace back the GroupBrowser and mimic that
(TurbineGroupManagement) and I see no reference to Torque.init or what
not.  Can someone please point me in the right direction to get a
Torque connection going?

Thanks.

AC

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



Re: Content inside Enhanced layout

2004-11-04 Thread Robin Antony
Hi Raphaël,
Thanks for the reply. I tried adding this command 
$jetspeed.getContentById($portlet.id) instead of 
$titles.get($portlet.id) to replace the content of the portlet instead 
of the title. But it didn't return me anything. Infact I can see my 
command on the screen. I am not familiar with velocity templating. I 
have been working on jsp templating. Is there something else I need to 
do to get the content on the page? Thanks.
Best Regards,
Robin Antony

Raphaël Luta wrote:
Robin Antony wrote:
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new 
functionality. In the enhanced multi column layout in the customize 
pane would it be possible to have the content of the portlet appear 
there as well. So when a person drags and drops the portlet around he 
would also be able to see the content that would apear in it. Has 
anyone tried doing this before. It would be great if someone could 
give me tips on how we could achieve this.

It should not be very difficult to do. You already have a reference to 
the
portlets ID so you can simply customize the multimcolum-customize 
template to use
$jetspeed.getContentById($portlet.id) instead of displaying the
portlet properties.


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


problems on deploy Jetspeed2

2004-11-04 Thread Sihong Fan
I load the J2 Oct 28 2004 version from CVS and change
the properties file to link MySQL by using maven. But
I got a blank page. System out shows a error of
ClassNotFound. And I found that class is in a jar
under WEB-INF\lib of jetspeed. Does any one have this
problem before? Please help

JNDI System Property flag null
 INFO: Deployment server port: 8080
 INFO: Deployment server: localhost
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'org.apache.jetspeed.prefs.PreferencesProvider'
defined in URL [file:/C:/Program Files/Apache Software
Foundation/Tomcat
5.0/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: Failed to initialize prefs
api.  
java.lang.InternalError: Can't instantiate Preferences
factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
java.lang.RuntimeException: Failed to initialize prefs
api.  
java.lang.InternalError: Can't instantiate Preferences
factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl




Thanks
Sihong






__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: problems on deploy Jetspeed2

2004-11-04 Thread Scott T. Weaver
http://wiki.apache.org/portals/Jetspeed2/PrefsClassloaderIssuesAndSdk14
Sihong Fan wrote:
I load the J2 Oct 28 2004 version from CVS and change
the properties file to link MySQL by using maven. But
I got a blank page. System out shows a error of
ClassNotFound. And I found that class is in a jar
under WEB-INF\lib of jetspeed. Does any one have this
problem before? Please help
JNDI System Property flag null
INFO: Deployment server port: 8080
INFO: Deployment server: localhost
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'org.apache.jetspeed.prefs.PreferencesProvider'
defined in URL [file:/C:/Program Files/Apache Software
Foundation/Tomcat
5.0/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]:
Initialization of bean failed; nested exception is
java.lang.RuntimeException: Failed to initialize prefs
api.  
java.lang.InternalError: Can't instantiate Preferences
factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
java.lang.RuntimeException: Failed to initialize prefs
api.  
java.lang.InternalError: Can't instantiate Preferences
factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl


Thanks
Sihong


		
__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 


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

 


--
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people." 
 - Admiral Hyman Rickover
***
*   Scott T. Weaver   *
* <[EMAIL PROTECTED]> *
* *
* --  *
*   Apache Jetspeed Enterprise Portal *
* Apache Pluto Portlet Container  *
* *
* OpenEdit, Website Content Management *
*    *
***
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Content inside Enhanced layout

2004-11-04 Thread Robin Antony
Hi Raphaël,
Thanks for the help. The function $jetspeed.getPortletById($portlet.id) 
worked. It is showing the content in the customize menu now.
Best Regards,
Robin

Robin Antony wrote:
Hi Raphaël,
Thanks for the reply. I tried adding this command 
$jetspeed.getContentById($portlet.id) instead of 
$titles.get($portlet.id) to replace the content of the portlet instead 
of the title. But it didn't return me anything. Infact I can see my 
command on the screen. I am not familiar with velocity templating. I 
have been working on jsp templating. Is there something else I need to 
do to get the content on the page? Thanks.
Best Regards,
Robin Antony

Raphaël Luta wrote:
Robin Antony wrote:
Hi,
I am working on Jetspeed 1.X, I would like to achieve a new 
functionality. In the enhanced multi column layout in the customize 
pane would it be possible to have the content of the portlet appear 
there as well. So when a person drags and drops the portlet around 
he would also be able to see the content that would apear in it. Has 
anyone tried doing this before. It would be great if someone could 
give me tips on how we could achieve this.

It should not be very difficult to do. You already have a reference 
to the
portlets ID so you can simply customize the multimcolum-customize 
template to use
$jetspeed.getContentById($portlet.id) instead of displaying the
portlet properties.


-
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: Where to Download Jetspeed 2

2004-11-04 Thread Michael McElligott
Hi Randy,
The error appears to be in importing some stuff from the commons codec 
project.  Specifically, the error (along with 25 other errors of a 
similar nature) is listed below.  When I first downloaded the project I 
was poking around and trying to resolve things, but I'm only passingly 
(well, increasingly) familiar with maven, and I didn't really want to 
get into it.  Elisabeth's question highlights something else though, 
which is that, at least when I started trying to use the project, the 
text on the portals site is misleading:  as far as I can tell, there is 
no binary release to download.  That effectively limits the users of the 
portal to those who can use cvs, and while the vast majority of us 
subscribe to a certain development orthodoxy that includes it, I'm sure 
there are lots of beginners out there that are finding the learning 
curve on their first project pretty steep.  I'm not saying it's good or 
bad, just that I'm sure the frustration I felt the first time I tried to 
get the project has probably been multiplied thousands of times over and 
could be corrected with a small textual change.  When people go to the 
parent portals project it states that binaries can be found under 
/portals.  The only binaries to be found there are for pluto.  If 
someone browses into /jakarta they can find jetspeed1, but AFAIK v2 
isn't anywhere.  I just think that some text somewhere on the jetspeed2 
site that tells people that the only place to get it is from CVS would 
eliminate a lot of headaches.

If there is a tag that I should be using that is a known stable branch, 
I'd love to know about it.. the branch that was recommended to me was 
pre_portalurl_refactor_20041015, but that one doesn't build for me 
either (I don't have the errors handy).

Mike
java:compile:
   [echo] Compiling to 
C:\usr\data\dev\cvs\jakarta-jetspeed-2\portal/target/classes
   [javac] Compiling 166 source files to 
C:\usr\data\dev\cvs\jakarta-jetspeed-2\portal\target\classes
   [javac] 
C:\usr\data\dev\cvs\jakarta-jetspeed-2\portal\src\java\org\apache\jetspeed\container\state\impl\JetspeedNavigationalStateCodec.java:27: 
pa
ckage org.apache.commons.codec.binary does not exist
   [javac] import org.apache.commons.codec.binary.Base64;
   [javac]^
   [javac] 
C:\usr\data\dev\cvs\jakarta-jetspeed-2\portal\src\java\org\apache\jetspeed\container\state\impl\JetspeedNavigationalStateCodec.java:524: 
c
annot resolve symbol
   [javac] symbol  : variable Base64
   [javac] location: class 
org.apache.jetspeed.container.state.impl.JetspeedNavigationalStateCodec
   [javac] return new 
String(Base64.decodeBase64(value.getBytes(characterEncoding)), 
characterEncoding);

BUILD FAILED
File.. C:\usr\data\dev\cvs\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line.. 133
Column 40
Unable to obtain goal [java:compile] -- C:\Documents and 
Settings\Michael\.maven\cache\maven-java-plugin-1.4\plugin.jelly:52:48: 

> Compile failed; see the compiler error output for details.
Total time: 2 minutes 27 seconds
Finished at: Thu Nov 04 13:45:39 PST 2004


Randy Watler wrote:
Michael,
What problem did you encounter? There is a lot of activity in the 
project as it nears release, but everyone strives to avoid breaking 
early adopters.

Let us know!
Randy Watler
Michael McElligott wrote:
Hi Elisabeth,
 I had a working build for a few days from the head but I foolishly 
did an update and it hasn't worked since.  One of the developers gave 
me a tag name to use, but it didn't work either.  I downloaded exo so 
I can actually get some work done.. haven't configured it yet..


-
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: Where to Download Jetspeed 2

2004-11-04 Thread Randy Watler
Michael,
Michael McElligott wrote:
Hi Randy,
The error appears to be in importing some stuff from the commons codec 
project.  Specifically, the error (along with 25 other errors of a 
similar nature) is listed below.
Is this from a current CVS HEAD pull? If so, please send me your 
complete build output and the command you used to execute it. I am not 
sure, but it looks like your maven repository is not current somehow. 
Make sure you are not building with the -o maven options and that your 
maven.home.local build property is set correctly.

  When I first downloaded the project I was poking around and trying 
to resolve things, but I'm only passingly (well, increasingly) 
familiar with maven, and I didn't really want to get into it.  
Elisabeth's question highlights something else though, which is that, 
at least when I started trying to use the project, the text on the 
portals site is misleading:  as far as I can tell, there is no binary 
release to download.
There is not a binary version because it has never been released. 
Hopefully, it will be late this month.

  That effectively limits the users of the portal to those who can use 
cvs, and while the vast majority of us subscribe to a certain 
development orthodoxy that includes it, I'm sure there are lots of 
beginners out there that are finding the learning curve on their first 
project pretty steep.  I'm not saying it's good or bad, just that I'm 
sure the frustration I felt the first time I tried to get the project 
has probably been multiplied thousands of times over and could be 
corrected with a small textual change.  When people go to the parent 
portals project it states that binaries can be found under /portals.  
The only binaries to be found there are for pluto.  If someone browses 
into /jakarta they can find jetspeed1, but AFAIK v2 isn't anywhere.  I 
just think that some text somewhere on the jetspeed2 site that tells 
people that the only place to get it is from CVS would eliminate a lot 
of headaches. 
I am not a committer yet, but perhaps we can get the text changed. 
Better yet, we get a release out there so there are actual binaries!


If there is a tag that I should be using that is a known stable 
branch, I'd love to know about it.. the branch that was recommended to 
me was pre_portalurl_refactor_20041015, but that one doesn't build for 
me either (I don't have the errors handy). 
It builds and runs for many of us, so I am not sure a tag is going to 
fix the problem. The most current tag is: "pre_declarative_tx_20041028". 
I think we need to fix your build issue!

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


jetspeed-2 deployment problem

2004-11-04 Thread Amit Soni
Hi scott,
  Thanks for interest in my problem here i give the whole message which
is given in tomcat's log file so if u have any idea reagarding this
problem then pls help me...



2004-11-03 13:20:18 StandardContext[/manager]HTMLManager: install:
Installing web application from 'jar:file:/usr/local/jaka
rta-tomcat-5.0.28/webapps/jetspeed.war!/'
2004-11-03 13:20:25 StandardContext[/jetspeed]Marking servlet jetspeed
as unavailable
2004-11-03 13:20:25 StandardContext[/jetspeed]Servlet /jetspeed threw
load() exception
javax.servlet.ServletException: Error instantiating servlet class
org.apache.jetspeed.engine.JetspeedServlet
 at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:996)
 at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
 at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
 at
org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
 at
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:922)
 at
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:271)
 at
org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:251)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)


 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Thread.java:534)
- Root Cause -
java.lang.NoClassDefFoundError:
org/apache/jetspeed/exception/JetspeedException
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
 at java.lang.Class.getConstructor0(Class.java:1922)
 at java.lang.Class.newInstance0(Class.java:278)
 at java.lang.Class.newInstance(Class.java:261)
 at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:987)
 at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
 at
org.apache.catalina.core.Contain

Re: JSR168 portlet problem on jetspeed1

2004-11-04 Thread Ryan Adorable
Hi,
   I have encountered another problems,
   - after invoking processAction method, the render method is called 
twice.
   - the portlet-mode defined in portlet.xml seems to be, not used. Because 
I only defined VIEW and EDIT, but still HELP is available(the help icon 
still appear).

   Also when I deploy it under Pluto, they are properly called and 
displayed.

   Thank in advanced.
Ryan
- Original Message - 
From: "David Sean Taylor" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, October 25, 2004 2:18 AM
Subject: Re: JSR168 portlet problem on jetspeed1


Ryan Adorable wrote:
 the only thing constant is *change.*
Hi,
I'm creating a JSR168 compliant version of Database Browser portlet 
and I encountered a problem on PreferencesValidator.

Im also working on porting the DB Browser.
It seems that, the validate() method from the class defined in 
preferences-validator of portlet.xml is not being invoked during .store() 
of PortletPreferences object.

Should be a simple fix.
That needs to be logged as a bug against 2.0
Also, the ability to change the JSR168 portlet title is missing.  I 
already tried, overriding getTitle() method of GenericPortlet and 
response.setTitle("SomeTitle").

Titles in J1 are a bit tricky. We need to add that functionality into 
Fusion. Could you log that as a bug against 1.6?

Patches welcome.
-
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]