Re: Issues with HeaderResponseContainerFilteringHeaderResponse

2011-08-05 Thread Loren Cole
for 1.5 On Wed, Aug 3, 2011 at 6:36 PM, Loren Cole loren.c...@gmail.com wrote: 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

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

Re: Issues with HeaderResponseContainerFilteringHeaderResponse

2011-07-21 Thread Loren Cole
...@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 loren.c...@gmail.com wrote: We're making our application skinable, but I'm having some trouble getting user specified css

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 wicket-m...@gmx.de 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... +

DropDownChoice with tooltip

2010-12-01 Thread cole
I needed tooltip functionality on a dropdownchoice component and I have a work around but it involved copying a bunch of existing code because I couldn't figure out an easy way to add title to an html select-option. The IChoiceRenderer passed into the DropDownChoice only has getter/setters for

Lazy Load Panel at runtime from another jar

2010-11-03 Thread cole
I have simple plugin frame work for my app. I load plug-in's at startup. What I would like is to have the plug-in supply a panel for exposing the plugin's functionality. So a wicket page loads, the app determines if pluginA is available and calls, pluginA.getPanel(). pluginA is in a separate jar,

Re: AccordionPanel works on web page but not in another panel

2010-08-23 Thread cole
Example of valid markup (component on a page): wicket:panel dl class=accordion-menu wicket:panel dt class=a-m-t

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 {

AccordionPanel works on web page but not in another panel

2010-08-20 Thread cole
Wicket 1.4 and using the AccordionPanel/AccordionPanelItem src from the wicket-contrib-accordion area. I can place this component on a web page via and it works fine. When I try to place this same component in another tab panel it fails. The page actually hangs with no output. I used fiddler to

Re: Exempt pages from pagemap

2010-05-20 Thread Loren Cole
, Loren Cole loren.c...@gmail.com 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 setResponsePage(new MyPage(params); to get to these pages

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

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 jer...@wickettraining.comwrote: On Mon, Nov 2, 2009 at 4:57 PM, Loren Cole loren.c...@gmail.com wrote: HomePage hp = (HomePage) this.findPage

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

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

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

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 marcin.pa...@gmail.comwrote: 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.

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.

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

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

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

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

Re: Custom styles for trees

2007-12-12 Thread Loren Cole
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 icons from a LinkTree and I'm not entirely sure how to go about it. As far