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 "Dalton-1, Michael" <Mi...@nasa.gov> on 2003/10/10 15:30:34 UTC

RE: Q. How to enable the Add Reference Button

I need to enable the Add Reference button.  It is currently disabled even
for admin.  My PortletSetCustomizer settings are shown below.  Can anyone
tell me what needs to be set to enable this?  I have been struggling with
this for days.

Thanks,  Michael Dalton ( Michael.D.Dalton@nasa.gov ) 

<portlet-entry name="PortletSetCustomizer" hidden="true"
        type="instance" application="false">
        <security-ref parent="user-only"/>
        <meta-info>
            <title>Customize pane</title>
        </meta-info>
 
<classname>org.apache.jetspeed.portal.portlets.VelocityPortlet</classname>
        <parameter name="template" value="customizer-portletset"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="action" value="portlets.CustomizeSetAction"
            hidden="true" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="securityRef" value="" type="style"
            hidden="false" cachedOnName="true" cachedOnValue="true">
            <security-ref parent="user-only"/>
        </parameter>
        <parameter name="securityRef.style" value="RegistryEntryListBox"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="securityRef.style.registry" value="Security"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="securityRef.style.disabled-if-wml" value="true"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="securityRef.style.javascript:onchange"
            value="document.securityRefs.submit()" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="skin" value="" type="style" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="skin.style" value="RegistryEntryListBox"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="skin.style.registry" value="Skin"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="skin.style.disabled-if-wml" value="true"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="skin.style.javascript:onchange"
            value="document.skins.submit()" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control" value="" type="style" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control.style" value="RegistryEntryListBox"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control.style.registry" value="PortletControl"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control.style.disabled-if-wml" value="true"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control.style.select-hidden" value="true"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control.style.select-if-simple" value="true"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control.style.set-label" value="true"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="control.style.javascript:onchange"
            value="this.form.submit()" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="addRef" value="" type="style" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <security-ref parent="admin-only"/>
        </parameter>
        <parameter name="addRef.style"
            value="VelocityParameterPresentationStyle" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="addRef.style.template" value="Button.vm"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="addRef.style.no-access" value="addRefDisabled"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="addRefDisabled" value="" type="style"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="addRefDisabled.style"
            value="VelocityParameterPresentationStyle" hidden="false"
            cachedOnName="true" cachedOnValue="true"/>
        <parameter name="addRefDisabled.style.template"
            value="Button.vm" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
        <parameter name="addRefDisabled.style.disabled" value="true"
            hidden="false" cachedOnName="true" cachedOnValue="true"/>
        <parameter name="addRefDisabled.style.no-access"
            value="addRefDisabled" hidden="false" cachedOnName="true"
cachedOnValue="true"/>
        <url cachedOnURL="true"/>
        <category group="Jetspeed">admin</category>
        <category group="Jetspeed">customize</category>
    </portlet-entry>

-----Original Message-----
From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com] 
Sent: Thursday, July 24, 2003 12:13 PM
To: Jetspeed Users List
Subject: RE: Q. How to enable the Add Reference Button


Look at the PortletSetCustomizer definition in admin.xreg. Currently,
there's a security ref of 'admin-only' placed on the 'addRef' parameter.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: Chamberlain James O. CONTR J9C998 
> [mailto:James.Chamberlain@je.jfcom.mil]
> Sent: Thursday, July 24, 2003 11:08 AM
> To: jetspeed-user@jakarta.apache.org
> Subject: Q. How to enable the Add Reference Button
>
>
> How do you enable the Add Reference button in the Customize pane 
> screen? Is it activated by an entry in JetspeedResources.properties?
>
> Once activated, can it's use be assigned to a role?
>
> Thanks in advance for the information.
>
> Regards,
>
> James
>
> James Chamberlain
> General Dynamics - Advanced Information Systems
> Prototype Pathway - Collaborative Information Environment U.S. Joint 
> Forces Command james.chamberlain@je.jfcom.mil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Xreg Q

Posted by Tod Thomas <tt...@chubb.com>.
Can I do a hot modify to an xreg file to add a new portlet without stopping and
restarting Tomcat?  If so how?

Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


RE: Q. How to enable the Add Reference Button

Posted by jamul Rezak <ja...@yahoo.com>.
Hi,
I've got the same proble I've changed it to:

        <parameter name="addRef" value="" type="style" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <security-ref parent="user-only"/>
        </parameter>
 
