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 ?
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
..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
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
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
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
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
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
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:
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
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 ) );
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
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
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
Hi all,
Any advice or clue about how to solve this issue?
thanks in advance
--
Fernando Wermus.
www.linkedin.com/in/fernandowermus
15 matches
Mail list logo