You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Tom Pacheco <to...@viptone.com> on 2002/01/11 00:07:41 UTC
psml in the database
Hello,
I am using jetspeed w/ oracle 8i. I am storing the psml files in the
database. I want to know more about how the column "Profile" on the
jetspeed_user_profile table is being used? Its type is raw and I want to
understand what is being stored there and how? What I would like to do
is pre-populate the users table and accordingly, pre-populate their psml
files. Also, does the group or role settings work so that I could place
each user in a group or role so that can I just populate the
jetspeed_group_profile table or the jetspeed_role_profile table instead
of the jetspeed_user_profile, saving me some space?
Thanks,
Tom
viptone.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Content Management
Posted by Anthony Smith <an...@fedex.com>.
I would like to create some kind of content management sytem where I can
have administraors who can add/delete content to portlets without being
technically savvy. Say we have a Intro portlet for each pane. And that intro
portlet just talks about new stuff that may have something to do with that
particular pane. Well, I think I have a mechanisim of them replacing that
particular page of the portlet. Any ideas?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: File Storage/Management
Posted by Anthony Smith <an...@fedex.com>.
I like the idea. But for development on my local machince, I am not using
apache. Is there a work around for this?
-----Original Message-----
From: Frank T. Villarreal, Jr. [mailto:fvillarreal@directhitdata.com]
Sent: Wednesday, April 17, 2002 10:12 AM
To: Jetspeed Users List
Subject: RE: File Storage/Management
Here you go ... http://httpd.apache.org/docs/urlmapping.html
have fun!
- Frank
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Wednesday, April 17, 2002 10:08 AM
> To: Jetspeed Users List
> Subject: RE: File Storage/Management
>
>
> I am using APache as my web server. Where could I fond this documentation?
>
> -----Original Message-----
> From: Frank T. Villarreal, Jr. [mailto:fvillarreal@directhitdata.com]
> Sent: Wednesday, April 17, 2002 9:59 AM
> To: Jetspeed Users List
> Subject: RE: File Storage/Management
>
>
> Anthony,
>
> what you're asking for is a function of your web server ... check your web
> server specific documentation for instructions of how to
> accomplish mapping
> an absolute filepath to a virtual web path. Once you've got it mapped,
> you'll be able to reference it from your application.
>
> - Frank
>
> > -----Original Message-----
> > From: Anthony Smith [mailto:anthony.smith@fedex.com]
> > Sent: Wednesday, April 17, 2002 9:54 AM
> > To: Jetspeed Users List
> > Subject: RE: File Storage/Management
> >
> >
> > Your assumption is correct. I understnad everything that you said, but I
> > just dont know how to implement in the web.xml.
> >
> > Lets say the images are located in c:\images or images under
> root in a non
> > windows system. Can you send me an example web.xml entry?
> >
> > Thanks in advance,
> >
> > Anthony Smith
> > GSP Technologies
> > 901-263-8953
> >
> > "Having education and talent doesn't make you better than the
> world... it
> > makes you responsible for it!"
> >
> > -----Original Message-----
> > From: David Sean Taylor [mailto:david@bluesunrise.com]
> > Sent: Wednesday, April 17, 2002 9:53 AM
> > To: 'Jetspeed Users List'
> > Subject: RE: File Storage/Management
> >
> >
> > If I understand correctly, the problem that you don't have access to the
> > image file because its not in the webapp but somewhere else on the file
> > system?
> >
> > If so, then just configure a path to your images directory.
> > You can do this in the web.xml or perhaps using JNDI for best
> > portability.
> >
> >
> > > -----Original Message-----
> > > From: Anthony Smith [mailto:anthony.smith@fedex.com]
> > > Sent: Wednesday, April 17, 2002 7:19 AM
> > > To: Jetspeed Users List
> > > Subject: File Storage/Management
> > >
> > >
> > > I am working on a portlet that will show content from an html
> > > page that a user uploads. In addition to just the html file,
> > > they can upload pictures as well.
> > >
> > > Here's the problemo:
> > >
> > > I have the files uploading successfully already. But
> > > currently, I let the files be uploaded onto the server but
> > > not to the jetspeed folder. Now, I am still able to have the
> > > html show. But the problem is getting the pictures to show.
> > > How Can I make them show without the actual file being loaded
> > > in the jetspeed folder but still on the server. Some java
> > > code to make the pictures showup in the portlet as well.
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> > > For
> > > additional commands,
> > > e-mail: <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: File Storage/Management
Posted by "Frank T. Villarreal, Jr." <fv...@directhitdata.com>.
Here you go ... http://httpd.apache.org/docs/urlmapping.html
have fun!
- Frank
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Wednesday, April 17, 2002 10:08 AM
> To: Jetspeed Users List
> Subject: RE: File Storage/Management
>
>
> I am using APache as my web server. Where could I fond this documentation?
>
> -----Original Message-----
> From: Frank T. Villarreal, Jr. [mailto:fvillarreal@directhitdata.com]
> Sent: Wednesday, April 17, 2002 9:59 AM
> To: Jetspeed Users List
> Subject: RE: File Storage/Management
>
>
> Anthony,
>
> what you're asking for is a function of your web server ... check your web
> server specific documentation for instructions of how to
> accomplish mapping
> an absolute filepath to a virtual web path. Once you've got it mapped,
> you'll be able to reference it from your application.
>
> - Frank
>
> > -----Original Message-----
> > From: Anthony Smith [mailto:anthony.smith@fedex.com]
> > Sent: Wednesday, April 17, 2002 9:54 AM
> > To: Jetspeed Users List
> > Subject: RE: File Storage/Management
> >
> >
> > Your assumption is correct. I understnad everything that you said, but I
> > just dont know how to implement in the web.xml.
> >
> > Lets say the images are located in c:\images or images under
> root in a non
> > windows system. Can you send me an example web.xml entry?
> >
> > Thanks in advance,
> >
> > Anthony Smith
> > GSP Technologies
> > 901-263-8953
> >
> > "Having education and talent doesn't make you better than the
> world... it
> > makes you responsible for it!"
> >
> > -----Original Message-----
> > From: David Sean Taylor [mailto:david@bluesunrise.com]
> > Sent: Wednesday, April 17, 2002 9:53 AM
> > To: 'Jetspeed Users List'
> > Subject: RE: File Storage/Management
> >
> >
> > If I understand correctly, the problem that you don't have access to the
> > image file because its not in the webapp but somewhere else on the file
> > system?
> >
> > If so, then just configure a path to your images directory.
> > You can do this in the web.xml or perhaps using JNDI for best
> > portability.
> >
> >
> > > -----Original Message-----
> > > From: Anthony Smith [mailto:anthony.smith@fedex.com]
> > > Sent: Wednesday, April 17, 2002 7:19 AM
> > > To: Jetspeed Users List
> > > Subject: File Storage/Management
> > >
> > >
> > > I am working on a portlet that will show content from an html
> > > page that a user uploads. In addition to just the html file,
> > > they can upload pictures as well.
> > >
> > > Here's the problemo:
> > >
> > > I have the files uploading successfully already. But
> > > currently, I let the files be uploaded onto the server but
> > > not to the jetspeed folder. Now, I am still able to have the
> > > html show. But the problem is getting the pictures to show.
> > > How Can I make them show without the actual file being loaded
> > > in the jetspeed folder but still on the server. Some java
> > > code to make the pictures showup in the portlet as well.
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> > > For
> > > additional commands,
> > > e-mail: <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: File Storage/Management
Posted by Anthony Smith <an...@fedex.com>.
I am using APache as my web server. Where could I fond this documentation?
-----Original Message-----
From: Frank T. Villarreal, Jr. [mailto:fvillarreal@directhitdata.com]
Sent: Wednesday, April 17, 2002 9:59 AM
To: Jetspeed Users List
Subject: RE: File Storage/Management
Anthony,
what you're asking for is a function of your web server ... check your web
server specific documentation for instructions of how to accomplish mapping
an absolute filepath to a virtual web path. Once you've got it mapped,
you'll be able to reference it from your application.
- Frank
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Wednesday, April 17, 2002 9:54 AM
> To: Jetspeed Users List
> Subject: RE: File Storage/Management
>
>
> Your assumption is correct. I understnad everything that you said, but I
> just dont know how to implement in the web.xml.
>
> Lets say the images are located in c:\images or images under root in a non
> windows system. Can you send me an example web.xml entry?
>
> Thanks in advance,
>
> Anthony Smith
> GSP Technologies
> 901-263-8953
>
> "Having education and talent doesn't make you better than the world... it
> makes you responsible for it!"
>
> -----Original Message-----
> From: David Sean Taylor [mailto:david@bluesunrise.com]
> Sent: Wednesday, April 17, 2002 9:53 AM
> To: 'Jetspeed Users List'
> Subject: RE: File Storage/Management
>
>
> If I understand correctly, the problem that you don't have access to the
> image file because its not in the webapp but somewhere else on the file
> system?
>
> If so, then just configure a path to your images directory.
> You can do this in the web.xml or perhaps using JNDI for best
> portability.
>
>
> > -----Original Message-----
> > From: Anthony Smith [mailto:anthony.smith@fedex.com]
> > Sent: Wednesday, April 17, 2002 7:19 AM
> > To: Jetspeed Users List
> > Subject: File Storage/Management
> >
> >
> > I am working on a portlet that will show content from an html
> > page that a user uploads. In addition to just the html file,
> > they can upload pictures as well.
> >
> > Here's the problemo:
> >
> > I have the files uploading successfully already. But
> > currently, I let the files be uploaded onto the server but
> > not to the jetspeed folder. Now, I am still able to have the
> > html show. But the problem is getting the pictures to show.
> > How Can I make them show without the actual file being loaded
> > in the jetspeed folder but still on the server. Some java
> > code to make the pictures showup in the portlet as well.
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: File Storage/Management
Posted by "Frank T. Villarreal, Jr." <fv...@directhitdata.com>.
Anthony,
what you're asking for is a function of your web server ... check your web
server specific documentation for instructions of how to accomplish mapping
an absolute filepath to a virtual web path. Once you've got it mapped,
you'll be able to reference it from your application.
- Frank
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Wednesday, April 17, 2002 9:54 AM
> To: Jetspeed Users List
> Subject: RE: File Storage/Management
>
>
> Your assumption is correct. I understnad everything that you said, but I
> just dont know how to implement in the web.xml.
>
> Lets say the images are located in c:\images or images under root in a non
> windows system. Can you send me an example web.xml entry?
>
> Thanks in advance,
>
> Anthony Smith
> GSP Technologies
> 901-263-8953
>
> "Having education and talent doesn't make you better than the world... it
> makes you responsible for it!"
>
> -----Original Message-----
> From: David Sean Taylor [mailto:david@bluesunrise.com]
> Sent: Wednesday, April 17, 2002 9:53 AM
> To: 'Jetspeed Users List'
> Subject: RE: File Storage/Management
>
>
> If I understand correctly, the problem that you don't have access to the
> image file because its not in the webapp but somewhere else on the file
> system?
>
> If so, then just configure a path to your images directory.
> You can do this in the web.xml or perhaps using JNDI for best
> portability.
>
>
> > -----Original Message-----
> > From: Anthony Smith [mailto:anthony.smith@fedex.com]
> > Sent: Wednesday, April 17, 2002 7:19 AM
> > To: Jetspeed Users List
> > Subject: File Storage/Management
> >
> >
> > I am working on a portlet that will show content from an html
> > page that a user uploads. In addition to just the html file,
> > they can upload pictures as well.
> >
> > Here's the problemo:
> >
> > I have the files uploading successfully already. But
> > currently, I let the files be uploaded onto the server but
> > not to the jetspeed folder. Now, I am still able to have the
> > html show. But the problem is getting the pictures to show.
> > How Can I make them show without the actual file being loaded
> > in the jetspeed folder but still on the server. Some java
> > code to make the pictures showup in the portlet as well.
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <ma...@jakarta.apache.org>
> >
> >
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: File Storage/Management
Posted by Anthony Smith <an...@fedex.com>.
Your assumption is correct. I understnad everything that you said, but I
just dont know how to implement in the web.xml.
Lets say the images are located in c:\images or images under root in a non
windows system. Can you send me an example web.xml entry?
Thanks in advance,
Anthony Smith
GSP Technologies
901-263-8953
"Having education and talent doesn't make you better than the world... it
makes you responsible for it!"
-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Wednesday, April 17, 2002 9:53 AM
To: 'Jetspeed Users List'
Subject: RE: File Storage/Management
If I understand correctly, the problem that you don't have access to the
image file because its not in the webapp but somewhere else on the file
system?
If so, then just configure a path to your images directory.
You can do this in the web.xml or perhaps using JNDI for best
portability.
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Wednesday, April 17, 2002 7:19 AM
> To: Jetspeed Users List
> Subject: File Storage/Management
>
>
> I am working on a portlet that will show content from an html
> page that a user uploads. In addition to just the html file,
> they can upload pictures as well.
>
> Here's the problemo:
>
> I have the files uploading successfully already. But
> currently, I let the files be uploaded onto the server but
> not to the jetspeed folder. Now, I am still able to have the
> html show. But the problem is getting the pictures to show.
> How Can I make them show without the actual file being loaded
> in the jetspeed folder but still on the server. Some java
> code to make the pictures showup in the portlet as well.
>
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> For
> additional commands,
> e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: File Storage/Management
Posted by David Sean Taylor <da...@bluesunrise.com>.
If I understand correctly, the problem that you don't have access to the
image file because its not in the webapp but somewhere else on the file
system?
If so, then just configure a path to your images directory.
You can do this in the web.xml or perhaps using JNDI for best
portability.
> -----Original Message-----
> From: Anthony Smith [mailto:anthony.smith@fedex.com]
> Sent: Wednesday, April 17, 2002 7:19 AM
> To: Jetspeed Users List
> Subject: File Storage/Management
>
>
> I am working on a portlet that will show content from an html
> page that a user uploads. In addition to just the html file,
> they can upload pictures as well.
>
> Here's the problemo:
>
> I have the files uploading successfully already. But
> currently, I let the files be uploaded onto the server but
> not to the jetspeed folder. Now, I am still able to have the
> html show. But the problem is getting the pictures to show.
> How Can I make them show without the actual file being loaded
> in the jetspeed folder but still on the server. Some java
> code to make the pictures showup in the portlet as well.
>
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> For
> additional commands,
> e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
File Storage/Management
Posted by Anthony Smith <an...@fedex.com>.
I am working on a portlet that will show content from an html page that a
user uploads. In addition to just the html file, they can upload pictures as
well.
Here's the problemo:
I have the files uploading successfully already. But currently, I let the
files be uploaded onto the server but not to the jetspeed folder. Now, I am
still able to have the html show. But the problem is getting the pictures to
show. How Can I make them show without the actual file being loaded in the
jetspeed folder but still on the server. Some java code to make the pictures
showup in the portlet as well.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: psml in the database
Posted by David Sean Taylor <da...@bluesunrise.com>.
The profile column stores the PSML.
Jetspeed does support an import feature: it takes the psml on the file
system and imports it into the database. See
http://jakarta.apache.org/jetspeed/site/psml_db.html
I think I understand the last question - and the answer is unfortunately no.
If you would like to simply have the PSML search algorithm
1. first search the user's psml for the requested psml page
2. then search all the user's role psml for the requested page
No, it doesnt work. I was hoping to, but didn't get that one into 1.3a2
----- Original Message -----
From: "Tom Pacheco" <to...@viptone.com>
To: <je...@jakarta.apache.org>
Sent: Thursday, January 10, 2002 3:07 PM
Subject: psml in the database
Hello,
I am using jetspeed w/ oracle 8i. I am storing the psml files in the
database. I want to know more about how the column "Profile" on the
jetspeed_user_profile table is being used? Its type is raw and I want to
understand what is being stored there and how? What I would like to do
is pre-populate the users table and accordingly, pre-populate their psml
files. Also, does the group or role settings work so that I could place
each user in a group or role so that can I just populate the
jetspeed_group_profile table or the jetspeed_role_profile table instead
of the jetspeed_user_profile, saving me some space?
Thanks,
Tom
viptone.com
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>