error 500: taglib

2001-10-17 Thread gandalf
Hello all, I posted an installation problem, but maybe it was not clear enuf, so here is a second try. Basically, I install jetspeed, and when I http to /jetspeed I get the following error: Error: 500 Location: /jetspeed/WEB-INF/templates/jsp/layouts/html/default.jsp Internal Servlet Error:

Controlling portlet opening

2001-10-17 Thread nausheen
Hi How can I control the area in which my portlets open? When I click a link in a portlet I do not want the target page's content to cover my entire screen...just below my page header. I really could use some help with this. Thx, Nausheen.

integration with ldap

2001-10-17 Thread chaloo banda
hi all ! i am trying to use ldap/NIS with jetspeed but do not know how to... can anyone please give me some insight into this. i mean what if i use an ldap/NIS based directory service for authentication and authorizaiton instead of the database. i see some refernce to this in the

Re: Writing Portlets that support User Preferences

2001-10-17 Thread ZHU Jia
Just want to add that I'd be really interested in the answer too!;-) regards ZHU Jia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

java.util.Date() into a java.sql.Date

2001-10-17 Thread Graham . Forte
Hi, I have a prepared statement that requires a date for Oracle db. Basically it is a field that records time and date that record was created(timestamp). I use this to get time and date : java.util.Date utilDate = new java.util.Date(); //Now I need to convert this utilDate into a sqlDate to use

AW: java.util.Date() into a java.sql.Date

2001-10-17 Thread Norman Schöneich
I would use a timestamp instead of sql date. ps.setTimestamp(2, new Timestamp(utilDate.getTime()); if you prefer sql date, it's analog. the current time is : new Timestamp(Calendar.getInstance().getTime().getTime()); norsch Norman Schöneich -Ursprüngliche Nachricht- Von: [EMAIL

RE: java.util.Date() into a java.sql.Date

2001-10-17 Thread David Sean Taylor
with oracle all dates are actually timestamps, so you can use jdbc timestamps: java.util.Date date = new java.util.Date(); // get timestamp now java.sql.Timestamp timeStamp = new java.sql.Timestamp(date.getTime()); ps.setTimestamp( 2, timeStamp ); -Original Message- From: [EMAIL

RE: Writing Portlets that support User Preferences

2001-10-17 Thread David Sean Taylor
Take the simple example of the Stock Quote Portlet. I would like for a Im working on now that now, hopefully I can get it checked in by the end of the week. Had a minor setback, decided to use Torque + Cloudscape in my web service implementation to store preferences in the web service. Its

RE: Writing Portlets that support User Preferences

2001-10-17 Thread David Sean Taylor
Should I be using the Jetspeed Persistence Service? Would this be a look at the HelloVelocityPortlet as an example For any portlet, setAttribute() method stores an attribute as a param to the psml see HelloAction.doUpdate(): portlet.setAttribute(text,text,data); the setAttribute method on

RE: Writing Portlets that support User Preferences

2001-10-17 Thread Swardstrom, Eric
Last I looked the stock symbols were hard coded in the class with a comment about making them editable. Eric -Original Message- From: ZHU Jia [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 17, 2001 10:29 AM To: [EMAIL PROTECTED] Subject: Re: Writing Portlets that support User

setting headers in JSP templates

2001-10-17 Thread Rajeswari Venkatachalam
Hi, I want to set the content-type for my page. Can I do this in the JSP like this? It does not work. Please suggest if there are any other possible ways to do this? rundata.setContentType(text/plain); rundata.getResponse().setHeader(content-disposition,attachment;filename=x yz.txt);

Re: Writing Portlets that support User Preferences

2001-10-17 Thread Vinay Peddapuram
When is new portlet api is due to come out? Is it gona be the same lines of IBM webspear portal Server API ? thanks Vinay David Sean Taylor wrote: Take the simple example of the Stock Quote Portlet. I would like for a Im working on now that now, hopefully I can get it checked in by the

RE: java.util.Date() into a java.sql.Date

2001-10-17 Thread Graham . Forte
I tried this but I get the ORA-00947 error:not enough values. The format of the existing date field in the ora db is-- October 17,2001 1:15:33 PM The format I get from following timestamp code is --2001-10-17 13:13:19.485 I cant believe that oracle would be that picky since it is a date field?

CVS Questions

2001-10-17 Thread Anthony Smith
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login password: anoncvs Is this info still correct? This is the info I got when I tried to login *** C:\Program Files\GNU\WinCvs 1.2cvs -d :pserver:[EMAIL PROTECTED]:/home/cvs public login (Logging in to [EMAIL PROTECTED]) CVS

Re: CVS Questions

2001-10-17 Thread Paul Spencer
Anthony, The cvs command is correct. I suspect their is a firewall in the way. You can download the nightly builds and source code from http://jakarta.apache.org/builds/jakarta-jetspeed/nightly/ Paul Spencer Anthony Smith wrote: cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic login

RE: java.util.Date() into a java.sql.Date

2001-10-17 Thread Rajeswari Venkatachalam
Try this: You can also use setString for a timestamp field. It is legal. SimpleDateFormat formatter = new SimpleDateFormat(MM DD, hh:mm:ss a); pstmt.setString(1, formatter.format(new Date()); For details on SimpleDateFormat refer to javadoc of java.text package. -Raje -Original

RE: Can't seem to use myusername:mypassword@www.mydomain.com in a WebPagePortlet url

2001-10-17 Thread Jakopac, Dave
I've figured out how to do this in plain Java: userpass = myusername:mypassword; auth = Basic + new sun.misc.BASE64Encoder().encode(userpass.getBytes()); URL myUrl = new URL(urlstring);

Re: Can't seem to use myusername:mypassword@www.mydomain.com in aWebPagePortlet url

2001-10-17 Thread Paul Spencer
Dave, What is the error message in the jetspeed.log? Paul Spencer Jakopac, Dave wrote: I've figured out how to do this in plain Java: userpass = myusername:mypassword; auth = Basic + new

Re: integration with ldap

2001-10-17 Thread Atul Dambalkar
I had done some preliminary research on this. This probably can be done in two ways, 1. There is turbine user itself in turbine schema. You want to maintain that schema for Jetspeed to function and maintain same user id in your ldap. If you do this, you can re-write one of the Jetspeed action

Re: CVS Questions

2001-10-17 Thread Frans Thamura
Sorry post to this mailing list, This is a tips from me. Several times I try to connect to CVS, and got an error too.. So, try to login again first. see the .cvspass file in the root. Have a nice try. Frans - Original Message - From: Anthony Smith [EMAIL PROTECTED] To: [EMAIL