Greetings all,
<wicket:link> wont fix the problem for forms.I have following form
,where 'search' is a pages mounted using QueryStringUrlCodingStrategy.
In the tomcat,the link changes to action="../search" even I use
<wicket:link>
Any tips?
<wicket:link>
<form action="search" method="get">
<div style="text-align: right; font-size: 10px;">
Gene Family:
<input type="text" name="query" size="30" value="" />
<input type="submit" value=" Search " />
<a href='advanced'>Advanced Search</a>
</div>
</form>
</wicket:link>
François Meillet wrote:
Hi Ashika,
Give a try to this
<wicket:link>
<link rel="stylesheet" type="text/css" href="style/tablestyle.css"/>
<link rel="stylesheet" type="text/css" href="images/style.css"/>
</wicket:link>
François
Le 1 févr. 2010 à 05:59, Ashika Umanga Umagiliya a écrit :
Greetings,
I've been developing my wicket application using maven+jetty and when I
deployed it in Tomcat , all the CSS styles were missing.
I noticed that all the CSS links have been modified by the container(or wicket?) and
added the prefix "../"
Eg: In my pages I have:
<link rel="stylesheet" type="text/css" href="style/tablestyle.css"/>
<link rel="stylesheet" type="text/css" href="images/style.css"/>
But in the page Tomcat serves ,it has:
<link rel="stylesheet" type="text/css" href="../style/tablestyle.css"/>
<link rel="stylesheet" type="text/css" href="../images/style.css"/>
This works fine with Jetty ,what could be the problem?
thanks in advance
---------------------------------------------------------------------
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