Re: Custom CSS for Feedback message is broken in 1.5

2012-10-20 Thread Sebastien
submit the pull request on github. If you do not agree, please tell me what I can do. Thanks & best regards, Sebastien.

Re: Custom CSS for Feedback message is broken in 1.5

2012-10-20 Thread Sebastien
component.add(AttributeModifier.remove("class")); } } } Best regards, Sebastien. On Sat, Oct 20, 2012 at 11:05 PM, Sven Meier wrote: > I was just going to ask you why you don't overwrite #getCSSClass(). > > What harm does it if the CSS class is on the too

Re: Upgrade Advice

2012-10-20 Thread Sebastien
+1, perfectly explained IMHO. Migrating from 1.4 to 6 directly is much more complicated than performing the migration in 2 steps and much more error prone. On Sat, Oct 20, 2012 at 2:55 PM, Chris Colman wrote: > >I would say "no" only because going from 1.5 -> 6 was super easy. I > >changed a few

Re: PaletteButton#onComponentTag(ComponentTag) does not call super

2012-10-20 Thread Sebastien
Hi Sven, Done: https://issues.apache.org/jira/browse/WICKET-4826 Thanks, Sebastien. On Sat, Oct 20, 2012 at 9:53 AM, Sven Meier wrote: > That was probably overlooked, please create an issue in Jira. > > Thanks > Sven > > > On 10/20/2012 12:36 AM, Sebastien wrote: > &

Re: [DISCUSS] Security Frameworks

2012-10-18 Thread Sebastien
IRoleCheckingStrategy, then we bound a custom IAuthorizationStrategy to the application, in charge to check whether the item being displayed (in an edit page for instance) has a group that also belongs to the user. Sebastien. On Thu, Oct 18, 2012 at 4:09 PM, Nick Pratt wrote: > [X] I use my own custom framew

Re: Wicket and jQuery UI

2012-10-02 Thread Sebastien
provide Wicket jQuery UI components having (I hope) the same philosophy/logic as Wicket's built-in ones, so the user deals with these components the same manner he usually deals with the Wicket ones. This is the most important point IMO. In addition, it provides - as Sebastien said - pure Beh

Re: Subclassing FormComponentPanel / propagating setRequired() to child components ?

2012-10-01 Thread Sebastien
Hi, Don't think you have to propagate #setRequired() to child components because the whole formcomponent is required. But I think you could overrive #checkRequired() - which is not final - to fit best your use case (which is called underneath by #validate()) Hope this helps, Sebastien. O

Re: Centralizing ajax inline javascript

2012-09-28 Thread Sebastien
Yes, I think the AbstractDefaultAjaxBehavior could look to something like: public void renderHead(Component component, IHeaderResponse response) { super.renderHead(component, response); response.renderJavaScript("function boup(id) { " + this.getCallbackScript() + " }", "my-script-id");

Re: Datepicker with range selection support

2012-09-26 Thread Sebastien
Excellent! I deployed it just 5 min ago! :) So, it is good to know we should make a mvn clean before the deploy in case of git branch switching... Enjoy then! Best regards, Sebastien. On Wed, Sep 26, 2012 at 9:23 PM, Sebastien Gautrin < sebastien.gaut...@gmail.com> wrote: > Just te

Re: Datepicker with range selection support

2012-09-26 Thread Sebastien Gautrin
Just tested with the new snapshot you deployed, it works great now. Thanks. Sébastien On 26/09/12 13:36, Sebastien wrote: Hi Sebastien, Well, I am a little bit confused because it is technically almost impossible to deploy a wrong version. I checked the 1.2.3-SNAPSHOT source on the Nexus

Re: Datepicker with range selection support

2012-09-26 Thread Sebastien
Hi Sebastien, Well, I am a little bit confused because it is technically almost impossible to deploy a wrong version. I checked the 1.2.3-SNAPSHOT source on the Nexus repository and it seems to be correct. What I know is that I deployed the 1.2.3-SNAPSHOT just after the 6.0.1-SNAPSHOT. I

Re: Datepicker with range selection support

2012-09-26 Thread Sebastien
clear enough, Sebastien. On Wed, Sep 26, 2012 at 8:50 AM, Martin Grigorov wrote: > It seems you use Wicket 1.5.x with wicket-jquery-ui 6.x which depends > on Wicket 6.0.0 > > On Wed, Sep 26, 2012 at 3:48 AM, Sebastien Gautrin > wrote: > > Hi, > > > > Me again. I