But still doesn't work. I tried many times.
Can we do this buy editing the psml file.
Thanks
Jamal
--------------------------------------------------------------


Mark Orciuch <ma...@ngsltd.com> wrote:
Michael,

I thought I gave you the hint. Perhaps I wasn't explicit enough.


cachedOnName="true" cachedOnValue="true">




In the above, change the security-ref parent to something like "user-only".
That should do it - let me know if it doesn't.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: Dalton-1, Michael [mailto:Michael.D.Dalton@nasa.gov]
> Sent: Friday, October 10, 2003 8:31 AM
> To: 'Jetspeed Users List'
> Subject: RE: Q. How to enable the Add Reference Button
>
>
> I need to enable the Add Reference button. It is currently disabled even
> for admin. My PortletSetCustomizer settings are shown below. Can anyone
> tell me what needs to be set to enable this? I have been struggling with
> this for days.
>
> Thanks, Michael Dalton ( Michael.D.Dalton@nasa.gov )
>
> 
> type="instance" application="false">
> 
> 
> 
> 
>
> org.apache.jetspeed.portal.portlets.VelocityPortlet
> 
> hidden="true" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="true" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true">
> 
> 

> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> value="document.securityRefs.submit()" hidden="false"
> cachedOnName="true" cachedOnValue="true"/>
> 
> cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> value="document.skins.submit()" hidden="false"
> cachedOnName="true" cachedOnValue="true"/>
> 
> cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> value="this.form.submit()" hidden="false"
> cachedOnName="true" cachedOnValue="true"/>
> 
> cachedOnName="true" cachedOnValue="true">
> 
> 

> 
> value="VelocityParameterPresentationStyle" hidden="false"
> cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> value="VelocityParameterPresentationStyle" hidden="false"
> cachedOnName="true" cachedOnValue="true"/>
> 
> value="Button.vm" hidden="false" cachedOnName="true"
> cachedOnValue="true"/>
> 
> hidden="false" cachedOnName="true" cachedOnValue="true"/>
> 
> value="addRefDisabled" hidden="false" cachedOnName="true"
> cachedOnValue="true"/>
> 
> admin
> customize
> 

>
> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> Sent: Thursday, July 24, 2003 12:13 PM
> To: Jetspeed Users List
> Subject: RE: Q. How to enable the Add Reference Button
>
>
> Look at the PortletSetCustomizer definition in admin.xreg. Currently,
> there's a security ref of 'admin-only' placed on the 'addRef' parameter.
>
> Best regards,
>
> Mark Orciuch - morciuch@apache.org
> Jakarta Jetspeed - Enterprise Portal in Java
> http://jakarta.apache.org/jetspeed/
>
> > -----Original Message-----
> > From: Chamberlain James O. CONTR J9C998
> > [mailto:James.Chamberlain@je.jfcom.mil]
> > Sent: Thursday, July 24, 2003 11:08 AM
> > To: jetspeed-user@jakarta.apache.org
> > Subject: Q. How to enable the Add Reference Button
> >
> >
> > How do you enable the Add Reference button in the Customize pane
> > screen? Is it activated by an entry in JetspeedResources.properties?
> >
> > Once activated, can it's use be assigned to a role?
> >
> > Thanks in advance for the information.
> >
> > Regards,
> >
> > James
> >
> > James Chamberlain
> > General Dynamics - Advanced Information Systems
> > Prototype Pathway - Collaborative Information Environment U.S. Joint
> > Forces Command james.chamberlain@je.jfcom.mil
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search

RE: Q. How to enable the Add Reference Button

Posted by Mark Orciuch <ma...@ngsltd.com>.
Michael,

I thought I gave you the hint. Perhaps I wasn't explicit enough.

        <parameter name="addRef" value="" type="style" hidden="false"
            cachedOnName="true" cachedOnValue="true">
            <security-ref parent="admin-only"/>
        </parameter>

In the above, change the security-ref parent to something like "user-only".
That should do it - let me know if it doesn't.

Best regards,

Mark Orciuch - morciuch@apache.org
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/

