Re: Brazilian Portuguese localization question

2013-07-18 Thread Sven Meier
Hi, that should work. Put a breakpoint on Session#locale and check whether the locale is picked up correctly. Sven On 07/18/2013 07:13 AM, Maxim Solodovnik wrote: Hello All, I'm trying to provide Brazilian Portuguese localization for our wicket based application by appending _pt_BR to the

Re: Gmap3 custom Icon

2013-07-18 Thread tomatconvien
Hi, Joachims solution worked for me! Thanks to all helpers! Tom -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Gmap3-custom-Icon-tp4660309p4660334.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Brazilian Portuguese localization question

2013-07-18 Thread Maxim Solodovnik
Thanks for the quick response Sven, The locale is detected as pt_BR On Thu, Jul 18, 2013 at 2:25 PM, Sven Meier s...@meiers.net wrote: Hi, that should work. Put a breakpoint on Session#locale and check whether the locale is picked up correctly. Sven On 07/18/2013 07:13 AM, Maxim

Re: Brazilian Portuguese localization question

2013-07-18 Thread Maxim Solodovnik
Not sure if it is important information or not. The only component displayed on page is Wizard Wizard buttons are in Portuguese Brazil and panels are in English :( On Thu, Jul 18, 2013 at 2:40 PM, Maxim Solodovnik solomax...@gmail.comwrote: Thanks for the quick response Sven, The locale is

Re: Brazilian Portuguese localization question

2013-07-18 Thread Maxim Solodovnik
Sorry Sven, Template files are named incorrectly, sorry for disturbing you On Thu, Jul 18, 2013 at 2:42 PM, Maxim Solodovnik solomax...@gmail.comwrote: Not sure if it is important information or not. The only component displayed on page is Wizard Wizard buttons are in Portuguese Brazil and

Re: Problem with wiQuery Dialog after upgrade to Wicket 6.9

2013-07-18 Thread Andrew Schetinin
Hi, To anybody interested, I've found a workaround that worked. I've added an invisible link into the dialog and simulated clicking on it: HTML code for the link: a wicket:id=submitFormInvisibleButton style=visibility: collapse; / Java code for the link: submitLink = new AjaxSubmitLink(

Re: how to set width for DataTable (column) header.

2013-07-18 Thread Sven Meier
Hi, I've just added an AttributeModifier to wicket-example's DataTablePage and it works: @Override public void populateItem(ItemICellPopulatorContact item, String componentId, IModelContact rowModel) {

RE: conditional component / as singleton on page

2013-07-18 Thread Chris Colman
ModalX allows you to create set of 'generic' modal windows waiting in the wings ready for display. Any specific modal that you want simply needs to derive from a generic modal class and you can then open it at will. See here for info and demo:

Re: Wicket 1.4.7 request listener

2013-07-18 Thread Entropy
1) Many of those suggestions appear to be 1.5 or greater. I am in 1.4.7. 2) A simple filter does indeed get me the events, but at that point, how am I to know what page is being worked with? My objective is to set some properties that our database code picks up for the audit log. We want this

Wicket Atmosphere - Encoding and MultiTab issues

2013-07-18 Thread fliptaboada
Hi, I'm using wicket atmosphere on multiple pages to push some messages, like when a report is ready. The first problem is that the html updated by the wicket-atmosphere response arrives with broken enconding. Everything is fine until the respose reaches the jquery.atmosphere javascript.

CSV-Export change Datepattern

2013-07-18 Thread Christoph.Manig
Hello, in my application I have a table which includes a column timestamp. I have created this column with the help of a Panel which includes a DateLabel. columns.add(new PropertyColumnProtocolRecord, String(new

RE: how to add select/deselect all checkbox to wicket DataTable

2013-07-18 Thread Paul Bors
The code is not on any repo outside of myco's SVN repo. As I mentioned, it's based on a LabeledAjaxLinkPanel which is nothing but a AjaxLink with a label so you'd have to refactor some of it. Anyhow, here's the Java code: package

Wicket/JQuery internals advanced problem / LazyLoadedPanel with AjaxLink / AjaxLink on click not executed

2013-07-18 Thread Patrick Davids
Hi all, I have a very special problem with ajax lazy loaded panels, which contains ajax links. Problem: AjaxLink does not execute onclick. Does not reach server / no client-side execution in browser occurs. What I investigated until now: - client-side script evaluation of lazy loading panel

Re: Wicket/JQuery internals advanced problem / LazyLoadedPanel with AjaxLink / AjaxLink on click not executed

2013-07-18 Thread Sven Meier
What's the markup of the component you're binding the AjaxLink to? Sven On 07/18/2013 03:53 PM, Patrick Davids wrote: Hi all, I have a very special problem with ajax lazy loaded panels, which contains ajax links. Problem: AjaxLink does not execute onclick. Does not reach server / no

Re: CSV-Export change Datepattern

2013-07-18 Thread Francois Meillet
Could be interresting : http://stackoverflow.com/search?q=excel+date+format http://dailydoseofexcel.com/archives/2010/10/06/excel-converts-to-date-when-opening-csv/ François - François Meillet Formation Wicket - Développement Wicket -- View this message in context:

Re: CSV-Export change Datepattern

2013-07-18 Thread Sven Meier
CSVDataExporter uses the Application's converters: IConverter converter = Application.get().getConverterLocator().getConverter(c); So register a suitable converter in your application. Alternatively create a new Jira issue to allow passing an IConverterLocator into CSVDataExporter.

Re: Wicket/JQuery internals advanced problem / LazyLoadedPanel with AjaxLink / AjaxLink on click not executed

2013-07-18 Thread Patrick Davids
Hi Sven, it's a simple a. Patrick Am 18.07.2013 16:08, schrieb Sven Meier: What's the markup of the component you're binding the AjaxLink to? Sven On 07/18/2013 03:53 PM, Patrick Davids wrote: Hi all, I have a very special problem with ajax lazy loaded panels, which contains ajax links.

Re: Inmethod Grid on IE9

2013-07-18 Thread Jose Mauricio Meraz Mercado
It seems there was something wrong with my IE, now it is working fine Thanks 2013/7/12 Jose Mauricio Meraz Mercado jmm...@gmail.com Hi, Currently on the application we are developing we are using InMethod grids, when those grids have a horizontal scroll bar there is a strange behavior

Re: Inmethod Grid on IE9

2013-07-18 Thread Dan Simko
Hi, my IE has the same problem. But unfortunately I do not have any idea how to fix (except to remove horizontal scrollbar). On Thu, Jul 18, 2013 at 5:02 PM, Jose Mauricio Meraz Mercado jmm...@gmail.com wrote: It seems there was something wrong with my IE, now it is working fine Thanks

Last cause: can't serialize class $Proxy23

2013-07-18 Thread Daniel Watrous
My Wicket application uses Guice for DI and some AOP. I have successfully injected a DAO and used that to display records. However, when I try to save a new record in my form, I get the following exception Root cause: java.lang.IllegalArgumentException:

Re: Wicket/JQuery internals advanced problem / LazyLoadedPanel with AjaxLink / AjaxLink on click not executed

2013-07-18 Thread Sven Meier
Sorry, it was just a wild guess that you bound an AjaxBehavior to a wicket:container tag :(. I already made a quickstart with different lazyloaded panels, and all ajaxlinks are working fine. Try to find the difference. Sven On 07/18/2013 04:38 PM, Patrick Davids wrote: Hi Sven, it's a

Re: Last cause: can't serialize class $Proxy23

2013-07-18 Thread Daniel Watrous
I found that having my DAO implement Serializable got me past the exception. Is Wicket attempting to serialize my DAO? On Thu, Jul 18, 2013 at 11:24 AM, Daniel Watrous dwmaill...@gmail.comwrote: My Wicket application uses Guice for DI and some AOP. I have successfully injected a DAO and used

Re: Form questions

2013-07-18 Thread Daniel Watrous
I've made a lot of progress and been through chapters 9 and 10 of Wicket Free Guide, but I'm still stumped on point #2, pre-populating the form. Here's what I have right now: public class CnavForm extends Form { @Inject private CnavUrlDAO cnavUrlDAO; public CnavForm(String id) {

RE: Form questions

2013-07-18 Thread Paul Bors
Okay let's pre-populate this field: add(new TextField(url, new PropertyModel(cnavUrl, URL)) .setRequired(true) .add(new UrlValidator())); Its mode is a new PropertyModel(cnavUrl, URL), which is the CnavUrl cnavUrl = new MorphiaCnavUrl();. So it's the

Re: Last cause: can't serialize class $Proxy23

2013-07-18 Thread Gabriel Landon
Your DAO is declare in your form and you use it inside an inner method, so yes, wicket is going to serrialize it. I think you should use @SpringBean, instead of @inject. -- View this message in context:

Re: Mutliple forms - single login popup

2013-07-18 Thread Jeff Schneller
Easy enough to implement when 1 form with submit button on page. Much more difficult when there are N forms with a submit button on a page. Each modal would need to have a different onSubmit() behavior so that the correct form is processed after the authentication occurs. On Sunday, July

Re: Last cause: can't serialize class $Proxy23

2013-07-18 Thread Dan Retzlaff
No, Wicket is not trying to serialize your DAO. The exception occurs in the action phase of the request handling. It looks like you've passed an object to MongoDB which has a reference to the @Injected DAO, or at least to the component that has the DAO. It's this MongoDB