Re: [Wicket-user] DataTable header manipulation

2006-10-07 Thread Leszek Gawron
Igor Vaynberg wrote: what if you have two datatables on a page? then your ids are no longer unique. that is why classes should be used... -- Leszek Gawron - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [Wicket-user] JBOSS Reload Classes

2006-10-07 Thread Gwyn Evans
I guess it depends on what you're doing, but while I do have other levels of testing, i.e. local WebLogic on WinXP remote WebLogic on Solaris, I've yet to come across anything that differs between Jetty WebLogic during my development use. While I'd certainly advocate final testing on the

Re: [Wicket-user] Add addictional resource folder

2006-10-07 Thread Gwyn Evans
Hmm, I considered doing that when I started, but couldn't decide what to call the folder, as it would have any of .html, .properties, .css or .js files, so never felt happy with it! :-) (Partial) alternatives might be IDEA's Sort By Type in the Project view, or using Maven's src/main/resources

Re: [Wicket-user] Problem with FormBorder and not visible components (in trunk)

2006-10-07 Thread Alberto Bueno
Hi Juergen Donnerstag, The example BoxBorderTestPage_7 runs correctly because you only render the page only one time. The problem is if you have to reload the page again, because TextField has been removed in the first rendering and the markup doesn't find this component in the second

Re: [Wicket-user] 1.2.2 branch is perfect so far

