Re: Behaviour.onInitialise()

2013-02-07 Thread Martin Grigorov
Hi, I'm not sure whether there is a specific reason why this method is not in the API. Maybe just because no one needed/noticed it. Maybe there is something wrong in it which I don't see at the moment. Anyway create a ticket for improvement. Yet another way is to use

Re: Page link in CalendarEvent

2013-02-07 Thread Martin Grigorov
Hi, No. CalendarEvent is not a Wicket MarkupContainer so it cannot have other components as children. You need to put the link in the Wicket component that renders the calendar event. On Thu, Feb 7, 2013 at 2:02 AM, grazia grazia.russolass...@gmail.comwrote: I refer to

Re: Separate Development and Design

2013-02-07 Thread Martin Grigorov
Hi, In my jobs we have used a demo page for our custom components. This page(s) are used : - by the web designers to see in one place what widgets we have. And to check how the changes will look like - by developers - this way the widgets have at least two usages in the application so the

Re: Behaviour.onInitialise()

2013-02-07 Thread Igor Vaynberg
What happens if the behavior is added after the component has already been initialized? Does its oninitialize() still get called? Ambiguities like this is the reason why there is no such method. -igor On Wednesday, February 6, 2013, Colin Rogers wrote: Martin and other Wicketeers, I have a

Re: wicket-poi current status

2013-02-07 Thread Martin Grigorov
Hi, Wicket doesn't provide any kind of integration with Excel. The closest is http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/extensions/markup/html/repeater/data/table/export/AbstractExportableColumn.htmland

Problem with ClientProperties

2013-02-07 Thread Raul
Hi, I need to keep the browser name and version, using it my clients, but some ClientProperties class methods return null, I use wicket 6.5.0. Does anyone knows what could it be? PD, properties.isBrowserMozilla method (), it works correctly. -- View this message in context:

Re: Problem with ClientProperties

2013-02-07 Thread Francois Meillet
which methods ? François Le 7 févr. 2013 à 10:57, Raul ralva...@netwie.com a écrit : Hi, I need to keep the browser name and version, using it my clients, but some ClientProperties class methods return null, I use wicket 6.5.0. Does anyone knows what could it be? PD,

Re: Problem with ClientProperties

2013-02-07 Thread Martin Grigorov
Hi, Without the extra extractions the client properties contain only information that may be extracted from the user agent request header. See http://www.wicket-library.com/wicket-examples-6.0.x/hellobrowser/howdy for example how to extract more information. On Thu, Feb 7, 2013 at 10:57 AM,

Re: Problem with ClientProperties

2013-02-07 Thread Raul
II tried with the sample code and the output of the toString ClientProperties is this. browserInternetExplorer=false 13:12:22,532 ERROR [stderr] (http--127.0.0.1-8080-1) browserKonqueror=false 13:12:22,534 ERROR [stderr] (http--127.0.0.1-8080-1) browserMozilla=true 13:12:22,535 ERROR [stderr]

Re: override the css of the AbstractFormDialog

2013-02-07 Thread Martin Grigorov
I think you can override #configure(JQueryBehavior) method or something similar, where you can set the specifics. On Thu, Feb 7, 2013 at 4:45 PM, grazia grazia.russolass...@gmail.comwrote: My problem is with allowing the dialog element to be anywhere else except in the top left of the

Re: mounting resources on the fly

2013-02-07 Thread Martin Grigorov
Hi Ernesto, How about: class Select2JsonRef extends JsonResourceReferenceCategoryTranslation() { private static final long serialVersionUID = 1L; @Override protected ChoiceProviderCategoryTranslation getChoiceProvider() { return CategoriesTextChoiceProvider.getInstance(); } });

Re: How to use Selenium IDE with wicket?

2013-02-07 Thread Chris Turchin
Hi, if you still have not got this working - I just tried it yesterday (FF 16.0.1/Selenium IDE 1.10.0) and it worked. Compared to your screenshots, I selected the user-extensions.js script in the selenium ide extensions rather than the core extensions. The locator builder for wicketpath then

Eclipse JRE 1.5

2013-02-07 Thread Stephen Walsh
I'm using Eclipse Juno to develop my wicket app, and what I've noticed is that the JRE keeps switching back to 1.5 instead of staying on 6. I've tried changing this in the build path and pointing it to the developer version of Java 6 multiple times. I'm wondering if there's a setting somewhere

Re: A couple of problems with MultiFileUploadField

2013-02-07 Thread Martin Grigorov
Hi, On Thu, Feb 7, 2013 at 6:18 PM, Steamus steam...@gmail.com wrote: I'll try to apply the patch for 6.6.0. It would be good! Thank you, Martin. Done. The patch is applied. One little remark: It looks like it is impossible to use UploadProgressBar with MultiFileUploadField

Re: Eclipse JRE 1.5

