Re: Server and client side validation

2013-05-08 Thread Cedric Gatay
Hi, I've not yet tried to plug it inside a modal window. But I see no reason for it to fail. Le 7 mai 2013 20:15, Gabriel Landon glan...@piti.pf a écrit : Hi Cedric, Yes I've seen what you have done. Did you manage to make it works with forms in ModalWindow? Regards, Gabriel. --

Re: [wicket 6] Modal unable to see page's properties anymore ?

2013-05-08 Thread Martin Grigorov
Check https://github.com/apache/wicket/blob/master/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent1Page.java On Tue, May 7, 2013 at 4:54 PM, smallufo small...@gmail.com wrote: Hi , I found no IPageReference class . If you mean PageReference , I finally

Re: How to unit test AttributeModifier

2013-05-08 Thread Martin Grigorov
Also check AttributeModifierTest in wicket-core/src/test/java/.. On Tue, May 7, 2013 at 5:31 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: attribute modifiers are behaviors, so use component.getbehavior(AttributeModifier.class) to get it. -igor On Tue, May 7, 2013 at 8:24 AM, Dmitriy

Re: Error in the semantics of names. AjaxLazyLoadPanel.java

2013-05-08 Thread Martin Grigorov
Fixed. Thanks! On Wed, May 8, 2013 at 12:53 AM, Raul ralva...@netwie.com wrote: Error in the semantics of names. AjaxLazyLoadPanel.java I saw a little mistake semantic,:, Class AjaxLazyLoadPanel, Wicket 6.7.0 / ** * Called When the placeholder component is Replaced with the lazy loaded

Re: Server and client side validation

2013-05-08 Thread Martin Grigorov
Hi Gabriel, I guess ParsleyJS checks that the parameter for #validate() is a 'form' element. Since this is a nested form Wicket transforms it to a DIV, because otherwise the HTML will not be valid. Wicket knows how to deal with submitting nested forms but you have to do some manual work for

Re: Wicket RepeatingView refresh / rerender ? Possibilities? [List items missing]

2013-05-08 Thread Jesse Long
Hi, Just override RepeatingView#onPopulate() like this: @Override protected void onPopulate() { removeAll(); // TODO: populate items here, like: // add(new Label(newChildId(), Date is: + new Date().toString())); } Also may be a good idea to call onPopulate() from onInitialize(),

Re: Wicket RepeatingView refresh / rerender ? Possibilities? [List items missing]

