Hi Matthias,

this is explained here:
http://rifers.org/wiki/display/RIFE/Config+to+preferences+storage

Hope this helps,

Geert

On 14 May 2008, at 18:18, Matthias Barmeier wrote:

>
> Hi,
>
> after thinking a while how I could store the basepath to a bunch of
> configfiles I need for some framworks I use inside rife I stumbled  
> over
> ParticipantConfig.
>
> Is it possible to use this participant to store data entered via a  
> rife
> form ?
> I dont want to care about the location where the data is stored.
>
> I tried:
>
>        Config config = Config.getRepInstance();
>        config.setParameter("Test", "test");
>        try {
>            config.storeToPreferences();
>        } catch (ConfigErrorException ex) {
>            ex.printStackTrace();
>        }
>
> and hoped that the config.xml will change, but it does not work.
>
> Is ist possible to store data via the ParticipantConfig and if so how
> does it work ??
>
> Thanks in advance.
>
> Bye,
>
>    Matthias
>
> >

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to