Calling an async third party function when submitting an AjaxButton

2020-02-14 Thread Gabriel Landon
Hi, In a form I have a form with an AjaxButton. On the button's click I would like to be able to call an async third party javascript function(recaptcha V3). Is there a way to call it and in the "then" function do the wicket's ajax call. Something like : grecaptcha.execute('', {}).then(); I

Re: Google reCAPTCHA V3 wicket component?

2020-02-13 Thread Gabriel Landon
As I said it's far from perfect! The code is for wicket 7 indeed. I was not aware to the 2 minutes limit and I never hit it. A solution would be to call grecaptcha.execute on the button's click, wait for the response and then submit the ajax request. I'm not a JS expert, thus I don't know how

Re: Google reCAPTCHA V3 wicket component?

2020-01-28 Thread Gabriel Landon
Hi Chrisco, It's far from perfect, but here's a good start : AjaxRecaptchaV3Validator.java Regards, Gabriel. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: LambdaModel does not implements IPropertyReflectionAwareModel

2019-05-02 Thread Gabriel Landon
Sven, Thank you for your help. I will stick with PropertyModel. Regards, Gabriel. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

LambdaModel does not implements IPropertyReflectionAwareModel

2019-04-25 Thread Gabriel Landon
Hi, I'm moving projects from wicket 7.0 to wicket 8.0 that use the wicket-bean-validation module for automatic validation of form (@NotNull, @Size, ...). I'm now using the LambdaModel instead of PropertyModel, but unfortunately, LambdaModel does not implement IPropertyReflectionAwareModel, so I

Re: What should I use to perform the crawler test?

2018-01-26 Thread Gabriel Landon
Hi Sokab, I usually use Selenium with a "By" class using the wicketPath. Here's the code I use : WicketBy.java Regards, Gabriel -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

Re: Wicket Wizard Query

2017-08-08 Thread Gabriel Landon
Hi CN, Have you checked the wicket examples : http://examples7x.wicket.apache.org/wizard Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Wizard-Query-tp4678477p4678489.html Sent from the Users forum mailing list archive at Nabble.com.

Re: how to get parent listView item index in the child listview populateItem method

2017-08-03 Thread Gabriel Landon
Why don't you rename your parameters so that you can clearly see which item is which. /protected void populateItem(ListItem *parentItem*) { ... protected void populateItem(ListItem *childItem *) { ... yesRadio.setOutputMarkupId(true).setMarkupId("corectRadio_Y_"+

Re: Generated IDs

2017-02-07 Thread Gabriel Landon
For my selenium tests I activate the wicket path (set you application in development mode) and use the following class : /** * Use wicket path dans for selenium tests. * * wicket-selenium * */ public final class WicketBy extends By

Re: [ANNOUNCE] WicketStuff 7.3.0 Released

2016-05-10 Thread Gabriel Landon
A big thank you to kkaravitis for his work on the portlet bridge. I will definitely use it within the year to upgrade to wicket 7 and liferay 6.2. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ANNOUNCE-WicketStuff-7-3-0-Released-tp4674633p4674636.html Sent from the

RE: Misunderstanding : Unable to find component with id 'phl' or A child with id 'phl' already exists:

2016-03-22 Thread Gabriel Landon
Sorry, I still don't get it. What are you trying to set? There is no link in your example, only labels. If you want to change the text in the label, you can use models instead of static strings. If you want to add a link in your header you can have a look at OrderByBorder... regards, Gabriel.

Re: Misunderstanding : Unable to find component with id 'phl' or A child with id 'phl' already exists:

2016-03-22 Thread Gabriel Landon
PHL, I'm sorry but it's hard to understand what your are trying to do. Anyway, I find the X1 class very strange. I think you simply need to remove the "ajout" method as the label is already added in the constructor. You cannot add a label several times on the same panel unless you are using a

Re: wicketstuff-select2 and Bootstrap 3

