Re: How to resolve this java.util.ConcurrentModificationException

2013-07-17 Thread Francois Meillet
LRUMap is not synchronized and is not thread-safe, you must use appropriate synchronization. see http://commons.apache.org/proper/commons-collections//javadocs/api-3.2.1/org/apache/commons/collections/map/LRUMap.html François Meillet Formation Wicket - Développement Wicket Le 17 juil.

Table with a lot of ajax links

2013-07-17 Thread DaveS
Hi guys, I am making table of some items. Table component is default wicket DataTable. Table page size is 100 items per page and data have several pagings. So that is easy. Now I would like to add 5 ajax links related to row item. That is also no problem and easy and everythings works fine. But

Re: Table with a lot of ajax links

2013-07-17 Thread Cedric Gatay
Hi,you can have a look at what Martin Grigorov is doing onhttps://issues.apache.org/jira/browse/WICKET-5267. It's exactly what you are talking about.Regards, On 17 juillet 2013 at 09:17:52, DaveS (david.sku...@gmail.com) wrote: Hi guys, I am making table of some items. Table component is default

Re: Table with a lot of ajax links

2013-07-17 Thread Ernesto Reinaldo Barreiro
Hi, For some application with very big tables with lots of links and AJAXy things I have done the following. 1- Place a an AbstarctAjaxBehavior at table level. 2- Create special link components that all what they do I submit info about their ID to this unique AbstarctAjaxBehavior. 3- On server

Re: Table with a lot of ajax links

2013-07-17 Thread Ernesto Reinaldo Barreiro
The same approach was used for things like dragging cells around... and many other dirty tricks... If you do this in an organized manner you could still have something that is not 100% the wicekt way but still have some nice componentization. As Cedric said martin is working to deliver something

Re: Wicket plugin architecture

2013-07-17 Thread Decebal Suiu
Hi If anybody is interested, Wicket Plugin https://github.com/decebals/wicket-plugin is now available on github. Best regards, Decebal -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-plugin-architecture-tp4652305p4660307.html Sent from the Users forum

Re: Table with a lot of ajax links

2013-07-17 Thread DaveS
Thanks guys, that's exactly what I am looking for. Dave -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Table-with-a-lot-of-ajax-links-tp4660303p4660308.html Sent from the Users forum mailing list archive at Nabble.com.

Gmap3 custom Icon

2013-07-17 Thread tomatconvien
Hi to all, I am trying to customize the default marker.png by defining GIcon with a custom xxx.png but it just doesn´t want to show up in my map. The default marker.png is shown without problems. I am getting no errors. Can someone help me out on this one? I am using wicket 6.8.0 with

how to set width for DataTable (column) header.

2013-07-17 Thread wicket_user_100
Hi All, I'm trying to set a width for a DataTable column: ListIColumnlt;Corpus, String ret = Lists.newArrayList(); ret.add(new AbstractColumnCorpus, String(new Model()) { @Override public void populateItem(ItemICellPopulatorlt;Corpus cellItem, String componentId,

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-17 Thread Andrew Schetinin
Hi Sebastien, I've tried it - used getCallbackFunction() - but it generated a function inside function, and broke JS syntax. I've tried a couple of other ideas, but none worked. Regards, Andrew -- Andrew Schetinin On Wed, Jul 17, 2013 at 1:54 AM, Sebastien seb...@gmail.com wrote: Hi, I

Re: Form questions

2013-07-17 Thread Daniel Watrous
That's what I tried to do. I created CnavForm.java and CnavForm.html. In the latter file I have this wicket:panel form wicket:id=cnavForm... // form details /form /wicket:panel Then I have CnavModify.java and CnavModify.html. You already see what I have in CnavModify.java from my

Re: Form questions

2013-07-17 Thread Daniel Watrous
I can make it work if I put the markup from CnavForm.html directly into CnavModify, but the form is not as reusable then. I would have to duplicate the markup for other pages that use the same form... Dnaiel On Wed, Jul 17, 2013 at 9:55 AM, Daniel Watrous dwmaill...@gmail.comwrote: That's

Re: Form questions

2013-07-17 Thread Daniel Watrous
I think I'm getting it now. The Form needs to be embedded in a panel for the type of inclusion that I'm interested in. I created a CnavFormPanel.java and changed CnavForm.html to CnavFormPanel.html. I left CnavForm.java alone. In CnavModify.java I removed this Form form = new

Re: wicket based e-mail UI

2013-07-17 Thread Piratenvisier
What do you expect ? Only sending emails to an address. Managing incoming emails and outgoing emails. At the moment I am using cocoon for outgoing emails sending always a copy to my mail account. I tried this already as a test in wicket because I wanted to leave cocoon because development slowed

Re: Tree with different BookmarkablePageLink per Node

