Grouped ListView

2012-03-12 Thread Jeffrey Schneller
I am looking to create a grouped listview where each group only contains a specific number of items. For example: I have a list of 5 items and I want each group to have 3 items in it. I would expect the html to look something like the following: div id=list div class=group

LDM - correct construction

2012-03-21 Thread Jeffrey Schneller
Is this the correct construction of a LDM where I need to use a service bean to access my database? The IMyService bean is injected on the page and passed to the LDM. Does this make the LDM hold a reference to the IMyService bean and possibly keep a connection from being put back into the

RE: LDM - correct construction

2012-03-21 Thread Jeffrey Schneller
an issue. Does your service manage its own connections? If so, is it a singleton? Other than that, I'd guess there's a bug in your transaction management such that a transaction gets started but not finished. HTH, Dan On Wed, Mar 21, 2012 at 1:45 PM, Jeffrey Schneller jeffrey.schnel

RE: LDM - correct construction

2012-03-21 Thread Jeffrey Schneller
PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: My service implementation uses hibernate dao objects which should be managing its own connections via the c3p0 connection pool. All my service objects and Dao objects are marked as singletons in my Spring applicationContext.xml

Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
I want to swap panels using the event model in 1.5. This is very similar to the panel swapping code (wicket 1.4.x) found in the Apache Wicket Cookbook but uses the event model instead. The problem is I can't set the panel equal to its replacement, like you would in 1.4.x. This is found on

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
OuterPanelClass.this.panel.replaceWith(replacement); OuterPanelClass.this.panel=replacement; -igor On Wed, Mar 28, 2012 at 11:33 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I want to swap panels using the event model in 1.5.  This is very similar to the panel swapping code (wicket 1.4

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
Subject: Re: Event handling and swapping panels paste your entire panel/page class... -igor On Wed, Mar 28, 2012 at 12:15 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Thanks.  But what does OuterPanelClass refer to in my example? I don't think either of these are right

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
, March 28, 2012 3:49 PM To: users@wicket.apache.org Subject: Re: Event handling and swapping panels that is correct -igor On Wed, Mar 28, 2012 at 12:41 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Here it is: public class Admin extends WebPage {        private Component

RE: Event handling and swapping panels

2012-03-28 Thread Jeffrey Schneller
); add(p3Link); } } François Le 28 mars 2012 à 22:35, Jeffrey Schneller a écrit : Only problem is that it is not working. The panels never update to the new panels. I can see that the onEvent fires as the javascript alert is shown. But the javascript is only shown the first

RE: Repalcement of servlets in wicket.

2012-03-29 Thread Jeffrey Schneller
I would stop using 1.4.10 as it is very old at this point. If you are just starting out I would use 1.5.x where x is the latest revision. If you need to stay in the 1.4.x world then I would go with 1.4.20 which I think is the most current version. -Original Message- From:

RE: Favicon best practice

2012-03-30 Thread Jeffrey Schneller
I just put the favicon.ico at the root of the WebContent directory and don't specify anything in the HTML. I believe browsers look in the root unless specified differently in the html (like you are doing). BTW... app is on Apache + Tomcat and runs as the root app of the tomcat instance.

wicketstuff.org - down

2012-04-03 Thread Jeffrey Schneller
Wicketstuff.org appears to be down. Any ideas on when it will be back up?

RE: Built with Wicket: showcases for Wicket applications

2012-04-12 Thread Jeffrey Schneller
Thanks for the reminder. FYI... whoever built ZipGrocery - you are running your site with the ajax debugger still on. -Original Message- From: Martijn Dashorst [mailto:martijn.dasho...@gmail.com] Sent: Thursday, April 12, 2012 5:49 AM To: users@wicket.apache.org Subject: Built

RE: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Jeffrey Schneller
Are you using Apache HTTPD in front of your app server? If so, you can just use a Rewrite Rule to send the 301 redirect with the new URL. You may want to look into your app server to see if url rewriting is an option. -Original Message- From: jarnis

RE: Anybody is having problems with Wicket and Facebook Like button?

2012-07-05 Thread Jeffrey Schneller
We have been using the Like button on one of our client's sites. I have not been told of or noticed any problems with it. I believe we are removing the JSESSIONID as well. -Original Message- From: Alec Swan [mailto:alecs...@gmail.com] Sent: Thursday, July 05, 2012 2:47 PM To:

RE: Appending to CSS url to prevent caching.

2012-10-03 Thread Jeffrey Schneller
You could just add your own cache buster. You could do something like: String cachebuster = something that will always be unique - maybe time stamp; response.renderCSSReference(style/theme.css? + cachebuster); not sure if this will bust the cache because the file is really the same. -or-

<    1   2