Re: Datepicker with range selection support

2012-09-25 Thread Sebastien Gautrin
(AbstractDefaultAjaxBehavior.java:369) ... 40 more On 24/09/12 13:00, Sebastien wrote: James, thanks for your comment. Yes, the demo site is a functional wicket app. You can get the source at the github project. Sebastien, you are welcome! Thanks to let me know what you finally did... Best regards

Re: [Announce] wicket-dashboard

2012-09-25 Thread Sebastien
https://github.com/decebals/wicket-dashboard (small typo in your previous mail :) Nice job indeed, I will probably use it! :) Best regards, Sebastien. On Tue, Sep 25, 2012 at 2:16 PM, Decebal Suiu wrote: > Hi > > I implemented a simple dashboard for wicket that can be found a

Re: Datepicker with range selection support

2012-09-24 Thread Sebastien
James, thanks for your comment. Yes, the demo site is a functional wicket app. You can get the source at the github project. Sebastien, you are welcome! Thanks to let me know what you finally did... Best regards, Sebastien. On Mon, Sep 24, 2012 at 3:06 AM, James Eliyezar wrote: > This

Re: Avoid panel's extra div

2012-09-23 Thread Sebastien
oops: setRenderBodyOnly(true); On Sun, Sep 23, 2012 at 4:53 PM, Sebastien wrote: > Hi Oscar, > > If I understand, the problem is that the div of the parent page is > rendered, right? > If so, you can decide to not render the parent component's tag by using > myPanel

Re: Avoid panel's extra div

2012-09-23 Thread Sebastien
Hi Oscar, If I understand, the problem is that the div of the parent page is rendered, right? If so, you can decide to not render the parent component's tag by using myPanel.getRenderBodyOnly(true); Hope this helps, Sebastien. On Sun, Sep 23, 2012 at 4:17 PM, Oscar Besga Arcauz wrote:

Re: Datepicker with range selection support

2012-09-22 Thread Sebastien
Hi Sebastien. wicket-jquery-ui has the goal to integrate jQuery UI widgets as Wicket components; but it's also designed to integrate (easily, I guess) any jQuery plugins (that's what I tend to evince in the tutorial series...). So, I played around with the fox-run-software (range-)d

Re: String Value Conversion Exception

