>From googling this issue, it looks like in a Wicket project, "webapp" is
under "src"...
In my project, src and web are on the same level. Is this problem? This
project was created by NetBeans and I'd prefer not to modify it, with all
the web.xml dependencies etc.
Looking at the rendered result,
My project structure looks like this:
.src
.java
..com
...myapp
...[HTML & Java go here]
.web
.img
.css
.WEB-INF
In my HTML, when I reference "img/image.jpg" or "css/main.css", these files
are not found. I also tried "/img/image.jpg" and "/css
Eclipse is already set up on that settings. And it does work from root
hierarchy - e.g. it works from com.foo package, but not from com.foo.bar
package.
Thanks,
Niranjan
On Tue, 2011-07-26 at 14:12 -0700, Don Ferguson wrote:
> Project/Build Automatically works for me.
>
> -Don
>
> On Jul
Project/Build Automatically works for me.
-Don
On Jul 26, 2011, at 2:08 PM, Niranjan Rao wrote:
> Hi,
>
> Using Wicket 1.5-RC4.2.
>
> I have HTML/Java sitting in one of the child packages. When visiting the
> page in the browser, the markup changes are not reflected unless I
> restart
Hi,
Using Wicket 1.5-RC4.2.
I have HTML/Java sitting in one of the child packages. When visiting the
page in the browser, the markup changes are not reflected unless I
restart the application in eclipse. I am using Start class that is
generated when wicket code hierarchy is created using maven.
Ok. thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-in-ListView-populateItem-tp3695627p3696053.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mai
On Tue, 26 Jul 2011 06:10:29 -0700 (PDT)
eugenebalt wrote:
> li.add(new Label("bookId"), new Model("a"));
You're adding:
new Label("bookId"), new Model("a")
That is a new Label and a new Model. You want:
new Label("bookId", new Model("a"))
which is a new Label with an id and
> I have one comma. I followed the same example in the book, which is
> add(Label,IModel). But something's wrong.
Strange example if so: Try instead
add(new Label(id, model));
The Model is for the Label.
- Tor Iver
-
To unsubs
I'm sure you can figure this alone.
On Tue, Jul 26, 2011 at 4:42 PM, eugenebalt wrote:
> I have one comma. I followed the same example in the book, which is
> add(Label,IModel). But something's wrong.
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Problem-in-
I have one comma. I followed the same example in the book, which is
add(Label,IModel). But something's wrong.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Problem-in-ListView-populateItem-tp3695627p3695782.html
Sent from the Users forum mailing list archive at Nabbl
You can use CssAttributeModifier to specify a different class.
*Bruno Borges*
www.brunoborges.com.br
+55 21 76727099
On Fri, Jul 22, 2011 at 4:56 AM, raju.ch wrote:
> Hi, I'm using wicket 1.4 and my site contains one Template which
> header,footer,hor.menu and it is common to all the pages no
Read how many commas you have on this line.
On Tue, Jul 26, 2011 at 4:10 PM, eugenebalt wrote:
> I am overriding ListView and have the following issue:
>
> add(new ListView("books", (IModel) books) {
>
> @Override
> protected void populateItem(ListItem li) {
>
>
I am overriding ListView and have the following issue:
add(new ListView("books", (IModel) books) {
@Override
protected void populateItem(ListItem li) {
li.add(new Label("bookId"), new Model("a"));
}
});
The li
I have the exact same problem. I have Images coming from the DB, along with
other stuff, and I need to display them, per row, as , similar to how
Amazon.com lists their books next to book title, etc.
Is there an easy way to do it? Very common problem. Can someone show what
the HTML and Java shou
I believe this is already fixed.
And yes - I see no reason to run compressor over minified script.
On Tue, Jul 26, 2011 at 1:25 PM, Rob Shepherd (DataCymru)
wrote:
> Hi Wicket Users,
>
> For those of you who use JQuery, the default DEPLOYMENT mode Javascript
> compressor detects a comment within
No one has experience with LightBox/Slimbox/Shadowbox/Other? How do you
implement
same src (in ) and href (in ) attributes to make it works?
> -Original Message-
> From: Miroslav F. [mailto:mir...@seznam.cz]
> Sent: Monday, 25. July 2011 21:55
> To: users@wicket.apache.org
> Subject: RE:
Hi Wicket Users,
For those of you who use JQuery, the default DEPLOYMENT mode Javascript
compressor detects a comment within the
MINIFIED version of JQuery 1.6.2
AFFECTED: http://code.jquery.com/jquery-1.6.2.min.js (231kB)
UNAFFECTED: http://code.jquery.com/jquery-1.6.2.js(90kB)
We f
Actually by Servlet specification a Servlet/Filter can be destroyed at
any time without destroying the ServletContext and later re-inited
again.
That means Application#init()/destroy() can be called without
re-start/re-deploy of the application.
On Tue, Jul 26, 2011 at 11:13 AM, Miroslav F. wrote
As I understand it's called when app is undeployed or servlet container
(Tomcat, Jetty,...)
is going down. And it should be very long time after app is started.
> -Original Message-
> From: Martin Grigorov [mailto:mgrigo...@apache.org]
> Sent: Tuesday, 26. July 2011 08:21
> To: users@wic
1. I would recommend to use a connection pool, e.g. 'bonecp', 'c3p0' or 'dbcp'
instead of a single connection. Using a single connection that stays connected
to the db is a bad thing. You usually have to restart your web application when
the database gets restarted (or goes offline for some time
20 matches
Mail list logo