2006-10-07 Thread Martijn Dashorst
Yeah, wicket maven repo on sf.net is throttled by sf.net (they don't serve files other than html, jpg, gif and png with full speed to discourage binary distribution outside the file release system. But for non-snapshot releases we have a good sync script with the maven folks to ibiblio. Snapshot

Re: [Wicket-user] JBOSS Reload Classes

2006-10-07 Thread Martijn Dashorst
At our company we develop on both jetty and tomcat. Our current deployment server is tomcat or resin, though we are looking at using resin for clustering. We find it healthy when we can be sure that our application will work in several containers as that gives us a lot of options in production.

Re: [Wicket-user] JBOSS Reload Classes

2006-10-07 Thread Martijn Dashorst
Oh btw. I develop on OS-X, my co-workers on both linux and Win-XP and we deploy on linux. I also test the application in Safari and firefox, my coworkers do the IE thing and firefox. This way we ensure our application doesn't run off and stops working completely in one of the major browsers. One

Re: [Wicket-user] JBOSS Reload Classes

2006-10-07 Thread Erik van Oosten
That sounds nice. I always redeployed the complete ear. You had to restart JBoss after every 2 to 3 deployments because of the memory problem. I found it a very annoying process. In my current project I am very happy to work with Jetty. We will deploy and test on WebLogic though. I am not

Re: [Wicket-user] Resource Bundle Best Practice

2006-10-07 Thread Erik van Oosten
Craigdd, Wicket surprised me with a very advanced resource loading concept. You can define .properties files for any component and then there is a clever searching algorithm that moves up in the component hierarchy. In practice you can define labels on any component, any override those in any

Re: [Wicket-user] [ANN] Intellij Idea wicket plugin

2006-10-07 Thread Anders Holmbech Brandt
Hello Gwyn, Friday, October 6, 2006, 5:37:13 PM, you wrote: On 05/10/06, Anders Holmbech Brandt [EMAIL PROTECTED] wrote: Hello Justin, Thursday, October 5, 2006, 10:35:35 PM, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Two bits (but no shave or a haircut): 1.

[Wicket-user] ajax request does not recreate component with changed model

2006-10-07 Thread Ryan Sonnek
I have a page with a local variable currentItem. I'm trying to use an ajax request to change that item and refresh a detail panel, but the component does not reflect the changes. AjaxLink link = new AjaxLink(selectItem) { public void onClick(AjaxRequestTarget target) { currentItem = item;

Re: [Wicket-user] ajax request does not recreate component with changed model

2006-10-07 Thread Matej Knopp
Your problem is that you create label with constant modal, that is set to the value of currentItem.getName. So even if you change current item later, the item container is not recreated, thus the label still shows old current item name. The solution would be to create the label like this

Re: [Wicket-user] ajax request does not recreate component with changed model

2006-10-07 Thread Ryan Sonnek
That worked great, thanks!!I had tried the property model approach, but it didn't work because I wasn't using the EnclosingClass as the modelObject On 10/7/06, Matej Knopp [EMAIL PROTECTED] wrote:Your problem is that you create label with constant modal, that is set to the value of

Re: [Wicket-user] Resource Bundle Best Practice

2006-10-07 Thread Eelco Hillenius
A nice little extra thing is that those files are loaded through our normal resource loading mechanism, meaning that if you're in development mode and make changes, they will be reloaded. Eelco On 10/7/06, Erik van Oosten [EMAIL PROTECTED] wrote: Craigdd, Wicket surprised me with a very

Re: [Wicket-user] 1.2.2 branch is perfect so far

2006-10-07 Thread Igor Vaynberg
there is also maven.sateh.com/wicketOn 10/7/06, Martijn Dashorst [EMAIL PROTECTED] wrote:Yeah,wicket maven repo on sf.net is throttled by sf.net (they don't servefiles other than html, jpg, gif and png with full speed to discouragebinary distribution outside the file release system.But for

Re: [Wicket-user] source 1.5 for phonebook?

2006-10-07 Thread Igor Vaynberg
what do you mean?phonebook 1.2 is jdk1.4 compliant-IgorOn 10/7/06, Martijn Dashorst [EMAIL PROTECTED] wrote:Is that also a requirement for phonebook? MartijnOn 10/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote: not in the 1.2 branch - that one should work with java 1.4 -Igor On 10/6/06, Geoff

Re: [Wicket-user] JBOSS Reload Classes

2006-10-07 Thread Eelco Hillenius
I'm getting the impression that most people are using jetty with wicket which makes me wonder how main stream this framework is. Erm. AFAIK, Jetty has been the default servlet container for JBoss for ages. :) Eelco - Take

Re: [Wicket-user] source 1.5 for phonebook?

2006-10-07 Thread Eelco Hillenius
I wouldn't care about loosing that JDK1.4 compliancy. It's just an example. Eelco On 10/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote: what do you mean? phonebook 1.2 is jdk1.4 compliant -Igor On 10/7/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Is that also a requirement for

Re: [Wicket-user] Add addictional resource folder

2006-10-07 Thread Eelco Hillenius
I created a custom resource stream locator that locates .html files located in an html/ folder below the component. At least that way I can keep the .html separate from the .java class files. I generally get about 10-30 class files per package and it's nice having them separated into

Re: [Wicket-user] ajax request does not recreate component with changed model

2006-10-07 Thread Igor Vaynberg
or just doadd(new Label(currentItemName, new AbstractReadOnlyModel() {Object getObject(Component c) { return currentItem.getName(); }});-IgorOn 10/7/06, Ryan Sonnek [EMAIL PROTECTED] wrote: That worked great, thanks!!I had tried the property model approach, but it didn't work because I wasn't

Re: [Wicket-user] navigation inside a tabbed panel

2006-10-07 Thread Eelco Hillenius
To work with panels and component replacement. That way you would hardly ever work with setReponsePage, but rather with Component#replaceWith or MarkupContainer#replace in Wicket 1.2.x, or in Wicket 2.0, you would just create the new component with the proper parent or in case you'd want to reuse

[Wicket-user] set target level to 1.4

2006-10-07 Thread Geoff hendrey
the ShadesContactDao just uses some autoboxing. Nothing that won't compile fine to jdk 1.4 and run fine on jdk 1.4. therefore, there should be no problem with source1.5/source target1.4/target anyway, I have requestd an upload of shades jar to ibibilio. Soon as that is online at ibiblio, I

Re: [Wicket-user] Give a dynamic generated image a pretty name

2006-10-07 Thread Frank Bille
OK thanx guys. I'll try 'em out. Frank On 10/6/06, Eelco Hillenius [EMAIL PROTECTED] wrote: There's also SharedResources#putClassAlias to shorten names for acouple of classes that might be an issue. EelcoOn 10/5/06, Johan Compagner [EMAIL PROTECTED] wrote: you could play with: public final void