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 Guillaume Lasnier <gu...@mac.com> on 2004/05/04 10:32:35 UTC
Customizer problem
Hello,
I am running through the 1.5 tutorial ad I have a problem with the
CardController customizer using a Pane layout. When I want to customize
the content of pane by clicking on the pane link in the customizer I
get an error caused by the fact that the link is malformed. When
viewing the HTML source i can see :
<a href="$jslink.getAction("controls.Customize",$entry.Id)">
It seems that the velocity engine was not able to interpret the
expression or the jslink variable in the template (card-customize.vm
after searching in the code). On the other hand, other velocity macro
are well interpreted.
Does anybody know why it is behaving like? What have I missed to get
the customizer work?
Thank you
--
Guillaume Lasnier
mailto:guiliguili@mac.com
Re: Customizer problem
Posted by David Sean Taylor <da...@bluesunrise.com>.
On May 4, 2004, at 2:29 AM, Guillaume Lasnier wrote:
> It seems like the error is due to custom localization settings in the
> TurbineResources.properties.merge. When I removed the property
> locale.default.bundles it worked but I loose the capablity of
> customizing messages and labels. I have copied the content of the
> TurbineResources.properties.merge file below :
> ==========================================================
> module.packages=com.noga.starterkit.jetspeed.modules
>
> # l10n settings
> # The line below must be commented to make customizer work
> locale.default.bundles=com.noga.starterkit.jetspeed.modules.localizatio
> n.PortalLocalization,org.apache.jetspeed.modules.localization.JetspeedL
> ocalization
> locale.default.language=fr
> locale.default.country=FR
> ==========================================================
> Has anyone managed to have the customizer work with custom
> localization settings?
>
Yes, I have tested this with the tutorial and it works here.
That said, Its been a hard road getting there.
Support for 2 or more bundles was working for a long time, and then it
was broken in the 1.4 release by another feature.
I fixed this for 1.5, but you have to make sure you get everything
configured correctly, which is not always easy.
In looking at your settings above, everything looks fine
Do you have the bundle files located under
com.noga.starterkit.jetspeed.modules.localization.PortalLocalization_fr.
properties ?
Also make sure that your locale.default.bundle is set to (in TR.p):
locale.default.bundle=
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Customizer problem
Posted by Raphaël Luta <ra...@apache.org>.
Le 4 mai 04, à 11:29, Guillaume Lasnier a écrit :
> It seems like the error is due to custom localization settings in the
> TurbineResources.properties.merge. When I removed the property
> locale.default.bundles it worked but I loose the capablity of
> customizing messages and labels. I have copied the content of the
> TurbineResources.properties.merge file below :
> ==========================================================
> module.packages=com.noga.starterkit.jetspeed.modules
>
> # l10n settings
> # The line below must be commented to make customizer work
> locale.default.bundles=com.noga.starterkit.jetspeed.modules.localizatio
> n.PortalLocalization,org.apache.jetspeed.modules.localization.JetspeedL
> ocalization
> locale.default.language=fr
> locale.default.country=FR
> ==========================================================
> Has anyone managed to have the customizer work with custom
> localization settings?
>
> Le 4 mai 04, à 10:32, Guillaume Lasnier a écrit :
>
>> Hello,
>> I am running through the 1.5 tutorial ad I have a problem with the
>> CardController customizer using a Pane layout. When I want to
>> customize the content of pane by clicking on the pane link in the
>> customizer I get an error caused by the fact that the link is
>> malformed. When viewing the HTML source i can see :
>> <a href="$jslink.getAction("controls.Customize",$entry.Id)">
>> It seems that the velocity engine was not able to interpret the
>> expression or the jslink variable in the template (card-customize.vm
>> after searching in the code). On the other hand, other velocity macro
>> are well interpreted.
>> Does anybody know why it is behaving like? What have I missed to get
>> the customizer work?
>> Thank you
The fact that you see the velocity code in your macro means the
template has not been processed correctly.
Can you check and send the velocity.log logfile (in /WEB-INF/log/) ?
--
Raphaël Luta - raphael@apache.org
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Customizer problem
Posted by Guillaume Lasnier <gu...@mac.com>.
It seems like the error is due to custom localization settings in the
TurbineResources.properties.merge. When I removed the property
locale.default.bundles it worked but I loose the capablity of
customizing messages and labels. I have copied the content of the
TurbineResources.properties.merge file below :
==========================================================
module.packages=com.noga.starterkit.jetspeed.modules
# l10n settings
# The line below must be commented to make customizer work
locale.default.bundles=com.noga.starterkit.jetspeed.modules.localization
.PortalLocalization,org.apache.jetspeed.modules.localization.JetspeedLoc
alization
locale.default.language=fr
locale.default.country=FR
==========================================================
Has anyone managed to have the customizer work with custom localization
settings?
Le 4 mai 04, à 10:32, Guillaume Lasnier a écrit :
> Hello,
> I am running through the 1.5 tutorial ad I have a problem with the
> CardController customizer using a Pane layout. When I want to
> customize the content of pane by clicking on the pane link in the
> customizer I get an error caused by the fact that the link is
> malformed. When viewing the HTML source i can see :
> <a href="$jslink.getAction("controls.Customize",$entry.Id)">
> It seems that the velocity engine was not able to interpret the
> expression or the jslink variable in the template (card-customize.vm
> after searching in the code). On the other hand, other velocity macro
> are well interpreted.
> Does anybody know why it is behaving like? What have I missed to get
> the customizer work?
> Thank you
> --
> Guillaume Lasnier
> mailto:guiliguili@mac.com
> <Guillaume
> Lasnier.vcf>-----------------------------------------------------------
> ----------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
--
Guillaume Lasnier
mailto:guiliguili@mac.com