2012-09-22 Thread Sebastien
anges), prefer: new Label("when", new PropertyModel(blogPost, "text)) Hope this helps, Sebastien. On Sat, Sep 22, 2012 at 4:25 PM, Stephen Walsh < step...@connectwithawalsh.com> wrote: > On a related note to this original question. > > Can someone explain the dif

Re: Datepicker with range selection support

2012-09-21 Thread Sebastien
Hi again, Well... I was looking for a jQuery plugin for the 3rd part of my HowTo's, about creating a plugin using wicket-jquery-ui. Maybe will I play with that one in the coming days... (just note that it will be over Wicket 6) Regards, Sebastien. On Fri, Sep 21, 2012 at 3:53 PM, Séba

Re: Datepicker with range selection support

2012-09-21 Thread Sebastien
Hi Sebastien, I am wondering how you imagine your range datepicker... Do you figure a component embedding 2 datepickers like in the jQuery UI demo site, where the user selects alternativey the start date and the end date: http://jqueryui.com/demos/datepicker/#date-range Or a component displaying

Re: [Announce] wicket-jquery-ui 6.0.0 released

2012-09-21 Thread Sebastien
Hi James, you're welcome! Glad to read that you like it. If you have any questions, do not hesitate to use the forum (will may find the address on the homepage). Thanks & best regards, Sebastien. On Fri, Sep 21, 2012 at 9:19 AM, James Eliyezar wrote: > Hi Sebastien, > > Che

Re: String Value Conversion Exception

2012-09-20 Thread Sebastien
Hi, You may also use #toLong(defaultValue) which does not throws exception and return a default value in case of conversion error (or value not supplied). Regards, Sebastien. On Thu, Sep 20, 2012 at 9:22 PM, Francois Meillet < francois.meil...@gmail.com> wrote: > I don't see whe

Re: Where is IClusterable interface located in Wicket 6?

2012-09-20 Thread Sebastien
Hi, Did you also upgrade wicket-jquery-ui to 6.0.0 ? Regards, Sebastien. On Thu, Sep 20, 2012 at 4:18 PM, nemanjko wrote: > Thanks for the reply Martin. > > I don't get compilation error but runtime error when I try to start my > project with Wicket 6. > >

Re: Unable to succesfully propagate event from panel since getPage() throws error

2012-09-19 Thread Sebastien
Hi, Why not use BUBBLE instead of BREADTH so the order of traversal are component > page ? ie: this.send(/* your panel */ this, Broadcast.BUBBLE, .) Sebastien. On Wed, Sep 19, 2012 at 5:28 PM, lucast wrote: > Dear Forum, > I have the following tree structure: WebPage has Panel

Re: JavaScript execution on Ajax response in Wicket

2012-09-16 Thread Sebastien
ve these kind of issues... Best regards, Sebastien. On Sun, Sep 16, 2012 at 10:25 AM, seba.wag...@gmail.com < seba.wag...@gmail.com> wrote: > Hi, > > we build a single page application and want to extend that with some > jQuery plugins. > > The issue is that "$(document

Re: Jqwicket

2012-09-03 Thread Sebastien
-jquery-ui-plugins, feel free to make a pull request ! :) Thanks & best regards, Sebastien. On Mon, Sep 3, 2012 at 10:28 AM, Decebal Suiu wrote: > Hi > > In my opinion the main advantage of the jqwicket over > wiquery/wicket-jquery-ui is the impressive list of jquery plugins (ui &g

Re: enabling and disabling the components

2012-08-10 Thread Sebastien
") Hope this helps, Sebastien. On Fri, Aug 10, 2012 at 12:49 AM, wicket user wrote: > Hi, > I tried this . > > public class MyContainer extends WebMarkupContainer{ > public MyContainer(String id, MyVO myVO) { > super(id); > if(my

Re: enabling and disabling the components

2012-08-09 Thread Sebastien
afterward, using ajax, you will weed to set setOutputMarkupId(true), or even setOutputMarkupPlaceholderTag(true) if the components starts un-rendered Hope this helps, Sebastien. On Thu, Aug 9, 2012 at 10:53 PM, wicket user wrote: > I was reading about setEnable(false), will that will be suffici

Re: I think it's time for a new book.... Igor and Co ?

2012-07-27 Thread Sebastien
+1 too About the found raising, maybe could it be a book project in My Major Company or Kickstarter for instance... Regards, Sebastien. On Fri, Jul 27, 2012 at 9:27 AM, Josh Kamau wrote: > What if the developers donate (or do a fund raising... ) to fund the > writing of the book? > &

Re: migrating from 1.4 to 1.5 - some images problems

2012-07-10 Thread Sebastien
Hi Sam, I think you can use this: UrlUtils.rewriteToContextRelative("ui/images/datepicker.png", RequestCycle.get()); It also works in Wicket 6. Regards, Sebastien. On Tue, Jul 10, 2012 at 7:22 PM, Sam Zilverberg wrote: > Hi, > > First let me say that I already searched

Re: AjaxCallThrottlingDecorator - 1.6

2012-07-09 Thread Sebastien
ottle", Duration.ONE_SECOND)); } Best regards, Sebastien. On Tue, Jul 10, 2012 at 1:17 AM, Douglas Ferguson wrote: > How do you throttle ajax calls in 1.6? > > Douglas > > - > To unsubscribe, e-mail: users-u

Re: Panel not getting refreshed...

2012-06-11 Thread Sebastien
ModelObject(searchDomain); Also not needed, you already sets the model object at the form's creation. That's about all I see. Hope this helps. Sebastien. On Mon, Jun 11, 2012 at 8:29 PM, kshitiz wrote: > Please help me I am really not able to understand why it is > hap

Re: Panel not getting refreshed...

2012-06-10 Thread Sebastien
> but result panel is not getting refreshed. It is not even entering in that panel as I have some sysouts in that panel to check... Try to put one sysout in searchResultPanel#onBeforeRender, to check whether the panel is going to be refreshed. Additionally, look at the ajax debug window to see if

Re: Panel not getting refreshed...

2012-06-10 Thread Sebastien
ssage()); error = true; } *target.add(searchFeedbackPanel); } Regards, Sebastien. On Sun, Jun 10, 2012 at 8:48 AM, kshitiz wrote: > Did u mean this: > > > final SearchResultPanel searchResultPanel = new > SearchResultPanel("searchResultPanel", >

Re: Panel not getting refreshed...

2012-06-09 Thread Sebastien
re-redner > re-render On Sat, Jun 9, 2012 at 10:01 PM, Sebastien wrote: > Hi, > > It's to late to have > searchResultPanel.setOutputMarkupId(true); > in onSubmit() > > You need to set this before the first rendering, because ajax need it in > order to

Re: Panel not getting refreshed...

2012-06-09 Thread Sebastien
Hi, It's to late to have searchResultPanel.setOutputMarkupId(true); in onSubmit() You need to set this before the first rendering, because ajax need it in order to know how to re-redner the panel. Regards, Sebastien. On Sat, Jun 9, 2012 at 9:56 PM, kshitiz wrote: > Hi, > > I w

Re: Refresh listItem only of listView

2012-06-02 Thread Sebastien
ng to add/remove object), you can set ListView#setReuseItems to true so the re-rendering will be more efficient. Also, * If you nest a ListView in a Form, ALLWAYS set this property to true, as otherwise validation will not work properly.* (setReuseItems javadoc) Hope this helps, Sebastien. On Sat

