You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Werner Ramaekers <we...@shiftat.com> on 2002/08/02 05:55:44 UTC
Patch for faq.html : database settings fr Jetspeed
Hey,
since the TurbineResources.properties do not contain the database
settings anymore i think it is very important to change the FAQ as
indicated below.
If i am wrong please tell me ;-)
Werner
cvs diff faq.html (in directory
C:\cvs\jakarta.apache.org\jakarta-jetspeed\docs\site)
Index: faq.html
===================================================================
RCS file: /home/cvspublic/jakarta-jetspeed/docs/site/faq.html,v
retrieving revision 1.23
diff -r1.23 faq.html
248c248
< To change the database connection, you will also need to update the
database connection settings in TurbineResources.properties. The war
file installation automatically configures Hypersonic SQL is the default
database.
---
> To change the database connection, you will also need to update the
database connection settings in Torque.properties. The war file
installation automatically configures Hypersonic SQL is the default
database.
--
----------------------------------------------------------------------
ir. Werner Ramaekers
Enterprise Java Solutions Architect - Shift@
Sun Certified Java Programmer
"May the source be with you."
<ma...@shiftat.com> <http://www.shiftat.com>
----------------------------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Confused about portlet permissions
Posted by David Sean Taylor <da...@bluesunrise.com>.
Thanks!
I'll try to get it reviewed and committed by end of day
> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> Sent: Monday, August 05, 2002 10:33 AM
> To: Jetspeed Developers List
> Subject: RE: Confused about portlet permissions
>
>
> I just posted (6) patches required for the Info action functionality +
> documentation on access actions. Please see
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11471. Let me
> know if you
> have any questions or problems with my patch.
>
> Best regards,
>
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: mark_orciuch@ngsltd.com
> web: http://www.ngsltd.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>
RE: Confused about portlet permissions
Posted by Mark Orciuch <ma...@ngsltd.com>.
I just posted (6) patches required for the Info action functionality +
documentation on access actions. Please see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11471. Let me know if you
have any questions or problems with my patch.
Best regards,
Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Confused about portlet permissions
Posted by Mark Orciuch <ma...@ngsltd.com>.
Dave,
I think that we're on the same page now. I will post my patches on Monday.
Best regards,
Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com
-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Friday, August 02, 2002 4:31 PM
To: Jetspeed Developers List; mark_orciuch@ngsltd.com
Subject: RE: Confused about portlet permissions
> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> Sent: Friday, August 02, 2002 11:39 AM
> To: Jetspeed Developers List
> Subject: RE: Confused about portlet permissions
>
>
> >If you don't have View permission, then you shouldn't see it in
> the portlet
> >list.
>
> Not according to this condition in CustomizeSetAction.buildPortletList:
>
> if (JetspeedSecurity.checkPermission((JetspeedUser)
> data.getUser(), new PortalResource(entry),
> JetspeedSecurity.PERMISSION_CUSTOMIZE) &&
> ((!entry.isHidden())
> && (!entry.getType().equals(PortletEntry.TYPE_ABSTRACT))
> && entry.hasMediaType(mediaType)))
>
> Is the above correct or should it check PERMISSION_VIEW?
I believe it should be View mode.
At this point, the customizer should have checked to see if you have
customize permission for the page.
The user is not customizing the portlet, the user is selecting and placing a
portlet on the page for view mode.
I also believe there should be a view (and perhaps optional) edit mode.
Edit allows the user to actually modify data on the portlet.
>
> >Customize grants you permission to customize that particular portlet.
> >Or in the case of a portlet (PSML) page, it grants you permission to
> >customize the entire page.
>
> Customize meaning clicking on the portlet/page customize icon, right?
Yes
>
> >Info can be another portlet mode. Consider the current modes of a portlet
> >are view and customize.
> >Info mode would be like a help mode for the portlet.
>
> Yes, that is what I thought. I am interested in implementing this type of
> functionality but it seems that customize and info icons are mututally
> exclusive. See this code in VelocityPortletControl.buildActionList:
>
> if ( state.allowCustomize( rundata ) )
> {
> if (! customized )
> {
> actions.add( new PortletAction("customize") );
> }
> }
> else
> {
> if ( state.allowInfo( rundata ) )
> {
> actions.add( new PortletAction("info") );
> }
> }
>
The above code looks wrong to me.
At least I don't understand the intention.
Whether one can go to info mode or not is orthogonal to customize
> Once I'm clear on all this, I'll create an xdoc. I can get
> involved with any
> related patches as well.
Patches and docs are welcome
David
>
> Best regards,
>
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: mark_orciuch@ngsltd.com
> web: http://www.ngsltd.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>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Confused about portlet permissions
Posted by David Sean Taylor <da...@bluesunrise.com>.
> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> Sent: Friday, August 02, 2002 11:39 AM
> To: Jetspeed Developers List
> Subject: RE: Confused about portlet permissions
>
>
> >If you don't have View permission, then you shouldn't see it in
> the portlet
> >list.
>
> Not according to this condition in CustomizeSetAction.buildPortletList:
>
> if (JetspeedSecurity.checkPermission((JetspeedUser)
> data.getUser(), new PortalResource(entry),
> JetspeedSecurity.PERMISSION_CUSTOMIZE) &&
> ((!entry.isHidden())
> && (!entry.getType().equals(PortletEntry.TYPE_ABSTRACT))
> && entry.hasMediaType(mediaType)))
>
> Is the above correct or should it check PERMISSION_VIEW?
I believe it should be View mode.
At this point, the customizer should have checked to see if you have
customize permission for the page.
The user is not customizing the portlet, the user is selecting and placing a
portlet on the page for view mode.
I also believe there should be a view (and perhaps optional) edit mode.
Edit allows the user to actually modify data on the portlet.
>
> >Customize grants you permission to customize that particular portlet.
> >Or in the case of a portlet (PSML) page, it grants you permission to
> >customize the entire page.
>
> Customize meaning clicking on the portlet/page customize icon, right?
Yes
>
> >Info can be another portlet mode. Consider the current modes of a portlet
> >are view and customize.
> >Info mode would be like a help mode for the portlet.
>
> Yes, that is what I thought. I am interested in implementing this type of
> functionality but it seems that customize and info icons are mututally
> exclusive. See this code in VelocityPortletControl.buildActionList:
>
> if ( state.allowCustomize( rundata ) )
> {
> if (! customized )
> {
> actions.add( new PortletAction("customize") );
> }
> }
> else
> {
> if ( state.allowInfo( rundata ) )
> {
> actions.add( new PortletAction("info") );
> }
> }
>
The above code looks wrong to me.
At least I don't understand the intention.
Whether one can go to info mode or not is orthogonal to customize
> Once I'm clear on all this, I'll create an xdoc. I can get
> involved with any
> related patches as well.
Patches and docs are welcome
David
>
> Best regards,
>
> Mark C. Orciuch
> Next Generation Solutions, Ltd.
> e-Mail: mark_orciuch@ngsltd.com
> web: http://www.ngsltd.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>
RE: Confused about portlet permissions
Posted by Mark Orciuch <ma...@ngsltd.com>.
>If you don't have View permission, then you shouldn't see it in the portlet
>list.
Not according to this condition in CustomizeSetAction.buildPortletList:
if (JetspeedSecurity.checkPermission((JetspeedUser)
data.getUser(), new PortalResource(entry),
JetspeedSecurity.PERMISSION_CUSTOMIZE) &&
((!entry.isHidden())
&& (!entry.getType().equals(PortletEntry.TYPE_ABSTRACT))
&& entry.hasMediaType(mediaType)))
Is the above correct or should it check PERMISSION_VIEW?
>Customize grants you permission to customize that particular portlet.
>Or in the case of a portlet (PSML) page, it grants you permission to
>customize the entire page.
Customize meaning clicking on the portlet/page customize icon, right?
>Info can be another portlet mode. Consider the current modes of a portlet
>are view and customize.
>Info mode would be like a help mode for the portlet.
Yes, that is what I thought. I am interested in implementing this type of
functionality but it seems that customize and info icons are mututally
exclusive. See this code in VelocityPortletControl.buildActionList:
if ( state.allowCustomize( rundata ) )
{
if (! customized )
{
actions.add( new PortletAction("customize") );
}
}
else
{
if ( state.allowInfo( rundata ) )
{
actions.add( new PortletAction("info") );
}
}
Once I'm clear on all this, I'll create an xdoc. I can get involved with any
related patches as well.
Best regards,
Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Patch for faq.html : database settings fr Jetspeed
Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,
Thanks for the info.
--- Paul Spencer <pa...@mindspring.com> wrote:
> >
> No. I use the following procedure:
> o Edit the XML
> o Build the HTML using the following command:
> build docs
> o Commit the XML and HTML files
Done this much.
> o Logon in the the Jakarta site and do a cvs update. I can do this
> if
> you do not have "karma" on the jarkarta site.
>
Which box is this? jakarta.apache.org? I tried there but got
permission denied.
I guess I don't have "karma" for this.
Can you do this?
Thanks,
Chris
=====
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Patch for faq.html : database settings fr Jetspeed
Posted by Paul Spencer <pa...@mindspring.com>.
Chris Kimpton wrote:
>Hi,
>
>I have applied your change (although it is done in the faq.xml).
>
>Paul - does the html/site get updated automatically once the xml in
>the xdocs directory is changed?
>
No. I use the following procedure:
o Edit the XML
o Build the HTML using the following command:
build docs
o Commit the XML and HTML files
o Logon in the the Jakarta site and do a cvs update. I can do this if
you do not have "karma" on the jarkarta site.
>
>Thanks,
>Chris
>
Paul Spencer
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Patch for faq.html : database settings fr Jetspeed
Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,
I have applied your change (although it is done in the faq.xml).
Paul - does the html/site get updated automatically once the xml in
the xdocs directory is changed?
Thanks,
Chris
--- Werner Ramaekers <we...@shiftat.com> wrote:
> Hey,
> since the TurbineResources.properties do not contain the database
> settings anymore i think it is very important to change the FAQ as
> indicated below.
> If i am wrong please tell me ;-)
>
> Werner
>
>
> cvs diff faq.html (in directory
> C:\cvs\jakarta.apache.org\jakarta-jetspeed\docs\site)
> Index: faq.html
> ===================================================================
> RCS file: /home/cvspublic/jakarta-jetspeed/docs/site/faq.html,v
> retrieving revision 1.23
> diff -r1.23 faq.html
> 248c248
> < To change the database connection, you will also need to update
> the
> database connection settings in TurbineResources.properties. The
> war
> file installation automatically configures Hypersonic SQL is the
> default
> database.
> ---
> > To change the database connection, you will also need to update
> the
> database connection settings in Torque.properties. The war file
> installation automatically configures Hypersonic SQL is the default
>
> database.
> --
>
----------------------------------------------------------------------
> ir. Werner Ramaekers
> Enterprise Java Solutions Architect - Shift@
> Sun Certified Java Programmer
>
> "May the source be with you."
> <ma...@shiftat.com> <http://www.shiftat.com>
>
----------------------------------------------------------------------
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
=====
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>