> -----Original Message-----
> From: Dalton-1, Michael [mailto:Michael.D.Dalton@nasa.gov]
> Sent: Friday, October 10, 2003 8:31 AM
> To: 'Jetspeed Users List'
> Subject: RE: Q. How to enable the Add Reference Button
>
>
> I need to enable the Add Reference button.  It is currently disabled even
> for admin.  My PortletSetCustomizer settings are shown below.  Can anyone
> tell me what needs to be set to enable this?  I have been struggling with
> this for days.
>
> Thanks,  Michael Dalton ( Michael.D.Dalton@nasa.gov )
>
> <portlet-entry name="PortletSetCustomizer" hidden="true"
>         type="instance" application="false">
>         <security-ref parent="user-only"/>
>         <meta-info>
>             <title>Customize pane</title>
>         </meta-info>
>
> <classname>org.apache.jetspeed.portal.portlets.VelocityPortlet</classname>
>         <parameter name="template" value="customizer-portletset"
>             hidden="true" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="action" value="portlets.CustomizeSetAction"
>             hidden="true" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="securityRef" value="" type="style"
>             hidden="false" cachedOnName="true" cachedOnValue="true">
>             <security-ref parent="user-only"/>
>         </parameter>
>         <parameter name="securityRef.style" value="RegistryEntryListBox"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="securityRef.style.registry" value="Security"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="securityRef.style.disabled-if-wml" value="true"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="securityRef.style.javascript:onchange"
>             value="document.securityRefs.submit()" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="skin" value="" type="style" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="skin.style" value="RegistryEntryListBox"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="skin.style.registry" value="Skin"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="skin.style.disabled-if-wml" value="true"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="skin.style.javascript:onchange"
>             value="document.skins.submit()" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control" value="" type="style" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control.style" value="RegistryEntryListBox"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control.style.registry" value="PortletControl"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control.style.disabled-if-wml" value="true"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control.style.select-hidden" value="true"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control.style.select-if-simple" value="true"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control.style.set-label" value="true"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="control.style.javascript:onchange"
>             value="this.form.submit()" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="addRef" value="" type="style" hidden="false"
>             cachedOnName="true" cachedOnValue="true">
>             <security-ref parent="admin-only"/>
>         </parameter>
>         <parameter name="addRef.style"
>             value="VelocityParameterPresentationStyle" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="addRef.style.template" value="Button.vm"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="addRef.style.no-access" value="addRefDisabled"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="addRefDisabled" value="" type="style"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="addRefDisabled.style"
>             value="VelocityParameterPresentationStyle" hidden="false"
>             cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="addRefDisabled.style.template"
>             value="Button.vm" hidden="false" cachedOnName="true"
> cachedOnValue="true"/>
>         <parameter name="addRefDisabled.style.disabled" value="true"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <parameter name="addRefDisabled.style.no-access"
>             value="addRefDisabled" hidden="false" cachedOnName="true"
> cachedOnValue="true"/>
>         <url cachedOnURL="true"/>
>         <category group="Jetspeed">admin</category>
>         <category group="Jetspeed">customize</category>
>     </portlet-entry>
>
> -----Original Message-----
> From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
> Sent: Thursday, July 24, 2003 12:13 PM
> To: Jetspeed Users List
> Subject: RE: Q. How to enable the Add Reference Button
>
>
> Look at the PortletSetCustomizer definition in admin.xreg. Currently,
> there's a security ref of 'admin-only' placed on the 'addRef' parameter.
>
> Best regards,
>
> Mark Orciuch - morciuch@apache.org
> Jakarta Jetspeed - Enterprise Portal in Java
> http://jakarta.apache.org/jetspeed/
>
> > -----Original Message-----
> > From: Chamberlain James O. CONTR J9C998
> > [mailto:James.Chamberlain@je.jfcom.mil]
> > Sent: Thursday, July 24, 2003 11:08 AM
> > To: jetspeed-user@jakarta.apache.org
> > Subject: Q. How to enable the Add Reference Button
> >
> >
> > How do you enable the Add Reference button in the Customize pane
> > screen? Is it activated by an entry in JetspeedResources.properties?
> >
> > Once activated, can it's use be assigned to a role?
> >
> > Thanks in advance for the information.
> >
> > Regards,
> >
> > James
> >
> > James Chamberlain
> > General Dynamics - Advanced Information Systems
> > Prototype Pathway - Collaborative Information Environment U.S. Joint
> > Forces Command james.chamberlain@je.jfcom.mil
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org