Re: Refresh listItem only of listView

2012-06-02 Thread Sebastien
Hi, Well, you do not tell a much about the issue... So, several possible answers are: - You cannot add the listview in the target as it is a repeater, you should add its (or one of its) parent. - If you change the list, is your list a model ? (userTypeDomainList) Regards, Sebastien. On Sat

Re: Filtercolumn and bigdecimal formatter

2012-06-01 Thread Sebastien
help) } return super.getConverter(type); } Regards, Sebastien. On Fri, Jun 1, 2012 at 10:41 AM, Sebastien wrote: > Hi, > > I would have done something like that: > > public class BigDecimalFilteredPropertyColumn extends > TextFilt

Re: Filtercolumn and bigdecimal formatter

2012-06-01 Thread Sebastien
string.format pattern } } It is maybe not perfect but I think it should answer the use case... Regards, Sebastien. On Fri, Jun 1, 2012 at 9:29 AM, lang wrote: > I make my column with >@SuppressWarnings({ "unchecked", "rawtypes" }) >private

Re: Filtercolumn and bigdecimal formatter

2012-05-31 Thread Sebastien
new MyBigIntegerLabel(componentId, model)); // MyBigIntegerLabel should format your model object as string (using String.format?) properly here } Regards, Sebastien. On Thu, May 31, 2012 at 2:50 PM, Josh Kamau wrote: > Shouldnt the filtering be done when querying the database? > > On

Re: Access to Page from LoadableDetachableModel

2012-05-31 Thread Sebastien
also no problem to have the LDM as a nested class; for the quick start, the LDM was in the MyPanel.java (not nested then, but there is no huge difference strictly java speaking). Regards, Sebastien. On Thu, May 31, 2012 at 1:41 AM, gmparker2000 wrote: > Thank you so much Sebastien and Sven! S

Re: Access to Page from LoadableDetachableModel