2016-01-14 Thread Gabriel Landon
Ernesto, I've done a simple behavior that I add to the select2 component when needed. public class Select2CssBehavior extends Behavior { /** serialVersionUID. */ private static final long serialVersionUID = 1L; /** Select2 CSS for bootstrap. */ private static final

Re: wicketstuff-select2 and Bootstrap 3

2016-01-13 Thread Gabriel Landon
Sorry, I'm still using select2 V3.5. I did not know the wicketstuff-select2 had been upgraded to V4. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-select2-and-Bootstrap-3-tp4673303p4673316.html Sent from the Users forum mailing list archive at

Re: wicketstuff-select2 and Bootstrap 3

2016-01-13 Thread Gabriel Landon
Hi Tom, This is the one I use : https://fk.github.io/select2-bootstrap-css/ regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-select2-and-Bootstrap-3-tp4673303p4673313.html Sent from the Users forum mailing list archive at Nabble.com.

Re: wicketstuff-select2 and Bootstrap 3

2016-01-13 Thread Gabriel Landon
Have you tried with this one : https://github.com/select2/select2-bootstrap-theme regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-select2-and-Bootstrap-3-tp4673303p4673317.html Sent from the Users forum mailing list archive at

Re: Wicket 7.1.0 breaks OnChangeAjaxBehavior on Select2

2015-10-28 Thread Gabriel Landon
Maybe it is also related to the problem I'm having in 7.1.0 with wicket path and TransparentWebMarkupContainer See : http://apache-wicket.1842946.n4.nabble.com/wicket-7-1-0-change-in-wicket-path-with-TransparentWebMarkupContainer-tp4672400.html -- View this message in context:

wicket 7.1.0 change in wicket path with TransparentWebMarkupContainer

2015-10-27 Thread Gabriel Landon
Hello, I've upgraded to wicket 7.1.0 and since then many of my unit tests fail. I've figured out that the wicket path has changed : TransparentWebMarkupContainer's objects are now in the wicket path (so they are not transparent anymore!). Is it a bug, or should I change all my paths in my

Re: 3rd Party jQuery component wants jquery-2.1.1 but Wicket uses jquery-1.11.3

2015-10-09 Thread Gabriel Landon
A small rectification : on the official website for jquery 2.x they drop support for IE6/7/8. It should work with IE9. http://jquery.com/browser-support/ -- View this message in context:

Re: Responsive design with Wicket

2015-09-21 Thread Gabriel Landon
Hi, This has already been asked and answered here : http://apache-wicket.1842946.n4.nabble.com/wicket-bootstrap-project-tp4671844p4671845.html Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Responsive-design-with-Wicket-tp4671999p4672010.html Sent

Re: Modal closed callback

