robots.txt

2010-08-08 Thread Sefa Irken
This is a ridicilous question, I am pretty new to web and servlet world (coming from desktop java). I couldn't figure out, how to serve my robots.txt under www.site.com/robots.txt. How can I do that in Wicket ?

Re: robots.txt

2010-08-08 Thread Martin Makundi
Hi! You can insert static stuff in webapp/. directory. ** Martin 2010/8/8 Sefa Irken sefair...@gmail.com: This is a ridicilous question, I am pretty new to web and servlet world (coming from  desktop java). I couldn't figure out, how to serve my robots.txt under www.site.com/robots.txt. How

Re: robots.txt

2010-08-08 Thread Nikita Tovstoles
..that assumes that the app's context path is /. On Sun, Aug 8, 2010 at 3:03 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! You can insert static stuff in webapp/. directory. ** Martin 2010/8/8 Sefa Irken sefair...@gmail.com: This is a ridicilous question, I am

Re: robots.txt

2010-08-08 Thread Martin Makundi
Not really... 2010/8/8 Nikita Tovstoles nikita.tovsto...@gmail.com: ..that assumes that the app's context path is /. On Sun, Aug 8, 2010 at 3:03 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! You can insert static stuff in webapp/. directory. ** Martin 2010/8/8

Re: robots.txt

2010-08-08 Thread Nikita Tovstoles
my bad - let me clarify: if robots.txt is being stored in appserver's webapp directory, then yes, that'll work regardless app's context path. If it's being packaged with the webapp - and is part of, say, a mvn project, it can be stored in {project}/src/main/webapp. However, the webapp should then

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

RE: back link

2010-08-08 Thread Alex Rass
Well, first off, there's a bug: setResponsePage( new TargetPage( new SomeModel(), OriginatingPage.this ); Needs to be part of constructor call: setResponsePage( new TargetPage( new SomeModel(), OriginatingPage.this ) );

DataView/LoadableDetachableModel/onClick

2010-08-08 Thread Chris Merrill
I have a DataView on a page to list items returned by a DB query (using JPA). My database object (Customer) has LoadableDetachableModel class (called DetachableCustomerModel) that the provider returns via the model() method. When populating the table, I want a link to a page for the details

Re: Ajax-Panel Toggling Visibility

2010-08-08 Thread Nivedan Nadaraj
Hi Thanks for the pointers. I have tried doing the following and yet to see the expected result (i.e re-render the list view with the new items) 1 .Using an entirely new Model instance, and seting it using setModel 2. When the Listview is created I have said setReuseItems(true) 3. When the model

Re: DataView/LoadableDetachableModel/onClick

2010-08-08 Thread Igor Vaynberg
final Customer customer = item.getModelObject(); ... Link link = new Link(link) { public void onClick() { setResponsePage(new CustomerPage(customer)); the line above holds on to the customer object, so the Link

autocomplete works in development but It doesn't in production

2010-08-08 Thread Fernando Wermus
Hi all, Any advice or clue about how to solve this issue? thanks in advance -- Fernando Wermus. www.linkedin.com/in/fernandowermus