2012-05-30 Thread Sebastien
Hello again, I tested in a quickstart and it works. (I just noticed you did not called super.onInitialize()) The code I used: class MyPOJO { public Boolean isSelected() { return true; } } public class HomePage extends WebPage { private static final long serialVersionUID

Re: Access to Page from LoadableDetachableModel

2012-05-30 Thread Sebastien
Well, I don't think so, even it needs to be tested. My guess is that the panel is added to the page (then, serialized). To the LDM's contructor, you will pass 'this' (means, the panel). In the LDM, you will store the reference of that 'this' into a variable. In all case, we always have the referen

Re: Access to Page from LoadableDetachableModel

2012-05-30 Thread Sebastien
Hi, I aggree with Sven. Another option is to pass the panel to the LDM's contructor so you can do a panel.getPage() to get the page. Just cast to the appropriate page type and do yourpage.getMyModel(). Best regards, Sebastien. On Wed, May 30, 2012 at 10:32 PM, Sven Meier wrote: >

Re: Nested Form submitted via ajax clearing fields in outer form

2012-05-17 Thread Sebastien
Hi, > why does it call onFormSubmitted for the root form? Is this the way it has to be programmed for nested forms to work? Well, I think it should not be the case, according to: https://cwiki.apache.org/WICKET/nested-forms.html Regards, Sebastien. On Thu, May 17, 2012 at 4:18 PM, Hill, J

Re: Need help in implementing Ajax form

2012-05-14 Thread Sebastien
? If terget == null > then nothing happens in onSubmit() method. > - Add some logging (log4j etc.), to your app > > Regards > Wlodek > > 2012/5/14 Sebastien : > > And the WICKET AJAX DEBUG mark appears as soon as you are dealing with > > wicket ajax component. I

Re: Need help in implementing Ajax form

2012-05-14 Thread Sebastien
And the WICKET AJAX DEBUG mark appears as soon as you are dealing with wicket ajax component. It is not displayed anymore when your configuration changes from "development" to "deployment" (web.xml) On Mon, May 14, 2012 at 9:47 PM, Sebastien wrote: > Hi kshitiz, > >

Re: Need help in implementing Ajax form

2012-05-14 Thread Sebastien
ous method onSubmit. But apart from that, I just would like to tell you that if you need an authentication mechanism, you'll probably better have to use the wicket-auth-roles. All you need to know is here: http://wicket.apache.org/learn/projects/authroles.html Regards, Sebastien On Mon, May 1

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Sebastien
Argh! It is because I had to reset my jira password in the meantime! :) I commented mine to say it's a duplicate... Thanks, Sebastien. On Thu, May 10, 2012 at 9:54 AM, Thomas Götz wrote: > Lol, first! Mine has WICKET-4548 ;) > > -Tom > > > On 10.05.2012 at 09:50 Se

Re: Wicket 6.0.0-beta1: RangeValidator Issue (NPE)

2012-05-10 Thread Sebastien
Hi Martin, Here we are: https://issues.apache.org/jira/browse/WICKET-4549 Sebastien. On Thu, May 10, 2012 at 9:38 AM, Martin Grigorov wrote: > Guys, > > Please use Jira for bug reports. > > On Thu, May 10, 2012 at 9:28 AM, Thomas Götz wrote: > > I can confirm this, see th

Re: AutoCompleteField returning null

2012-05-01 Thread Sebastien
have failed. Sebastien. On Tue, May 1, 2012 at 8:21 PM, cmagnollay wrote: > No, this looks very promising. Thank you very much for elaborating. I still > do not understand what is different about AutoCompleteTextField that it > will > not give me back the textual value (getModelO

Re: AutoCompleteField returning null

2012-05-01 Thread Sebastien
t not getModelObject, which might return null in that case). Thus, the onSubmit (the one of the form) will not be called (once again, because the form has not been processed), only the button#onSubmit will. Hope this helps, Sebastien. On Tue, May 1, 2012 at 6:51 PM, cmagnollay wrote: > Hmm, > > The

Re: AutoCompleteField returning null

2012-05-01 Thread Sebastien
Oops, I did not saw you was using an AjaxLink... You have to use an AjaxButton instead. Sebastien. On Tue, May 1, 2012 at 5:51 PM, cmagnollay wrote: > Well, that is not the case unfortunately. Here is my code as stripped down > as > I could get it, to still supply information about

Re: AutoCompleteField returning null

2012-05-01 Thread Sebastien
Hi, > The feedbackpanel always shows that the value it is getting back from itemField is empty. itemField.getValue or getModelObject will returns empty if it is not in your form... (this is the only reason I see regarding to the code you supplied) Sebastien. On Tue, May 1, 2012 at 3:54

Re: call onsubmit automatically

2012-04-30 Thread Sebastien
ed in the javascript this.input = new HiddenField("page", new Model(MyPage.class.getName())); form.add(this.input); } Where MyPage is the page you want to redirect to. Hope it answers your need. Sebastien. On Mon, Apr 30, 2012 at 12:34 PM, raju.ch wrote: > Thnx f

Re: call onsubmit automatically

2012-04-30 Thread Sebastien
trieve it server side and do a setResponsePage; you just have to get the right Page class from the param and maybe construct your PageParameters also... Hope this helps, Sebastien.

Re: Wicket dropdownchoice onselectionchanged must override or implement a supertype method

2012-04-24 Thread Sebastien
Right, should probably be something like: protected void onSelectionChanged(SelectOption newSelection) {}; Also, note that SelectOption is generic... Regards, Sebastien. On Tue, Apr 24, 2012 at 8:18 PM, Per Newgro wrote: > it is because of the @override annotation on a non-existent met

<    1   2   3   4   5