Re: how to dinamically add a wicket property to the key in the properties file
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 archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to dinamically add a wicket property to the key in the properties file
Please use debugger and find out why it does not work. Should work. ** Martin 2010/8/8 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 Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to dinamically add a wicket property to the key in the properties file
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 Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: how to dinamically add a wicket property to the key in the properties file
Try getString("alertmessage", Model.ofMap(Collections.singletonMap("pagetitle", "My page title"))); ** Martin 2010/8/8 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 successfully. > > As result I got an alert with message: > > Learning goal ${pagetitle} updated successfully. > > What is wrong with this code? > > Zoran > -- > 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-tp2317893p2317893.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
how to dinamically add a wicket property to the key in the properties file
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 successfully. As result I got an alert with message: Learning goal ${pagetitle} updated successfully. What is wrong with this code? Zoran -- 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-tp2317893p2317893.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org