2013-02-07 Thread Martin Grigorov
Hi, Wicket 1.5 is built with Java 1.5. Wicket 6 with Java 6 Wicket 7 will most probably with JDK 7 Wicket source code doesn't have anything that can talk to Eclipse or any other IDE :-) On Thu, Feb 7, 2013 at 6:16 PM, Stephen Walsh step...@connectwithawalsh.com wrote: I'm using Eclipse Juno

Re: Eclipse JRE 1.5

2013-02-07 Thread Stephen Walsh
That's what I figured. I've now discovered that Maven isn't finding rt.jar because I'm developing on a Mac. Mac Java doesn't use rt.jar it uses classes.jar. [INFO] --- maven-eclipse-plugin:2.8:eclipse (default-cli) @ campingawaits --- [INFO] Using Eclipse Workspace:

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: [Building Sakai] Charts Wicket Sakai

2013-02-07 Thread Steve Swinsburg
Change the poms to list the correct dependencies for what you need, then adjust any compilation issues since things have changed between wicket 1.4 and 1.5 or 6. By patch I mean send the differences in the code produced by the archetype and what you change so I can update the archetype.

RE: [Building Sakai] Charts Wicket Sakai

2013-02-07 Thread Antonio muñoz alonso
When I change the version from 1.5 wicket gives me an error. You can use the examples of http://www.highcharts.com/demo/(javascritp) and pass data from wicket and invoke the example.¿? CC: users@wicket.apache.org; sakai-...@collab.sakaiproject.org; tom.hombe...@gmail.com From:

Re: Eclipse JRE 1.5

2013-02-07 Thread Stephen Walsh
This was the answer, Gabriel! Because my computer only has one JRE (1.6 with dev docs) installed, Eclipse was using it, but it appeared as though I was using 1.5. This minor change to my pom.xml solved it though! Thank you! ___ Stephen Walsh |

RE: Behaviour.onInitialise()

2013-02-07 Thread Colin Rogers
That ambiguous-ness is ever more present when you use bind - as there is no guarantee what state the component is in (hence our need for boilerplate code, to determine that state). It's not there if you are using onInitialise, as it's part of the component lifecycle, you know what state the

Re: Behaviour.onInitialise()

2013-02-07 Thread Igor Vaynberg
On Thu, Feb 7, 2013 at 3:33 PM, Colin Rogers colin.rog...@objectconsulting.com.au wrote: That ambiguous-ness is ever more present when you use bind - as there is no guarantee what state the component is in (hence our need for boilerplate code, to determine that state). It's not there if you

Log user changes to a form

2013-02-07 Thread Paul Bors
We have an enterprise web-app which is going through SAP qualification and a requirement has come through for our application’s settings changes to be logged. There are quite a number of pages for which now we must log the values of the form fields as they were before the user changed them and

RE: Behaviour.onInitialise()

2013-02-07 Thread Colin Rogers
That actually makes sense, now. I didn't realise that Behaviours could be added to different components - I incorrectly assumed they couldn't. It also makes clear why bind has the component as a parameter, as it would be called multiple times for difference components. Thanks for the answer!

Page load without version redirect for Bootstrap Modal

2013-02-07 Thread Tom Eicher
Hello, with Bootstrap's modal functionality, I can make very cool modal popups. http://twitter.github.com/bootstrap/javascript.html#modals The problems start when I want to provide the popup's content dynamically via Wicket, because I need to provide a href that will be loaded by JQuerys load

Re: Log user changes to a form

2013-02-07 Thread Igor Vaynberg
if you are using hibernate here is envers...easier to do it on that level rather then ui... -igor On Thu, Feb 7, 2013 at 4:11 PM, Paul Bors p...@bors.ws wrote: We have an enterprise web-app which is going through SAP qualification and a requirement has come through for our application’s

Re: Page load without version redirect for Bootstrap Modal

2013-02-07 Thread Igor Vaynberg
instead of doing it that way have the ajax operation that opens the dialog render the content into some div in the markup and call the dialog on that div. -igor On Thu, Feb 7, 2013 at 4:38 PM, Tom Eicher t...@teicher.net wrote: Hello, with Bootstrap's modal functionality, I can make very cool

Re: Log user changes to a form

2013-02-07 Thread Paul Bors
We're using a mixture of Hibernate with JDBC's DAOs. I guess I'm faced with either mapping the rest of the tables in Hibernate and using Envers or doing it in the UI. If I end up doing this in the UI, I guess I'll create a separate project and share it with the community for an AuditForm. ~

RE: override the css of the AbstractFormDialog

2013-02-07 Thread Colin Rogers
I honestly could kill for a JQuery based, nested context menu, that could be activated by Ajax and defined dynamically. I get the feeling I might have to make my own, tho. I think it would be easy in terms of activation and definition, but the menu triggering Wicket Ajax commands is the bit

Re: wicket-poi current status

2013-02-07 Thread saty
Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-poi-current-status-tp4656146p4656191.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: call the same page using setResponsePage()

2013-02-07 Thread Paul Bors
Yes, as per the API for the component class: http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Component.html#setResponsePage(java.lang.Class) setResponsePage public final C extends IRequestablePage void setResponsePage(ClassC cls) Sets the page that will respond to this