how to dinamically add a wicket property to the key in the properties file

2010-08-08 Thread zoran
Hi, I want to use key from properties file with wicket page property added in this value. I tried this way, but it doesn't work. String js=alert('+getString(alertmessage)+');; target.appendJavascript(js); alertmessage=Learning goal ${pagetitle} updated

Re: how to dinamically add a wicket property to the key in the properties file

2010-08-08 Thread Martin Makundi
Try getString(alertmessage, Model.ofMap(Collections.singletonMap(pagetitle, My page title))); ** Martin 2010/8/8 zoran jeremy...@gmail.com: Hi, I want to use key from properties file with wicket page property added in this value. I tried this way, but it doesn't work. String

Re: how to dinamically add a wicket property to the key in the properties file

2010-08-08 Thread zoran
Martin, I've tried this, but it doesn't work. Any other idea? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-dinamically-add-a-wicket-property-to-the-key-in-the-properties-file-tp2317893p2317912.html Sent from the Wicket - User mailing list archive at

Re: how to dinamically add a wicket property to the key in the properties file

2010-08-08 Thread Martin Makundi
Please use debugger and find out why it does not work. Should work. ** Martin 2010/8/8 zoran jeremy...@gmail.com: Martin, I've tried this, but it doesn't work. Any other idea? -- View this message in context:

Re: how to dinamically add a wicket property to the key in the properties file

2010-08-08 Thread zoran
Sorry, I don't know why it didn't work before, but it works now. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/how-to-dinamically-add-a-wicket-property-to-the-key-in-the-properties-file-tp2317893p2317938.html Sent from the Wicket - User mailing list