How to access global config value in java JSP

Interested in talking about Mash-up's? This is the place.
vdagost-fr
Posts: 40
Joined: Mon Apr 11, 2016 11:59 am

How to access global config value in java JSP

Postby vdagost-fr » Wed Aug 24, 2016 5:15 pm

Hi guys

I've got this config key/value in my zimlet :

Code: Select all

<zimletConfig name="my_zimlet" version="1.0">
    <global>
   <property name="x">value xyz</property>
    </global>
</zimletConfig>


In javascript It can be accessed with this.getConfig("x") and I got "xyz".

How to access the value by its key in java code .jsp ?

Regards
Victor


vdagost-fr
Posts: 40
Joined: Mon Apr 11, 2016 11:59 am

Re: How to access global config value in java JSP

Postby vdagost-fr » Mon Sep 26, 2016 2:13 pm

Anyone ?

I could code some lines in java to manualy parse this resource file but I don't think it is the good way to do it :)

Return to “Zimlets”

Who is online

Users browsing this forum: No registered users and 5 guests