Re: Tools for Managing a Wicket Project

2009-05-01 Thread Linda van der Pal
Sonar is a tool that measures code quality, based on a lot of other tools like PMD, CheckStyle, Cobertura, and others. I've just started using it and it's very good. You should be able to get Effective Java at all the better bookstores and otherwise online at places like Amazon.com. Regards,

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-01 Thread Linda van der Pal
Could anybody tell me what I'm doing wrong? My code compiles just fine, but I get a runtime exception saying that the Publisher class doesn't have a publisher attribute. (Which is correct, it has a name and an id attribute.) What should I change to make it get name from Publisher instead? (Or g

Re: Analyzing Request Logger

2009-05-01 Thread Martijn Dashorst
GiB vs GB Martijn On Thu, Apr 30, 2009 at 11:58 PM, Douglas Ferguson wrote: > Shouldn't this: >                        long max = runtime.maxMemory() / 100; >                        long total = runtime.totalMemory() / 100; >                        long used = total - runtime.freeMemory(

Wicket Offline Applications

2009-05-01 Thread Carlo Camerino
Hi, Is there any project which has Wicket And Google Gears Integration? Wicket has really done a lot of us in speeding up development time. Coming from a struts we saw the power of Wicket in terms its reusability and i've noticed that wicket already did most of the tasks that we would have to manu

Re: Share Localization across many pages/componets

2009-05-01 Thread Mathias Nilsson
You could do this in your base class if you use markup inheritence public String getResource( String resource ){ return Application.get().getResourceSettings().getLocalizer().getString( resource, null, ""); } -- View this message in context: http://www.nabble.com/Share-Localization-across-ma

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-01 Thread Linda van der Pal
Hmm, maybe I can phrase that question simpler. If I have a table that shows BookListItems, which have a Publisher as one of their attributes and I want to be able to filter on the publisher, what should be passed on to the ChoiceFilteredPropertyColumn as the fourth parameter? (IModel> filterCho

Re: Wicket Offline Applications

2009-05-01 Thread James Carman
Are you sure a banking application would be the right place for a gears-based implementation? Wouldn't it be kinda important to make sure the main server knows where everything is, when money is concerned? On Fri, May 1, 2009 at 4:04 AM, Carlo Camerino wrote: > Hi, > > Is there any project which

Re: wicket URL rewrite in Opera

2009-05-01 Thread kan
2009/4/30 Mathias Nilsson : > www.eddyemery.com/items/brand/17 It's ridiculous, but if I go on the url, firstly it responses with Status: 302 Moved Temporarily Location: https://www.eddyemery.com/items/brand/../../items/brand/17 And seems the Opera is confused. Try to get rid of the redirect, no

Re: Wicket Offline Applications

2009-05-01 Thread Carlo Camerino
it's not for the public to use. but rather for people within the banks. internal applications. sometimes central connection is not available. On Fri, May 1, 2009 at 9:37 PM, James Carman wrote: > Are you sure a banking application would be the right place for a > gears-based implementation? Woul

Re: Wicket Offline Applications

2009-05-01 Thread James Carman
ah, then proceed! :) It's an interesting idea. Don't know how it would work, though. On Fri, May 1, 2009 at 10:31 AM, Carlo Camerino wrote: > it's not for the public to use. but rather for people within the banks. > internal applications. sometimes central connection is not available. > > O

Re: Wicket Offline Applications

2009-05-01 Thread Carlo Camerino
ya, most bank applications are front end applications that simply require that input be captured. and some minor validations. Of course, there would be two modes, offline and online mode. Would really be nice to implement this one. On Fri, May 1, 2009 at 10:34 PM, James Carman wrote: > ah, t

Re: Share Localization across many pages/componets

2009-05-01 Thread Jeremy Thomerson
Typically you should avoid this raw data push / pull and instead use a ResourceModel. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 3:22 AM, Mathias Nilsson wrote: > > You could do this in your base class if you use markup inheritence > > public String getResource(

Re: ChoiceFilteredPropertyColumn and FilterToolbar examples

2009-05-01 Thread Jeremy Thomerson
Shouldn't the line below have "name" rather than "publisher"? I haven't used this filtered thing in a while, but from your error, that's what it sounds like the problem is. You're passing it a Publisher, and it's saying that it doesn't have a "publisher" field on it - because you told it to use t

Re: Wicket Offline Applications

2009-05-01 Thread Jeremy Thomerson
I haven't looked into Gears at great length, but I think you may be up against a wall here - where the two may be incompatible. Offline gears applications require fat clients. Wicket isn't typically for making fat clients because everything about it ties it back to the server. If you already hav

problems with tinymce

2009-05-01 Thread balingen tame
I am having lot of troubles with tinymce ,First please suggest me where to get working tinymce java script files so that I can build the working tinymce, I copied text from ms-word to tinymce and surprisingly nothing gets posted to server, second If I use tinymce in a modelwindow with a panel , the

Re: Tools for Managing a Wicket Project

2009-05-01 Thread Matt Welch
Tools that our team is using (after some trial and error): IDE - Eclipse/IDEA Source Control - SVN Build - Maven Local Network Maven Repo - Nexus (after a year trying different ones) Build Server - TeamCity, which absolutely rocks (We actually purchased and used Bamboo for 9 months. I can't beli

Re: Wicket Offline Applications

2009-05-01 Thread Ryan Gravener
I would just make an adobe air application for offline use. Ryan Gravener http://isithotinhereorisitjust.me | http://twitter.com/ryangravener On Fri, May 1, 2009 at 10:53 AM, Jeremy Thomerson wrote: > I haven't looked into Gears at great length, but I think you may be up > against a wall here

update ModalWindow content by another link?

2009-05-01 Thread Quan Zhou
Hi, My application's built with WIcket 1.3, and I use ModalWindow to implement most of my functions. I really do some modification to meet my needs. but there's a problem i cannot find any idea to solve that. My scenario is that: There're 2 links (Link A, Link B) in the index Page. Clicking each li

Re: Tools for Managing a Wicket Project

2009-05-01 Thread Carlo Camerino
ya first time i actualy looked at sonar.i guess it's different from sonarj. I thought they were the same thing. I see this in the spring website. Will take a look at it.. Seems like a tool which will be useful for us. On Fri, May 1, 2009 at 3:28 PM, Linda van der Pal < lvd...@heritageagenturen.nl

Re: Tools for Managing a Wicket Project

2009-05-01 Thread Carlo Camerino
we used to be bugzilla, mediawiki, continuum statck.we moved to Trac. It was simply amazing with all those plugins. Code Review WIth Trac Is Good. Review Board is also good software but it doesn't suit our programming needs. On Fri, May 1, 2009 at 11:38 PM, Matt Welch wrote: > > Tools that our

Re: Wicket Offline Applications

2009-05-01 Thread Carlo Camerino
ya i guess they are mostly for rich internet applications use.First thing I'd have to work on is to have tight with integration with a specific javascript framework. Wonder how gmail does it. Offline gmail simply is the best. On Fri, May 1, 2009 at 11:39 PM, Ryan Gravener wrote: > I would just m

Re: update ModalWindow content by another link?

2009-05-01 Thread Igor Vaynberg
the whole idea of a *modal* window is that once it is shown you cannot click on anything that is not inside the modal window... i would rethink your requirements or start thinking about how to make the window nonmodal. -igor On Fri, May 1, 2009 at 8:46 AM, Quan Zhou wrote: > Hi, > My applicatio

Re: update ModalWindow content by another link?

2009-05-01 Thread Quan Zhou
yes. In fact, I add a script to prevent the mask of the window "Wicket.Window.Mask.prototype.show = function(){}" then I can click some other link on the page while modalwindow is shown. I must admit this requirement is weird. Because I'm developing on an existing system which is designed witho

[Fwd: TreeTable and column issues]

2009-05-01 Thread Karen Schaper
Hi, I need help with an issue I am having with the org.apache.wicket.extensions.markup.html.tree.table.TreeTable component. Is there anyway to have the column widths adjust to the data that is in the table? If the columns are not wide enough the data does not appear. The customer has compute

Re: Null model with CheckGroup

2009-05-01 Thread OjO
Thank you, Igor! I had trouble subscribing to the mailing list. Just noticed your response on my Nabble Alert today. I also found out it by checking the source code of Check.java. Here is my code sample: List selectedItems = (getSelectedList() == null ? new ArrayList() : n

Re: problems with tinymce

2009-05-01 Thread Jeremy Thomerson
Code helps us help you. Post code for us to help you. I would suspect that tinymce js files come with the tinymce integration. If not, the place to get working tinymce files would be from tinymce's website. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 10:02 AM, b

Changing the attribute of a ListView tag?

2009-05-01 Thread VGJ
I'm working with a 3rd. party Flash-based application which I'm trying to integrate with our data. To make a long story short, When the user clicks on a US state or foreign country, I would like to un-hide a hidden tag on the same page. The div tag is tied to a ListView - so basically, there are

Re: Wicket Offline Applications

2009-05-01 Thread Jeremy Thomerson
Gmail uses a fat client - which is what GWT grew out of. -- Jeremy Thomerson http://www.wickettraining.com On Fri, May 1, 2009 at 10:55 AM, Carlo Camerino wrote: > ya i guess they are mostly for rich internet applications use.First thing > I'd have to work on is to have tight with integration

Re: Changing the attribute of a ListView tag?

2009-05-01 Thread Igor Vaynberg
are you trying to hide the entire listview or rows of the listview? the current code will hide rows because the tag you attach the listview to is repeated for each row. if you want to hide the entire list you should put the listview into a webmarkupcontainer and hide that instead. if you want to

Does javascript:onload get executed on each ajax update ?

2009-05-01 Thread taha siddiqi
Hi All, I have to execute some code every time a form gets loaded. When I load the form in a non-ajax way it works but in an ajax call it fails to run the script. I have added an IHeaderContributor which contributes using TextTemplateHeaderContributor.forJavaScript. The script is uploaded on dom