[Rife-users] Localization in radio button labels

2006-01-11 Thread Lars Grupe
Hi, A L10N value inside of an FORM:LABEL block will not be replaced. Is there something wrong in my code or is there a reason why it does not work? Example: !--V 'FORM:RADIO:ruleGeneration'/-- !--B 'FORM:LABEL:ruleGeneration:termbased'--!--V 'L10N:TERM_BASED'/--!--/B-- !--B

Re: [Rife-users] Localization in radio button labels

2006-01-11 Thread Geert Bevin
Hi Lars, how is this form being generated? Do you call it explicitly from your element or do you let RIFE automate it? What the model bean that corresponds to this? Best regards, Geert On 11-jan-06, at 15:43, Lars Grupe wrote: Hi, A L10N value inside of an FORM:LABEL block will not be

Re: [Rife-users] Localization in radio button labels

2006-01-11 Thread Geert Bevin
When do you add the resourcebundles to your template? Lars Grupe wrote: Hi Geert, the main parts of the Bean are the following: private String fileName = null; private String termbankId = null; private String ruleGeneration = null; public ImportDataBean(String fileName,

RE: [Rife-users] Localization in radio button labels

2006-01-11 Thread Lars Grupe
Hi Geert, There could be the problem. I do it like the following: public void processElement() { Template template = Generic.getTemplate(this, templateName); ResourceBundle resourceBundle = Generic.getResourceBundle(this); printTemplate(template, resourceBundle);

Re: [Rife-users] Localization in radio button labels

2006-01-11 Thread Geert Bevin
Hi Lars, can you try doing this after adding your resourcebundle: template.evaluateL10nTags(); The reason for this is that the template localization tags are only evaluated at certain times. When you have default resourcebundles, the template factory knows that they exist and it will call add

RE: [Rife-users] Localization in radio button labels

2006-01-11 Thread Lars Grupe
Hi Geert, thx, that's working now. Cheers, Lars -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Geert Bevin Sent: 11 January 2006 16:41 To: RIFE users list : questions, bug reports and suggestions. Subject: Re: [Rife-users] Localization in radio

[Rife-users] importing RIFE examples into Netbeans 4.1

2006-01-11 Thread David Herbert
I am new to RIFE, and find it a potentially very useful framework for developing applications. I have spent a day or so working through the user's guide and trying out some of the examples. They run successfully, but I am very confused by the directory structure which is very different from

Re: [Rife-users] importing RIFE examples into Netbeans 4.1

2006-01-11 Thread Eddy Young
David Herbert wrote: [snip] (1) is anyone else using the Netbeans IDE successfully (I note that Eclipse and one other commercial IDE have plugins, but I don't really understand what these do)? Or do I just have to abandon Netbeans altogether? I am. I follow the popular adage, don't fight