2015-08-27 Thread Gabriel Landon
You mean something like this : public class PanelContentModal extends ModalVoid { /** close callback. */ private WindowClosedCallback windowClosedCallback = null; public PanelContentModal(final String varMarkupId) { super(varMarkupId); setUseCloseHandler(true); }

Re: Fields in modal window not resetting

2015-07-07 Thread Gabriel Landon
As your formComponents are bind to dictModelBean with a PropertyModel, you must reset the object in your model with something like : dictModelBean.setObject(new DictBean()); -- View this message in context:

Re: Wicket6 setResponsePage() stackoverflow error.

2014-11-25 Thread Gabriel Landon
I know it's not the error you report, but did you add liferay-web-xml-enabled=false in the liferay-plugin-package.properties file. I had to do that to have portlet work with liferay 6.1 and 6.2 see : http://apache-wicket.1842946.n4.nabble.com/wicket-portlet-and-liferay-6-1-td4650001.html Also I'm

Re: Wicket6 setResponsePage() stackoverflow error.

2014-11-25 Thread Gabriel Landon
Well I don't known if the code I've modified is relieable enough... I've just debug what seems to be wrong for my personal usecases. Feel free to use it and improve it! For me the wicketuff-portlet code is a complete maze!! -- View this message in context:

Re: setVisible on a WebMarkupContainer during initial page render based on ListChoice value

2014-04-30 Thread Gabriel Landon
Hi, Please read : http://wicket.apache.org/guide/guide/bestpractices.html#bestpractices_5 http://www.mail-archive.com/dev@wicket.apache.org/msg07123.html You can override isVisible() or do the setVisible into the onConfigure() method. Regards, Gabriel. -- View this message in context:

Re: Why resource bundles and how to use them ?

2014-04-01 Thread Gabriel Landon
Is that what you are looking for : http://wicketinaction.com/2012/07/wicket-6-resource-management/ https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/WicketApplication.java Regards, Gabriel. -- View this message in context:

Re: custom bootstrap stylesheet

2014-03-21 Thread Gabriel Landon
Here's what I'm doing with a less reference (would be the same for css). public abstract class AbstractPage extends WebPage { /** Less/css reference. */ private static final LessResourceReference MY_LESS_REFERENCE = new LessResourceReference(AbstractPage .class, css/style.less);

Re: Testing Form with AjaxSubmitLink

2014-03-13 Thread Gabriel Landon
As Martin said you can use : tester.clickLink(form:submit, true); You can also use : tester.executeAjaxEvent(form:submit, onclick); Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Testing-Form-with-AjaxSubmitLink-tp4664946p4664949.html Sent from

Re: tinymce textarea in a modal window not letting to type

2014-02-07 Thread Gabriel Landon
I remember having the same problem on a project I've done last year. Here's the code I'm using (I think that it's the TinyMceAjaxSubmitModifier that is important) : final TextAreaString textArea = new TextAreaString(property, getModel()); textArea.add(new

Re: Wicket-Bootstrap Question

2014-01-09 Thread Gabriel Landon
In the init() method of your application class : final BootstrapSettings settings = new BootstrapSettings(); //add theme (optional) settings.setThemeProvider(new SingleThemeProvider(BootswatchTheme.CERULEAN)); Bootstrap.install(this, settings); In your page class : @Override public void

Re: Auto-save feature

2014-01-07 Thread Gabriel Landon
I don't know if that is what you are looking for but there is a JS script that can do it for your. Data are store locally. http://garlicjs.org/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-save-feature-tp4663517p4663521.html Sent from the Users forum mailing

Re: Please remove the spam post from the wicket forum

2014-01-02 Thread Gabriel Landon
Can't the administrators blacklist/ban them? There are only 4 spammers spamming the nabble forum for a couple of weeks now... Is there a way to filter not accepted yet post? I haven't found the option if it exists! -- View this message in context:

Re: Please remove the spam post from the wicket forum

2013-12-30 Thread Gabriel Landon
Yes to would be nice to get rid of all those spam on Nabble! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Please-remove-the-spam-post-from-the-wicket-forum-tp4662979p4663326.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Radios and checkboxes with Bootstrap

2013-12-17 Thread Gabriel Landon
Bertrand, I'm sure that we can add a new BootstrapRadioChoice in the wicket-bootstrap project. Can you please open a ticket here : https://github.com/l0rdn1kk0n/wicket-bootstrap/issues?state=open And if you can do a PR that would be great. Regards, Gabriel. -- View this message in context:

Re: Show Stacktrace in ErrorPage

2013-12-09 Thread Gabriel Landon
In your application init() method add : getExceptionSettings().setUnexpectedExceptionDisplay(IExceptionSettings.SHOW_EXCEPTION_PAGE); Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Show-Stacktrace-in-ErrorPage-tp4662842p4662863.html Sent from

Re: Wicket and Responsive Design question

2013-12-03 Thread Gabriel Landon
For this, I'm using Twitter's Bootstrap 3 : http://getbootstrap.com It's mainly HTML5 and CSS 3 stuff. With the wicket-boostrap project : https://github.com/l0rdn1kk0n/wicket-bootstrap/ The master branch is still using Bootstrap2 but there is a bootstrap3 branch. Enjoy. -- View this

Re: Error in authentication

2013-10-03 Thread Gabriel Landon
Did you check that your are using the same version for both jar? pom.xml : properties *wicket.version6.11.0/wicket.version* /properties dependency groupIdorg.apache.wicket/groupId artifactId*wicket-core*/artifactId

Re: StalePageException's followed by An error occurred while checking whether a page is stateless. Assuming it is stateful.

2013-09-24 Thread Gabriel Landon
Hi, It happens to me once. It was because I was using a model on a page that was not detached. Have a look at your ProductShowPage.class and check that you have overrides onDetach() : /** * @see org.apache.wicket.Page#onDetach() */ @Override protected void onDetach() {

Re: Get help for Apache Wicket users list

2013-09-11 Thread Gabriel Landon
Hi, isValid is final, but you can overrides onValidate /** * @see AbstractValidator#onValidate(IValidatable) */ @Override protected void onValidate(IValidatableString validatable) { String url = validatable.getValue();

Re: DataTable + Categories

2013-09-03 Thread Gabriel Landon
Hi, Maybe you could use org.apache.wicket.extensions.markup.html.repeater.tree.TableTree Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataTable-Categories-tp4661178p4661181.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Internal frame in Wicket Page to external website

2013-08-23 Thread Gabriel Landon
Haiko, Ok, but InlineFrame works only for wicket page, not external page. Or am I missing something? Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Internal-frame-in-Wicket-Page-to-external-website-tp4661032p4661064.html Sent from the Users forum mailing

Re: Internal frame in Wicket Page to external website

2013-08-22 Thread Gabriel Landon
Hi Martino, Maybe you can do something like that : -in your html file : iframe wicket:id=myFrame/iframe -in you java file : WebMarkupContainer container = new WebMarkupContainer(myFrame); container.add(new AttributeAppender(src, Model.of(http://www.yourwebsite.com;))); add(container); You

Re: Internal frame in Wicket Page to external website

2013-08-22 Thread Gabriel Landon
Haiko, I'm not aware of an InternalFrame class in wicket. In which package did you find it? Reagrds, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Internal-frame-in-Wicket-Page-to-external-website-tp4661032p4661041.html Sent from the Users forum

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-16 Thread Gabriel Landon
Thank you very much Sven. I've grabbed the new source code, but there seems to have something wrong with the unit test (mvn test) : 369 [main] INFO org.apache.wicket.Application - [WicketTesterApplication-e6fcee33-24d3-4380-803d-4903860437c6] init: Wicket extensions initializer 371 [main] WARN

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-13 Thread Gabriel Landon
Thank you very Sven. Here's what I've done for the 2nd solution (base on DefaultPropertyResolver) : public class LazyModelPropertyResolver implements IPropertyResolver { @Override public Property resolveProperty(final FormComponent? component) { IModel? model =

Re: wicketstuff-lazymodel and wicket-bean-validation

2013-08-13 Thread Gabriel Landon
The previous code was flawed. Here's the right one! It's far from perfect but as I'm using only IObjectClassAwareModel models it's working! public class LazyModelPropertyResolver implements IPropertyResolver { @Override public Property resolveProperty(final FormComponent?

wicketstuff-lazymodel and wicket-bean-validation

2013-08-12 Thread Gabriel Landon
Hi, I've been using wicketstuff-lazymodel for weeks now and I love it! Now I'm trying to use it with wicket-bean-validation, but I've got the following error : /Could not resolve Property from component: [TextField [Component id = code]]. Either specify the Property in the constructor or use a

Re: gmap2, wicket 6.9 and ajax refresh

2013-08-01 Thread Gabriel Landon
Thank you for you help Martin. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/gmap2-wicket-6-9-and-ajax-refresh-tp4660564p4660630.html Sent from the Users forum mailing list archive at Nabble.com.

Re: gmap2, wicket 6.9 and ajax refresh

2013-07-31 Thread Gabriel Landon
Martin Grigorov-4 wrote But this looks wrong. 1) OnLoadHeaderItem can be used 2) or OnEventHeaderItem with 'unload' event. Note that there is no 'on' prefix when using event registration So what you mean is that in GMapHeaderContributor.java the line

Re: gmap2, wicket 6.9 and ajax refresh

2013-07-31 Thread Gabriel Landon
Martin in the javadoc there's an example saying onclick. So should it be click? /** * Creates a {@link OnEventHeaderItem} for the given parameters. * * @param target *The target of the event handler, for example 'window' or 'document'.

gmap2, wicket 6.9 and ajax refresh

2013-07-30 Thread Gabriel Landon
Since I've upgrade from wicket 6.8.0 to wicket 6.9.1, many of my gmap panel are not working anymore when I do an ajax refresh on them. From what's I've discovered is that on the refresh the Wicket.Event.add(window, onUnload, function(event) { google.maps.Unload();;}); has became

Re: gmap2, wicket 6.9 and ajax refresh

2013-07-30 Thread Gabriel Landon
Sorry to have bother you with this. There's already an issue open for this for those who have the same problem! https://issues.apache.org/jira/browse/WICKET-5248 -- View this message in context:

Re: http://wicketinaction.com/ broken?

2013-07-29 Thread Gabriel Landon
Thank you very much Martijn. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/http-wicketinaction-com-broken-tp4660379p4660533.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: JUnit Tests failing after config change

2013-07-25 Thread Gabriel Landon
Mike, Maybe you could just add this in you pom.xml : dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.5/version scopetest/scope

http://wicketinaction.com/ broken?

2013-07-19 Thread Gabriel Landon
Hi, The website wicketinaction.com seems to be down, only the home page is working. All the other pages return a 404. Where can I find a working version of the website? Regards, Gabriel. -- View this message in context:

Re: http://wicketinaction.com/ broken?

2013-07-19 Thread Gabriel Landon
The home page dos work : wget http://wicketinaction.com/ --2013-07-19 10:40:45-- http://wicketinaction.com/ Résolution de wicketinaction.com... 94.124.120.40 Connexion vers wicketinaction.com|94.124.120.40|:80...connecté. requête HTTP transmise, en attente de la réponse...*200 OK* But not

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: Ajax Refreshing Issue

2013-07-16 Thread Gabriel Landon
Which version of wicket are your using? I remember AjaxSelfUpdatingTimerBehavior was not working in 6.3.0 https://issues.apache.org/jira/browse/WICKET-4886 Regards, Gabriel. -- View this message in context:

Re: wicket wiki down?

2013-06-27 Thread Gabriel Landon
Yes I did reach this 404 page with a Google search. Yes it would be nice to have a redirect to the new wiki or at least a warning message. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-wiki-down-tp4659747p4659873.html Sent from the Users forum mailing list

wicket wiki down?

2013-06-24 Thread Gabriel Landon
Hi, I've got a 404 when I try to go to wicket wiki : https://cwiki.apache.org/WICKET/migration-to-wicket-60.html The homepage is working but not the other pages... Regards, Gabriel. -- View this message in context:

Re: Wicket with Spring for IOC

2013-06-24 Thread Gabriel Landon
It's here : https://cwiki.apache.org/WICKET/spring.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-with-Spring-for-IOC-tp4659746p4659748.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Annoying wicket API Docs ... includes exmaples api docs

2013-06-19 Thread Gabriel Landon
You can download the javadoc and unzip it. http://search.maven.org/remotecontent?filepath=org/apache/wicket/wicket-core/6.8.0/wicket-core-6.8.0-javadoc.jar Regards, Gabriel. -- View this message in context:

Re: Server and client side validation

2013-05-14 Thread Gabriel Landon
Martin, Thank you it was even easier than I though. /// starts parsley for this form (or the root form) final Form? form = (Form?) component; varResponse.render(OnDomReadyHeaderItem.forScript(String.format($('#%s').parsley();, form.getRootForm() .getMarkupId(;/

Re: Server and client side validation

2013-05-13 Thread Gabriel Landon
Hi Martin, It does work with the following code: /return $('#%s').closest('form').parsley( 'validate' );/ Thank you very much. To find out whether the form is in a ModalWindow or not, I've used the following code: /@Override public void renderHead(final IHeaderResponse varResponse) {

Re: Server and client side validation

2013-05-07 Thread Gabriel Landon
Hi Cedric, Yes I've seen what you have done. Did you manage to make it works with forms in ModalWindow? Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Server-and-client-side-validation-tp4658242p4658631.html Sent from the Users forum mailing

Re: Server and client side validation

2013-05-06 Thread Gabriel Landon
Martin, That's a great project! That's exactly what I've been waiting for! It would be very nice to have it in wicketstuff so we could upload it with maven and maybe extend it. Regards, Gabriel. -- View this message in context:

Re: Server and client side validation

2013-05-06 Thread Gabriel Landon
Martin, I've create a ParsleyRangeValidator and a ParsleyLengthValidator very easily thanks to your code. I've also create ParsleyForm that initializes Parsley in the RenderHead and a ParsleyAjaxButton that validates Parsley on submit. I only have one problem with forms in a ModalWindow. As the

Re: IThemableAplication no longer exists

2013-03-12 Thread Gabriel Landon
Just follow the migration guide : http://code.google.com/p/wiquery/wiki/Migration60 1 - The IWiQueryPlugin interface is now deprecated as users can now more easily render their statements in the Component#renderHead(..) function. This makes the interface rather useless. All code which you had in

Re: How to use Selenium IDE with wicket?

2013-02-07 Thread Gabriel Landon
Thank you Chris, There is definitely some wrong with selenium IDE in my firefox. Uninstalling and re-instaling the plugin did not work. I've done a fresh install of firefox and it works now! -- View this message in context:

Re: Eclipse JRE 1.5

2013-02-07 Thread Gabriel Landon
Hi Stephen, This did happen to me once! Did you check in your pom.xml that your source and target attributes are 1.6 ? plugin groupIdorg.apache.maven.plugins/groupId

Re: select2

2013-02-07 Thread Gabriel Landon
I'm using select on one of my project. You can override the CSS. You might have to use the !important syntax as the default select2.css file might be loaded after your own CSS file. Here's an example of my own CSS : .select2-container .select2-choice { background: none !important;

Re: How to use Selenium IDE with wicket?

2013-02-05 Thread Gabriel Landon
Hi, Does anyone can help me on this? I still can't manage to have Selenium IDE works with wicketpath. Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-use-Selenium-IDE-with-wicket-tp4655987p4656093.html Sent from the Users forum mailing

How to use Selenium IDE with wicket?

2013-01-31 Thread Gabriel Landon
Hello, I'm new to selenium IDE (1.10.0) and I'm trying to use it to test wicket (1.5.x and 6.x) applications. I've followed the tips in the wiki (https://cwiki.apache.org/WICKET/selenium-tips.html) but it doesn't seem to work. I've added this line in my application :

Re: load with AjaxLazyLoadPanel just once

2013-01-21 Thread Gabriel Landon
Maybe you can use something like this : new AjaxLazyLoadPanel(PanelId) { Panel myPanel; @Override public Component getLazyLoadComponent(String varMarkupId) { if (myPanel == null) { myPanel = new

Re: Wicket in PHP

2012-11-08 Thread Gabriel Landon
What is really funny is that it was an april's fool in 2009! http://apache-wicket.1842946.n4.nabble.com/Picket-Web-Framework-PHP-s-answer-to-Java-s-Wicket-td1881740.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-in-PHP-tp4653237p4653732.html Sent

Re: [Announce] wicket-dashboard

2012-09-25 Thread Gabriel Landon
If you look in the pom.xml, you will find the repo : repository idjofc2.maven.repo/id nameJOFC2 GoogleCode.com Snapshot Repository/name urlhttp://jofc2.googlecode.com/svn/repository/snapshots//url /repository -- View this

Re: Problems with ModalWindows during upgrade from 1.4 to 1.5

2012-09-05 Thread Gabriel Landon
Hi Greg, I think this is related to the problem I had last year : http://apache-wicket.1842946.n4.nabble.com/Page-serialization-problem-with-wicket-1-5-td4097909.html See https://issues.apache.org/jira/browse/WICKET-3751 https://issues.apache.org/jira/browse/WICKET-3809 Regards, Gabriel.

wicket portlet 1.5 and liferay 6.1

2012-06-14 Thread Gabriel Landon
For those who are having troubles making wicket-portlet works with liferay 6.1, here's the solution... I've many wicket 1.4 application that are just working fine in liferay 6.0. But when I put them in liferay 6.1, I get the following message : /20:49:12,379 ERROR [BasePortalLifecycle:45]

Re: WICKET-2056 broke DatePicker in ModalWindow in 1.4.16

2012-05-18 Thread Gabriel Landon
The ticket is here : https://issues.apache.org/jira/browse/WICKET-3579 But they won't fixed it as there is a workaround. For your component you can override the CSS with : overflow:hidden -- View this message in context:

Re: Reloading i18n on demand

2012-03-15 Thread Gabriel Landon
Maybe it's a bit too much but I use the following to reload the properties files : Application.get().getResourceSettings().getLocalizer().clearCache(); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Reloading-i18n-on-demand-tp3798545p4476299.html Sent from the Users

wicketstuff-tinymce not working in deployment mode

2012-02-10 Thread Gabriel Landon
On my latest project, I'm using wicketstuff-tinymce 1.5.4. It works fine when I'm in development mode, but when I switch to deployment, all the icons and images are gone. I've found that it as something to do with the JavaScript compressor which is disable in development mode and enable in

Re: Multiple Feedback panels in a page

2012-02-10 Thread Gabriel Landon
Maybe you should use ContainerFeedbackMessageFilter instead of ComponentFeedbackMessageFilter. Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multiple-Feedback-panels-in-a-page-tp4377392p4377960.html Sent from the Users forum mailing list archive

Re: any idea where this error comes from?

2011-12-20 Thread Gabriel Landon
I usually have this kind of error when the user use the browser's back button and then reused the form. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/any-idea-where-this-error-comes-from-tp4217040p4218803.html Sent from the Users forum mailing list archive at

Re: How to open multiple infowindows or multiple markers using GMAP2

2011-12-07 Thread Gabriel Landon
You can do something like that (pseudo code) : //create marker GMarker marker = new GMarker(new GLatLng(xx.xxx, xxx.xxx), new GMarkerOptions(Label to display on mouse hover, yourCustomIcon)); //add marker on the map addOverlay(marker); //add onClick event add(new ClickListener() { @Override

Re: Page serialization problem with wicket 1.5?

2011-11-23 Thread Gabriel Landon
Martin, I guess I was lucky as I used it many time in wicket 1.4.x without problem. I've only encountered this with wicket 1.5.x. Now time to rewrite my applications! Thank you very much for your help and your time. Regards, Gabriel. -- View this message in context:

RE: GMap2 in a Wiquery Dialog

2011-11-23 Thread Gabriel Landon
I had the same problem with ModalWindow and here's what I've done to handle this problem: public class MyGmap extends GMap2 { /** serialVersionUID. */ private static final long serialVersionUID = 1L; public MyGmap(final String varId, final String varGMapKey) {

Re: GMap2 from wicketstuff: how to dynamically resize?

2011-11-23 Thread Gabriel Landon
You can simply add a checkResize() function to the Gmap2. See : http://apache-wicket.1842946.n4.nabble.com/GMap2-in-a-Wiquery-Dialog-td3627392.html#a4102386 Regards, Gabriel. -- View this message in context:

Page serialization problem with wicket 1.5?

2011-11-22 Thread Gabriel Landon
Hi, There seems to have page data that are not correctly unserialized with wicket 1.5.x. I have done a quickstart application to show you the problem with a ModalWindow using a page (not a panel) : http://apache-wicket.1842946.n4.nabble.com/file/n4097909/myproject.zip myproject.zip How to

Re: Apache Wicket is a Flawed Framework

2011-11-17 Thread Gabriel Landon
Is this April fool's day? Seriously? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-is-a-Flawed-Framework-tp4080411p4081149.html Sent from the Users forum mailing list archive at Nabble.com.

Re: RadioChoice model not updated in tomcat with liferay portal

2011-11-14 Thread Gabriel Landon
Portlets are supported in wicket 1.4.x. I use wicket 1.4.19 with liferay 6.0.5 at the moment and it's working fine. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/RadioChoice-model-not-updated-in-tomcat-with-liferay-portal-tp3565419p4040354.html Sent from the Users

Re: Replacing the contents of a table with ajax

2011-09-07 Thread Gabriel Landon
Maybe you should try something like : protected void onSubmit(AjaxRequestTarget target, Form? form) { TablePanel tp = new TablePanel(tablePanel.getId(), getItemList(selectedFromDropDown)); tp.setOutputMarkupId(true); //replace the panel of you page getPage().replace(tp);

Re: RadioChoice model not updated in tomcat with liferay portal

2011-06-01 Thread Gabriel Landon
I'm using liferay 6.0.5 with Tomcat and RadioChoice works perfectly even with ajax (wicket 1.4.17). Have you tried to debug your code and see what's going on? -- View this message in context:

Re: Nothing happens on AJAX call after session timeout

2011-05-12 Thread Gabriel Landon
I've tried to use a filter without success because as explained http://www.mail-archive.com/users@tomcat.apache.org/msg75996.html here : Valves are called before filters, and Tomcat's authentication and authorization are implemented as Valves. I don't believe you can have your filter run before

Re: Nothing happens on AJAX call after session timeout

2011-05-11 Thread Gabriel Landon
Maybe you could try this to get the header : http://download.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html#getHeader%28java.lang.String%29 And this for filter : http://www.oracle.com/technetwork/java/filters-137243.html -- View this message in context:

Re: Nothing happens on AJAX call after session timeout

2011-05-10 Thread Gabriel Landon
As explain in the post http://apache-wicket.1842946.n4.nabble.com/Session-timeout-AJAX-enabled-controls-td1893184.html, that's is because when you use container (Tomcat) authentification, the login page is return in the ajax response when your session has expired. Have you tried the workaround

Re: Separate log files (tomcat, hibernate, wicket, etc)

2011-05-06 Thread Gabriel Landon
Maybe you can use : http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/spi/Filter.html And yes it's a log4j question :-) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Separate-log-files-tomcat-hibernate-wicket-etc-tp3502793p3503807.html Sent from the

Re: Firefox 4: Modal windows redirect to invalid page, i.e WICKET-2207 in Firefox 4

2011-04-11 Thread Gabriel Landon
I'm using wicket =1.4.15 with FF4 for windows (under windows 7 x64) and all the ModalWindows work perfectly (both using Components or pages). With a wicket page the iframe's src is //: -- View this message in context:

Re: JasperReports Serialization error with JRDataSource

2011-02-25 Thread Gabriel Landon
That's how I use it not to have Serialisation problem : JRResource resourcePDF = new JRConcreteResourcePdfResourceHandler(reportFile, new PdfResourceHandler()) { public JRDataSource getReportDataSource() { //retrieve you data //... return new

Re: Erase Previous Error Messages in Feedback Panel after Download

2011-02-22 Thread Gabriel Landon
You can rerefresh the whole form : yourForm.setOutputMarkupId(true); ... target.addComponent(yourForm) To highlight the error field (with a red star), I usually use a FormComponentFeedbackIndicator like that : RequiredTextFieldString yourTextField = new RequiredTextFieldString(name);

Re: Erase Previous Error Messages in Feedback Panel after Download

2011-02-21 Thread Gabriel Landon
Eugene, If you use an AjaxLink, the validators won't be trigered. Instead, you must use an AjaxButton like that : yourForm.add(new AjaxButton(submitMe) { protected void onSubmit(final AjaxRequestTarget varTarget, final Form? varForm) { yourAjaxDownload.initiate(varTarget); }

  1   2   >