Re: Issues with HeaderResponseContainerFilteringHeaderResponse

2011-08-05 Thread Loren Cole
emy attached the raw application in this mail thread and I > > transformed it to proper wicket-example for 1.5 > > > > On Wed, Aug 3, 2011 at 6:36 PM, Loren Cole wrote: > > > Hey guys, thanks for your responses. We're still using 1.4, it looks > like > >

Re: Issues with HeaderResponseContainerFilteringHeaderResponse

2011-08-03 Thread Loren Cole
Hey guys, thanks for your responses. We're still using 1.4, it looks like it will be a few months till we get to upgrade and use all the improvements that have been made to resource handling in 1.5. In 1.4 it appears that you cannot put a bucket in the header without things getting confused and fa

Re: Issues with HeaderResponseContainerFilteringHeaderResponse

2011-07-21 Thread Loren Cole
eremy Thomerson < jer...@wickettraining.com> wrote: > To start, don't use a Label to contribute css. Use a header contributor. > That's what they're made for. > On 2011 7 19 13:22, "Loren Cole" wrote: > > We're making our application skinable, but

Issues with HeaderResponseContainerFilteringHeaderResponse

2011-07-19 Thread Loren Cole
We're making our application skinable, but I'm having some trouble getting user specified css into the right place in the header. We're working in a distributed environment, so instead of saving their css in the file system we're putting it in our database, and in order to get the cascade to work

Re: Set default coding strategy

2011-04-01 Thread Loren Cole
Awesome. We are already using wicketstuff-annotation, annotating the base class is the (now obvious) solution we were looking for. Thanks, Loren On Fri, Apr 1, 2011 at 4:10 AM, Mike Mander wrote: > Am 31.03.2011 17:39, schrieb Loren Cole: > > We're using annotations to mount

Set default coding strategy

2011-03-31 Thread Loren Cole
We're using annotations to mount our pages, and would like to set things up so they use HybridUrlCodingStrategy by default. Does anyone know of a way to do this? Thanks, Loren

Unable to find the markup for the component.

2011-02-25 Thread Loren Cole
I've got a situation where we're lifting a panel out of a page and making it the content of a modal window, like so: @Override public void setPage(final WebPage page) { Component panel; if(page instanceof EmbeddedPage) { logger.debug("embedded panel p..." + page.get("popcontainer:c

Models not updating when submitting form with AjaxButton

2010-08-23 Thread Loren Cole
I can't seem to get my models to update when I submit a form using AjaxButton. Originally my code looked like this, and I though it should just work, but when you click the submit link parentService is null and bundles and elements are empty lists.: class AddServices extends BasePage { Abac

Re: Exempt pages from pagemap

2010-05-20 Thread Loren Cole
Tue, May 18, 2010 at 10:38 PM, Loren Cole wrote: > > I've got a couple of pages which display data that changes often and I > want > > to be sure that when a user hits refresh they get a fresh new copy of > that > > page. Unfortunately, if I've used setRespon

Exempt pages from pagemap

2010-05-18 Thread Loren Cole
I've got a couple of pages which display data that changes often and I want to be sure that when a user hits refresh they get a fresh new copy of that page. Unfortunately, if I've used setResponsePage(new MyPage(params); to get to these pages, then a refresh does not update the data, while hitting

Re: Page model returning null

2009-11-03 Thread Loren Cole
Oh. That is embarrassing. Sorry for taking your time. On Mon, Nov 2, 2009 at 7:47 PM, Jeremy Thomerson wrote: > On Mon, Nov 2, 2009 at 4:57 PM, Loren Cole wrote: > > >HomePage hp = (HomePage) this.findPage(); > >ModelEntity acco

Page model returning null

2009-11-02 Thread Loren Cole
I've got the following bits of code: public HomePage(PageParameters parms) { this(); Long accountId = parms.getLong("accountId"); account = new ModelEntity(Account.class, accountId); setModel(account); ... public class EditContactDetails extends Panel{ public E

Re: Override IE AutoComplete with wicket's AutoCompleteTextField

2009-08-06 Thread Loren Cole
I ran into this problem on firefox 3.0 using wicket 1.3.5. Firefox wanted autocomplete="off", instead of autocomplete="false" which is what AutoCompleteTextField was using. W3schools doesn't specify a value for this attribute, so I'm assuming it's not all ironed out yet. I fixed it with the foll

Re: Wicket, Jboss, EJB3

2009-07-24 Thread Loren Cole
You are a gentleman and a scholar. Thanks! - Loren On Fri, Jul 24, 2009 at 5:34 PM, Marcin Palka wrote: > > Looks like it works with 5.1GA too. See attached quickstart project. It's a > maven-based enterprise application project that consists of a EJB, WAR and > EAR modules. Build it and deploy

Wicket, Jboss, EJB3

2009-07-24 Thread Loren Cole
I've been using wicket-contrib-javaee-1.1 with glassfish for a while and it works fairly well, but the powers that be have decided we should try porting to JBoss and I cannot for the life of me get injection to work with Wicket on JBoss-5.1.0.GA. Has anyone else done this? If so what did you need

Re: building extensible components

2009-01-16 Thread Loren Cole
> by "class proliferation" you mean having to extend a base class? well, I mean using three classes to do what I've been accomplishing with one - it struck me as off, but I'm sure you guys know what you're about :) Jonathan, thanks for the advise.

Re: building extensible components

2009-01-15 Thread Loren Cole
No that is pretty much what I meant. The composition solution would involve and abstract superclass and then for each kind of widget a fairly trivial implementation of the superclass, a static panel, and a dynamic panel. It's just that all that class proliferation gives me a nasty feeling and I'd

building extensible components

2009-01-15 Thread Loren Cole
I'm building an app that will have *lots* of panels that all follow a very similar pattern: They have a form and a static view whose visibility gets toggled when when you click edit/cancel|save|delete They display a warning if their model is empty They pop up a warning when you delete them They al

Re: Problems Refreshin a Image from AjaxLink

2008-01-04 Thread Loren Cole
I haven't found anything that does a good job covering Wicket 1.3 and I haven't looked at books which cover older versions. There is "Enjoying Web Development With Wicket" which is available as an ebook, but it is really a series of how-to's - fairly superficial, with no real discussion of how the

Re: Custom styles for trees

2007-12-12 Thread Loren Cole
> You need to override the getImageResourceReference method of > LabelIconPanel (or LinkIconPanel). Look at the default implementation > in LabelIconPanel. > > -Matej > > On Dec 12, 2007 9:27 PM, Loren Cole <[EMAIL PROTECTED]> wrote: > > I'd like to remove the folder and page ico

Custom styles for trees

2007-12-12 Thread Loren Cole
I'd like to remove the folder and page icons from a LinkTree and I'm not entirely sure how to go about it. As far as I can tell I need to create a LinkIconPanel instead and then add a blank image component to it... Or is there some way I can reference the image and set it's visible flag? Why isn