2013-07-17 Thread Piratenvisier
I made a solution of the first kind. I made Foo a subclass of WebPage. I think the only reason to use this class is that the parent brings in the call setResponsePage where the page itsself is a Field in Foo of Type Page which can be loaded externally, so that I don't need declare the pages

Re: wicket based e-mail UI

2013-07-17 Thread Cedric Gatay
Hi,I don't know such Wicket based application, however it could be a great project if you're willing to start it and OSS it, don't hesitate to tell the world on this mailing list to get some help.Regards, On 17 juillet 2013 at 20:06:09, Piratenvisier (hansheinrichbr...@yahoo.de) wrote: What do you

Re: Gmap3 custom Icon

2013-07-17 Thread Joachim Rohde
Hi Tom, you need to pass a valid URL (as a string) to GIcon, e.g.: Icon hotelIcon = new GIcon(http://www.yourdomain/img/Hotel.png;); In case you are using Maven and Spring I would suggest that you inject the base-URL depending on the Maven-profile into a variable so that you don't have to

Re: Gmap3 custom Icon

2013-07-17 Thread Sven Meier
Please take a look at CustomPointPage in wicketstuff-gmap3-examples. It uses custom marker images. Where are your images located in your war? Sven On 07/17/2013 03:55 PM, tomatconvien wrote: Hi to all, I am trying to customize the default marker.png by defining GIcon with a custom xxx.png

FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
Hi, I'm working on a modification of the FeedbackPanel to work better with my theme. I would like to prevent the class for the actual message from being appended to. Right now MessageListView is a private final class and the populateItem adds an AttributeModifier to both the label and the

Re: FeedbackPanel customization

2013-07-17 Thread Sebastien
Hi Daniel, In such a case, you have to not use getCSSClass, but override newMessageDisplayComponent instead. You have a sample here: https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/panel/JQueryFeedbackPanel.java

RE: FeedbackPanel customization

2013-07-17 Thread Paul Bors
Of course you can always override them in CSS as well. /* FEEDBACK MESSAGES */ .feedbackMessages { padding-left: 0; padding-top: 0; text-align: left; margin-left: 0; margin-top: 0; padding-bottom: 1em; } .feedbackMessages div { padding: 0.5em; font-size:

Re: FeedbackPanel customization

2013-07-17 Thread Cedric Gatay
Hi,the fix for the issue you face with Css classes has been integrated into Wicket 7.0 (https://issues.apache.org/jira/browse/WICKET-4852).Regards, On 17 juillet 2013 at 22:54:37, Daniel Watrous (dwmaill...@gmail.com) wrote: Hi, I'm working on a modification of the FeedbackPanel to work better

Re: FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
Hi Sebastian, I looked at your example, but it's not quite what I need. I want the style applied to 'messages' but not to 'message'. Your example seems to allow for a style to be applied to 'message' and not to 'messages' I've tried implementing it, but that's where I'm stuck. Am I missing

Re: FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
This is what I ended up doing. Hopefully, as Cedric points out, it will be more flexible in Wicket 7 and I can come back and clean it up. Thanks. On Wed, Jul 17, 2013 at 3:23 PM, Paul Bors p...@bors.ws wrote: Of course you can always override them in CSS as well. /* FEEDBACK MESSAGES */

Re: wicket based e-mail UI

2013-07-17 Thread Ernesto Reinaldo Barreiro
Cedric, Thanks for your answer. 1- I ideally we would like to have something similar to evolution and WEB based: and in Wicket so it can be seamless integrated with the rest of our applications. 2- We are using bootstrap. SO, if we develop something it might be bootstrap based. 3- My boss is a

Re: wicket based e-mail UI

2013-07-17 Thread Ernesto Reinaldo Barreiro
we would like to have the basic functionality first but the more get the better... On Wed, Jul 17, 2013 at 10:04 PM, Piratenvisier hansheinrichbr...@yahoo.dewrote: What do you expect ? Only sending emails to an address. Managing incoming emails and outgoing emails. At the moment I am using

Brazilian Portuguese localization question

2013-07-17 Thread Maxim Solodovnik
Hello All, I'm trying to provide Brazilian Portuguese localization for our wicket based application by appending _pt_BR to the names of html template files like this: CongratulationsPanel_pt_BR.html surprisingly after adding portuguese (Brazil) as browser primary language the localized template

Re: How to hide an optional Image component?

2013-07-17 Thread Stefan Renz
Hi Sven, Sven Meier wrote: apart from asking the database _again_ for the data or presence thereof Whether the image is visible must be determined when the page is rendered. The actual loading of the image is done in another request. Thus two times to ask the databse. thanks for reminding

Re: How to hide an optional Image component?

2013-07-17 Thread Stefan Renz
Hello, just to tie up loose ends -- here's the solution I decided on: First, a Model encapsulates the logic and DB-access for a Logo object. I can pass this into a LogoResource (extends DynamicImageResource), which streams out the data from that Model's object. The model, however, also serves to