<snip>

> which translates to
>
> getPortletConfig().getUser() in a portlet code...

Thanks, I will give this a try!

>
> You should also be able to access the init parameters in the registry with
>
> getPortletConfig().getInitParameters(<param-name>)
In my ...

public class HTMLFQPortlet extends FileWatchPortlet {

I have...

String makeFQHrefs =
(String)this.getPortletConfig().getInitParameter("makeFQHrefs");

I logged this value to turbine.log and find the value is null.

In portletRegistry.psml I have...

        <entry type="abstract" name="htmlFile">

<classname>org.apache.jetspeed.portal.portlets.HTMLFQPortlet</classname>
            <parameter name="makeFQHrefs" value="true"/>
            <parameter name="makeFQActions" value="false"/>
        </entry>

BTW - what is the significance of the type-attribute. Should I be using
instance instead of abstract?

Thanks,

Steve B.

>
> or
>
> getPortletConfig().getInitParameters(<param-name>,<default-value>)
>
> If it doesn't work, send a patch... ;)
>
> --
> Rapha�l Luta - [EMAIL PROTECTED]
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to