2013-05-08 Thread DaWicketUser
It works now. It was my mistake. The list could be updated BUT not under my conditions: I used SpringSecurity and Wicket in combination to achieve user authentication. A user autenticated through ldap in my wicketSession. The Autentication holds an user object with all stuff i needed (name, sn,

ModalWindow and Form problems

2013-05-08 Thread Michal Wegrzyn
Hi, We are using modal window with two forms at the moment: FilterForm and Form (Wicket 1.5.9) (inside bean edit panel with ajax). FilterForm is not used at the moment (hidden filter fields). Everything works fine in IE and Firefox but in Chrome form tag is not rendered (only body of the form

Re: FW: VITO:(CC0000002070237):Contracts from OPIB ZM from this week are not available in Signature

2013-05-08 Thread Martin Grigorov
Hi Malay, On Wed, May 8, 2013 at 12:14 PM, malay.na...@kpn.com wrote: Hi Martin, Any update on this issue? Please do let us know if you need any information from our side. I didn't receive a compiled explanation of your problem as I requested. You just forwarded some long internal

could not find component x on page y error

2013-05-08 Thread Giovanni Cuccu
Hi, I'm facing a random error and I'm not able to trace its cause. The error is 'could not find component x on page y error' The problem is that the component named x has never been on page y. The component name reported in the error is an old one (which is not in the jar app anymore) and it

Re: could not find component x on page y error

2013-05-08 Thread Giovanni Cuccu
Hi, I'm using wicket 6.6. thanks, Giovanni Il 08/05/13 12:52, Giovanni Cuccu ha scritto: Hi, I'm facing a random error and I'm not able to trace its cause. The error is 'could not find component x on page y error' The problem is that the component named x has never been on page y. The

Re: How to unit test AttributeModifier

2013-05-08 Thread Kees van Dieren
Another option is to use the TagTester: TagTester tester = wicketTester.getTagByWicketId(containerId); tester.getAttribute(name); // returns: anyDynamicValue Best regards / Met vriendelijke groet, Kees van Dieren Squins IT Solutions BV Oranjestraat 30 2983 HS Ridderkerk The Netherlands

Re: CheckGroup, CheckGroupSelection and Check behavior

2013-05-08 Thread David Beer
Hi All I have one other issue. When I use the Navigation in the table and navigate to the second page, it keeps the selection on page 1 until i make a new selection. Also If I hit submit on page the selection is blank. 1. How do I go about keeping the selection from page 1 in the table. 2.

How to refresh a tab

2013-05-08 Thread saty
I have a multi level tabbed application using org.wicketstuff.security.extensions.markup.html.tabs.ISecureTab and com.apollo.security.swarm.html.SecureLoggableTabbedPanel i want to refresh a tab as based on some user selection on that tab the tab need to show different data etc and its hard to

Re: How to refresh a tab

2013-05-08 Thread saty
Actually target.add(getPanel()); seems to be doing what i need but i have a problem here and hoping someone would be able to help, i dont have any great background in java script stuff, we picked up wicket hoping we dont have to deal with that. My JavaScript are not firing such as..

Re: How to refresh a tab

2013-05-08 Thread Bertrand Guay-Paquet
Hi, Is your javascript running when the page is created and then not when you refresh the tab or not at all? How are you adding the javascript to the page? On 08/05/2013 11:18 AM, saty wrote: Actually target.add(getPanel()); seems to be doing what i need but i have a problem here and hoping

Re: How to refresh a tab

2013-05-08 Thread saty
yes, when the panel normally loads the java scripts are added as renderHead(IHeaderResponse response) { . response.render(JavaScriptHeaderItem.forReference(new PackageResourceReference(Mypanel.class,custom.js))); } and this is working fine. -- View this message in context:

version of jquery in org.wicketstuff.jquery

2013-05-08 Thread fachhoch
some of my jquery plugins are not working, I am using wicket 1.4.21 and wicketstuff jquery 1.4.21. What version of jquery this comes with? , can I upgrade the jquery.js file to newer version ? -- View this message in context:

Re: How to refresh a tab

2013-05-08 Thread Bertrand Guay-Paquet
Try it with OnDomReadyHeaderItem or OnLoadHeaderItem nstead of JavaScriptHeaderItem Wicket's ajax implementation makes sure that header items are rendered once only. On 08/05/2013 12:10 PM, saty wrote: yes, when the panel normally loads the java scripts are added as

Handling user-specific timezones

2013-05-08 Thread Dan Retzlaff
Hi all, I'd like to know what conventions you've established for your sites that deal with users in many time zones. Do you simply replace the converters (Date, SqlDate, SqlTime, SqlTimestamp)? Do you avoid MessageFormats in StringResourceModels? (I don't see a way to configure its

Re: FW: VITO:(CC0000002070237):Contracts from OPIB ZM from this week are not available in Signature

2013-05-08 Thread Jeremy Thomerson
Also, have you tried debugging this on your own? Problems with opening PDFs in-browser vs. externally are almost always caused by misconfigured HTTP response headers, specifically Content-Disposition. This happens in any framework - it's up to you to set the appropriate response headers. Malay

RE: FW: VITO:(CC0000002070237):Contracts from OPIB ZM from this week are not available in Signature

2013-05-08 Thread malay.nayak
Hi Martin, Any update on this issue? Please do let us know if you need any information from our side. Thanks Regards, Malay Kumar Nayak KPN-ECM-TAM, IBM India Private Ltd. EGL C-Block ,2nd Floor Bangalore Email:-malan...@in.ibm.com KPN Account Mobile-09742290785